Output Description

../_images/b3b792b7e389ae3f0a33139000eba54e1

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

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.

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

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

ACT

Data_Type Default_Value Range Unit
INT 0 - -

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 low word in “32bit counter”.

CNT_TOUCH

Data_Type Default_Value Range Unit
INT - - -

The output CNT_TOUCH displays the result of the catch/touch trigger measurement.

Output CNT_TOUCH corresponds to input low word in “TOUCH counter value”.