Output Description¶
DONE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
Output DONE indicates the state of the job processing. After completing or aborting the processing (due to an error), DONE is set to TRUE for one cycle. For that reason, the 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 | - | - | - |
Output ERR indicates whether an error occurred during Function Block processing. This output always has to be considered together with output DONE. If DONE is TRUE and ERR is TRUE, an error occurred. In this case, the error number can be read 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
ID_ACTIVE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
Output ID_ACTIVE returns the current value of the FlexConfID which has been determined during booting of the PLC by reading from the configuration data file in the PLC’s flash memory. This value has been used to determine the configuration file of the current executed application.
ID_CFG
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
Output ID_CFG returns the value of the FlexConfID which is stored in the configuration data file in the PLC’s flash memory. This value is applied when the PLC is rebooted.
FILE_NUM
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
Ouput FILE_NUM returns the number of alternative configuration files of the currently executed application.