EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #203 background imageLoading...
Page #203 background image
5-111
5 Understanding Programming
CJ2 CPU Unit Software User’s Manual
5-10 Precautions
5
5-10-2 Special Program Sections
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.
The following instructions cannot be placed in a subroutine.
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.
Subroutines
Instructions Not Available in Subroutines
Function Mnemonic Instruction
Process Step Control STEP(008) Define step ladder section
SNXT(009) Step through the step ladder
Subroutine
Subroutine
Program
Program

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals