Siemens SIMATIC S5-100U System Manual page 221

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

S5-100U
"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.
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
EWA 4NEB 812 6120-02b
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
STEP 5 Operations
Meaning
Parameter
type
B
Executed Program
:C
DB
:L
DW
:C
DB
:T
DW
:T
QW
:JU
FB
:BE
Data
type
5
2
6
1
4
36
8-63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents