Output DescriptionΒΆ
DONE BOOL \ (done)
Output DONE indicates that the information of a data package was copied consecutively from the timeout buffer to the memory area of the variable specified at DATA or that the Function Block processing was aborted due to an occurred error. This is why the output has always to be considered together with output ERR.
Output DONE is set to TRUE for one cycle.
The following applies:
DONE = FALSE
ERR = xxx:
The information of a data package in the timeout buffer have not been read.
DONE = TRUE
ERR = FALSE:
The information of a data package in the timeout buffer have been read.
DONE = TRUE
ERR = TRUE:
An error occurred while reading information from a data package stored in the timeout buffer. The user data were not copied to the area specified at DATA. The error can be evaluated at output ERNO.
ERR BOOL \ (error)
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.
Output ERR is set to TRUE for one cycle.
ERNO WORD \ (error \ number)
Output ERNO provides an error identifier if an invalid value was applied to an input or if an error occurred during request 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. The error messages Error Messages of the Function Block Libraries encoding at output ERNO are explained at the beginning of the library description.
LEV_DS WORD \ (level \ in data \ sets)
Output LEV_DS displays the filling level (in data records) of the timeout buffer. The displayed value is updated as long as EN is TRUE and applies to the input values read with the rising edge at input EN.