Output Description

../_images/5c359c67e38a3b030a33139000eba54e

DONE

Data_Type Default_Value Range Unit
BOOL - TRUE / FALSE -

Output DONE indicates the state of execution.

It has the value TRUE when the execution is finished and the outputs are valid. When DONE becomes FALSE other outputs are not valid any more.

ERR

Data_Type Default_Value Range Unit
BOOL - TRUE / FALSE -

Output ERR indicates whether an error occurred during Function Block execution.

It is only valid when DONE is TRUE. The kind of occurred error is specified by the error identifier 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

NODE

Data_Type Default_Value Range Unit

ARRAY

ARRAY

- - -

Output NODE outputs the status of each slaves 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 for the slave. If e.g. TYP = 1 is selected and NODE[2] = TRUE, the slave with a configuration for this node was received and stored in master. If NODE[2] = FALSE, the slave is not part of the master’s configuration data. If TYP = 3, NODE[2] = TRUE 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 PNIO_CANOM_NODE_DIAG PNIO_CANOM_NODE_DIAG.

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

PNIO_STATUS

Data_Type Default_Value Range Unit
DWORD - - -

Output PNIO_STATUS contains the PNIO ErrorCode and ErrorDecode.

PNIO_ADD_VAL1

Data_Type Default_Value Range Unit
WORD 1 - -

Output PNIO_ADD_VAL1 contains the PNIO ErrorCode1.

PNIO_ADD_VAL2

Data_Type Default_Value Range Unit
WORD 2 - -

PNIO_ADD_VAL2 contains the PNIO ErrorCode2.