7 APPLICATION INSTRUCTIONS
7.4 Structure Creation Instructions
575
7
• The EFCALL(P) instruction is used in combination with the ECALL(P) instruction. If the EFCALL(P) instruction is not used
in combination with the ECALL(P) instruction, non-execution processing of the subroutine program is not performed even if
the execution command is turned off, and therefore the output status of each coil instruction is retained.
• 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.
When the EFCALL (P) instruction is used
When the EFCALL (P) instruction is not used
(1) Forced off by the EFCALL instruction
X0
P0 X1 Y10
Y11
SET
M0PLS
RET
P0ECALL
P0
"ABC"
"ABC"EFCALL
FEND
END
END
X0
X1
Y10
Y11
M0
(1)
[ABC.PRG]
X0
X1
Y10
Y11
M0
X0
P0 X1 Y10
Y11
SET
M0PLS
RET
P0ECALL "ABC"
FEND
END
END
[ABC.PRG]