Rockwell Automation Publication 2080-UM002G-EN-E - March 2015 125
Use the High-Speed Counter and Programmable Limit Switch Chapter 8
High Speed Counter (HSC)
Data Structures
The following section describes HSC data structures.
HSC APP Data Structure
Define a HSC App Data (configuration data, data type HSCAPP) when
programming a HSC. During HSC counting, the data should not be changed,
except if the configuration needs to be reloaded.
To reload HSC configuration, change the HSC APP Data, then call HSC
function block with command 0x03 (set/reload). Otherwise, the change to HSC
App Data during HSC counting will be ignored.
PLS Enable (HSCAPP.PLSEnable)
This bit enables and disables the HSC Programmable Limit Switch (PLS)
function.
When the PLS function is enabled, the setting in
• HSCAPP.HpSetting
• HSCAPP.LpSetting
• HSCAPP.HPOutput
• HSCAPP.LPOutput
are superseded by corresponding data values from PLS data. See Programmable
Limit Switch (PLS) Function on page 145 for more information.
HSC1, HSC3, and HSC5 support mode 0, 2, 4, 6, and 8 only, and HSC0,
HSC2 and HSC4 support all counting modes.
Description Data Format User Program Access
PLSEnable bit read/write