![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681236.webp)
1197
Block Programming Instructions
Section 3-32
3-32-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
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 000000 to CIO 614315
Work Area
W00000 to W51115
Holding Bit Area
H00000 to H51115
Auxiliary Bit Area
A00000 to A44715
A44800 to A95915
Timer Area
T0000 to T4095
Counter Area
C0000 to C4095
Task Flags
TK0000 to TK0031
Condition Flags
ER, CY, >, =, <, N, OF, UF, >=, <>, <=, ON, OFF, AER
Clock Pulses
0.02 s, 0.1 s, 0.2 s, 1 s, 1 min
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
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...