Open User Communication
6.5 Setting up Open User Communication via TCP, ISO-on-TCP, UDP and ISO
Communication
Function Manual, 05/2021, A5E03735815-AJ
127
4.
Select the created connection in the network view.
5.
Set the properties of the connection in the "Properties" tab in the "General" area, for example
the name of the connection and the interfaces of the communications partner that will be
used.
For connections to an unspecified partner, set the address of the partner.
You can find the local ID (reference of the connection in the user program) in the "Local
ID" area.
6.
In the Project tree, select the "Program blocks" folder for one of the CPUs and open OB1 in
the folder by double-clicking on it. The program editor opens.
7.
Select the required instruction from the "Instructions" task card, "Communication" area,
"Open user communication", for example TSEND and drag it to a network of OB1.
8.
At the ID parameter of the instruction, assign the local ID of the configured connection to be
used for the transmission of data.
9.
Interconnect the "DATA" parameter of the TSEND instruction with the user data, for example
in a data block.
10.
Download the hardware configuration and user program to the CPU.
Based on the procedure described above, set up the connection on the partner CPU with the
instruction for receiving, TRCV, and download it to the CPU.
Point to note with ISO connections with CP 1543-1
If you use the "ISO connection" connection type, you will need to select the "Use ISO protocol"
check box in the properties of the CP so that addressing using MAC addresses will work.
Figure 6-5
Select CP 1543-1 ISO protocol
Additional information
The STEP 7 online help describes:
•
The instructions for open communication
•
The connection parameters
This FAQ (
https://support.industry.siemens.com/cs/ww/en/view/109479564
) describes how
the instructions TSEND_C and TRCV_C behave in the S7-1500.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......