
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
215
Chapter 10 Use the High-Speed Counter and Programmable Limit Switch
HSCSTS.Accumulator contains the number of counts detected by the HSC sub-system. If either
mode 0 or mode 1 is configured, the accumulator is reset to 0 when a high preset is reached or
when an overflow condition is detected.
The HSCSTS.HP is the upper set point (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.
This is the latest high preset setting, which may be updated by PLS function from the PLS data
block.
The HSCSTS.LP is the lower set point (in counts) that defines when the HSC sub-system
generates an interrupt.
The data loaded into the low preset must greater than or equal to the data resident in the
underflow (HSCAPP.UFSetting) parameter, or an HSC error is generated. If the underflow and
low preset values are negative numbers, the low preset must be a number with a smaller
absolute value.
This is the latest low preset setting, which may be updated by PLS function from the PLS data
block.
The High Preset Output defines the state (1 = ON or 0 = OFF) of the outputs on the controller
when the high preset is reached. See
Output Mask Bits (HSCAPP.OutputMask) on page 209
for
more information on how to directly turn outputs on or off based on the high preset being
reached.
This is the latest high preset output setting, which may be updated by PLS function from the
PLS data block.
The Low Preset Output defines the state (1 = “on”, 0 = “off”) of the outputs on the controller
when the low preset is reached. See
Output Mask Bits (HSCAPP.OutputMask) on page 209
more information on how to directly turn outputs on or off based on the low preset being
reached.
This is the latest low preset output setting, which may be updated by PLS function from the
PLS data block.
High Preset (HSCSTS.HP)
Description
Data Format
User Program Access
HSCSTS.HP
long word (32-bit INT)
read only
Low Preset (HSCSTS.LP)
Description
Data Format
User Program Access
HSCSTS.LP
long word (32-bit INT)
read only
High Preset Output (HSCSTS.HPOutput)
Description
Data Format
User Program Access
HSCSTS.HPOutput
long word (32 bit binary)
read only
Low Preset Output (HSCSTS.LPOutput)
Description
Data Format
User Program Access
HSCSTS.LPOutput
long word (32 bit binary))
read only