Siemens CPU 948 Programming Manual page 141

Simatic s5 s5-155u
Table of Contents

Advertisement

Examples of operand substitution continued:
Jump distributor for subroutine techniques:
3.
:DO
:JU
+
:JU
Jump
:JU
distance
:JU
:JU
: .
: .
M001
: .
: .
:BEU
M002
: .
: .
:BEU
M003
: .
: .
:BEU
Jump distributor for block calls:
4.
:DO
FW 10
:JU
PB 0
CPU 948 Programming Guide
C79000-G8576-C848-04
FW 5
=M001
Contents of flag word FW 5:
=M002
=M003
jump distance
=M004
(maximum
=M005
Advantage:
all program sections are
contained in
PB 0
PB 1
PB 2
PB 3
.
.
PB x
Operand substitution with binary operations
For operand substitutions with binary operations you can use the
following operand types: inputs, outputs, F flags, S flags, timers and
counters.
In this substitution, the structure of the F flag word or data word
(parameter word) depends on the operation you are using.
Parameter word for inputs and outputs
Bit no.
15
no significance
± 127)
one block.
Contents of flag word FW 10:
Block no. x
11 10
8
7
6
Bit address
0
Byte address from 0 to 127
from 0 to 7
Executive Operations
0
3 - 69

Advertisement

Table of Contents
loading

Table of Contents