Preface, Offline config – Rockwell Automation 9323-PA1E USER MANUAL APS 6.0 User Manual

Page 303

Advertising
background image

Preface

Advanced Programming Software User Manual

16–10

Example

1.

Access the data monitor by pressing

CONFIG

OFFLINE

CONFIG

DATA

MONITOR

F8

. Enter the address of a counter

file and press

[ENTER]

. In the following display, the accumulator value is 16

and the DN bit is set. Reset the counter by making rung 4 true momentarily.
The ACC value and DN bit are reset to zero.

Press a key or enter value
C5:0/CU =
REM CSN

no forces

formatted

decimal addr

PROC ADDR 1

address

CU

CD

DN

OV

UN

UA

PRE

ACC

C5:0

0

0

1

0

0

0

3

16

2.

While you are online, change the preset and accumulator values at the counter
data file display. Move the cursor to the preset, PRE, and enter 32,767
(maximum value). Move the cursor to the accumulator, ACC, and enter 32766.
The display appears as follows:

address

CU

CD

DN

OV

UN

UA

PRE

ACC

C5:0

0

0

0

0

0

0

32767

32766

3.

Increment the counter by turning on I:O.0/0. The accumulator value equals the
preset value, the done bit DN is set, and rung 2 is true. Increment the counter
again. The counter is in an overflow condition, setting the overflow bit OV.
Rung 3 in the ladder program is now true.

address

CU

CD

DN

OV

UN

UA

PRE

ACC

C5:0

0

0

1

1

0

0

32767

-32768

The accumulator is on the 32,768th count, shown in the display as -32768. As
the count continues to increment, the accumulator shows negative numbers of
decreasing absolute value.

Advertising