Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 568

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

• 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
X0
X1
P0
(1) Forced off by the FCALL instruction
When the FCALL(P) instruction is not used
X0
X1
P0
• 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).
X10
P0
FX0
• 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.
7 APPLICATION INSTRUCTIONS
566
7.4 Structure Creation Instructions
CALL
P0
FCALL
P0
FEND
Y10
SET
Y11
PLS
M0
RET
CALL
P0
FEND
Y10
SET
Y11
PLS
M0
RET
CALLP
P0
FCALLP
P0
D*
X0
X1
Y10
Y11
M0
X0
X1
Y10
Y11
M0
X0
D0
D100
X0
D0
D100
FEND
FD1
K100
FD2
RET
(1)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents