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

Page 269

Advertising
background image

Execution Times

sec

)

when:

True

False

51.00

6.00

Ladder representation:

RES

C5:0

)

)

Chapter 14
Using High-Speed Counter Instructions

14–19

The RES instruction allows you to write a zero to the hardware accumulator
and image accumulator.

The Counter referenced by this instruction has the same address as the HSC
instruction counter and is entered as C0.

Entering the Instruction

You enter the instruction from within the program monitor functional area.

P 0 0 0

R E S

C 0 0

Operation

Execution of this instruction immediately:

removes pending high-speed counter interrupts

resets the hardware and instruction accumulators

resets the PE, LS, OV, UN, and DN status bits

loads the instruction high preset to the hardware high preset (if the
high-speed counter is configured as an up counter)

resets the IL, IH, IN, or IV status bits

You can have more than one RES instruction in your program.

High-Speed Counter Reset
(RES)

7

ENT

To enter the function code, press:

FUN

Advertising