Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 852

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Subroutines
subroutine is completed, program execution continues with the next instruc-
tion after SBS(091).
Subroutines can be nested up to 16 levels. Nesting is when another subrou-
tine is called from within a subroutine program, such as shown in the following
example, which is nested to 3 levels.
SBN 10
SBN 11
RET
Execution condition ON
Main program
Subroutine
program
(SBN(092) to
RET(093))
Program end
SBN 11
SBN 12
SBS 12
RET
RET
Section 3-19
813

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Table of Contents