Mitsubishi Electric Q01UCPU User Manual page 162

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

(c) Execution timing
Timing to change a device value can be specified. A device value can be changed either before or after an
instruction of the specified step is executed. The following figure shows the module operation based on the
execution timing.
<Program example>
<Operation>
Execution timing
Before executing
an instruction of
After executing
Note that there may be a case where a device value will not be changed depending on the execution timing
even though the specified step is executed. The following instructions need to be noted when registering
executional conditioned device test settings.
• Instructions that do not change device values
A device value will not be changed by executing the executional conditioned device test when the
execution timing has been set to "After executing instruction", specifying the step for instructions that do
not execute the next step, such as branch instructions.
*1
If the execution condition of an instruction is not satisfied, a device value will be changed based on the registration data.
160
Ladder mode
Executional conditioned device test which
sets "20" in D0 in this step is registered.
Processing
step 101
Value in D0
Processing
an instruction
of step 101
Value in D0
List mode
CPU module operation
LD M0
Changes the value in D0 to "20".
10
20
LD M0
+ K100 D0
Changes the value in D0 to "20".
10
110
*1
+ K100 D0
120
20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents