Rockwell Automation Publication 2080-UM002K-EN-E - March 2019 141
Use the High-Speed Counter and Programmable Limit Switch Chapter 8
The main high-speed counters support 10 types of operation mode and the sub
high-speed counters support 5 types (mode 0, 2, 4, 6, 8). If the main high-speed
counter is set to mode 1, 3, 5, 7 or 9, then the resub high-speed counter will be
disabled.
For more information on HSC Function Operating Modes and Input
Assignments, see HSC Inputs and Wiring Mapping
on page 135.
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
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.
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.
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