![Omron CJ1G-CPU series Programming Manual Download Page 64](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489064.webp)
43
Basic Concepts
Section 2-1
Basic Ladder Program Concepts
1,2,3...
1.
The power flow in a program is from left to right. Power flows in rungs “a”
and “b” as though diodes were inserted. Rungs must be changed to pro-
duce operation that would be the same as ordinary circuits without a di-
odes. Instructions in a ladder diagram are executed in order from the left
bus bar to the right bus bar and from top to bottom. This is the same order
as the instructions are listed in mnemonic form.
Order of execution
Mnemonic
(1)LD A
(9) AND E
(2)LD C
(10)OUT R2
(3)OUT TR0
(11) LD A
(4)AND D
(12)AND B
(5)OR LD
(13)OUT R1
(6)AND B
(14)LD C
(7)OUT R1
(15)AND D
(8)LD TR0
(16)OUT R2
2.
There is no limit to the number of I/O bits, work bits, timers, and other input
bits that can be used. Rungs, however, should be kept as clear and simple
as possible even if it means using more input bits to make them easier to
understand and maintain.
3.
There is no limit to the number of input bits that can be connected in series
or in parallel in series or parallel rungs.
4.
Two or more output bits can be connected in parallel.
Signal flow
A
C
A
C
D
E
B
D
B
R1
R2
R1
R2
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(13)
(16)
(11)
(12)
(14)
(15)
a
b
TIM 0000
#0100
0002
00
0000
00
0000
05
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...