Instruction Set Quick Reference

D-3

 

 

Timer Instructions

Instruction

Description

 

 

TON

TIMER ON DELAY

Timer

T4:1

Time Base

1.0

Preset

15

Accum

0

Timer On Delay

If the input conditions go true, timer T4:1 starts incrementing in

TON

1-second intervals. When the accumulated value is greater than

 

or equal to the preset value (15), the timer stops and sets the

Status Bits:

timer

 

 

 

 

 

EN - Enable

done bit.

 

 

 

 

 

TT - Timer Timing

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DN - Done

 

Rung

EN

TT

DN

ACC

TON

 

 

 

 

 

 

 

 

 

Condition

15

14

13

Value

Status

 

 

 

 

 

 

 

 

 

 

False

0

0

0

0

Reset

 

 

 

 

 

 

 

 

 

 

True

1

1

0

increase

Timing

 

 

 

 

 

 

 

 

 

 

True

1

0

1

>= preset

Done

 

 

 

 

 

 

See page F-8 for a description of prescan operation for

 

 

 

 

 

 

this instruction.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Timer Off Delay

 

 

 

 

 

 

 

 

 

 

 

TOF

 

 

 

If the input conditions are false, timer T4:1 starts

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TOF

 

 

 

 

 

TIMER OFF DELAY

 

 

incrementing in 10 1-ms intervals as long as the rung remains

 

 

 

 

 

 

 

Timer

T4:1

 

 

false. When the accumulated value is greater than or equal to

 

 

Time Base

.01

Status Bits:

 

the preset value (180), the timer stops and resets the timer

 

 

Preset

180

 

 

 

 

 

 

 

 

 

 

 

EN - Enable

 

 

 

EN

TT

DN

ACC

TOF

 

 

Accum

0

 

Rung

 

 

 

TT - Timer Timing

 

 

 

 

 

 

 

 

Condition

 

15

14

13

Value

Status

 

 

 

 

 

DN - Done

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

True

 

1

0

1

0

Reset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

False

 

0

1

1

increase

Timing

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

False

 

0

0

0

>= preset

Done

See page F-8 for a description of prescan operation for this instruction.

Publication 1785-UM012D-EN-P - July 2005

Page 303
Image 303
Bradley Smoker PLC-5 user manual Timer Instructions, Instruction Description, Ton, Tof