Rockwell Automation 9323-PA1E USER MANUAL APS 6.0 User Manual

Page 301

Advertising
background image

Preface

Advanced Programming Software User Manual

16–8

2.

Monitor the ladder program online while the processor is in either REM Run or
REM CSN (Test Continuous Scan) mode and observe the following:

XIC instruction C5:0/CU (count up) and rung 1 will be true whenever rung
0 is true; and false whenever rung 0 is false.

Each time I:0.0/0 makes a false to true transition, the accumulator value
(Accum) increments. The value is shown in the CTU instruction box of the
ladder program.

When the accumulator value equals the preset value of 3, XIC instruction
C5:0/DN (done bit) goes true, making rung 2 true. The instruction remains
true as long as the accumulator value is greater than or equal to the preset
value.

While monitoring the counter data file, observe how the status bits CU, DN, and
OV change state and also how the accumulator value ACC increments.

Monitoring a Data Table File

This section describes the data table files that you can monitor. These files contain
information used in your ladder program. Data table files include:

Data File 0 — Output (O:)

Data File 1 — Input (I:)

Data File 2 — Status (S:)

Data File 3 — Binary or Bit (B3:)

Data File 4 — Timer (T4:)

Data File 5 — Counter (C5:)

Data File 6 — Control (R6:)

Data File 7 — Integer (N7:)

Data File 8 — Floating Point (F8:) (SLC 5/03 OS301, OS302 and SLC 5/04
OS400, OS401 processors)

Data Files 9-255 — User created files. They can be bit, timer, counter, control,
and integer files. For SLC 5/03 OS301, OS302 and SLC 5/04 OS400, OS401
processors floating point, string, and ASCII files are also supported.

Refer to the example displays of each file type starting on page 16–16.

When offline, use data table files 3-255 to set up sequencers, math routines,
“recipes,” and look-up tables. When online, use data table files to reset timers and
counters, and sequencers to test and/or troubleshoot.

Advertising