98BDevice configuration
5.6 Configuring the CPU for communication
S7-1200 Programmable controller
122
System Manual, 11/2011, A5E02486680-05
Byte
Parameter and data type
Description
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