Output DescriptionΒΆ

../_images/7d9dc919e38ae5360a33139000eba54e

DONE

Data_Type Default_Value Range Unit
BOOL - - -

The output DONE signals the completion of the process triggered with the EN input. After finishing of the process or if an error did occur, DONE is TRUE for at least one PLC cycle.

The DONE output always has to by checked in conjunction with the ERR output. If ERR is TRUE, the output ERNO reflects the according error number. Otherwise the output parameter values are valid.

ERR

Data_Type Default_Value Range Unit
BOOL - - -

The output ERR signals any fault detected during the processing of the Function Block. This output always has to be checked in conjunction with the DONE output. If DONE is TRUE and ERR is TRUE, a processing fault was detected. The value of the ERNO output provides the according error number

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 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 of the Function Block Libraries Error Messages of the Function Block Libraries.

DEV_STATE

Data_Type Default_Value Range Unit
PNIO_DEV_STATE_TYPE - - -

The output DEV_STATE indicates whether the cyclic process data exchange with all configured IO Devices is working, and no device has any diagnosis issue to be solved. On any IO Device missing or having a diagnostic issue pending, this output will change to FAILED.

After all slaves are back to normal operation, DEV_STATE will change back to OK

The DEV_STATE is displayed in plain text with aid of the enumeration PNIO_DEV_STATE_TYPE.

Value Description
PNIO_DEV_STATE_UNDEFINED Undefined
PNIO_DEV_STATE_OK OK
PNIO_DEV_STATE_FAILED Failed (at least one IO Device) or Warning (at least one IO Device)

NUM_CFG

Data_Type Default_Value Range Unit
WORD - - -

The output NUM_CFG indicates the number of configured IO Devices, known by the Communication Module.

NUM_ACT

Data_Type Default_Value Range Unit
DWORD - - -

The output NUM_ACT indicates the number of currently active IO Devices, known by the Communication Module.

NUM_DIAG

Data_Type Default_Value Range Unit
DWORD - - -

The output NUM_DIAG indicates the number IO Devices which have current alarms and current diagnosis information to be proceeded.