Output Description¶
DONE BOOL \ (done)
The output variable DONE shows the processing state of the Function Block. It shows TRUE when the processing ended or an error took place. This variable DONE should be checked together with the variable ERR. If DONE and ERR are set to TRUE then the output ERNO should be checked to see which error occurred.
ERR BOOL \ (error)
ERR shows TRUE if the Function Block was terminated as a consequence of an error, or FALSE if it ended normally.
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
RDY BOOL \ (ready)
A command has been received if RDY = TRUE.
OUT REAL \ (output)
The output OUT gives the received value as a floating point number.
The output always has to be considered together with output RDY.
TIMESTAMP_VALID BOOL \ (timestampvalid)
Valid timestamp was received when the output is TRUE.
The output always has to be considered together with output RDY.
TIMESTAMP DT \ (timestamp)
If data with timestamp is received, the timestamp is given at this output.
The value is given if a valid timestamp was received and the output VALID_TIMESTAMP = TRUE.
MSEC WORD \ (milliseconds)
Value of the received timestamp in milliseconds. The value is given if a valid timestamp was received and the output VALID_TIMESTAMP = TRUE.
IV BOOL \ (invalid)
Output IV displays the status/information of the data. If IV = TRUE, the data is invalid.
The output always has to be considered together with output RDY.
NT BOOL \ (not \ topical)
Output NT displays the status/information of the data. If NT = TRUE, the data is not topical/actual.
The output always has to be considered together with output RDY.
SB BOOL \ (substituted)
Output SB displays the status/information of the data. If SB = TRUE, the data is substituted.
The output always has to be considered together with output RDY.
BL BOOL \ (blocked)
Output BL displays the status/information of the data. If BL = TRUE, the data is blocked.
The output always has to be considered together with output RDY.
REASON BYTE \ (reason)
Output REASON displays the cause of the transmission.
The output always has to be considered together with output RDY.
Reasons for transmission:
1 | Periodic/cyclic |
2 | Background interrogation |
3 | Spontaneous |
4 | Initialised |
5 | Requested |
6 | Activation |
7 | Confirmation of activation |
8 | Deactivation |
9 | Confirmation of deactivation |
10 | Termination of activation |
11 | Return information, caused by a remote command |
12 | Return information, caused by a local command |
20 | Interrogated by general inquiry |
OV BOOL \ (overrun)
Overrun was detected if the output OV = TRUE.
The output OV indicates by changing from FALSE to TRUE, that the transmission requests are coming too fast, i.e. the task cycle time is configured as too fast.
The output always has to be considered together with output RDY.