Mitsubishi Electric melsec q00ujcpu User Manual page 201

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

When setting a word device with a different data type, a device is regarded as the same device.
Example
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.
Example
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.
<Program example>
<Operation>
Execution timing
Before executing
an instruction of
After executing
6 - 50
When a word device is set in the order of "D100 (16 bit integer)" and then "D100 (Real number (single
When a word device is set in the order of "D100.F" and then "D100Z0 (Real number (single precision)),
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
Figure 6.42 CPU module operation based on execution timing
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
+ K100 D0
120
20

Advertisement

Table of Contents
loading

Table of Contents