Communication Using Function Blocks
6-19
Point-to-point connection CP 440 Installation and Parameter Assignment
A5E00057742-02
Examples
The STEP 5 data operands in the left column of the table become the STEP 7 data
operands in the right column.
STEP 5
STEP 7
DW 10
DBW 20
DL 10
DBB 20
DR 10
DBB 21
D 10.0
DBX 21.0
D 10.8
DBX 20.0
D 255.7
DBX 511.7
6.5.2
Supplying the Block Parameters
Direct/Indirect Parameterization
It is not possible in STEP 7 to parameterize the blocks indirectly as is the case in
STEP 5 (parameters passed in the currently selected data block).
All block parameters accept both constants and variables, so the distinction
between direct and indirect parameterization is no longer necessary in STEP 7.
Example of Direct Parameterization
Call of the FB 10 corresponding to “direct parameterization”:
STL
Explanation
Network 1:
CALL FB 10, DB10
REQ
:= M 0.6
R
:= M 5.0
LADDR
:= +336
DB_NO
:= +11
DBB_NO
:= +0
LEN
:= +15
DONE
:= M 26.0
ERROR
:= M 26.1
STATUS
:= MW 27
//SEND initiation
//RESET initiation
//Basic address, PB336
//Data block DB11
//As of data word DBB 0
//Length 15 bytes
//Terminated without errors
//Terminated with errors
//Status word
Содержание SIMATIC CP 440
Страница 10: ...Contents x Point to point connection CP 440 Installation and Parameter Assignment A5E00057742 02 ...
Страница 134: ...Diagnostics with the CP 440 8 16 Point to point connection CP 440 Installation and Parameter Assignment A5E00057742 02 ...
Страница 164: ...Accessories and Order Numbers D 2 Point to point connection CP 440 Installation and Parameter Assignment A5E00057742 02 ...