EasyManua.ls Logo

Mitsubishi MELSEC-A series - Page 286

Mitsubishi MELSEC-A series
508 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...
7. APPLICATION INSTRUCTIONS
7 84
MELSEC-A
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.
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.
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.
X020
0
HK K
FROM 0001 2000 D0 1
X020
0
HK K
DFRO 0001 2000 D0 1

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals