Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 1017

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents