Omron SYSMAC CS/CJ Series Programming Manual page 145

Table of Contents

Advertisement

Subroutine Instructions
Instruction
Symbol/Operand
Mnemonic
Code
GLOBAL SUB-
GSBS(750)
ROUTINE CALL
(CS1-H, CJ1-H,
or CJ1M only)
GSBS
N: Subroutine
750
number
GLOBAL SUB-
GSBN(751)
ROUTINE ENTRY
(CS1-H, CJ1-H,
or CJ1M only)
GSBN
N: Subroutine
751
number
GLOBAL SUB-
GRET(752)
ROUTINE
RETURN
(CS1-H, CJ1-H,
or CJ1M only)
GRET
752
124
Calls the subroutine with the specified subroutine number and executes that
program.
N
Indicates the beginning of the subroutine program with the specified subroutine
number.
N
Indicates the end of a subroutine program.
Function
Section 3-17
Location
Execution
condition
Output
Not required
Output
Not required
Output
Not required

Advertisement

Table of Contents
loading

Table of Contents