![Omron CJ1G-CPUxx Instructions Manual Download Page 763](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491763.webp)
742
Subroutines
Section 3-19
• Always place the global subroutines in interrupt task 0. An error will occur
if a global subroutine is called and the subroutine is not in interrupt task 0.
• The step instructions, STEP(008) and SNXT(009) cannot be used in glo-
bal subroutines.
GSBS
n
END
GSBN
n
GRET
END
GSBS
n
END
GSBN
n
GRET
END
Cyclic task 1
Not allowed
OK
Cyclic task 1
Cyclic task 2
Interrupt task 0
GSBN
SNXT
STEP
GRET
Not allowed
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...