Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 266

Advertising
background image

Chapter 14
Using High-Speed Counter Instructions

14–16

P 0 0 8

H S L

C N T R

C 0 0

P 0 0 8

H S L

S R C

N 5

0

P 0 0 8

H S L

L E N

5

Operation

The HSL instruction allows you to configure the high-speed counter to
instantaneously and automatically update external outputs whenever a high
or low preset is reached. The physical outputs are automatically updated in
less than 30

µ

s. (The physical turn-on time of the outputs is not included in

this amount.) The output image is then automatically updated at the next poll
for user interrupts or at the next IOM instruction or output scan, whichever
occurs first.

With this instruction, you can change the high preset for the up counters or
both the high and low presets for Bidirectional Counters during run. You can
also modify the output mask configuration during run.

The source address is either an integer or binary file element. For example,
if N5 is selected as the source address, the additional parameters for the
execution of this instruction would appear as shown on the following page.

1

7

ENT

1

FUN

To enter the function code, press:

Advertising