Technical data

Table Of Contents
Open Communication via Industrial Ethernet
System Software for S7-300/400 System and Standard Functions - Volume 2/2
23-12
A5E00739858-01
23.6 Examples of Parameters for Communications
Connections
Example 1: Two S7-400-CPUs via CP 443-1 Adv.
Both communications partners are two CPUs 414-2 with firmware version V4.1.0.
The communication occurs via two CPs 443-1 Adv. with firmware version V2.2.
The following table shows the most important data for both communications
partners:
Property Communications Partner A:
CPU 414-2 (FW V4.1.0) with CP
443-1 Adv. (FW V2.2)
Communications Partner B:
CPU 414-2 (FW V4.1.0) with CP
443-1 Adv. (FW V2.2)
Establish connection Active Passive
IP address 192.168.4.14 192.168.4.16
Physical address of CPU Rack 0, Slot 3 Rack 0, Slot 4
Physical address of associated
CP
Rack 0, Slot 6 Rack 1, Slot 8
Local TSAP-ID (Note: the coding
of the actual TSAP to distinguish
the connection occurs as of the
third byte)
0xE0 03 54 43 50 2D 31 0xE0 04 54 43 50 2D 31
The following table shows the parameter entries in the DB relevant for active
establishment of a connection by communications partner A:
Parameter Data -
Type
Value in Example Description
id WORD W#16#0414 Reference to this connection
connection_type BYTE B#16#12 Connection type: ISO on TCP
active_est BOOL TRUE Active connection establishment
local_device_id BYTE B#16#00 Communication AS-internal via CP
local_tsap_id_len BYTE B#16#07 Length of parameter local_tsap_id
used
rem_staddr_len BYTE B#16#04 Length of address for the remote
connection transmission point:
4: valid IP address in parameter
rem_staddr
rem_tsap_id_len BYTE B#16#07 Length of parameter rem_tsap_id
used
next_staddr_len BYTE B#16#01 Length of parameter next_staddr
used