Output Description

../_images/2367442ee389d5cb0a33139000eba54e

DONE

Data_Type Default_Value Range Unit
BOOL - - -

DONE indicates the processing state of the function block. After completion or abortion of processing due to an error, DONE is set to TRUE for one cycle. This 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 (error)

Data_Type Default_Value Range Unit
BOOL - - -

ERR indicates whether an error occurred during the processing of the function block. 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 (error \ number)

Data_Type Default_Value Range Unit
WORD - - -

ERNO provides an error identifier if an invalid value has been applied to an input or if an error occurred during job processing. ERNO has to be considered together with the outputs DONE and ERR. The value output at ERNO is only valid if DONE is TRUE and ERR is TRUE Error Messages of the Function Block Libraries.

NEW

Data_Type Default_Value Range Unit
BOOL - - -

Output indicates that new measurement results are available.

NEW = TRUE: New measurement results are available.

NEW = FALSE: No new measurement results are available.

SUBST (substitute)

Data_Type Default_Value Range Unit
BOOL - - -

Output indicates whether the output values are based on new measurement values or calculated using substitute values. Without the substitute value, the function block would still display a short time and a high speed of rotation in case of a decrease of the frequency, since no new measurement is initiated without a new signal edge. If SUBST = TRUE, the extended distance between the edges is extrapolated. PREC > 0 is an assumption for the calculation using a substitute value.

SUBST = FALSE: New measurement values.

SUBST = TRUE: Calculation using substitute values.

DUR (duration)

Data_Type Default_Value Range Unit
DWORD - - µs

Output displays the measured time.

FREQ (frequency)

Data_Type Default_Value Range Unit
LREAL - - Hz

If input EN_FREQ = TRUE, output FREQ displays the frequency calculated from the measured time.

If input EN_FREQ = FALSE, output FREQ = 0.

RPM (revolutions \ per \ minute)

Data_Type Default_Value Range Unit
LREAL - - rpm

If input EN_FREQ = TRUE, output RPM displays the speed of rotation calculated from the measured time.

If input EN_FREQ = FALSE, output RPM =0.