Counting
4.1 Configuration method 2xCount
Digital input/Digital output module DIQ 16x24VDC/0.5A 8xM12 (6ES7143-5AH00-0BA0)
Manual, 03/2019, A5E38688112-AC
37
The following table shows the parameters of Counter 0 and Counter 1.
Table 4- 8 Parameters of Counter 0 and Counter 1
Counting behavior Counter 0 (DI0), Counter 1 (DI2)
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
1
• 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
2
High count limit -2147483648...2147483647 2147483647 Counter
2
Behavior Counter 0 (DQ1), Counter 1 (DQ3)
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