Chapter 4. CPU module
4 - 7
4.2.6 Counter Processing
The CPU module counter increment/decrement the present counting value by the detection of rising
edge(off
à
on) of input signal. Three types of counter are increment counter, Decrement counter and
Increment-Decrement Counter. For details, refer to ‘GLOFA – GM Programming’.
•
The Increment counter is a counter which increment the present counting value
•
The Decrement counter is a counter which decrement the present counting value
•
The Increment-Decrement counter is a counter which compares the counting values of two input conditions.
1) Counter Present Value Change and Contact On/Off
(1) Increment Counter
•
It should have Input condition (CU), reset condition (R) and setting value (PV).
•
If the counting value (CV) increments and reaches the setting value(PV) the output contact (Q) turns
on.
When the reset signal is turn on, the counting value is set to ‘0’ and the output contact (Q) turns off.
(2) Decrement Counter
•
It should have input condition (CD), load (LD) and setting value (PV).
•
If the counting value (CV) decrements and reaches ‘0’, the output contact (Q) turns on.
If the load(LD) signal is turned on, the counting value is set to the setting value and the output
contact (Q) turns off.
PV
CD
LD