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

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

Advertisement

Block Programming Instructions
Description
Flags
Precautions
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 instruc-
tions between BPRG(096) and BEND(801) are executed with ON execution
conditions (i.e., unconditionally).
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.
BPRG(096)
Name
Label
Error Flag
ER
BEND(801)
Name
Label
Error Flag
ER
Each block program number can be used only once within the entire user pro-
gram.
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.
Block program
Executed when the execu-
tion condition is ON.
Operation
ON if BPRG(096) is already being executed.
ON if N is not between 0 and 127.
ON if the same block program number is used more than
once.
OFF in all other cases.
Operation
ON if a block program is not being executed.
OFF in all other cases.
Nesting NOT possible.
Section 3-32
1193

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents