Mitsubishi MELSEC-Q/L Programming Manual page 402

Table of Contents

Advertisement

EFCALL, EFCALLP
Function
(1) When the EFCALL(P) instruction is executed, the non-execution processing of the subroutine program of the pointer
designated by Pn is performed.
The EFCALL (P) can also be used to call a subroutine program that uses a local
pointer from a different program file.
(a) Non-execution processing is identical to the processing that is conducted when the condition contacts for the
individual coil instructions are in the OFF state.
[File name: MAIN]
Main routine
program
EFCALL "ABC" Pn
END
(b) The operation results for the individual coil instructions following non-execution processing will be as follows,
regardless of the ON/OFF status of the individual contacts:
OUT instruction........................................................ Forced OFF
SET instruction
RST instruction
SFT instruction
Basic instructions
Application instructions
PLS instruction
Pulse generation
instruction (
P)
Present value of low speed/high speed timers......... 0
Present value of retentive timer
Present value of counter
(2) The EFCALL (P) instruction is used in combination with the ECALL (P) instruction.
400
[File name: ABC]
Subroutine
program
Non-execution processing
Pn
is executed when the
command for the
EFCALL(P) instruction is
RET
turned from ON to OFF.
................
Maintains status
................
Processing identical to when condition contacts are OFF
................ Preserves

Advertisement

Table of Contents
loading

Table of Contents