Return From Subroutine Program - Mitsubishi MELSEC-Q Series Programming Manual

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

Advertisement

RET
7.6.4

Return from subroutine program

RET
Structured ladder
RET
EN
Input argument,
Output argument,
Function
(1) Indicates the end of the subroutine program.
(2) When the RET instruction is executed, returns to the next step of the CALL(P) instruction
which called the subroutine program.
7.6 Structured Instructions
7-108
7.6.4 Return from subroutine program
ENO:=
ENO
EN:
Executing condition
ENO:
Execution result
Internal device
Setting
R, ZR
data
Bit
Word
Main routine
program
CALL
END
ST
(EN);
RET
J
\
U
Bit
Word
Pn
Pn
Universal
UD
indicates the following instruction.
RET
:Bit
:Bit
Zn
Constant
\G
Subroutine
program
RET
RET
High
Performance
Others

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents