Rockwell Automation Publication 2080-UM002K-EN-E - March 2019
271
Quickstarts
Appendix
C
Modes 1, 3, 5, 7, and 9 will only work when an ID of 0, 2, or 4 is set due to
the fact that these modes use reset and hold. Modes 0, 2, 4, 6, and 8 will
work on any ID. Modes 6…9 will only work when an encoder is connected
to the controller. Use the HSC ID chart as a reference to wire the encoder
to the controller.
MyAppData.HPSetting
,
MyAppData.LPSetting
,
MyAppData.OFSetting
, and
MyAppData.UFSetting
are all user-
defined variables which represent the counting range of the HSC. The
diagram below gives an example of a range of values that can be set for
these variables.
MyAppData.OutputMask
along with
MyAppData.HPOutput
and
MyAppData.LPOutput
allows the user to specify which embedded
outputs can be turned on when a High Preset or Low Preset is reached.
HSC Operating Modes
Mode
Number
Type
0
Up Counter – The accumulator is immediately cleared (0) when it reaches the high
preset. A low preset cannot be defined in this mode.
1
Up Counter with external reset and hold – The accumulator is immediately cleared (0)
when it reaches the high preset. A low preset cannot be defined in this mode.
2
Counter with external direction
3
Counter with external direction, reset, and hold
4
Two input counter (up and down)
5
Two input counter (up and down) with external reset and hold
6
Quadrature counter (phased inputs A and B)
7
Quadrature counter (phased inputs A and B) with external reset and hold
8
Quadrature X4 counter (phased inputs A and B)
9
Quadrature X4 counter (phased inputs A and B) with external reset and hold
+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
Содержание 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 ...