Siemens S7-1500 PROFIBUS Operating Instructions Manual page 34

Simatic net
Table of Contents

Advertisement

Configuration, program blocks
3.4 Configuration of the extended LSAP area
4. In the global data block, create a variable of the data type "TCON_FDL".
To do this, enter "TCON_FDL" in the data type field.
The connection description for an FDL connection is created automatically.
The connection type ("ConnectionType" variable) for FDL is "16#15".
– Use the hardware identifier of the CM for "InterfaceID".
– Under "ID", assign a connection ID that has not been used yet.
– Enter the local PROFIBUS address and the local LSAP:
Any RemoteLSAP and RemotePB address can be used; they are immaterial for connection
establishment when sending. They are configured in the "TUSEND" block.
5. In the program editor, interconnect the parameter "CONNECT" of the "TCON" with the
variable of the FDL connection ("TCON_FDL" data type) of the connection description DB.
Sending data via TUSEND
1. Open the program editor of the station.
The "Instructions" task card opens.
2. Create a "TUSEND" block for sending data:
Instructions > Communication > Open user communication > Others > TUSEND
3. Create a global data block for the connection description of the FDL connection.
4. In the global data block, create a variable of the data type "TCON_FDL".
To do this, enter "TCON_FDL" in the data type field.
The connection description for an FDL connection is created automatically.
The connection type ("ConnectionType" variable) for FDL is "16#15".
– Use the hardware identifier of the CM for "InterfaceID".
– Assign the connection ID used in "TCON" under "ID".
– Enter the corresponding values for the following parameters:
These parameters are used for sending. The parameters of the "TCON" are not relevant. To
send data to a different PROFIBUS address or a different LSAP, change them in "TUSEND".
The "TCON" connection can remain open during this process; this means that changes are
possible without having to establish a new connection.
5. In the program editor, interconnect the parameter "ADDR" of the block "TUSEND" with the
variable of the FDL connection ("TCON_FDL" data type) of the connection description DB.
34
- LocalPBAddress
- LocalLSAP
- Addr.RemotePBAddress
- Addr.Local PBAddress
- Addr.RemoteLSAP
- Addr.LocalLSAP
Operating Instructions, 01/2023, C79000-G8976-C290-07
SIMATIC CM 1542-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic cm 1542-56gk7542-5dx00-0xe06gk7542-5dx10-0xe0

Table of Contents