SIMATIC Instructions
9-35
S7-200 Programmable Controller System Manual
A5E00066097-02
Table 9-8 HSC3 Modes of Operation (CPU 221, CPU 222, CPU 224, and CPU 226)
HSC3
Mode Description I0.1
0 Single phase up/down counter with internal direction control
SM137.3 = 0, count down
SM137.3 = 1, count up
Clock
Table 9-9 HSC4 Modes of Operation (CPU 221, CPU 222, CPU 224, and CPU 226)
HSC4
Mode Description I0.3 I0.4 I0.5
0 Single phase up/down counter with internal direction control
1
SM147.3 = 0, count down
SM147.3 = 1, count up
Reset
3 Single phase up/down counter with external direction control
Dir.
4
I0.4 = 0, count down
I0.4 = 1, count up
Reset
6 Two-phase counter with count up and count down clock
Clock
Clock
7
inputs (Up) (Dn)
Reset
9 A/B phase quadrature counter,
phase A leads B b
90 de
rees for clockwise rotation,
Clock
Phase
Clock
Phase
10
,
phase B leads A by 90 degrees for counterclockwise
rotation
A B
Reset
Table 9-10 HSC5 Modes of Operation (CPU 221, CPU 222, CPU 224, and CPU 226)
HSC5
Mode Description I0.4
0 Single phase up/down counter with internal direction control
SM157.3 = 0, count down
SM157.3 = 1, count up
Clock