Hello! I have an S7-300 PLC containing important data in DB5.DBD566 (Real) and DB1.DBW456 (Int) that I need to transfer to my S7-1200 PLC. I'm looking for guidance on how to successfully "GET" these values without modifying the S7-300 program. I'm encountering an error message stating "the specified value is invalid" when attempting to use the GET block. What are the required settings for the S7-1200 PLC? Could someone provide me with detailed instructions and a program using TIA Portal V15? Any help would be greatly appreciated. Thank you.
Inquiring about transferring data from an S7-300 to an S7-1200, a user named tientran seeks guidance on obtaining values from specific memory addresses without altering the S7-300 program. Despite encountering errors with the GET block, they are interested in learning the proper settings for the S7-1200 to facilitate the data transfer. Assistance in creating an instruction program using TIA Portal V15 is requested. View the accompanying image for reference.
In order to improve performance and compatibility with various systems, it is recommended to use DBX instead of DBD when dealing with pointers. This will ensure smoother and more efficient operations, ultimately leading to better results.
In order to obtain the values DB5.DBD566 (real) and DB1.DBW456 (int) from an S7-300 (10.255.255.1) without modifying its programming, it is advisable to use DBX instead of DBD for any pointers. If you are facing difficulties in retrieving the values, it is recommended to utilize a get command on an S7-1200 (10.255.255.10). Despite attempting to change the value through an HMI, the S7-1200 may still encounter difficulties in reading it. A step-by-step guide would be greatly appreciated. (The start values are 50 and 700). Thank you for your assistance!
Are you accessing values from the S7-300 PLC, such as 700 and 50.0, and wondering how you can confirm that these values are being modified through the Human Machine Interface (HMI)?
Make sure to input RD_1 in the P# format, such as P#DB1.DBX4.0 Int 1 or P#DB1.DBX4.0 Byte 2. Additionally, have you set up the remote rack and slot for connecting 300 partners on the 1200 hardware / S7 connections window? Simply providing an IP address is not sufficient.
Hello! The error seems related to some incompatible settings between your S7-300 and S7-1200 PLCs. The S7-1200 series uses a different addressing approach than the S7-300, which is probably why you're having this issue. When using TIA Portal v15, you may need to adjust your address pointers while using the GET block. Don't forget to set the data block permissions to "Full Access" in the S7-1200 PLC as it is restricted by default. It's smarter to use PUT to send, instead of GET to receive, as the latter is more prone to errors. But overall, you really need to check the PUT/GET global settings on both your S7 PLCs to ensure they’re arranged correctly. This process can be a bit tedious and complex, but once you get the hang of it, it will be a worthwhile skill for your PLC programming toolbox.
Hi there! Looks like you're having trouble with PLC data transfer. In TIA Portal V15, first make sure both your S7-300 and S7-1200 PLCs are included in your project. Now, regarding DB values, I'd recommend you to use a "GET" block in your S7-1200 program, which should be pointed to the data in your S7-300 that you want to read. Remember if the data area in S7-300 is not declaration dependent, you'll also need to tick the 'Permit access with PUT/GET communication from remote partner' box in TIA's 'Protection' settings for S7-300. That being said, it's also possible the error could be related to a data mismatch. Ensure the data types in both PLCs match, as an Int value from your S7-300 PLC wouldn't fit into a Real value in the S7-1200. If you haven't done so already, you may want to try converting the Int to Real before transferring it. Let me know if you need further clarification. Happy programming!
I was in a similar situation awhile back, and found that the S7-1200 series uses a different command format for interacting with data compared to the S7-300 series. Specifically, you won't be able to directly use the GET block due to security features in the S7-1200 series. As for the TIA Portal V15, it's capable of running the AG_SEND or AG_RECV commands in the S7-1200. This should allow you to extract the values you need. You'll want to address the exactdata block and offset to ensure you're capturing the correct values. I'd recommended reviewing the S7-1200 programmable controller system manual for detailed instructions - it was a lifeline when I was working on this transfer.
Hi there! It sounds like you're dealing with a tricky situation. When transferring data between the S7-300 and S7-1200, it's crucial to ensure that your GET block parameters are correctly set up. Make sure the data types you're trying to access match exactly between both PLCs, as discrepancies can lead to the "invalid value" error. You’ll also need to configure the communication settings in your TIA Portal project, specifically ensuring the right connection type (like TCP/IP or Profinet) is established and that both PLCs are on the same network. If you haven't already, check the accessibility of the DBs from the S7-1200 by testing a simple GET command in a separate project. If you’re still having issues, sharing a snippet of your current code might help us pinpoint where it’s going wrong. Good luck with it!
Hey there! Transferring data between different PLCs can be tricky, especially with different architectures like the S7-300 and the S7-1200. First, ensure that you're correctly configuring the network settings and communication protocol for both PLCs. For the GET block to work, double-check that you're using the right IP address and that the S7-1200 can communicate with the S7-300 over a compatible network configuration (usually MPI or TCP/IP). Also, ensure that the data types match—your Real and Int values should be declared correctly in the S7-1200 as well. If the "specified value is invalid" error persists, it might be worth revisiting the DB locations in the S7-300 to confirm they're accessible. If you need a specific program example, I recommend checking out Siemens’ TIA Portal documentation forums, as there are usually detailed step-by-step guides available there. Good luck!
Hey there! Transferring data between different Siemens PLCs can be tricky, but it sounds like you're on the right track. First, make sure the data blocks you’re trying to access in the S7-300 are properly configured for external access; the DB must be marked as "accessible" in the properties. For your S7-1200 settings in TIA Portal, you would need to set up a communication partner and configure the right settings in the GET block, ensuring that the correct database addresses are being used. Also, check that your PLCs are on the same network or configure proper routing if they are on different subnetworks. If you still encounter that "invalid value" error, consider verifying the data types and offsets you're using in your GET command. It might help to have a look at the structured data types you defined as well. Good luck, and feel free to share any specific errors you encounter along the way!
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Answer: Answer: The error message "the specified value is invalid" typically indicates a mismatch in data types or incorrect configuration settings while using the GET block for data transfer.
Answer: Answer: To transfer data from S7-300 to S7-1200 PLC without program modification, ensure correct configuration of communication settings, data types, and addresses between the two PLCs.
Answer: Answer: Detailed instructions and a program example using TIA Portal V15 can be provided to guide you through the successful data transfer process from S7-300 to S7-1200 PLC without modifying the existing program.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.