Siemens SIMATIC S5-95F Manual page 242

Table of Contents

Advertisement

STEP 5 Operations
"DO" Operation
Table 8-25 and the example that follows explain the processing operation.
Operation
Operand
DO =
Formal operands
1
As actual operands, function blocks cannot have block parameters.
Note
This command is in any case reloading the RLO independent of the command actually
executed.
Example:
Function Block Call
STL
:JU
FB 35
NAME :DO
D5
:
DB 5
DW2
:
DW 2
D6
:
DB 6
DW1
:
DW 1
Q4
:
QW 4
MOT5
:
FB 36
:BE
8-62
Table 8-25. "DO" Operation
Process formal operand
The substituted blocks are called unconditionally.
Actual Operands Permitted
1
DB, PB, SB, FB
Program in Function Block FB35
:DO
=D5
:L
=DW2
:DO
=D6
:T
=DW1
:T
=Q4
:DO
=MOT5
:BE
Meaning
Parameter
Type
B
Executed Program
:C
:L
:C
:T
:T
:JU
:BE
EWA 4NEB 812 6210-02
S5-95F
Data
Type
DB
5
DW
2
DB
6
DW
1
QW
4
FB
36

Advertisement

Table of Contents
loading

Table of Contents