Chapter 12
Monitoring Controller Operations
12–10
To change online data, begin by monitoring the program online while the
processor is in either the Run or Test Continuous Scan (CSN) mode.
] [
] [
] [
2.0.0.0.1
F1
F2
F3
F4
F5
( )
( )
] [
] [
] [
MODE
FORCE
EDT_DAT
SEARCH
RUN
] [
] [
( )
XIC:I1:1.0/0 NO FORCE
(RES)
(CTU)
Observe the following:
•
XIC instruction C5:0/15 (count–up bit) and rung 1 are true whenever rung
0 is true, and false whenever rung 0 is false.
•
Each time rung 0 makes a false to true transition, the accumulator value
increments. Position the cursor on the CTU instruction and press [
ZOOM
]
to display the counter accumulator value.
•
When the accumulator value equals the preset, 3, XIC instruction C5:0/13
(done bit) goes true, making rung 2 true. The instruction remains true as
long as the accumulator is greater than or equal to the preset value.
To change the counter preset or accumulator values or the status bits:
1. Press EDT_DAT from either the zoom display or the online monitor
display. A screen similar to the one below appears.
Counter
C5:0
CU
CD
DN
OV
UN
UA
STATUS
0
0
1
0
0
0
PRESET
3
ACCUM
16
STATUS=001000
RUN
F1
F2
F3
F4
F5
NEXT_PG PREV_PG
ADDRESS NEXT_FL PREV_FL
In this display, the accumulator (ACCUM) is 16 and the done bit DN (bit
13) is set. Reset the counter by making rung 4 true momentarily. The
accumulator value and the done bit are reset to zero.
2. Change the preset and accumulator values from the EDT_DAT screen.
Press the down arrow key to place the cursor on the preset. Type
32767
(maximum value) and press [
ENTER
]. Press the down arrow key to place
the cursor on the accumulator (ACCUM). Type
32767
(maximum value)
and press [
ENTER
]. The display appears as follows:
Counter
C5:0
CU
CD
DN
OV
UN
UA
STATUS
0
0
1
0
0
0
PRESET
32767
ACCUM
32766
STATUS=32766
RUN
NEXT_PG PREV_PG
ADDRESS NEXT_FL PREV_FL