Chapter 5 Deployment I/O periphery Manual VIPA System 300S SPEED7
5-24 HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45
Counter - Additional functions
The following additional functions may be set via the parameterization for
every counter:
• Gate function
The gate function serves the start, stop and interrupt of a count function.
• Latch function
An edge 0-1 at the digital input "Latch" stores the recent counter value
in the latch register.
• Comparison
You may set a comparison value that activates res. de-activates a digital
output res. releases a hardware interrupt depending on the counter
value.
• Hysteresis
The setting of a hysteresis avoids for example a high output toggling
when the value of an encoder signal shifts around a comparison value.
The illustration shows how the additional functions influence the counting
behavior. The following pages describe these functions in detail:
HW gate
Internal gate
SW gate
Pulse evaluation
Pulse/Track A Direction/Track B
Comparison value Counter value Latch
Latch
Load value
Comparision
Hysteresis
Output
Process
alarm
R
e
l
e
a
s
e
Overview
Schematic structure