
6F3B0253
6. Programming Information
6.8 Program execution sequence
The instructions execution sequence is shown below.
(1)They are executed in the sequence from block 1 through the final block, which contains the END instruction (or IRET in an interrupt program).
(2)They are executed in the sequence from rung 1 through the final rung in a block (or the END instruction).
(3)They are executed according to the following rules in any one rung.
1 2 34
? | When there is an OR | 1 | 2 | 4 | 6 | 7 | |
connection, the OR logic |
| 3 |
|
|
| ||
portion is executed first. |
|
|
|
| |||
|
| 5 |
|
|
|
| |
When there is a branch, they | 1 | 2 | 3 |
| 4 | ||
are executed in the order from |
|
|
|
|
| ||
the upper line to the lower line. |
|
| 5 |
| 6 | ||
A combination of | and | 1 | 3 | 4 |
| 5 | |
above. | A | 2 |
| 6 |
| 8 | |
|
|
|
| ||||
@ |
|
| 7 |
|
|
|
|
The ABinstructions execution@sequence in which function instructions are included also follows the above rules. However, for program execution control instructions, such as jumps (JCS), loops
Basic Hardware and Function 99