Output DescriptionΒΆ
DONE (done)
Data type: BOOL
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 (error)
Data type: BOOL
Output ERR indicates whether an error occurred during Function Block 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 (error number)
Data type: WORD
Output ERNO provides an error identifier, if an invalid value was applied to an input, or if an error occurred during job processing. ERNO always has to be considered together with the outputs DONE and ERR. The value output at ERNO is only valid, if DONE is TRUE and ERR is TRUE.
Calling of the INPUT_REFRESH in ST