High-speed counter load (hsl) – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual
Page 265

Chapter 14
Using High-Speed Counter Instructions
14–15
This instruction allows you to set the low and high presets, low and high
output source, and the output mask. When either a high or low preset is
reached, you can instantly update selected outputs.
If you are using the HSL instruction with the Up Counter, the high preset
must be
≥
1 and
≤
+
32,767 or an error (37H) occurs. For the bidirectional
counters, the high preset must be greater than the low preset or an error
(37H) occurs.
The Counter referenced by this instruction has the same address as the HSC
instruction counter and is fixed at C0.
Entering Parameters
Enter the following parameters when programming this instruction:
•
Source is an address that identifies the first of five data words used by the
HSL. The source can be either an integer or binary file element.
•
Length is the number of elements starting from the source. This number
is always 5.
Entering the Instruction
You enter the instruction from within the program monitor functional area.
The following items apply when entering the instruction:
•
Whenever you see asterisks on the display, the HHP is waiting for data
entry (i.e., a number).
•
You can return to previously entered operands by pressing this key:
Then if you want to edit that operand, press
DEL
or
FUN-DEL
and enter
new parameters. Press
ENT
to accept the operand and move on to the next
one. Once the entire instruction is entered, if you want to edit the
instruction’s parameters, you must go into the overwrite mode. (See page
17–4.)
HSL
HSC LOAD
Counter
C5:0
Source
N7:5
Length
5
(DN)
Execution Times
(µ
sec
)
when:
True
False
66.00
7.00
(CU)
Ladder representation:
High-Speed Counter Load
(HSL)