
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
211
Chapter 10 Use the High-Speed Counter and Programmable Limit Switch
HSC STS (HSC Status) Data
Structure
Define an HSC STS data (HSC status information data, data type HSCSTS) when programming
an HSC.
The Counting Enabled control bit is used to indicate the status of the High-Speed Counter,
whether counting is enabled (1) or disabled (0, default).
The Error Detected flag is a status bit that can be used in the control program to detect if an
error is present in the HSC sub-system. The most common type of error that this bit
represents is a configuration error. When this bit is set (1), you should look at the specific error
code in parameter HSCSTS.ErrorCode. This bit is maintained by the controller and is set when
there is an HSC error. This bit can be cleared by the user, if necessary.
The Count Up bit is used with all of the HSCs (modes 0…9). If the HSCSTS.CountEnable bit is set,
the Count Up bit is set (1). If the HSCSTS.CountEnable is cleared, the Count Up bit is cleared (0).
The Count Down bit is used with the bidirectional counters (modes 2…9). If the
HSCSTS.CountEnable bit is set, the Count Down bit is set (1). If the HSCSTS.CountEnable bit is
clear, the Count Down bit is cleared (0).
Counting Enabled (HSCSTS.CountEnable)
Description
Data Format
HSC Modes
(1)
(1) For Mode descriptions, see
HSC Mode (HSCAPP.HSCMode) on page 204
User Program Access
HSCSTS.CountEnable
bit
0…9
read only
Error Detected (HSCSTS.ErrorDetected)
Description
Data Format
HSC Modes
(1)
(1) For Mode descriptions, see
HSC Mode (HSCAPP.HSCMode) on page 204
User Program Access
HSCSTS.ErrorDetected
bit
0…9
read/write
Count Up (HSCSTS.CountUpFlag)
Description
Data Format
HSC Modes
(1)
(1) For Mode descriptions, see
HSC Mode (HSCAPP.HSCMode) on page 204
User Program Access
HSCSTS.CountUpFlag
bit
0…9
read only
Count Down (HSCSTS.CountDownFlag)
Description
Data Format
HSC Modes
(1)
(1) For Mode descriptions, see
HSC Mode (HSCAPP.HSCMode) on page 204
User Program Access
SCSTS.CountDownFlag
bit
2…9
read only
Содержание 2080-L50E-24AWB
Страница 14: ...14 Rockwell Automation Publication 2080 UM002N EN E November 2022 Notes ...
Страница 54: ...54 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 4 Wire Your Controller Notes ...
Страница 128: ...128 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 7 Program Execution in Micro800 Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 8 EtherNet IP Network Notes ...
Страница 198: ...198 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 9 Motion Control Notes ...
Страница 232: ...232 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 11 Controller Security Notes ...
Страница 260: ...260 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 12 Using microSD Cards Notes ...
Страница 266: ...266 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix A Modbus Mapping for Micro800 Notes ...
Страница 275: ...Rockwell Automation Publication 2080 UM002N EN E November 2022 275 Appendix B Quickstarts 10 Click Finish to complete ...
Страница 332: ...332 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix E PID Function Blocks Notes ...
Страница 352: ...352 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix G Connect to Networks using DF1 Notes ...
Страница 388: ...388 Rockwell Automation Publication 2080 UM002N EN E November 2022 Index Notes ...