EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 720

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
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...
687
Subroutines Section 3-18
When CIO 0.00 is ON, global subroutine program 1 is executed.
When CIO 0.01 is ON, global subroutine program 2 is executed.
B
GSBS
1
A
GSBS
2
END
0.00
GSBN
1
GSBN
2
GRET
GRET
0.01
CIO 0.00 ON
Cyclic or interrupt task
It is possible to debug problems
within particular tasks by using
regular subroutines in the local task
only as well as global subroutines
that are shared with other tasks.
Interrupt task 0
Global subroutine
program S1
Global subroutine
program S2
Subroutine program
S
CIO 0.01
OFF
CIO 0.01 ON

Table of Contents

Related product manuals