Output Description¶
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
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 |
|---|---|---|---|
| DWORD | - | - | - |
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.