High-Speed Counter (HSC) instructions Chapter 14
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 315
HSCID
Parameter Data type Data format User program access
HSCApp.HSCID UINT word read/write
Identifies the High-Speed Counter to be used. The following table lists the values
for defining the HSC ID:
Output Selection Bit Description
First word of HSC Function Data 15-13 Module type of HSC:
• 0x00 - Embedded.
• 0x01 - Expansion.
• 0x02 - Plug-in Port.
12-8 Slot ID of the module:
• 0x00 - Embedded.
• 0x01-0x1F - ID of Expansion Module.
• 0x01-0x05 - ID of Plug-in Port.
7-0 HSC ID inside the module:
• 0x00-0x0F - Embedded.
• 0x00-0x07 - ID of HSC for Expansion.
• 0x00-0x07 - ID of HSC for Plug-in Port.
Note: For the initial version of Connected Components Workbench, only
IDs 0x00-0x05 are supported.
HSCMode
Parameter Data type User program access
HSCApp.HSCMode UINT read/write
Sets the High-Speed Counter to one of 10 types of counting modes. The mode
value is configured through the programming device and is accessible in the
control program.
HSC operating modes
The main HSC and sub HSC support different modes.
• The main high-speed counters support 10 types of operation modes.
• Sub high-speed counters support 5 types of operation modes (mode 0, 2, 4,
6, 8).
• If the main high-speed counter is set to mode 1, 3, 5, 7 or 9, then the sub
high-speed counter will be disabled.