Output Description¶
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
NUM_CYCLES
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
Output NUM_CYCLES provides the current value of the CM574-RCOM cycle counter. This value is permanently updated as long as EN = TRUE. The cycle counter should be used to monitor the CM574-RCOM (life identifier).
NEW_TIME
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
Output NEW_TIME is set to TRUE for approx. 5 seconds, if a new RCOM time has been set using the RCOM_CLOCK Function Block. This output can be used to adjust a realtime clock to the time applied at HOUR_ACT, MIN_ACT and SEC_ACT.
HOUR_ACT
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
Output HOUR_ACT indicates the hours component of the RCOM system time. The master can adjust the time using the RCOM_CLOCK Function Block.
MIN_ACT
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
Output MIN_ACT indicates the minutes component of the RCOM system time. The master can adjust the time using the RCOM_CLOCK Function Block.
SEC_ACT
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
Output SEC_ACT indicates the seconds component of the RCOM system time. The master can adjust the time using the RCOM_CLOCK Function Block.
NUM_EVENTS
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
For RCOM slaves, output NUM_EVENTS indicates the number of events stored in the event queue. For the RCOM master, NUM_EVENTS is always zero.