98BDevice configuration
5.6 Configuring the CPU for communication
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
121
Byte
Parameter and data type
Description
5
active_est
Bool
ID for the type of connection:
TCP and ISO-on-TCP:
–
FALSE: Passive connection
–
TRUE: Active connection (default)
UDP: FALSE
6
local_device_id
USInt
ID for the local PROFINET or Industrial Ethernet interface:
1 (default)
7
local_tsap_id_len
USIn
Length of parameter local_tsap_id used, in bytes; possible values:
TCP: 0 (active, default) or 2 (passive)
ISO-on-TCP: 2 to 16
UDP: 2
8
rem_subnet_id_len
USInt
This parameter is not used.
9
rem_staddr_len
USInt
Length of address of partner end point, in bytes:
0: unspecified (parameter rem_staddr is irrelevant)
4 (default): Valid IP address in parameter rem_staddr (only for
TCP and ISO-on-TCP)
10
rem_tsap_id_len
USInt
Length of parameter rem_tsap_id used, in bytes; possible values:
TCP: 0 (passive) or 2 (active, default)
ISO-on-TCP: 2 to 16
UDP: 0
11
next_staddr_len
USInt
This parameter is not used.
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.