Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery
HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45 5-25
The counter is controlled by the internal gate (i gate). The i gate is the
result of logic operation of hardware gate (HW gate) and software gate
(SW gate), where the HW gate evaluation may be deactivated by the
parameterization.
HW gate: open (activate): Edge 0-1 at hardware gate
x
input of
the module
close (deactivate): Edge 1-0 at hardware gate
x
input of
the module
SW gate: open (activate): In application program by setting
SW_GATE of the SFB 47
close (deactivate): In application program by resetting
SW_GATE of the SFB 47
Gate function cancel and stop
The parameterization defines if the gate cancels or stops the counter
process.
• At cancel function the counter starts counting with the load value after
gate restart.
load value
gate start
time
counter value
gate stopp
gate start
• At stop function, the counter continues counting with the last recent
counter value after gate restart.
load value
gate start
time
gate stopp
gate start
counter value
Gate function