102BTechnology instructions
9.1 High-speed counter
HSC
HSC 6
2
1-phase
2-phase
AB-phase
HSC 1 and HSC 2 can be configured for either the on-board inputs or for an SB.
1
HSC 5 and HSC 6 are available only with an SB. HSC 6 is available only with a 4-input SB.
2
An SB with only 2 digital inputs provides only the 4.0 and 4.1 inputs.
3
The following table shows the HSC input assignments for both the on-board I/O of the CPU
1212C and an SB. (If the SB has only 2 inputs, only 4.0 and 4.1 inputs are available.)
● For single-phase: C is the Clock input, [d] is the optional direction input, and [R] is an
● For two-phase: CU is the Clock Up input, CD is the Clock Down input, and [R] is an
● For AB-phase quadrature: A is the Clock A input, B is the Clock B input, and [R] is an
Table 9- 7
HSC input assignments for CPU 1212C
HSC
HSC 1
1-phase
1
2-phase
AB-phase
HSC 2
1-phase
1
2-phase
AB-phase
HSC 3
1-phase
2-phase
AB-phase
HSC 4
1-phase
2-phase
AB-phase
HSC 5
1-phase
2
2-phase
AB-phase
HSC 6
1-phase
2
2-phase
AB-phase
HSC 1 and HSC 2 can be configured for either the on-board inputs or for an SB.
1
HSC 5 and HSC 6 are available only with an SB. HSC 6 is available only with a 4-input SB.
2
An SB with only 2 digital inputs provides only the 4.0 and 4.1 inputs.
3
320
CPU on-board input (0.x)
0
1
optional external reset input. (Reset is available only for "Counting" mode.)
optional external reset input. (Reset is available only for "Counting" mode.)
optional external reset input. (Reset is available only for "Counting" mode.)
CPU on-board input (0.x)
0
1
C
[d]
CU
CD
A
B
[R]
[R]
[R]
2
3
4
2
3
4
5
[R]
[R]
[R]
C
[d]
CU
CD
A
B
C
[d]
CU
CD
A
B
[R]
[R]
[R]
SB input (default 4.x)
5
0
1
[R]
[R]
[R]
SB input (4.x)
6
7
0
1
C
[d]
CU
CD
A
B
[R]
[R]
[R]
[R]
[R]
[R]
C
[d]
CU
CD
A
B
C
[d]
CU
CD
A
B
[R]
[R]
[R]
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
3
2
3
C
[d]
CU
CD
A
B
3
2
3
[R]
[R]
[R]
C
[d]
CU
CD
A
B
[R]
[R]
[R]
C
[d]
CU
CD
A
B