Use the high speed counter – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual

Page 212

Advertising
background image

196

Rockwell Automation Publication 2080-UM002F-EN-E - December 2013

Appendix C Quickstarts

1.

On the Device Details toolbar, click Secure button. Select Clear Password.

2.

The Clear Password dialog appears. Enter Password.

3.

Click OK to clear the password.

The controller will require no password on any new session.

Use the High Speed Counter

To use HSC, you first need to establish the HSC counting mode required by
your application. See

HSC Mode (HSCAPP.HSCMode) on page 118

for

available modes on Micro800 controllers.

The following sample project guides you through the creation of a project which
uses HSC mode 6, a quadrature counter with phased inputs A and B. It shows
you how to write a simple ladder program with the HSC function block, create
variables, and assign variables and values to your function block. You will also be
guided through a step-by-step process on how test your program, and enable a
Programmable Light Switch (PLS).

This sample project makes use of a 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.

The figure below shows a quadrature encoder 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.

Advertising
This manual is related to the following products: