Rockwell Automation Publication 2080-UM002N-EN-E - November 2022 203
Chapter 10 Use the High-Speed Counter and Programmable Limit Switch
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 is
ignored.
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 218 for more information.
Table 42
lists the definition for HSCID.
For Embedded HSC, valid HSCID value is only 0…5.
HSC1, HSC3, and HSC5 support mode 0, 2, 4, 6, and 8 only, and HSC0,
HSC2, and HSC4 support all counting modes.
PLS Enable (HSCAPP.PLSEnable)
Description Data Format User Program Access
PLSEnable bit read/write
HSCID (HSCAPP.HSCID)
Description Data Format User Program Access
HSCID Word (UINT) read/write
Table 42 - HSCID Definition
Bits Description
15…13
HSC Module Type:
0x00: Embedded
0x01: Expansion (not yet implemented)
0x02: Plug-in module
12…8
Module Slot ID:
0x00: Embedded
0x01…0x1F: Expansion (not yet implemented)
0x01…0x05: Plug-in module
7…0
Module internal HSC ID:
0x00-0x0F: Embedded
0x00-0x07: Expansion (not yet implemented)
0x00-0x07: Plug-in module