EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

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
Loading...
3. Instructions
690
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Example Programming
z Sequential (Non-nested) 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.
Subroutines
Program end
Main program
1
3
5
2
4
BS2C
BC
S2C
C
CIO 0.00 ON
CIO 0.01 ON
0.01
0.00
AS1
AS1
AB
AB
0.010.00
Order of execution

Table of Contents

Related product manuals