
I185 GB 06 15
LRX D01
52
Set value
20
Current value
0
19
19
20
20
21
21
20
20
19
19
18
18
19
19
20
0
0
0
0
Input pulse
Input decrement
OFF
ON
OFF
ON
Reset input
OFF
ON
Counter coil
OFF
ON
OFF
ON
OFF
COUNTER MODE 5 (CONTINUOUS COUNT, UP-DOWN COUNT, NON-RETENTIVE)
Mode 5 Counter operation is similar to Mode 2 except its current count value is continuous and non-retentive. The status bit is fixed to the non-
zero preset value regardless of the state of the direction bit. Its status bit will be ON when the counter current value is not less than its preset
value, and will be OFF when the current value is less than its preset value.
The Mode 5 Counter will count up to a fixed preset value and continue counting after the preset value. Additionally, the current count value is
non-retentive and will reset to 0 on a loss of power to the LRD. Additionally, the Mode 5 counter is always reset to zero, and the current value
also is always 0 when the LRD switches between RUN and STOP unrelated to the state of its direction bit. In the example below, the counter will
continue counting after its preset value of 20. Counter status bit C01 will be ON when the current value is 20.
– Under this mode, the count will continue after reaching its preset value.
– The current value is always 0 regardless of the state of its direction bit when the reset is availability.
– The current value is always 0 regardless of the state of its direction bit when the LRD switches between RUN and STOP.
2
1
4
5
3
6
Mode = 5