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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Subroutines
690
• 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.
Not allowed
Cyclic task 1
GSBS
n
END
Cyclic task 2
GSBN
n
GRET
END
• The step instructions, STEP(008) and SNXT(009) cannot be used in glo-
bal subroutines.
GSBN
SNXT
STEP
GRET
OK
Cyclic task 1
GSBS
n
END
Interrupt task 0
GSBN
n
GRET
END
Not allowed
Section 3-18

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents