EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 568

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
566
7 APPLICATION INSTRUCTIONS
7.4 Structure Creation Instructions
When the execution command is turned off, non-execution processing of the subroutine program is performed, enabling the
OUT instruction and PLS instruction (including pulse conversion instructions) to be forcibly turned off.
Ex.
When the FCALL(P) instruction is used
When the FCALL(P) instruction is not used
When the subroutine program uses function devices (FX, FY, FD), specify the devices corresponding to the function
devices in (s1) to (s5). The following figure the contents of the devices specified by (s1) to (s5).
(1) Forced off by the FCALL instruction
Before execution of the subroutine program, bit data is transferred to FX and word data is transferred to FD.
After execution of the subroutine program, the contents of FY and FD are transferred to the corresponding devices.
Function devices FX and FY are processed in units of bits. Function device FD is processed in units of 4 words. The size of data to be processed varies
depending on the type of the device specified by an argument. The device specified as a function device should be secured for the data size. An error occurs
if it cannot be secured for the data size.
X0
P0
X1 Y10
Y11
SET
M0PLS
RET
P0CALL
P0FCALL
FEND

X0
X1
Y10
Y11
M0
(1)
X0
X1
Y10
Y11
M0
X0
P0
X1
Y10
Y11
SET
M0PLS
RET
P0CALL
FEND

X10
FX0P0
P0CALLP D0X0 D100
P0FCALLP D0X0 D100
D* K100FD1 FD2
RET
FEND

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals