981
Block Programming Instructions Section 3-30
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.
Flags BPRG(096)
BEND(801)
Precautions 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.
BPRG(096) and the corresponding BEND(801) must be in the same task.
An error will occur and the Error Flag will turn ON if BPRG(096) is in the mid-
dle of a block program, BEND(801) is not in a block program, N is not between
#0000 and #007F (binary), there is no block program, or if the same block pro-
gram number is used more than once.
Examples 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.
Name Label Operation
Error Flag ER 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.
Name Label Operation
Error Flag ER ON if a block program is not being executed.
OFF in all other cases.
Nesting NOT possible.
0
0.00
Block program 0