Supplying The Block Parameters - Siemens SIMATIC CP 440 Manual

Installation and parameter assignment
Table of Contents

Advertisement

Examples
The STEP 5 data operands in the left column of the table become the STEP 7 data
operands in the right column.
DW 10
DL 10
DR 10
D 10.0
D 10.8
D 255.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
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
Point-to-point connection CP 440 Installation and Parameter Assignment
A5E00057742-02
STEP 5
DBW 20
DBB 20
DBB 21
DBX 21.0
DBX 20.0
DBX 511.7
Communication Using Function Blocks
STEP 7
Explanation
//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
6-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents