How to use Siemens 1500 array to transmit instructions

Almost know

Download the application

How does Siemens S7- 1500 communicate with 75 S7-200 intelligent Ethernet?

GK- automobile

GK- automobile

Founder of Industrial Control Classroom Network —— Expert in Electrical Industrial Control Automation Industry

Wincc needs to communicate with 75 S7-200 SMARTs at work, and each S7-200 SMART needs more than 1200 words to be transmitted to wincc. After analysis and discussion with Siemens engineers, the following scheme is made: wincc chooses wincc7.2+upd 13, and then chooses S7- 1500 CPU151pn as the main station, and S7-1500. Because S7-1500 CPU1511pn has only 54 S7 connection resources, and there are 75 S7-200 smart we need to communicate with, so we choose1500 and 54 S7-. Then select 2 1 s7-200smart to communicate with another 2 1 S7-200SMART through PUT/GET instruction, and then send it to S7- 1500.

The following is the process:

0 1 1. Open the equipment and network that need to be completed in TIA software in the project, select the network view, click Connect, and select S7.

Click the Ethernet port of CPU, right-click Properties, and set the IP address of PLC.

02

2. Right-click the PLC, select "Add New Connection", then select "Add", and add any number of connections as needed to communicate with the PLC. The software will automatically assign the local ID address of PLC, which is very important and will be needed when using the PUT/GET command in the future. Then define the properties of each connection. To define an IP address in the property, you need to be on the same network segment as the main PLC. For distinction and intuition, you can also define your own connection name. This completes the connection.

03

3. After the above, the configuration part is completed. In order to communicate, we also need to transmit the data in the program.

Do GET/PUT program.

04

4. For the GET/PUT instruction of the same S7 connected substation, only one instruction can be triggered at the same time. If one instruction is not completed and another instruction is triggered, an error will be reported. However, there is no such requirement for GET/PUT instructions of substations with different S7 connections, and there will be no interference and connection between them.

055, because each S7 connection transmits about 1200 bytes of data, but after testing, each instruction can transmit at most 220 bytes. If the number of bytes transferred exceeds this number, the instruction will report an error. So I used five GET instructions and 1 PUT instructions to make an S7 connection (among them, 2 1 station also read the data of another 2 1 station through the GET/PUT instruction, so the communication data between the 2 1 station and the main station is twice as normal, so it is 10 get and 2. The first instruction is triggered by the system state of M 1.3 "clock -2hz", then the completion bit of the first instruction triggers the second instruction, the completion bit of the second instruction triggers the third instruction, and so on. Finally, all the error bits are offline. If there is an error bit, it is considered offline and the data is unavailable.

066. The following is the content of the help file for the PUT/GET instruction.

Summary: This connection is relatively simple and the explanation is relatively simple. It is very easy to establish contact and give instructions. However, when multiple instructions are connected, it must be noted that the background data blocks of instruction' GET/PUT' must be different, otherwise the received or sent data will be wrong. My method is to build a function block in which multiple GET/PUT instructions are used to select different background data blocks. Then, the function block uses its own background data block to make multi-connection calls. The following are the background data blocks of each of my stations: