How to Simulate Siemens HMI Panel with NAT Connection to PLC

Question:

Hello, I am currently facing a challenge in simulating a Siemens HMI panel using a NAT connection to a PLC. While I can easily change the PLC's IP address to the NAT IP through extended online access and downloading, I am encountering difficulty in changing the HMI's IP address to a routed NAT IP for simulation purposes. I would greatly appreciate any assistance on how I can accomplish this. Thank you in advance for your help.

Top Replies

Are you wondering whether to use a TIA Panel or WinCC Advanced for your project? Add a button featuring the system function "ChangeConnection" to easily customize the IP address, rack, and slot in the parameters.

One option to consider is creating a duplicate of the PLC within the project, adjusting the IP address, and then linking the HMI to the clone. Another approach is to export the PLC as a device proxy, import it back into the project, update the IP of the proxy, and then connect the HMI to it. This method may be more straightforward and easier to manage in terms of updates. If the actual HMI is on the same local network as the PLC and the simulated HMI is located on a different side of the NAT, it may be necessary to incorporate 2 HMIs into the project, which could potentially complicate matters. Regarding TIA Panel or WinCC Advanced, JesperMP suggested adding a button with the system function ChangeConnection. With this function, users can manually input the IP address, rack, and slot in the parameters. It's important to note that the ChangeConnection system function may not support 1500s for Comfort Panels, only 300/400. However, Unified may support 1500s for a similar function. Depending on the user's setup, this information may or may not be applicable. While it is possible to use the 300 connection type to connect to a 1500, it is essential to ensure that Optimization is turned off for any components the HMI interacts with.

This TIA panel, linked to a 1215 CPU, is not your typical comfort panel. While there isn't a physical HMI, HMIs are utilized to configure the PLC via a simulator.

Ben93 emphasized that the panel in question is a TIA panel, not a comfort panel. Can you provide more specific details on the exact type of panel being discussed?

Apologies for the error in my previous statement. The device in question is actually a comfort panel, specifically the 6AV2 124-0MC01-0AX0 model.

Hi there, addressing your challenge, have you considered using the Siemens TIA (Totally Integrated Automation) Portal for HMI simulation? It could allow you to quite easily simulate different scenarios and PLC/HMI configurations without having to physically change IP addresses. It has a great graphical interface, and it's very intuitive. However, please be aware that you might need to go through some licensing process for accessing some of its features. Hope this helps and let me know how it goes!

Hi there! I've faced a similar issue with Siemens HMI panels before. It sounds like the challenge might lie in the NAT routing itself. Have you tried configuring your NAT settings directly from your router? Do also ensure that your subnet mask and gateway align with the NAT settings. Additionally, Siemens TIA Portal could be used to set the desired IP for HMI, offering a flexible and quick solution. Let me know if these suggestions work out for you and feel free to share any updates.

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: FAQs:

Answer: 1. How can I change the PLC's IP address to a NAT IP for simulation? - You can change the PLC's IP address to the NAT IP through extended online access and downloading.

FAQ: 2. How can I change the HMI's IP address to a routed NAT IP for simulation purposes?

Answer: - Changing the HMI's IP address to a routed NAT IP for simulation purposes may require specific configuration steps. You may need to access the HMI's settings or configuration to make this change.

FAQ: 3. Are there any specific tools or software recommended for simulating Siemens HMI panel with NAT connection to a PLC?

Answer: - There may be specific tools or software available for simulating Siemens HMI panel with NAT connection to a PLC. It is recommended to explore Siemens' official resources or forums for guidance on suitable simulation tools.

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  â†’