Siemens SIMATIC NET S7-300 Manual page 226

Cps for industrial ethernet
Hide thumbs Also See for SIMATIC NET S7-300:
Table of Contents

Advertisement

7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
7.6
FB55 IP_CONFIG for Programmed Communication
Connections
Meaning of the Block
Connections can be specified in a DB (configuration DB) and transferred to the CP
with an FB.
You can use this variant of programmed communication connections as an
alternative to connection configuration with STEP 7.
With the function block FB55, a configuration data block (CONF_DB) is transferred
to the CP. The configuration data block contains all the connection data for an
Ethernet CP.
Depending on the size of the configuration DB, the data may be transferred to the
CP in several segments. This means that the FB must continue to be called until
the FB signals complete transfer by setting the DONE bit to 1.
Note
Read the description of the configuration data block CONF_DB in Section 6.
Call
Call interface in FBD representation
Example in STL representation
STL
call fb 55
ACT
:=
M 10.0
LADDR
:=
W#16#0100
CONF_DB :=
P#db99.dbx10.0 byte 240
LEN
:=
MW 14
DONE
:=
M 10.1
ERROR
:=
M 10.2
STATUS :=
MW 16
EXT_STATUS :=
MW 18
A -226
IP_CONFIG
BOOL
ACT
DONE
WORD
LADDR
ERROR
ANY
CONF_DB
STATUS
INT
LEN
EXT_STATUS
BOOL
BOOL
WORD
WORD
Explanation
//IP_CONFIG block call
//Job initiated by memory bit
//=LADDR 256 dec. in hardware configuration
//Data block with connection data
//Length info for the connection data
//Execution code
//Error code
//Status code
//Cause of error in connection data
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07

Advertisement

Table of Contents
loading

Table of Contents