Output Description¶
DONE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
Output indicates the processing state of the function block. After completion or abortion of processing (due to an error), DONE is set to TRUE for one cycle. 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 | - | 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
NUM_ACT_SLV (number \ of active \ slaves)
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DWORD | 0 | 0-256 | - |
The variable NUM_ACT_SLV contains the number of active slaves. Active slaves exchange cyclic data with the master.
NUM_CONF_SLV (number \ of configured \ slaves)
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DWORD | 0 | 0-256 | - |
NUM_CONF_SLV contains the number of configured slaves evaluated in the configuration file.