Hide thumbs Also See for S7-1200:
Table of Contents
Device configuration
5.7 Configuring the CPU for communication
Byte
Parameter and data type
12 ... 27
local_tsap_id
28 ... 33
rem_subnet_id
34 ... 39
rem_staddr
40 ... 55
rem_tsap_id
56 ... 61
next_staddr
62 ... 63
spare
154
Description
Array [1..16] of
Local address component of connection:
Byte
TCP and ISO-on-TCP: local port no. (possible values: 1 to
49151; recommended values: 2000...5000):
ISO-on-TCP: local TSAP-ID:
UDP: This parameter is not used.
Note: Make sure that every value of local_tsap_id is unique within
the CPU.
Array [1..6] of
This parameter is not used.
USInt
Array [1..6] of
TCP and ISO-on-TCP only: IP address of the partner end point.
USInt
(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
Array [1..16] of
Partner address component of connection
Byte
TCP: partner port number. Range: 1 to 49151; Recommended
values: 2000 to 5000):
ISO-on-TCP: partner TSAP-ID:
UDP: This parameter is not used.
Array [1..6] of
This parameter is not used.
Byte
Word
Reserved: W#16#0000
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
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);

 l ocal_tsap_id[3-16] = TSAP extension, optional
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
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
System Manual, 03/2014, A5E02486680-AG
S7-1200 Programmable controller
Table of Contents
loading

Table of Contents