Counting
4.1 Configuration method 2xCount
Digital input/Digital output module DIQ 16x24VDC/0.5A 8xM12 (6ES7143-5AH00-0BA0)
46
Equipment Manual, 08/2021, A5E38688112-AD
4.1.2.6
Explanations for the feedback interface
Table 4- 11 Explanations for the feedback bits
Feedback bit
Explanations
COUNT_VALUE
This value supplies the current count value for the respective counter.
STS_DQ
This bit returns the current signal state of the count output.
STS_GATE
Together with the hardware gate the software gate forms the internal gate. This bit shows
the state of the internal gate for the respective counter. The module only counts when the
internal gate is open.
0 means: Internal gate closed / counter does not count
1 means: internal Tor open / counter counts
Note:
After a POWER OFF / ON or a change in the parameterization, all the values of the changed
counter are transferred again to the module. In the process the internal gate of the respec-
tive counter is closed and the count value is set to the start value. Close and open the re-
spective SW gate to restart the counting process.
Note:
When the PROFIBUS interface model is used, the CPU/Master automatically generates the
"rising edge" signal after disconnection/reconnection of the communications. This contin-
ues the counting process.
STS_SW_GATE
This bit shows the status of the software gate.
0 means: Software gate closed
1 means: Software gate open
LD_STS_SLOT
This bit indicates through a status change (toggling) for the respective counter that loading
of the control interface has been carried out successfully.
LD_ERROR
This bit indicates for the respective counter that an error has occurred during loading of the
control interface.
The load value was not accepted.
One of the following conditions is fulfilled:
•
Low counting limit > Count value
•
Low counting limit > Start value
•
Low counting limit > Comparison value
•
Count value > High counting limit
•
Start value > High counting limit
•
Comparison value > High counting limit
•
Low counting limit
≥
High counting limit
•
No valid load request in LD_SLOT
EVENT_UFLW
This bit shows for the respective counter whether an underflow (value dropped below the
low count limit) has occurred.
You reset the state by acknowledging with RES_EVENT_UFLW.
EVENT_OFLW
This bit shows for the respective counter whether an overflow (value exceeded the high
count limit) has occurred.
You reset the state by acknowledging with RES_EVENT_OFLW.
EVENT_CMP
This bit shows for the respective counter whether a comparison event with the comparison
value has occurred.
You reset the state by acknowledging with RES_EVENT_CMP.
The EVENT_CMP bit is not set if the count value is set to the start value.
RES_EVENT_UFLW_ACK
This bit shows for the respective counter whether the resetting of the event bit
EVENT_UFLW is active.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......