102BTechnology instructions
9.1 High-speed counter
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
321
The following two tables show the HSC input assignments for the on-board I/O of the CPU
1214C and for an optional SB, if installed.
●
For single-phase: C is the Clock input, [d] is the optional direction input, and [R] is an
optional external reset input. (Reset is available only for "Counting" mode.)
●
For two-phase: CU is the Clock Up input, CD is the Clock Down input, and [R] is an
optional external reset input. (Reset is available only for "Counting" mode.)
●
For AB-phase quadrature: A is the Clock A input, B is the Clock B input, and [R] is an
optional external reset input. (Reset is available only for "Counting" mode.)
Table 9- 8
HSC input assignments for CPU 1214C (on-board inputs only)
Digital input 0 (default: 0.x)
Digital input 1 (default: 1.x)
HSC
0
1
2
3
4
5
6
7
0
1
2
3
4
5
1-phase
C
[d]
[R]
2-phase
CU CD
[R]
HSC 1
1
AB-phase
A
B
[R]
1-phase
[R]
C
[d]
2-phase
[R] CU CD
HSC 2
1
AB-phase
[R]
A
B
1-phase
C
[d]
[R]
2-phase
CU CD
[R]
HSC 3
AB-phase
A
B
[R]
1-phase
[R]
C
[d]
2-phase
[R] CU CD
HSC 4
AB-phase
[R]
A
B
1-phase
C
[d]
[R]
2-phase
CU CD [R]
HSC 5
1
AB-phase
A
B
[R]
1-phase
C
[d]
[R]
2-phase
CU CD [R]
HSC 6
1
AB-phase
A
B
[R]
1
HSC 1, HSC 2, HSC 5 and HSC 6 can be configured for either the on-board inputs or for an SB.
Table 9- 9
HSC input assignments for SBs
SB inputs (default: 4.x)
2
HSC
1
0
1
2
3
1-phase
C
[d]
[R]
2-phase
CU
CD
[R]
HSC 1
AB-phase
A
B
[R]
1-phase
[R]
C
[d]
2-phase
[R]
CU
CD
HSC 2
AB-phase
[R]
A
B