Hsc mode 0 – up counter, Hsc mode 2 – counter with external direction – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual
Page 135

Rockwell Automation Publication 2080-UM002F-EN-E - December 2013
119
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 113
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
TIP
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)
TIP
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