Mitsubishi Electronics QnUCPU Home Theater Server User Manual


 
CHAPTER6 FUNCTIONS
1
2
3
4
5
6
7
8
6.11 Monitor Function
6.11.4 Executional conditioned device test
6 - 51
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.