
206
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
Chapter 10 Use the High-Speed Counter and Programmable Limit Switch
HSC Mode 5 – Two Input Counter (up and down) with External Reset and Hold
Blank cells = don’t care,
= rising edge,
= falling edge
Using the Quadrature Encoder
The Quadrature Encoder is used for determining direction of rotation and position for rotating,
such as a lathe. The Bidirectional Counter counts the rotation of the Quadrature Encoder.
shows a quadrature encoder connected to inputs 0, 1, and 2. The count direction is
determined by the phase angle between A and B. If A leads B, the counter increments. If B
leads A, the counter decrements.
The counter can be reset using the Z input. The Z outputs from the encoders typically provide
one pulse per revolution.
Figure 19 - Quadrature Encoder Connected to Inputs
Table 48 - HSC Mode 5 Examples
Input Terminals
Embedded Input 0
Embedded Input 1
Embedded Input 2
Embedded Input 3
CE Bit
Comments
Function
Count
Direction
Reset
Hold
Example 1
on
(1)
off
(0)
on (1)
off (0)
off (0) on (1)
HSC Accum 1 count
Example 2
on (1)
off
(0)
on (1)
off (0)
off (0) on (1)
HSC Accumulator - 1 count
Example3
on (1)
off (0)
on (1)
Hold accumulator value
Example 4
on (1)
off (0)
off (0)
Hold accumulator value
Example 5
on (1)
off
(0)
on (1)
off (0)
Hold accumulator value
Example 6
Clear accumulator (=0)
Inputs 0…11 are available for use as inputs to other functions regardless of the HSC being used.
Reverse Rotation
Forward Rotation
B
A
1
2
3
2
1
Count
Input 0
Input 1
Input 2
A
B
Z
Reset
Содержание 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 ...