Counting
4.2 Configuration method 4xCount
Digital input/Digital output module DIQ 16x24VDC/0.5A 8xM12 (6ES7143-5AH00-0BA0)
Manual, 03/2019, A5E38688112-AC
57
The table below shows the parameters of Counter 0 to Counter 3.
Table 4- 22 Parameters of Counter 0 to Counter 3
Counting behavior Counter 0 (DI0), Counter 1 (DI2), Counter 2 (DI4) and Counter 3 (DI6)
Input delay DI
• 0.05 ms
• 0.1 ms
• 0.4 ms
• 0.8 ms
• 1.6 ms
• 3.2 ms
• 12.8 ms
• 20 ms
0.05 ms Counter
Counting direction
• Forward
• Backward
Forward Counter
Edge selection
• On a rising edge
• On a falling edge
On a rising edge Counter
Behavior when a counting
limit is exceeded
• Stop counting
• Continue counting
Stop counting Counter
Comparison value -2147483648...2147483647 10 Counter
1
High count limit -2147483648...2147483647 2147483647 Counter
1
Behavior Counter 0 (DQ1), Counter 1 (DQ3), Counter 2 (DQ5), Counter 3 (DQ7)
Behavior DQ
• Count value between a
comparison value and the
high counting limit
• Count value between a
comparison value and the
low counting limit
Count value between a
comparison value and
the high counting limit
Counter
Hardware interrupt DQ
• Inactive
• Comparison event for DQ
has occurred
Inactive Counter
Behavior at CPU/master
STOP for DQ
• Continue
• Output substitute value
Continue Counter
Substitute value DQ
• 0
• 1
0 Counter
1
= Cannot be parameterized with GSD file