beautypg.com

Rockwell Automation 1772-LP3 PLC - 2/30 Programmable Controller Programming and Operations Manual User Manual

Page 114

background image

Timer and Counter Instructions

Chapter 5

5Ć16

Table 5.B

Timer Instructions

NOTE: The Timer word address, XXX, is assigned to the timer Accumulated areas of the Data Table. To determine which addresses are valid

accumulated areas, the 3rd digit from the right in the word address must be even.
The time base, TB, is userĆselectable and can be 1.0 sec., 0.1 sec., or 0.01 sec. Preset values, YYY, and Accumulated values, ZZZ, can vary from

000 to 999.
The word address displayed will be 3, 4, or 5 digits long depending on the Data Table size. When entering the word address, use a leading zero if

necessary.

Keytop Symbol

Instruction Name

1770ĆT3 Display

Description

-(TON)-

TIMER ON DELAY

ąăXXX

-(TON)-

ąăăTB

PR YYY

AC ZZZ

When the rung is TRUE, the timer begins to increment the

Accumulated Value at a rate specified by the time base.
When the rung is FALSE, the timer resets the Accumulated

Value to 000. See Note.

-(TOF)-

TIMER OFF DELAY

ąăXXX

-(TOF)-

ąăăTB

PR YYY

AC ZZZ

When the rung is FALSE, the timer begins to increment the

Accumulated Value.
When the rung is TRUE, the timer resets the Accumulated

Value to 000. See Note.

-(RTO)-

RETENTIVE TIMER

ąăXXX

-(RTO)-

ąăăTB

PR YYY

AC ZZZ

When teh rung is TRUE, the timer begins to increment the

Accumulated value. When FALSE, the Accumulated value

is retained.
It is reset only by the RTR instruction. See Note.

-(RTR)-

RETENTIVE TIMER

RESET

ąăXXX

-(RTR)-

PR YYY

AC ZZZ

XXX - Word address of the retentive timer it is resetting.
YYY - Preset Value automatically entered by the Industrial

Terminal.
ZZZ - Accumulated Value automatically entered by the

Industrial Terminal.
When the rung is TRUE, the Accumulated Value and

status bit are reset to zero. See Note.