EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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
Page #729 background imageLoading...
Page #729 background image
691
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Subroutines
3
SBS
z Nested Subroutines
When CIO 0.00 is ON in the following example, subroutine 1 is executed. If CIO 0.01 is ON, subroutine
2 is executed from within subroutine 1 and program execution returns to the next instruction after
SBS(091) 2 when subroutine 2 is completed. Execution of subroutine 1 continues and program
execution returns to the next instruction after SBS(091) 1 when subroutine 1 is completed.
1
5
2
4
3
CIO 0.00 ON
CIO 0.01 ON
1
2
2
1
A→S1-1→S2→S1-2→B
A→S1-1→S1-2→B
A→B
A→B
0.00
0.00
0.01
0.01
Subroutine 1
Subroutine 2
Order of execution
0.010.00
Order of execution

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals