147
CHAPTER 3 FUNCTIONS
3
3.11 Monitor Function
3.11.1 Monitor condition setting
(a) When only a step number is specified
Monitor data is collected when the status immediately before execution of the specified step becomes the
specified status.
The following status can be specified.
• When the operation of the specified step changes from the non-execution status to the execution status:
<>
• When the operation of the specified step changes from the execution status to the non-execution status:
<>
• Always only when the operation of the specified step is in execution: <ON>
• Always only when the operation of the specified step is in non-execution: <OFF>
• Always regardless of the status of the operation of the specified step: <Always>
● If a step between the AND/OR blocks is specified as a monitor condition, monitor data is collected when the status
previous to execution of the specified step is specified by the LD instruction. The monitor timing depends on the ladder of
step specified as a monitor condition. The following shows examples of monitoring when the step 2 is on (Step No. [2] =
<ON>).
● When "0" is specified as the step No., set the condition to "Always".
● With the High-speed Universal model QCPU and Universal model Process CPU, only the first data which satisfies the
specified conditions is collected if the step between the FOR and NEXT instructions is specified.
Condition Description
When the step 2 is connected by the AND
instruction
The monitor execution condition is established when both X0 and X1
are on.
When the step 2 is connected in the middle of the
AND/OR block
The monitor execution condition is established when X1 turns on. (The
on/off status of X0 does not affect the establishment of the monitor
execution condition.)
When the start of a ladder block other than the
step 0 is specified for the step number as a
detailed condition
Monitor data is collected when the execution status of the instruction
right before execution becomes the specified status. If (Step No. [2] =
<ON>) is specified in the following ladder, monitor data is collected
when OUT Y10 turns on.
0
X0 X1 X2
Ladder mode List mode
Y20
0LD X0
1 AND X1
2 AND X2
3 OUT Y20
Step 2
0
Y20
X0 X1 X2
X3
0LD X0
1LD X1
2 AND X2
3OR X3
4 ANB
5 OUT Y20
Step 2
Ladder mode List mode
0
Y10
X0
2
Y11
X1
Ladder mode List mode
0LD X0
1 OUT Y10
2LD X1
3 OUT Y11