190 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022
Chapter 9 Use the High-Speed Counter and Programmable Limit Switch
HSC Mode 0 – Up Counter
Blank cells = don’t care, = rising edge, = falling edge
HSC Mode 1 – Up Counter with External Reset and Hold
Blank cells = don’t care, = rising edge, = falling edge
HSC Mode 2 – Counter with External Direction
Blank cells = don’t care, = rising edge, = falling edge
HSC Mode 3 – Counter with External Direction, Reset, and Hold
Blank cells = don’t care, = rising edge, = falling edge
Table 30 - HSC Mode 0 Examples
Input Terminals Embedded Input 0 Embedded Input 1 Embedded Input 2 Embedded Input 3 CE Bit Comments
Function Count Not Used Not Used Not Used
Example 1 on (1) HSC Accumulator + 1 count
Example 2 on (1) ß off (0) off (0) Hold accumulator value
Inputs 0…11 are available for use as inputs to other functions regardless
of the HSC being used.
Table 31 - HSC Mode 1 Examples
Input Terminals Embedded Input 0 Embedded Input 1 Embedded Input 2 Embedded Input 3 CE Bit Comments
Function Count Not Used Reset Hold
Example 1 on (1) off (0) off (0) on (1) HSC Accumulator + 1 count
Example 2 on (1) off (0) on (1) Hold accumulator value
Example3 on (1) off (0) off (0) Hold accumulator value
Example 4 on (1) off (0) on (1) off (0) Hold accumulator value
Example 5 Clear accumulator (=0)
Inputs 0…11 are available for use as inputs to other functions regardless
of the HSC being used.
Table 32 - HSC Mode 2 Examples
Input Terminals Embedded Input 0 Embedded Input 1 Embedded Input 2 Embedded Input 3 CE Bit Comments
Function Count Direction Not Used Not Used
Example 1
off (0) on (1) HSC Accumulator + 1 count
Example 2
on (1) on (1) HSC Accumulator - 1 count
Example3 off (0) Hold accumulator value
Inputs 0…11 are available for use as inputs to other functions regardless
of the HSC being used.
Table 33 - HSC Mode 3 Examples
Input Terminals Embedded Input 0 Embedded Input 1 Embedded Input 2 Embedded Input 3 CE Bit Comments
Function Count Direction Reset Hold
Example 1
off (0) on (1) off (0) off (0) on (1) HSC Accumulator + 1 count
Example 2
on (1) on (1) off (0) off (0) on (1) HSC Accumulator - 1 count
Example3 on (1) off (0) on (1) Hold accumulator value
Example 4 on (1) off (0) off (0) Hold accumulator value
Example 5 on (1) off (0) on (1) off (0) Hold accumulator value
Example 6
Clear accumulator (=0)