Technical data

Table Of Contents
Open Communication via Industrial Ethernet
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
23-19
The following table shows the parameter entries in the DB relevant for the receiver
(communications partner B) for assigning parameters to the local communications
access point:
Parameter Data -
Type
Value in Example Description
id WORD W#16#000F 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 parameter local_tsap_id
used
local_tsap_id ARRAY
[1..16] of
BYTE
local_tsap_id[1] = B#16#07
local_tsap_id[2] = B#16#D5
local_tsap_id[3-16] = irrelevant
Remote port no.: 2005 =
W#16#07D5
When FB 67 "TUSEND" is called at the sender, you transfer the following address
parameters for the receiver to a DB:
Parameter Data -
Type
Value in Example Description
rem_ip_addr ARRAY
[1..4] of
BYTE
rem_ip_addr[1] = B#16#C0
(192)
rem_ip_addr[2] = B#16#A8
(168)
rem_ip_addr[3] = B#16#3 (3)
rem_ip_addr[4] = B#16#7D
(125)
IP address of the receiver:
192.168.3.125
rem_port_nr ARRAY
[1..2] of
BYTE
rem_port_nr[1] = B#16#07
rem_port_nr[2] = B#16#D5
Port no. of the receiver: 2005 =
W#16#07D5