6 - 63
CHAPTER6 FUNCTIONS
1
2
3
4
5
6
7
8
6.12 Writing Programs While CPU Module is in RUN Status
6.12.3 Precautions for online change
(d) STMR instruction
Note that when the STMR instruction is used in the program targeted for online change, the instruction is
executed.
Figure 6.46 Operation of the STMR instruction
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
M0
M10
M20
STMR instruction
STMR instruction
1
1
2
2
Completion of online change
1 scan
END 0 END
M0
M20
M10
0 END 0
STMR T0 K10 M100
STMR T1 K10 M200
M0
M20
M10
STMR T0 K10 M100
STMR T1 K10 M200
1
2
M0
M20
STMR T0 K10 M100
STMR T1 K10 M200
The STMR instruction will be executed because
the data in the ladder block has been changed online.
The STMR instruction will not be executed because the data
in the ladder block has not been changed online.
Adding M10 online
The instruction is executed even if the M0 status is off
and the M10 status is off.
The instruction is not executed.