Output Description¶
DONE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
The output DONE signals the completion of the process triggered with the EN input. After finishing of the process or if an error did occur, DONE is TRUE for at least one PLC cycle.
The DONE output always has to by checked in conjunction with the ERR output. If ERR is TRUE, the output ERNO reflects the according error number. Otherwise the output parameter values are valid.
ERR
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
The output ERR signals any fault detected during the processing of the Function Block. This output always has to be checked in conjunction with the DONE output. If DONE is TRUE and ERR is TRUE, a processing fault was detected. The value of the ERNO output provides the according error number.
ERNO
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
WORD | - | - | - |
The output ERNO provides an error number according to the failure reason. The value of ERNO is only valid if DONE and ERR are TRUE. The possible codes for ERNO are described in 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.