EasyManua.ls Logo

Siemens S5-100U - Page 218

Siemens S5-100U
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S5-100U STEP 5 Operations
“DO” Operation
Table 8-26 and the example that follows explain the processing operation.
Table 8-26. “DO” Operation
1
As actual operands, function blocks cannot have block parameters.
Actual operands permitted
Operation MeaningOperand
Formal operands
DB, PB, SB, FB
1
B
DO = Process formal operand
The substituted blocks are called unconditionally.
Data
type
Parameter
type
Example:
:C DB 5
:L DW 2
:C DB 6
:T DW 1
:T QW 4
:JU FB 36
:BE
Program in Function Block FB35
:DO =D5
:L =DW2
:DO =D6
:T =DW1
:T =Q4
:DO =MOT5
:BE
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
Function Block Call Executed Program
EWA 4NEB 812 6120-02
8-63

Table of Contents

Related product manuals