Output Description

../_images/011dc01fe3899fed0a33139000eba54e

DONE

Data_Type Default_Value Range Unit
BOOL - - -

Output DONE indicates  the processing state of the Function Block. After completion or abortion of processing (due to an error), DONE is set to TRUE. 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

Data_Type Default_Value Range Unit
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

Data_Type Default_Value Range Unit
WORD - - -

Output ERNO provides an error identifier if an invalid value has been applied to an input or if an error occurred during Function Block 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. Encoding of the error messages output at ERNO is explained in a separate table Error messages Error Messages of the Function Block Libraries of the Function Block libraries.

NODE

Data_Type Default_Value Range Unit
ARRAY OF BOOL - 0 … 127 -

NODE outputs the status survey as a bit field. Each individual bit within this field represents one slave. The index number corresponds to the slave’s node address. If a bit is set to TRUE, the state selected using TYP applies to the corresponding slave.

If e.g. TYP = 1 is selected and NODE[2] = TRUE, the slave with this node address was successfully configured by the master and is currently in operation. If NODE[2] = FALSE, the configuration of the specific slave has not yet been completed or the slave is not part of the master’s configuration data.

If TYP = 3, NODE[2] = TRUE for example means that the slave with the node address 2 has received an emergency message or that the diagnosis indication of the slave has changed. In this case, a detailed diagnosis can be requested using the Function Block CANOM_NODE_DIAG CANOM_NODE_DIAG.

The at “NODE” output bit field is only valid, if DONE = TRUE and ERR = FALSE.