220 Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
Chapter 10          Use the High-Speed Counter and Programmable Limit Switch
Assume that HSCAPP.OutputMask = 31 (HSC mechanism controls Embedded Output 0...4 only), 
and HSCAPP.HSCMode = 0.
PLS Operation for This Example
When the ladder logic first runs, HSCSTS.Accumulator = 1, therefore all the outputs are turned 
off. The value of HSCSTS.HP = 250
When HSCSTS.Accumulator = 250, the HSC_PLS[1].HscHPOutput is sent through the 
HSCAPP.OutputMask and energizes the outputs 0 and 1. 
This will repeat as the HSCSTS.Accumulator reaches 500, 750, and 1000. The controller 
energizes outputs 0...2, 0...3, and 0...4 respectively. Once completed, the cycle resets and 
repeats from HSCSTS.HP = 250.
HSC Interrupts An interrupt is an event that causes the controller to suspend the task it is currently 
performing, perform a different task, and then return to the suspended task at the point where 
it suspended. Micro800 supports up to six HSC interrupts.
An HSC interrupt is a mechanism that Micro830, Micro850, and Micro870 controllers provide to 
execute selected user logic at a pre-configured event. 
HSC0 is used in this document to define how HSC interrupts work.
HSC Interrupt Configuration
In the User Interrupt configuration window, select HSC, and HSC ID, which is the interrupt 
triggering the User Interrupt.
Figure 21
 shows the selectable fields in the Interrupt configuration window.