Rockwell Automation Publication 2080-UM002K-EN-E - March 2019
155
Use the High-Speed Counter and Programmable Limit Switch
Chapter
8
When the HSC is in Counting mode, and PLS is enabled, this parameter indi-
cates which PLS element is used for the current HSC configuration.
Error Code (HSCSTS.ErrorCode)
The Error Codes detected by the HSC sub-system are displayed in this word.
Errors include:
Writing to this element is not recommended except for clearing existing errors
and to capture new HSC errors.
Accumulator (HSCSTS.Accumulator)
HSCSTS.Accumulator contains the number of counts detected by the HSC
sub-system. If either mode 0 or mode 1 is configured, the accumulator is reset to 0
when a high preset is reached or when an overflow condition is detected.
High Preset (HSCSTS.HP)
The HSCSTS.HP is the upper setpoint (in counts) that defines when the HSC
sub-system generates an interrupt.
The data loaded into the high preset must be less than or equal to the data
resident in the overflow (HSCAPP.OFSetting) parameter or an HSC error is
generated.
Description
Data Format
HSC Modes
(1)
(1) For Mode descriptions, see
HSC Mode (HSCAPP.HSCMode) on page 140
.
User Program Access
HSCSTS.ErrorCode
Word (INT)
0…9
read only
Error Code Sub-element HSC counting Error
Code
Error Description
Bit 15…8 (high byte)
0…255
The non-zero value for high byte indicates that
the HSC error is due to PLS data setting. The
value of high byte indicates which element of
PLS data triggers the error.
Bit 7-0 (low byte)
0x00
No error
0x01
Invalid HSC counting mode
0x02
Invalid High preset
0x03
Invalid overflow
0x04
Invalid underflow
0x05
No PLS data
Description
Data Format
User Program Access
HSCSTS.Accumulator
long word (32-bit INT)
read only
Description
Data Format
User Program Access
HSCSTS.HP
long word (32-bit INT)
read only
Содержание Micro830
Страница 6: ...vi Rockwell Automation Publication 2080 UM002K EN E March 2019 Preface Notes ...
Страница 24: ...10 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 1 Hardware Overview Notes ...
Страница 70: ...56 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 4 Wire Your Controller Notes ...
Страница 88: ...74 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 5 Communication Connections Notes ...
Страница 190: ...176 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 9 Controller Security Notes ...
Страница 254: ...240 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix A Specifications Notes ...
Страница 273: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 259 Quickstarts Appendix C ...
Страница 300: ...286 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix C Quickstarts Notes ...
Страница 330: ...316 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix E Troubleshooting Notes ...
Страница 344: ...330 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix F PID Function Blocks Notes ...
Страница 352: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 338 Index Notes ...
Страница 353: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 339 ...