Rockwell Automation Publication 2080-UM002L-EN-E - November 2021 121
Chapter 8
Use the High-Speed Counter and Programmable
Limit Switch
High-Speed Counter Overview
All Micro830, Micro850, and Micro870 controllers, except for 2080-LCxx-AWB,
support up to six high-speed counters (HSC). The HSC feature in Micro800
consists of two main components: the high-speed counter hardware
(embedded inputs in the controller), and high-speed counter instructions in
the application program. High-speed counter instructions apply configuration
to the high-speed counter hardware and updates the accumulator.
This chapter describes how to use the HSC function
and also contains sections
on the HSC and HSC_ SET_STS function blocks, as follows:
• High Speed Counter (HSC) Data Structures
• High-Speed Counter (HSC) Function Block
• HSC_SET_STS Function Block
• Programmable Limit Switch (PLS) Function
• HSC Interrupts
Programmable Limit Switch
Overview
The Programmable Limit Switch function allows you to configure the High-
Speed Counter to operate as a PLS (Programmable Limit Switch) or rotary cam
switch. For more information, see Programmable Limit Switch (PLS) Function
on page 142.
What is High-Speed Counter?
High-Speed Counter is used to detect narrow (fast) pulses, and its specialized
in
structions to initiate other control operations based on counts reaching
preset values. These control operations include the automatic and immediate
ATTENTION: To use the Micro800 HSC feature effectively, you need to have a
basic understanding of the following:
• HSC components and data elements.
The first secti
ons of the chapter provides a detailed description of thes
e
components. Quick
start instructions (see page 217
) are also available to guide
you through setting up a sample HSC project.
• Programming and working with elements in
Connected Components
Workbenc
h software.
The user needs to have a working knowledge of programming th
rough ladder
di
agram, structured text, or function block diagram to be able to work with th
e
HSC funct
ion block and va
riables.
ATTENTION: Additional information is available on the HSC function block and
its elements in the Connected Components Workbench software Online Help
that comes with your Connected Components Workbench software
installation.