Omron SYSMAC CS Series Instruction & Reference Manual page 641

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

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.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
0.00
0.01
1
CIO 0.00 ON
3
CIO 0.01 ON
5
0.00
2
4
Program end
3. Instructions
0.01
Order of execution
A→S1→
B→S2→C
A→S1→
B→C
A→B→
S2→C
A→B→
C
607
3

Advertisement

Table of Contents
loading

Table of Contents