Branching: If(802), Else(803), And Iend(804) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

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

Advertisement

Block Programming Instructions

3-32-4 Branching: IF(802), ELSE(803), and IEND(804)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
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
Note 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
Clock Pulses
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
B: Bit operand
Step program areas
Subroutines
OK
OK
CIO 000000 to CIO 614315
W00000 to W51115
H00000 to H51115
A00000 to A44715
A44800 to A95915
T0000 to T4095
C0000 to C4095
TK0000 to TK0031
ER, CY, >, =, <, N, OF, UF, >=, <>, <=, ON, OFF, AER
0.02 s, 0.1 s, 0.2 s, 1 s, 1 min
---
---
---
---
---
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-32
Interrupt tasks
OK
B
1197

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents