Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 874

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Subroutines
• The input method for the global subroutine number, N, is different for the
CX-Programmer and a Programming Console. Input #0 to #1023 on the
CX-Programmer and 0000 to 1023 on a Programming Console.
• 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
Cyclic task 2
• The step instructions, STEP(008) and SNXT(009) cannot be used in glo-
bal subroutines.
OK
Cyclic task 1
GSBS
n
END
Interrupt task 0
GSBN
n
GRET
END
GSBN
SNXT
Not allowed
STEP
GRET
Section 3-19
GSBS
n
END
GSBN
n
GRET
END
835

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents