![background image](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489070.webp)
49
Basic Concepts
Section 2-1
2-1-14 Program Examples
1,2,3...
1.
Parallel/Series Rungs
2.
Series/Parallel Rungs
A block
B block
Program the parallel instruction in the A block and then the B block.
0000
03
0000
00
0000
01
0000
02
0002
00
Instruction Operands
LD
AND
OR
AND
AND NOT
000003
OUT
0002
00
a
b
a
b
000000
000001
000200
000002
000200
A block
B block
•
Separate the rung into A and B blocks, and program each individually.
•
Connect A and B blocks with an AND LD.
A block
B block
•
Program B
1
block and then program B
2
block.
•
Connect B
1
and B
2
blocks with an OR LD and then A and B blocks with an
AND LD.
•
Program A block.
B1 block
B2 block
LD 000000
AND NOT
000001
LD 000002
AND 000003
OR 000201
OR 000004
AND LD
---
OUT 000201
0000
01
0000
00
0000
03
0000
02
0002
01
Instruction Operands
0002
01
a
b
a
b
0000
04
LD NOT
000000
AND 000001
LD 000002
AND NOT
000003
LD NOT
000004
AND 000202
OR LD
---
AND LD
---
OUT 000202
0000
00
0000
01
0000
02
0002
02
Instruction Operands
0002
02
a
b
a
0000
03
0000
04
b
2
b
1
b
1
b
2
b
1
+ b
2
a
•
b
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...