Omron CJ - INSTRUCTIONS Reference Manual page 728

Table of Contents

Advertisement

3. Instructions
Example Programming
Sequential (Non-nested) Subroutines
Main program
Subroutines
When CIO 0.00 is ON in the following example, subroutine 1 is executed and program execution
returns to the next instruction after SBS(091) 1. When CIO 0.01 is ON, subroutine 2 is executed and
program execution returns to the next instruction after SBS(091) 2.
690
0.00
0.01
1
CIO 0.00 ON
3
CIO 0.01 ON
5
0.00
2
4
Program end
CS/CJ/NSJ Series Instructions Reference Manual (W474)
0.01
Order of execution
A S1
B
S2 C
A S1
B
C
A B
S2 C
A B
C

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF