TIA Portal v18: Utilizing PLC SIM for Offline Code Updates in S7-1200 and HMI (KTP-1200 Basic) Integration.

Question:

The PLC (S7-1200) and HMI (KTP-1200 Basic) have been successfully delivered to the customer's site. To facilitate offline updates to the code, I am attempting to utilize PLCSIM. However, I am currently facing a challenge as I no longer have access to the HMI. Is there a built-in HMI simulator available in TIA Portal? In other words, can I simulate button clicks on a virtual HMI interface using a mouse, similar to interacting with a physical HMI? Thank you.

Top Replies

To initiate the simulation, first click on the HMI folder and then select "Online" from the toolbar. Next, navigate to the Simulation option and click on "Start" to begin. This process is essential for running a simulation successfully.

Indeed, the WinCC Advanced RT is utilized to run Basic/Comfort/Adv projects. It was offered as an installation option with TIA, making it easy to automatically install the HMI Simulation/Runtime. While there are some nuances between PC-based simulation and an actual panel, the simulation is quite effective. Regional differences, such as time format, currency symbol, and language, are managed slightly differently. Depending on your Windows settings, text scaling issues may arise, but the testing logic remains solid. Periodically, a license reminder window may pop up, but you can disregard it during simulation tests.

It's important to be aware of the differences as mentioned by mk42 in using VBA scripts in an HMI. Make sure to understand the distinctions between WinCE commands and regular Windows commands, as the simulator may not interpret CE specific commands correctly and may result in errors.

mk42 pointed out that periodically, a nagging license window will appear, but it can be disregarded for the purpose of simulation. The term "nag window" is a concise description that resonates with me.

Absolutely, there is indeed an HMI simulator in TIA Portal that you can utilize for this explicit purpose. This tool, the WinCC (TIA Portal) runtime software, enables simulation of your HMI configuration without requiring the actual HMI device. It takes mouse clicks as inputs, effectively mimicking human interaction with the physical HMI. So, you could very well modify and test your HMI applications offline. Make sure your licenses are up to date though, as using the WinCC simulator would require it.

Yes, you can indeed simulate an HMI in the TIA Portal. It won't be an exact match to the KTP-1200, but it should give you enough functionality to properly test your program. You can use the WinCC software which is inbuilt in TIA Portal for simulation purposes. Just remember to assign all your variables to HMI tags, and create your HMI layout in WinCC. When you're ready to test, simply go to the "Start Simulation" option within the PLC SIM. The simulated HMI should then pop up, allowing you to interact with it as if it was a physical HMI. Hope this helps!

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. Can I use PLCSIM for offline code updates in S7-1200 and HMI integration in TIA Portal v18?

Answer: Answer: Yes, you can use PLCSIM in TIA Portal v18 to facilitate offline updates to the code for S7-1200 PLC and HMI integration.

FAQ: 2. Is there a built-in HMI simulator available in TIA Portal for simulating HMI interactions without physical access?

Answer: Answer: TIA Portal does not have a built-in HMI simulator, but you can simulate button clicks on a virtual HMI interface using a mouse for interacting with the HMI without physical access.

FAQ: 3. How can I simulate button clicks on a virtual HMI interface in TIA Portal v18 for code updates?

Answer: Answer: You can simulate button clicks on a virtual HMI interface in TIA Portal v18 by using mouse interactions to replicate the functionality of interacting with a physical HMI.

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