Calling a subroutine program in the specified program file
ECALL(P)
RnPCPU
RnCPU RnENCPU
(Process)
• [RnPCPU (redundant)] If these instructions are used in a program executed in both systems, there are restrictions on their operation in the standby system
when the redundant system is in backup mode. ( MELSEC iQ-R CPU Module User's Manual (Application))
These instructions execute the subroutine program corresponding the specified pointer of the specified program file name.
Ladder
(FILE)
(FILE)
FILE: File name
FBD/LD
EN
ENO
FILE
P
FILE: File name
■Execution condition
Instruction
ECALL
ECALLP
Setting data
■Descriptions, ranges, and data types
Operand
Description
(File name)
Program file name to be called
(P)
Start pointer number of subroutine program
*1
(s1)(s5)
Device number to be passed to the subroutine program as