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
STATE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
WORD | - | - | - |
Output STATE indicates the current mode of fast counter. The mode of fast counter (0-10) can be configured in the channel parameter of the PLC configuration (please refer to fast counter mode in system technology chapter 9.3).
CF1
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
If counter 1 has reached the programmed end value (input END1), output CF1 (end value reached) is set to TRUE and stored. When setting the counter (via input SET1), CF1 is set to FALSE.
Output CF1 corresponds to bit 0 in status byte 0.
ACT1
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DWORD | - | - | - |
At output ACT1, the actual value = counter reading of counter 1 is output as double word.
Output ACT1 corresponds to the analog inputs 0 (bit 16..31) and 1 (bit 0..15).
CF2
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
If counter 2 has reached the programmed end value (input END2), output CF2 (end value reached) is set to TRUE and stored. When setting the counter (via input SET2), CF2 is set to FALSE.
Output CF2 corresponds to bit 0 in status byte 1.
ACT2
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DWORD | - | - | - |
At output ACT2, the actual value = counter reading of counter 2 is output as double word.
Output ACT2 corresponds to the analog inputs 2 (bit 16..31) and 3 (bit 0..15).