Output Description¶
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.
MST_STATE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
PNIO_MST_STATE_TYPE | - | - | - |
The MST_STATE output reflects the major state of the PROFINET® Communication Module. This value is valid with DONE=TRUE and ERR=FALSE.
The MST_STATE is displayed in plain text with aid of the enumeration PNIO_MST_STATE_TYPE.
PNIO_MST_STATE_UNKOWN | Unknown state |
PNIO_MST_STATE_NOT_CONFIGURED | Pre-configuration |
PNIO_MST_STATE_STOP | Configured but not running |
PNIO_MST_STATE_IDLE | Idle |
PNIO_MST_STATE_OPERATE | All up, normal operational state |
COMM_ERNO
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
PNIO_COMM_ERNO_TYPE | - | - | - |
The COMM_ERNO output value represents the current PROFINET® bus condition. A transition of this output with DONE=TRUE to a non-zero-value signals a communication error caused by one of the reasons listed in the table below.
The COMM_ERNO is displayed in plain text with aid of the enumeration PNIO_COMM_ERNO_TYPE.
PNIO_COMM_ERNO_NONE | No error |
PNIO_CONIFGURATION_FAULT | Configuration fault |
PNIO_PARAMETER_ERROR | Parameter error |
PNIO_INV_NETWORK_ERROR | Invalid network address |
PNIO_NETWORK_FAULT | Network fault |
PNIO_CONNECTION_CLOSED | Connection closed |
PNIO_CONNECTION_TIMEOUT | Connection timeout |
PNIO_LONELY_NETWORK | Lonely network |
PNIO_DUBLICATE_NODE | Duplicate node |
PNIO_CABLE_DISCONNECTED | Cable disconnected |
PNIO_COMM_ERNO_UNKNOWN | Unknown communication error |
NUM_ERRS
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DWORD | - | - | - |
The total number of errors detected by the Communication Module since last power up or reset.