122
Rockwell Automation Publication 2080-UM002L-EN-E - November 2021
Chapter 8 Use the High-Speed Counter and Programmable Limit Switch
execution of the high-speed counter interrupt routine and the immediate
update of outputs based on a source and mask pattern you set.
The HSC functions are different than most other controller instructions. Their
operation is performed by custom circuitry that runs in parallel with the main
system processor. This is necessary because of the high-performance
requirements of these functions.
Features and Operation
The HSC is extremely versatile; you can select or configure the master HSC for
any one of ten (10) modes and the sub HSC for any one of five (5) modes of
operation. See
HSC Mode (HSCAPP.HSCMode) on page 127
for more
information.
Some of the enhanced capabilities of the High-Speed Counters are:
•
100 kHz operation
•
Direct control of outputs
•
32-bit signed integer data (count range of ± 2,147,483,647)
•
Programmable High and Low presets, and Overflow and Underflow set
points
•
Automatic Interrupt processing based on accumulated count
•
Change parameters on-the-fly (from the user control program)
The High-Speed Counter function operates as described in the following
diagram.
Figure 10 - High-Speed Counter Operation
You must set a proper value for the variables OFSetting, HPSetting, and
UFSetting before triggering Start/Run HSC. Otherwise, the controller will be
faulted. (Setting a value for LPSetting is optional for certain counting
modes.)
To learn more about HscAppData variable input, see
.
+2,147,483,647 maximum
-2,147,483,648 minimum
Overflow
High Preset
0
Low Preset
Underflow
HscAppData.OFSetting
HscAppData.HPSetting
HscAppData.LPSetting
HscAppData.UFSetting
Variable
Содержание Allen-Bradley Micro850
Страница 12: ...12 Rockwell Automation Publication 2080 UM002L EN E November 2021 Preface Notes ...
Страница 36: ...36 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 2 About Your Controller Notes ...
Страница 44: ...44 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 3 Install Your Controller Notes ...
Страница 120: ...120 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 7 Motion Control Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 9 Controller Security Notes ...
Страница 184: ...184 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 10 Using microSD Cards Notes ...
Страница 226: ...226 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix C Quickstarts 10 Click Finish to complete ...
Страница 248: ...248 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix C Quickstarts Notes ...
Страница 262: ...262 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix D User Interrupts Notes ...
Страница 272: ...272 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix E Troubleshooting Notes ...