EasyManua.ls Logo

Mitsubishi Electric melsec q03ud(E)cpu - Page 201

Mitsubishi Electric melsec q03ud(E)cpu
622 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 - 50
When setting a word device with a different data type, a device is regarded as the same device.
When a word device is set in the order of "D100 (16 bit integer)" and then "D100 (Real number (single
precision))", "D100 (Real number (single precision))" is registered.
When setting a device with a different modification method (such as a bit-specified word device, digit-specified bit
device, or index-modified device), a device is regarded as a different device.
When a word device is set in the order of "D100.F" and then "D100Z0 (Real number (single precision)),
both devices are registered.
2) Step to be specified for executional conditioned device test registration
Any step number (0 to step number for the END instruction) in a sequence program can be specified.
Be sure to specify the start step of each instruction.
3) Execution timing
Timing of changing a device value can be specified. A device value can be changed either before or after an
instruction of the specified step is executed. Figure 6.42 shows the module operation based on the execution
timing.
Figure 6.42 CPU module operation based on execution timing
Example
Example
<Program example>
Ladder mode List mode
<Operation>
Execution timing CPU module operation
Before executing
an instruction of
step 101
After executing
an instruction
of step 101
Processing
LD M0
10 20 120
Changes the value in D0 to "20".
+ K100 D0
Value in D0
Processing
LD M0
10 110 20
Changes the value in D0 to "20".
+ K100 D0
Value in D0
Executional conditioned device test which
sets "20" in D0 in this step is registered.

Table of Contents

Related product manuals