Omron CJ2 CPU UNIT SOFTWARE User Manual page 203

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Subroutines
Place all the subroutines together just before the END(001) instruction in all programs but after pro-
gramming other than subroutines. (Therefore, a subroutine cannot be placed in a step ladder, block pro-
gram, FOR - NEXT, or JMP0 - JME0 section.) If a program other than a subroutine program is placed
after a subroutine program (SBN to RET), that program will not be executed.
Program
Subroutine
Program
Subroutine
Instructions Not Available in Subroutines
The following instructions cannot be placed in a subroutine.
Function
Process Step Control
Note A subroutine can include a block program section. If, however, the block program is in WAIT status when
execution returns from the subroutine to the main program, the block program section will remain in WAIT
status the next time it is called.
CJ2 CPU Unit Software User's Manual
Mnemonic
STEP(008)
SNXT(009)
5 Understanding Programming
Instruction
Define step ladder section
Step through the step ladder
5
5-111

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Questions and answers

Thomas
January 16, 2025

How do I retrieve fault codes from plc: CJ2M-CPU35

Table of Contents

Save PDF