![Omron CJ1G-CPU series Programming Manual Download Page 77](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489077.webp)
56
Precautions
Section 2-2
Example: The following example will move #0200 to D00200 if D00100 con-
tains #0010 and move #0300 to D00300 if D00100 does not contain #0010.
The Equals Flag will turn ON if D00100 in the rung above contains #0010.
#0200 will be moved to D00200 for instruction (1), but then the Equals Flag
will be turned OFF because the #0200 source data is not 0000 Hex. The MOV
instruction at (2) will then be executed and #0300 will be moved to D0300. A
rung will therefore have to be inserted as shown below to prevent execution
results for the first MOVE instruction from being picked up.
Reflects CMP execution results.
Reflects MOV execution results.
(1)
(2)
Incorrect
Use
Reflects CMP execution results.
Correct
Use
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...