![Omron CJ1G-CPU series Programming Manual Download Page 72](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489072.webp)
51
Basic Concepts
Section 2-1
4.
Complex Rungs
The diagram above is based on the diagram below.
A simpler program can be written by rewriting
this as shown below.
The above rung can be rewritten as follows:
Block
Block
Block
Block
Block
LD 000000
LD 000001
LD 000002
AND 000003
OR LD
---
AND LD
---
LD 000004
AND 000005
OR LD
---
LD 000006
AND 000007
OR LD
---
OUT 000204
Instruction Operand
Z
0000
00
0000
03
0000
01
0000
02
0002
04
0000
05
0000
04
0000
07
0000
06
0000
00
0000
03
0000
01
0000
02
Z
0000
00
Z
0000
03
0000
02
0000
00
0000
01
0000
00
0000
03
0000
02
0002
04
0000
05
b
0000
01
a
d
0000
04
0000
06
0000
07
e
c
LD 000000
LD NOT
000001
AND 000002
LD 000003
AND NOT
000004
LD 000005
LD 000006
AND NOT
000007
OR LD
---
AND LD
---
OR LD
---
AND LD
---
OUT 000205
Instruction
Operand
b
a
c
d
e
d + e
(d + e)
•
c
(d + e)
•
c + b
((d + e)
•
c + b)
•
a
0000
00
0000
03
0000
02
0002
05
0000
03
0000
01
0000
00
0000
05
0000
04
0000
06
0000
04
0000
07
0000
00
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...