Output Description¶
DONE BOOL \ (done)
Output DONE indicates the state of job processing. After completion or abortion of processing (due to an error), DONE is set to TRUE for one cycle. For that reason, the output always has to be considered together with output ERR. If ERR is TRUE, an error occurred. In this case, the error number can be read at output ERNO.
ERR BOOL \ (error)
Output ERR indicates whether an error occurred during Program processing. This output always has to be considered together with output DONE. If DONE is TRUE and ERR is TRUE, an error occurred. In this case, the error number can be read at output ERNO.
ERNO
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
WORD | - | 0 … 65535 | - |
At output ERNO the identifier of an occurred error is provided. It is only valid when DONE and ERR is TRUE. (see, error messages): Error Messages of the Function Block Libraries
NUM_CYCLES_TOTAL DWORD \ (number \ of cyclestotal)
NUM_CYCLES_TOTAL displays the total number of I/O bus cycles performed since system start.
NUM_CYCLES_DEF DWORD \ (number \ of cyclesdefective)
NUM_CYCLES_DEF displays the total number of defective I/O bus cycles occurred since system start.
NUM_DEF_SERIES_ACT BYTE \ (number \ of defective \ cycles in seriesactual)
NUM_DEF_SERIES_ACT displays the actual number of successively occurred defective I/O bus cycles.
NUM_DEF_SERIES_MAX BYTE \ (number \ of defective \ cycles in seriesmaximal)
NUM_DEF_SERIES_MAX displays the maximum number of successively occurred defective I/O bus cycles captured since system start.