Output DescriptionΒΆ
DONE BOOL \ (done)
Output DONE indicates the reception of data. The output must always be considered together with the output ERR.
The following is valid:
DONE = TRUE and ERR = FALSE:
The data reception has been completed. A data set has been received correctly.
DONE = TRUE and ERR = TRUE:
An error occurred during reception of data. The error number is indicated at output ERNO.
ERR BOOL \ (error)
Output ERR indicates whether an error occurred during data reception. This output always has to be considered together with output DONE. If an error has occurred during processing of the Function Block, the following applies: DONE = TRUE and ERR = TRUE. Output ERNO indicates the error number.
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 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. The error messages Error Messages of the Function Block Libraries encoding at output ERNO is explained at the beginning of the Function Block description.
DATA_LEN DWORD \ (datalength)
DATA_LEN outputs the length of the received data in bytes. DATA_LEN is only valid if DONE = TRUE.