Block calls can be unconditional or conditional as follows:
Unconditional call
The "JU" statement belongs to the unconditional operations. It has no
effect on the RLO. The RLO is carried along with the jump to the new
block. Within the new block, it can be evaluated but no longer
combined logically.
The addressed block is processed regardless of the previous result of
logic operation (RLO - see Section 3.4).
Example: JU PB 100
Conditional call
The JC statement belongs to the conditional operations. The addressed
block is processed only if the previous RLO = 1. If the RLO = 0, the
jump is not executed.
Example: JC PB 100
Note
After the conditional jump operation is executed, the RLO is set
to "1" regardless of whether or not the jump to the block is
executed.
PB 1
PB 5
PB 10
PB 6
BE
BE
BE
BE
A
A
O
I
1.0
I
2.0
I
3.0
JU
PB 5
O
I 5.3
A
I 1.5
JC
PB 6
A
I 3.2
JC
PB 10
O
F 1.5
Fig. 2-3
Block calls that enable processing of a program block
Program, Organization and Sequence Blocks
CPU 948 Programming Guide
C79000-G8576-C848-04
2 - 17
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...