Supplying The Block Parameters - Siemens SIMATIC S7-400 CP 440 Installation And Parameter Assignment

Point-to-point connection
Table of Contents

Advertisement

6.4.2

Supplying the block parameters

Direct/Indirect Parameter Assignment
With STEP 7 the data blocks cannot be indirectly assigned parameters (parameters
transferred in the currently selected data block) as they can with STEP 5.
All block parameters accept both constants and variables, so the distinction between direct
and indirect parameter assignment is no longer necessary in STEP 7.
Example of "Direct Parameter assignment"
Call of the FB 10 corresponding to "direct parameter assignment":
STL
Network 1:
Point-to-point connection CP 440 Installation and Parameter Assignment
Manual, 09/2007, A5E00057742-03
www.gkbpx.com
CALL
FB 10, DB10
REQ
R
LADDR
DB_NO
DBB_NO
LEN
DONE
ERROR
STATUS
Communication via Function Blocks
6.4 Programming the Function Blocks
:= M 0.6
//Activates SEND
:= M 5.0
//Activates RESET
:= +336
//Basic address, PB336
:= +11
//Data block DB11
:= +0
//As of data word DBB 0
:= +15
//Length 15 bytes
:= M 26.0
//Terminated without error
:= M 26.1
//Terminated with error
:= MW 27
//Status word
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
103

Advertisement

Table of Contents
loading

Table of Contents