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...
7 APPLICATION INSTRUCTIONS
7.4 Structure Creation Instructions
559
7
Calling a subroutine program
CALL(P)
These instructions execute the subroutine program of the specified pointer.
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 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))
Ladder ST
Not supported
FBD/LD
Instruction Execution condition
CALL
CALLP
Operand Description Range Data type Data type (label)
(P) Start pointer number of subroutine program Device name POINTER
(s1) to (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) to (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