Siemens S5-100U User Manual page 218

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

S5-100U
"DO" Operation
Table 8-26 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-02
Table 8-26. "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
:L
:C
:T
:T
:JU
:BE
Data
type
DB
5
DW
2
DB
6
DW
1
QW
4
FB
36
8-63

Advertisement

Table of Contents
loading

Table of Contents