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

Page 277

Advertising
background image

Chapter 14
Using High-Speed Counter Instructions

14–27

Instruction List

File 2, Rung 0

Unlatch or latch the output bits under HSC control during the first scan
after the HSC instruction is executed for the first time. (Note, you

could

place this rung before the HSC instruction; however, this is not
recommended.)

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD S1/15 0

171 HSL CNTR C0
SRC N0
LEN 5

File 2, Rung 1

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
170 HSC TYPE Encoder (Res,Hld)
CNTR C0
PRE 1000
ACC 0000H

File 2, Rung 2

This rung is programmed with the knowledge of an HSL mask of 0007 (Outputs
0–2 are used) and initializes the HSC outputs each RRUN mode entry.
Outputs O/0 and O/1 are off, while Output O/2 is on.

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD S1/15 0

42 –(U)– RST O/0 0

42 –(U)– RST O/1 0

41 –(L)– SET O/2 0

Advertising