Hsc mode 4 – two input counter (up and down) – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual
Page 137
Rockwell Automation Publication 2080-UM002F-EN-E - December 2013
121
Use the High-Speed Counter and Programmable Limit Switch Chapter 8
HSC Mode 4 – Two Input Counter (up and down)
Blank cells = don’t care,
⇑
= rising edge,
⇓
= falling edge
HSC Mode 5 – Two Input Counter (up and down) with External Reset and
Hold
Blank cells = don’t care,
⇑
= rising edge,
⇓
= falling edge
HSC Mode 4 Examples
Input Terminals
Embedded Input 0 Embedded Input 1 Embedded Input 2 Embedded Input 3 CE Bit
Comments
Function
Count Up
Count Down
Not Used
Not Used
Example 1
⇑
on
(1)
⇓ off
(0)
on (1)
HSC Accumulator + 1 count
Example 2
on
(1)
⇓ off
(0)
⇑
on (1)
HSC Accumulator - 1 count
Example3
off (0)
Hold accumulator value
TIP
Inputs 0 through 11 are available for use as inputs to other functions regardless of the HSC being used.
HSC Mode 5 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
⇑
on
(1)
⇓ off
(0)
on
(1)
⇓ off
(0)
off
(0)
on (1)
HSC Accumulator + 1 count
Example 2
on
(1)
⇓ off
(0)
⇑
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)
TIP
Inputs 0…11 are available for use as inputs to other functions regardless of the HSC being used.