Technical data

Table Of Contents
Open Communication via Industrial Ethernet
System Software for S7-300/400 System and Standard Functions - Volume 2/2
23-16
A5E00739858-01
Example 2: Two S7-300 CPUs with integrated PROFINET interface
Both communications partners are two CPUs 319-3 PN/DP with firmware version
V2.4.0. The following table shows the most important data for both communications
partners:
Property Communications Partner A:
CPU 319-3 PN/DP (FW V2.4.0)
Communications Partner B:
CPU 319-3 PN/DP (FW V2.4.0)
Establish connection Active Passive
IP address 192.168.3.142 192.168.3.125
Local port no. irrelevant 2005
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#0014 Reference to this connection
connection_type BYTE B#16#11 Connection type: TCP/IP native
active_est BOOL TRUE Active connection establishment
local_device_id BYTE B#16#02 Communication via the integrated
Ethernet interface
local_tsap_id_len BYTE B#16#00 (only this value is
possible)
Parameter local_tsap_id is not 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#02 (only this value is
possible)
Length of parameter rem_tsap_id
used
rem_staddr ARRAY
[1..6] of
BYTE
"192.168.3.125"
rem_staddr[1] = B#16#C0
(192)
rem_staddr[2] = B#16#A8
(168)
rem_staddr[3] = B#16#03 (3)
rem_staddr[4] = B#16#7D
(125)
rem_staddr[5-6] = irrelevant
IP address of the remote connection
transmission point
rem_tsap_id ARRAY
[1..16] of
BYTE
"2005"
rem_tsap_id[1] = B#16#07
rem_tsap_id[2] = B#16#D5
rem_tsap_id[3-16] = irrelevant
Remote port no.: 2005 =
W#16#07D5