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
M0
PLS
RET
P0
CALL
P0
FCALL
FEND
∙∙∙
X0
X1
Y10
Y11
M0
(1)
X0
X1
Y10
Y11
M0
X0
P0
X1
Y10
Y11
SET
M0
PLS
RET
P0
CALL
FEND
∙∙∙
X10
FX0
P0
P0
CALLP
D0
X0
D100
P0
FCALLP
D0
X0
D100
D*
K100
FD1
FD2
RET
FEND
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......