EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Calling a Subroutine Program

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
578
7 APPLICATION INSTRUCTIONS
7.4 Structure Creation Instructions
Calling a subroutine program
XCALL
This instruction performs execution or non-execution processing of a subroutine program. When the condition is satisfied, the
instruction triggers CALL for the subroutine. When the condition is broken, it triggers FCALL.
Execution condition
Setting data
Description, range, data type
*1 Cannot be specified in FBD/LD.
Applicable devices
*1 Devices other than F can be used.
[RnPCPU (redundant)] If the instruction is used in a program executed in both systems, there are restrictions on its operation in the standby system when the
redundant system is in backup mode. ( MELSEC iQ-R CPU Module User's Manual (Application))
Ladder ST
Not supported
FBD/LD
Instruction Execution condition
XCALL
Operand Description Range Data type Data type (label)
(P) Start pointer number of subroutine program Device name POINTER
(s1)(s5)
*1
Device number to be passed to the subroutine program as
an argument
-2147483648 to 2147483647 Bit/16-bit signed
binary/32-bit signed
binary
ANY
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
(P)
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(P) 
(s1)(s5)
*1
 
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(P)
(P) (s1)...(s5)
EN ENO
P

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals