Technical data

Table Of Contents
Open Communication via Industrial Ethernet
System Software for S7-300/400 System and Standard Functions - Volume 2/2
23-18
A5E00739858-01
Example 3: Two S7-300 CPUs with integrated PROFINET interface (example for
communication via UDP)
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)
Sender/receiver Sender Receiver
IP address 192.168.3.142 192.168.3.125
Local port no. 2004 2005
The following table shows the parameter entries in the DB relevant for the sender
(communications partner A) for assigning parameters to the local communications
access point:
Parameter Data -
Type
Value in Example Description
id WORD W#16#0014 Reference to this connection
between the application program and
the communication level of the
operating system.
connection_type BYTE B#16#13 Connection type: UDP
active_est BOOL FALSE Only this value can be used with the
connection type UDP.
local_device_id BYTE B#16#03 Communication via the integrated
Ethernet interface
local_tsap_id_len BYTE B#16#02 Length of local_tsap_id parameter
used
local_tsap_id ARRAY
[1..16] of
BYTE
local_tsap_id[1] = B#16#07
local_tsap_id[2] = B#16#D4
local_tsap_id[3-16] = irrelevant
Remote port no.: 2004 =
W#16#07D4