Output Description

../_images/df7750b7e389aefa0a33139000eba54e1

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

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.

../_images/41c1fc94e389b10d0a33139000eba54e1

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”.