Pls operation for this example, Hsc interrupts – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual

Page 156

Advertising
background image

140

Rockwell Automation Publication 2080-UM002F-EN-E - December 2013

Chapter 8 Use the High-Speed Counter and Programmable Limit Switch

Once the values above for all 4 PLS data elements have been entered, the PLS is
configured.

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.

Advertising
This manual is related to the following products: