Output Description

../_images/e59a0055e389afb50a33139000eba54e1

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

NEW

Data_Type Default_Value Range Unit
BOOL - - -

If output NEW=TRUE, a new timing value is available.

Output NEW corresponds to input bit 6 in state byte.

DUR

Data_Type Default_Value Range Unit
DWORD - - -

The output DUR is used for display the result of timing measurement. If the input EN_FREQ=FALSE, measured time is in µs.

Output DUR corresponds to input word Counter low word.

FREQ

Data_Type Default_Value Range Unit
WORD - - -

The output FREQ is used for display the result of time measurement. If the input EN_FREQ=TRUE, measured frequency is in Hz.

Output FREQ corresponds to input word Counter high word.

RPM

Data_Type Default_Value Range Unit
WORD - - -

The output RPM is used for display the result of timing measurement. If the input EN_FREQ= TRUE, measured speed of rotation is in rpm (rotations per minute).

Output RPM corresponds to input word Counter low word.