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 | - | - | - |
The output ERNO provides an error number according to the failure reason. The value of ERNO is only valid if DONE and ERR are TRUE. The possible codes for ERNO are described in Error Messages. Error Messages of the Function Block Libraries.
ACT
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DINT | - | - | - |
The current counter value (actual value) can be retrieved at any time using the output ACT of the Function Block.
Output ACT corresponds to input DWORD in “32bit counter”.
CF
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
If the zero crossover indicator CF=TRUE, this output indicates the sign of the actual counter value ACT. It is set to FALSE when counter value ACT is less than or equal to zero. It is set to TRUE otherwise.
This information is validated when input B is set to TRUE.
RDY_TOUCH
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
The output RDY_TOUCH is set to TRUE when a new catch/touch value is available. If input EN_TOUCH is set to FALSE, the output RDY_TOUCH is set to FALSE.
Output RDY_TOUCH corresponds to input bit 2 in “state byte”.
RDY_RPI
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
The output RDY_RPI is set to TRUE when the RPI operation is done. If input EN_RPI is set to FALSE, the output RDY_RPI is set to FALSE.
Output RDY_RPI corresponds to input bit 6 in state byte.
OFL
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
The overflow is specified at the output OFL.
The counter operates as infinite counter. An overflow occurs corresponding to the 32 bit value at 16#80000000 = 2147483648. Any exceeding or falling below of this value (depending to up and down use) will set OFL to TRUE.
Detection for output OFL
Output OFL corresponds to input bit 3 in state byte.
SET_IN
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
The output SET_IN is set to TRUE if one of the inputs is configured as SET input.
Output SET_IN corresponds to input bit 4 in “state byte”.
RESET_IN
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
The output RESET_IN is set to TRUE if one of the inputs is configured as RESET input.
Output RESET_IN corresponds to input bit 5 in “state byte”.
CNT_TOUCH
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DINT | 0 | - | - |
The output CNT_TOUCH displays the result of the catch/touch trigger measurement.
Output CNT_TOUCH corresponds to input DWORD in “TOUCH counter value”.