Chapter 14 High-Speed Counter (HSC) instructions
324 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
LPReached
Parameter Data type HSC mode User program access
HSCSTS.LPReached BOOL 2...9 read only
The HSC sub-system sets the HSCSTS.LPReached status flag to (1) whenever the
accumulated value (HSCSTS.Accumulator) is less than or equal to the low preset
variable (HSCAPP.LPSetting).
This bit is updated continuously by the HSC sub-system whenever the controller
is in an executing mode. Writing to this element is not recommended.
OFCauseInter
Parameter Data type HSC mode User program access
HSCSTS.OFCauseInter BOOL 0...9 read/write
The Overflow Interrupt status bit sets (1) when the HSC accumulator counts
through the overflow value and the HSC interrupt is triggered. This bit can be
used in the control program to identify that the overflow variable caused the HSC
interrupt. If the control program needs to perform any specific control action
based on the overflow, this bit is used as conditional logic.
This bit can be cleared (0) by the control program and is also cleared by the HSC
sub-system whenever these conditions are detected:
• Low Preset Interrupt executes
• High Preset Interrupt executes
• Underflow Interrupt executes