984
Block Programming Instructions Section 3-30
Note If the block program that is being paused appears after BPPS(811), it will not
be executed. If the block program appears before BPPS(811), it will be
paused starting the next cycle.
If CIO 0.00 is ON, the following program pauses execution of either block pro-
gram 1 or block program 2 depending on the status of CIO 0.01. The block
program that was paused is then restarted after 10 seconds.
3-30-4 Branching: IF(802), ELSE(803), and IEND(804)
Purpose Branches the block program either based on an execution condition or on the
status of an operand bit.
Ladder Symbol
Variations
Applicable Program Areas
Note IF(802), ELSE(803), and IEND(804) must be used in block programming
regions even within subroutines and interrupt tasks.
Operand Specifications
# 0100
000000 LD 0.00
000001 BPRG(096) 00
000002 IF(802) 0.01
000003 BPPS(811) 01
000004 ELSE(803)
000005 BPPS(811) 02
000006 IEND(804)
000007 TIMW(803) 0
000008 BPRS(812) 1
000009 BPRS(812) 2
000010 BEND(801)
0
0.00
0.01
Pauses block program 1
Pauses block program 2
Restarts block program 1
Restarts block program 2
Address
Instruction
Operands
IF(802) B
IF(802)
B
ELSE(803)
IEND(804)
IF(802) NOT
B: Bit operand
Variations Always Executed in Block Program
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area B
CIO Area CIO 0.00 to CIO 6143.15
Work Area W0.00 to W511.15
Holding Bit Area H0.00 to H511.15
Auxiliary Bit Area A0.00 to A447.15
A448.00 to A959.15
Timer Area T0000 to T4095
Counter Area C0000 to C4095
Task Flags TK00 to TK31
Condition Flags ER, CY, >, =, <, N, OF, UF, >=, <>, <=, ON, OFF, AER