High-speed counter reset accumulator (rac) – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 270

Advertising
background image

Chapter 14
Using High-Speed Counter Instructions

14–20

This instruction allows you to write a specific value to the hardware
accumulator and image accumulator.

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 parameter when programming this instruction:

Source represents the value that is loaded to the accumulator. The source
can be a constant or an address.

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.)

P 0 0 8

R A C

C N T R

C 0 0

P 0 0 8

R A C

S R C

* * * * * 1

Once instruction entry is complete, the parameters appear as shown here:

P 0 0 8

R A C

C 0 0

P

1

A

– 1

P 0 0 8

R A C

S R C

1

RAC

RESET TO ACCUM VALUE
Counter

C5:0

Source

1

Execution Times

sec

)

when:

True

False

56.00

6.00

Ladder representation:

High-Speed Counter Reset
Accumulator (RAC)

2

L

ENT

To enter the function code, press:

7

1

FUN

Advertising