EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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 #1099 background imageLoading...
Page #1099 background image
1061
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Block Programming Instructions
3
BPRG/BEND
Function
When the execution condition for BPRG(096) is OFF, the block program will not be executed and no
execution time will be required for the instruction in the block program.
Execution of the block program can be stopped using BPPS(811) from within another block program
even if the execution condition for BPRG(096) is ON.
Precautions
• Each block program number can be used only once within the entire user program.
• Block programs cannot be nested.
• If the block program is in an interlocked program section and the execution condition for IL(002) is
OFF, the block program will not be executed.
• BPRG(096) and the corresponding BEND(801) must be in the same task.
Example Programming
BPRG(096) executes the block program with the
block number designated in N, i.e., the one
immediately after it and ending with BEND(801).
All instructions between BPRG(096) and
BEND(801) are executed with ON execution
conditions (i.e., unconditionally).
Block program
Executed when the
execu-tion condition is ON.
Nesting NOT possible.
0
0.00
0
Block program 0
0.00
0
0.00
0.00
D100
D100
D200
D200
D200
D200
0.01
0.01
When CIO 0.00 turns ON in the following example, block
program 0 will be executed. When CIO 0.00 is OFF, the
block program will not be executed.
The two program sections
shown below both execute
MOV(021), ++B(594), and
SET for the same execution
condition (i.e., when CIO 0.00
turns ON).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals