Calling A Subroutine Program - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Calling a subroutine program

CALL(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
• [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 of the specified pointer.
Ladder
(P)
(P)
(s1)...(s5)
FBD/LD
EN
ENO
P
■Execution condition
Instruction
CALL
CALLP
Setting data
■Description, range, data type
Operand
Description
(P)
Start pointer number of subroutine program
*1
(s1) to (s5)
Device number to be passed to the subroutine program as
an argument
EN
Execution condition
ENO
Execution result
*1 Cannot be specified in FBD/LD.
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(P)
*1
(s1) to (s5)
*1 Devices other than F can be used.
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
Not supported
Range
Data type
Device name
-2147483648 to 2147483647
Bit/16-bit signed
binary/32-bit signed
binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
7.4 Structure Creation Instructions
Data type (label)
POINTER
ANY
BOOL
BOOL
Constant
Others
specification
(P)
K, H E
$
7
559

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents