How to Transfer Data Between Siemens PLCs with Different IP Addresses

Question:

I am looking to transfer data from two PLCs: an S7-1212DC/DC/DC with IP address 192.168.0.1 and an S7-1500 1513-1PN with IP address 192.168.3.2. Can you provide any suggestions on how to accomplish this task? Your help is greatly appreciated in advance.

Top Replies

What type of data do you need to transfer? Choices include GET/PUT, TSEND, and TRCV. CIP may also be a viable option for your data transfer needs.

Mitch explained that when trying to transfer data, there are various options such as GET/PUT, TSEND, and TRCV. He also mentioned that CIP can be a viable option. However, when attempting to transfer the temperature rating in integer data type, using GET/PUT proved unsuccessful. It seems that GET/PUT blocks are unable to establish a connection for different IP addresses when it comes to S7 connections.

By using a subnet mask of 255.255.0.0 for both devices, it enables communication based on the specified IP settings. This configuration allows seamless interaction between the devices.

AlfredoQuintero explained that by utilizing a subnet mask value of 255.255.0.0 for both PLCs, communication using the mentioned IP settings should be achievable. I concur with this method, as it effectively places both devices on the same network, enabling the IP addresses to recognize each other. The subnet mask can be likened to window blinds within a TCP/IP network, regulating the flow of data between devices. This setting is critical for establishing successful communication and ensuring seamless connectivity.

For those seeking an alternative to using the 255.255.0.0 subnet mask, consider implementing a router between the two PLCs. For example, utilizing an S615 router in the Siemens system may be beneficial. Another possible option, suggested by Mitch, is utilizing CIP as a solution. However, this approach may be more suitable for those who are experienced or in urgent need, as it can be challenging to work with.

Sure, to exchange data between your two PLCs, you can use the PUT/GET communication feature available in STEP 7 (TIA portal). This would require writing the necessary code on both PLCs: the sender will use the 'PUT' function and the receiver will use the 'GET' function. Ensure both PLCs are on the same subnet, or, if they exist on two different subnets, proper routing is available. You might also need to configure your firewall settings to allow this communication depending on your network setup. Don't forget to configure your communication blocks correctly!

You can definitely accomplish this via data block exchange or use Profinet communication, if they are in the same network. S7-1212DC/DC/DC supports Profinet communication, so you will be able to establish communication between the two PLCs. In the TIA Portal, under "Device configuration," insert a new "Profinet IO" communication. Choose the CPU of your S7-1500 and define the IP address 192.168.0.1 as a partner node. You can choose the type of information transfer you need, either read or write. Just make sure both devices are correctly configured under the same subnet. If they're not, you may have to do some adjustments in your networking setup.

Certainly, both PLCs you mentioned are Siemens models, so you could use the PUT/GET communication feature for data exchange. With TIA Portal from Siemens, you can easily program this. However, make sure that both PLCs are on the same network or are network-accessible. You might also need to adjust the settings of the S7-1500, as this model has restricted access protection by default. Alternatively, you could explore using an intermediate device like an HMI or a SCADA system, if available.

It seems you're seeking to ensure communication between two different PLCs - a Siemens S7-1212 and an S7-1500. After ensuring that the PLCs are on the same network, you can utilize the PUT and GET commands in TIA Portal for data transfer between your S7-1212 and S7-1500. However, note that the GET/PUT communication requires correct setup of the TCON and TSEND, or TREC blocks. You'll need to provide the correct partner IP and Local TSAP and Remote TSAP parameters. This YouTube video explains the process step by step: [Link]. Additionally, ensure that you've disabled the firewalls on your PLC network, as these may interfere with the communication.

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. How can I transfer data between Siemens PLCs with different IP addresses like S7-1212DC/DC/DC (192.168.0.1) and S7-1500 1513-1PN (192.168.3.2)?

Answer: - To transfer data between PLCs with different IP addresses, you can use a communication protocol like Profinet or Industrial Ethernet. Ensure that both PLCs are on the same network and configure the communication settings accordingly.

FAQ: 2. What are some suggestions for transferring data between Siemens PLCs with different IP addresses?

Answer: - One suggestion is to establish a secure connection between the PLCs by configuring appropriate IP settings, routing tables, and communication parameters. You can also utilize tools like TIA Portal software for programming and configuring the communication setup.

FAQ: 3. Can you provide guidance on setting up data transfer between an S7-1212DC/DC/DC and an S7-1500 1513-1PN PLC?

Answer: - To set up data transfer between these PLCs, ensure that both devices are properly configured with unique IP addresses within the same subnet. Use programming software like TIA Portal to create communication blocks and define the data exchange mechanism between the PLCs. Test the connection to verify successful data transfer.

FAQ: 4. Are there any specific considerations to keep in mind when transferring data between Siemens PLCs with differing IP addresses?

Answer: - It is essential to check the network infrastructure, subnet masks,

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  â†’