
166
Rockwell Automation Publication 2080-UM002K-EN-E - March 2019
Chapter 8
Use the High-Speed Counter and Programmable Limit Switch
•
Low preset reached
•
High preset reached
•
Overflow condition – count up through the overflow value
•
Underflow condition – count down through the underflow value
The HSC EX bit can be used in the control program as conditional logic to
detect if an HSC interrupt is executing.
The HSC sub-system will clear (0) the EX bit when the controller completes its
processing of the HSC subroutine.
User Interrupt Pending (HSC0.PE)
The PE (User Interrupt Pending) is a status flag that represents an interrupt is
pending. This status bit can be monitored or used for logic purposes in the
control program if you need to determine when a subroutine cannot be executed
immediately. This bit is maintained by the controller and is set and cleared
automatically.
User Interrupt Lost (HSC0.LS)
The LS (User Interrupt Lost) is a status flag that represents an interrupt has been
lost. The controller can process 1 active and maintain up to 1 pending user
interrupt conditions before it sets the lost bit.
This bit is set by the controller. It is up to the control program to utilize, track the
lost condition if necessary.
Use HSC
To use HSC, refer to
Use the High Speed Counter on page 264
Description
Data Format
HSC Modes
(1)
(1) For Mode descriptions, see Count Down (HSCSTS.CountDownFlag) on page 151.
User Program Access
HSC0.PE
bit
0…9
read only
Description
Data Format
HSC Modes
(1)
(1) For Mode descriptions, see Count Down (HSCSTS.CountDownFlag) on page 151.
User Program Access
HSC0.LS
bit
0…9
read/write
Summary of Contents for Micro830
Page 6: ...vi Rockwell Automation Publication 2080 UM002K EN E March 2019 Preface Notes ...
Page 273: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 259 Quickstarts Appendix C ...
Page 300: ...286 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix C Quickstarts Notes ...
Page 352: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 338 Index Notes ...
Page 353: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 339 ...