Timer on-delay (ton), Using status bits, Entering the instruction – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 135

Advertising
background image

Chapter 8
Using Basic Instructions

8–16

Use the TON instruction to delay the turning on or off of an output. The
TON instruction begins to count timebase intervals when rung conditions
become true. As long as rung conditions remain true, the timer increments
its accumulated value (ACC) each scan until it reaches the preset value
(PRE). The accumulated value is reset when rung conditions go false,
regardless of whether the timer has timed out.

Using Status Bits

This Bit

Is Set When

And Remains Set Until One

of the Following

Timer Done Bit DN (bit 13)

accumulated value is equal to
or greater than the preset value

rung conditions go false

Timer Enable Bit EN (bit 14)

rung conditions are true

rung conditions go false

Timer Timing Bit TT (bit 15)

rung conditions are true and
the accumulated value is less
than the preset value

rung conditions go false or
when the done bit is set

Entering the Instruction

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

P 0 0 0

T O N

A D D R

T 0

P 0 0 0

T O N

P R E

* * * 1 0 0

P 0 0 0

T O N

A C C

* * * 0 6 6

P 0 0 0

T O N

B A S E

0 . 0 1

S E C

TIMER ON DELAY
Timer

T4:0

Time Base

0.01

Preset

100

Accum

66

(EN)

(DN)

TON

Execution Times (

µ

sec) when:

True

False

38.34

30.38

Ladder representation:

Timer On-Delay (TON)

FUN

ANB

0

ENT

To enter the function code, press:

Advertising