Mitsubishi MELSEC-A Series Programming Manual page 286

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

7. APPLICATION INSTRUCTIONS
Program Example
FROM
The program to read 1-word data from K2000 of buffer memory in the second
special module/special block from the A1FXCPU and writes the read data to D0
when X20 is turned ON.
X020
H
FROM
0001
0
DFRO
The program to read 2-word data from K2000 of buffer memory in the second
special module/special block from the A1FXCPU and writes the read data to D0 and
D1 when X20 is turned ON.
X020
H
0
DFRO
0001
REMARK
During the execution of the FROM/DFRO/TO/DTO instruction, M9119 can control the execution
of an interruption program.
• When M9119 is OFF (FROM/TO is given priority)
While the FROM/DFRO/TO/DTO instruction is executed, interrupt is disabled and interruption
program is not executed even at the occurrence of an interrupt.
For the interrupt occurred during the execution of the FROM/DFRO/TO/DTO instruction, the
interruption program that corresponds to the occurred interrupt is executed after the
completion of the FROM/DFRO/TO/DTO instruction.
While M9119 is OFF, the FROM/DFRO/TO/DTO instruction can be used in an interruption
program.
• When M9119 is ON (interrupt is given priority)
If an interrupt occurs during the execution of FROM/DFRO/TO/DTO instruction, execution of
the FROM/DFRO/TO/DTO instruction is suspended and the interruption program that
corresponds to the occurred interrupt is executed.
While M9119 is OFF, the FROM/DFRO/TO/DTO instruction cannot be used in an interruption
program.
• Objective interrupt is I0 to I5, I12, I13, and I29 to I31.
K
K
2000
D0
1
K
K
2000
D0
1
7 − 84
MELSEC-A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents