64
8.2.1 Linear counter function
(1) Operation of the linear counter
• This function counts pulses between -2147483648 (lower limit value) and 2147483647 (upper limit value).
• The preset function and the coincidence output function can be used together.
(2) Overflow error
• In linear counter, an overflow error occurs if the present counter value falls below -2147483648 (lower limit
value) in counting down or exceeds 2147483647 (upper limit value) in counting up.
• If an overflow error occurs, "1" is stored in CH Overflow detection (Un\G8, Un\G40), the counting operation
stops, and the present value does not change from -2147483648 or 2147483647 even if pulses are input.
• An overflow error can be cleared by performing the preset function.
• When the preset function is performed, "0" is stored in CH Overflow detection (Un\G8, Un\G40) and the
counting operation can be restarted.
• Overflow error status can be checked in the system monitor window. ( Page 108, Section 11.1 (1))
+2147483647
-2147483648
Present counter value
Overflow
Overflow
Counting upCounting down
0