High-Speed Counter (HSC) instructions Chapter 14
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 335
This section provides specific details and examples for using high-speed counter
instructions in logic programs, including the following:
Updating HSC application data on page 335
Configuring a High-Speed Counter (HSC) user interrupt on page 337
Configuring a Programmable Limit Switch (PLS) on page 341
Example: How to create a High-Speed Counter(HSC) on page 341
Example: How to add a Programmable Limit Switch (PLS) function on page
352
Example: Programmable Limit Switch (PLS) enabled on page 354
Updating HSC application data
HSC configuration is defined in the HSC application data, and is usually only
configured once before programming the HSC instruction. Changes made to the
HSC application data (HSCAppData parameter) are ignored while the HSC is
counting.
To update the HSC configuration
1. Update HSCAppData.
Call the HSC instruction with command 0x03 (set/reload).
Counter instructions