6.11 Counter - Functions
You may count forward and backwards and choose between the fol-
lowing counter functions:
n Count endless, e.g. distance measuring with incremental encoder
n Count once, e.g. count to a maximum limit
n Count periodic, e.g. count with repeated counter process
In the operating modes "Count once" and "Count periodic" you may
define a counter range as start and end value via the parameteriza-
tion. For every counter additional parameterizable functions are avail-
able like gate function, comparison, hysteresis and process interrupt.
V
ia the parameterization you have the opportunity to define a main
counting direction for every counter. If "none" is chosen, the complete
counting range is available:
Limits Valid value range
Lower count limit
-2 147 483 648 (-2
31
)
Upper count limit
+2 147 483 647 (2
31
-1)
Main counting direction forward
Upper restriction of the count range. The counter counts 0 res. load
value
in positive direction until the parameterized end value -1 and
jumps then back to the load value with the next following encoder
pulse.
Main counting direction backwards
Lower restriction of the count range. The counter counts from the par-
ameterized start- res. load value in negative direction to the parame-
terized end value +1 and jumps then back to the start value with the
next following encoder pulse.
If the HW gate is enabled, only the HW gate may be influenced by the
gate functions. An opening and closing of the SW gate aborts or inter-
rupts the count process.
Abort count process
The count process starts after closing and restart of the gate begin-
ning with the load value.
Interrupt count process
The count process continuous after closing and restart of the gate
beginning with the last recent counter value.
Overview
Main counting direction
Gate function abort/
interrupt
VIPA System 300S Deployment I/O periphery
Counter - Functions
HB140 | CPU | 314-6CF03 | GB | 16-43 159