Example: How To Create A High-Speed Counter (Hsc) Program - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Chapter 14
High-Speed Counter (HSC) instructions
342

Example: How to create a High-Speed Counter (HSC) program

This example shows you how to create a High-Speed Counter (HSC) program
that uses a quadrature encoder and includes a Programmable Limit Switch (PLS)
function.
Quadrature encoder used in the example
The High Speed Counter program example uses an HSC function block and a
quadrature counter with phased inputs A and B. The quadrature encoder
determines the direction of rotation and the position for rotating equipment, such
as a lathe. The Bidirectional Counter counts the rotation of the quadrature
encoder.
The following quadrature encoder is connected to inputs 0 and 1. 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.
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015

Advertisement

Table of Contents
loading

Table of Contents