11 - timers and counters, 11ć1, Timers and counters – Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 146

Advertising
background image

Chapter

11

11-1

Timers and Counters

This chapter describes two instructions that keep track of timed intervals or
counted events:

timers
counters

Timer and counter instructions are output instructions internal to the
processor. They provide many of the capabilities available with timing
relays and solid state timing/counting devices. Usually conditioned by
examine instructions, timers and counters keep track of timed intervals or
counted events according to the logic continuity of the rung.

You can program up to 488 internal timers and the last timer address is
1677. The number of counters are limited only by the processor’s
memory. The last counter address for each is listed below:

This Processor

Has This Last

Timer/Counter Address:

MiniĆPLCĆ2/02

3477

MiniĆPLCĆ2/16

7477

MiniĆPLCĆ2/17

17077

Each timer or counter instruction has two 3-digit values. Each value
requires one word of data table memory. These 3-digit values are:

Accumulated Value (AC)

Storage begins at word address 030 in 2-slot and 1-slot addressing modes
and 050 in 1/2-slot addressing mode. The address of the AC value word is
the address of the timer or counter.

The AC value always starts at 000. Use status bit 15 of the AC word to
control outputs.

Function:

Timers

number of elapsed timed intervals

Counters number of counted events
Both

upper 4 bits of accumulated word (14-17)
are the status bits.

Chapter Objectives

Introduction

Advertising