Instruction manual
Counters
890USE18300 September 2003 95
Counter Preset You must specify the counter preset value before implementing a counter operation.
The preset must be an unsigned integer in the range 0 to 65 535. A counting
sequence always begins at this counter preset value, then increments or
decrements from it each time the count input value falls from 1 to 0.
For example, say you configure an up-counter with a counter preset at 25. The block
will start a counting sequence at 25 and will increment by 1 each time the count input
falls from 1 to 0:
If you are using a down-counter with a counter preset at 25, the counter will start a
counting sequence at 25 and will decrement by 1 each time the count input drops
from 1 to 0:
26 27 28
30
inputs
0
1
29
26
27
28
29
up-counter
counter preset = 25
outputs
30
25
24 23 22
20
inputs
0
1
21
24
23
22
21
down-counter
counter preset = 25
outputs
20
25