Output Description¶
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
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 | - | - | - |
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.