Siemens SIMATIC NETS7-1200 Operating Instructions Manual page 63

Telecontrol cp 1242-7
Hide thumbs Also See for SIMATIC NETS7-1200:
Table of Contents

Advertisement

Byte
Parameter
16 ...
TSel
47
LocalTSelector
48 ...
TSelLen
49
50 ...
TSel
81
System data type TCON_IP_V4 for connections to IPv4 stations
This connection type is supported only for sending on UDP connections to communications
partners with a fixed IP address.
To receive, ActiveEstablished = 0 must be set.
Table 5- 2
Parameters of TCON_IP_V4
Byte
Parameter
0 ... 1
InterfaceID
2 ... 3
ID
4
ConnectionType
5
ActiveEstablished
CP 1242-7
Operating Instructions, 09/2011, C79000-G8976-C247-02
Data type
Initial value
Array [1...32]
any
of Byte
TSelector
UINT
Array [1...32]
any
of Byte
Data type
Initial value
HW_ANY
CONN_OUC
1...07FF
BYTE
W#16#0B
BOOL
5.4 Configuring the telecontrol instructions
Description
Remote transport selector of the connection
When "ActiveEstablished" = 1:
With active connection establishment, the T
selector of the local partner must be the same as
the T selector of the connection partner (passive
connection establishment on the remote partner).
When "ActiveEstablished" = 0 correspondingly
(passive connection establishment local, active
connection establishment remote)
Local T selector
Length of the local T selector "LOCAL_TSel"
Local transport selector of the connection
When "ActiveEstablished" = 1:
With active connection establishment, the T
selector of the local partner must be the same as
the T selector of the connection partner (passive
connection establishment on the remote partner).
When "ActiveEstablished" = 0 correspondingly
(passive connection establishment local, active
connection establishment remote)
Description
Reference to the interface of the local CP 1242-7
(see STEP 7 > CP configuration > Telecontrol
interface > "Hardware identifier")
Reference to the GPRS connection. The ID is
h
assigned and must be unique within the CPU.
Here, the same value as that of the ID parameter of
the TC_CON instruction must be used.
Protocol variant 11 (B
Identifier for the type of connection establishment:
0: Passive connection establishment
Setting for sending and receiving data.
1: Active connection establishment
Setting for sending data only.
Configuration
): UDP connection
h
63

Advertisement

Table of Contents
loading

Table of Contents