Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 720

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Subroutines
Cyclic or interrupt task
A
0.00
GSBS
B
0.01
GSBS
Subroutine program
S
END
Interrupt task 0
GSBN
Global subroutine
program S1
GRET
GSBN
Global subroutine
program S2
GRET
When CIO 0.00 is ON, global subroutine program 1 is executed.
When CIO 0.01 is ON, global subroutine program 2 is executed.
CIO 0.00 ON
1
CIO 0.01
CIO 0.01 ON
OFF
2
1
2
Section 3-18
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.
687

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents