
202
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
Chapter 10 Use the High-Speed Counter and Programmable Limit Switch
High-Speed Counter (HSC)
Data Structures
The following section describes HSC data structures.
HSC APP Data Structure
Define an HSC App Data (configuration data, data type HSCAPP) when programming an HSC.
During HSC counting, you should not change the data, except if you need to reload the
configuration.
Table 40 - Micro830/Micro850/Micro870 24-point Controller HSC Input Wiring Mapping
Modes of Operation
Input 0 (HSC0)
Input 2 (HSC1)
Input 4 (HSC2)
Input 6 (HSC3)
Input 1 (HSC0)
Input 3 (HSC1)
Input 5 (HSC2)
Input 7 (HSC3)
Input 2 (HSC0)
Input 6 (HSC2)
Input 3 (HSC0)
Input 7 (HSC2)
Mode Value in User
Program
Counter with Internal Direction
(mode 1a)
Count Up
Not Used
0
Counter with Internal Direction,
External Reset and Hold (mode 1b) Count Up
Not Used
Reset
Hold
1
Counter with External Direction
(mode 2a)
Count Up/Down
Direction
Not Used
2
Counter with External Direction,
Reset, and Hold (mode 2b)
Count Up/Down
Direction
Reset
Hold
3
Two Input Counter (mode 3a)
Count Up
Count Down
Not Used
4
Two Input Counter with External
Reset and Hold (mode 3b)
Count Up
Count Down
Reset
Hold
5
Quadrature Counter (mode 4a)
A Type input
B Type input
Not Used
6
Quadrature Counter with External
Reset and Hold (mode 4b)
A Type input
B Type input
Z Type Reset
Hold
7
Quadrature X4 Counter
(mode 5a)
A Type input
B Type input
Not Used
8
Quadrature X4 Counter with
External Reset and Hold
A Type input
B Type input
Z Type Reset
Hold
9
Table 41 - Micro830/Micro850 48-point Controller HSC Input Wiring Mapping
Modes of Operation
Input 0 (HSC0)
Input 2 (HSC1)
Input 4 (HSC2)
Input 6 (HSC3)
Input 8 (HSC4)
Input 10 (HSC5)
Input 1 (HSC0)
Input 3 (HSC1)
Input 5 (HSC2)
Input 7 (HSC3)
Input 9 (HSC4)
Input 11 (HSC5)
Input 2 (HSC0)
Input 6 (HSC2)
Input 10 (HSC4)
Input 3 (HSC0)
Input 7 (HSC2)
Input 11 (HSC4)
Mode Value in User
Program
Counter with Internal Direction
(mode 1a)
Count Up
Not Used
0
Counter with Internal Direction,
External Reset and Hold (mode 1b) Count Up
Not Used
Reset
Hold
1
Counter with External Direction
(mode 2a)
Count Up/Down
Direction
Not Used
2
Counter with External Direction,
Reset, and Hold (mode 2b)
Count Up/Down
Direction
Reset
Hold
3
Two Input Counter (mode 3a)
Count Up
Count Down
Not Used
4
Two Input Counter with External
Reset and Hold (mode 3b)
Count Up
Count Down
Reset
Hold
5
Quadrature Counter (mode 4a)
A Type input
B Type input
Not Used
6
Quadrature Counter with External
Reset and Hold (mode 4b)
A Type input
B Type input
Z Type Reset
Hold
7
Quadrature X4 Counter
(mode 5a)
A Type input
B Type input
Not Used
8
Quadrature X4 Counter with
External Reset and Hold
A Type input
B Type input
Z Type Reset
Hold
9