User Manual

Easy to communicate between devices
7.5 PROFINET
Easy Book
Manual, 03/2014, A5E02486774-AF
139
Byte
Parameter and data type
Description
12 … 27 local_tsap_id Array [1..16] of
Byte
Local address component of connection:
TCP and ISO-on-TCP: local port no. (possible values: 1 to
49151; recommended values: 2000...5000):
local_tsap_id[1] = high byte of port number in hexadecimal
notation;
local_tsap_id[2] = low byte of port number in hexadecimal
notation;
local_tsap_id[3-16] = irrelevant
ISO-on-TCP: local TSAP-ID:
local_tsap_id[1] = B#16#E0;
local_tsap_id[2] = rack and slot of local end points (bits 0 to
4: slot number, bits 5 to 7: rack number);
local_tsap_id[3-16] = TSAP extension, optional
UDP: This parameter is not used.
Note: Make sure that every value of local_tsap_id is unique within
the CPU.
28 … 33 rem_subnet_id Array [1..6] of
USInt
This parameter is not used.
34 … 39 rem_staddr Array [1..6] of
USInt
TCP and ISO-on-TCP only: IP address of the partner end point.
(Not relevant for passive connections.) For example, IP address
192.168.002.003 is stored in the following elements of the array:
rem_staddr[1] = 192
rem_staddr[2] = 168
rem_staddr[3] = 002
rem_staddr[4] = 003
rem_staddr[5-6]= irrelevant
40 … 55 rem_tsap_id Array [1..16] of
Byte
Partner address component of connection
TCP: partner port number. Range: 1 to 49151; Recommended
values: 2000 to 5000):
rem_tsap_id[1] = high byte of the port number in
hexadecimal notation
rem_tsap_id[2] = low byte of the port number in
hexadecimal notation;
rem_tsap_id[3-16] = irrelevant
ISO-on-TCP: partner TSAP-ID:
rem_tsap_id[1] = B#16#E0
rem_tsap_id[2] = rack and slot of partner end point (bits 0
to 4: Slot number, bits 5 to 7: rack number)
rem_tsap_id[3-16] = TSAP extension, optional
UDP: This parameter is not used.
56 … 61 next_staddr Array [1..6] of
Byte
This parameter is not used.
62 … 63
spare
Word
Reserved: W#16#0000