Output Description

../_images/ee7c28cbe38a7fef0a33139000eba54e

DONE   BOOL \   (done)

Output DONE indicates the processing state of the block. If an address has been read and converted or an error has occurred, DONE is set to TRUE for one cycle. This 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 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

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

ADDRESS   ARRAY[0..MAX_DP] \ OF STRING(MAX_ADDR_STR)   (address)

Contains the string representations of the addresses for the given PINGROUP depending on the selected FORMAT. Each array index belongs to one data point. If only one data point exists only the first index [0] is set and all the others contain empty strings.