132 Rockwell Automation Publication 2080-UM002G-EN-E - March 2015
Chapter 8 Use the High-Speed Counter and Programmable Limit Switch
HSC Mode 9 – Quadrature X4 Counter with External Reset and Hold
Accumulator (HSCAPP. Accumulator)
This parameter is the initial HSC Accumulator value that need to be set when
starting the HSC. This parameter is updated by the HSC sub-system
automatically when the HSC is in Counting mode, reflecting the actual HSC
accumulator value.
High Preset (HSCAPP.HPSetting)
The HSCAPP.HPSetting is the upper setpoint (in counts) that defines when the
HSC sub-system generates an interrupt.
The data loaded into the high preset must be less than or equal to the data
resident in the overflow (HSCAPP.OFSetting) parameter or an HSC error is
generated.
HSC Mode 9 Examples
Embedded
Input 0(HSC0)
(A))
Embedded
Input 1(HSC0)
(B)
Embedded
Input 2(HSC0)
(Reset)
Embedded Input
3(HSC0)
(Hold)
Value of CE Bit Accumulator and Counter Action
â–² OFF X - TRUE Count Up Acc. Value
â–² ON X - TRUE Count Down Acc. Value
â–¼ OFF X - TRUE Count Down Acc. Value
â–¼ ON X - TRUE Count Up Acc. Value
OFF â–² X - TRUE Count Down Acc. Value
ON â–² X - TRUE Count Up Acc. Value
OFF â–¼ X - TRUE Count Up Acc. Value
ON â–¼ X - TRUE Count Down Acc. Value
OFF or ON OFF or ON OFF X X Hold Acc. Value
OFF OFF ON X X Reset Acc. to Zero
X X OFF ON X Hold Acc. Value
X X OFF X FALSE Hold Acc. Value
Description Data Format User Program Access
HSCAPP.Accumulator long word (32-bit INT) read/write
Description Data Format User Program Access
HSCAPP.HPSetting long word (32-bit INT) read/write