KB Controls is reader-supported. When you buy through links on our site, we may earn an affiliate commission. Read more in our disclaimer
A first look at the new View of Things (VoT) mechanism for creating web applications for S7-1500 PLCs in TIA Portal v17 and greater.
One of the most interesting new features in TIA Portal v17 is the new system for creating user-defined web pages known as View of Things. View of Things allows a user to create user-defined web pages using the WinCC unified editor and pre-defined graphical elements in TIA Portal.
In this article, we’ll look at the advantages of working with View of Things, the limitations of View of Things, and run through a demonstration of how easy it is to create a web application for your PLC using View of Things.
View of Things provides an easy way to create simple web visualizations for a PLC with no special programming tools using the WinCC Unified Editor. This makes View of Things an ideal way to create simple tools for monitoring and controlling data in a PLC for commissioning or maintenance.
If the functionality required evolves, then the VoT visualization can be migrated to a WinCC Unified application that runs on a WinCC Unified Panel or PC.
View of Things is designed to create simple web applications that run on the webserver of an S7–1500 controller. For CPU performance reasons, there is a limitation of 10 screens and 100 tags per CPU.
Since View of Things works with the webserver of a PLC, user management is done via the web server user configuration. We’ll see an example of managing users in the demo section of this article.
Finally, VoT is a new feature available for newer versions of TIA Portal and newer firmware of the S7–1500 controllers. To use VoT, you will need to have at least TIA Portal v17 and an S7–1500 controller with firmware version 2.9 or newer.
With the introduction out of the way, let’s look at a hands-on demo of how to set up and use VoT in your projects.
In the example below, I’ve created a new project in TIA Portal v17 and added an S7–1500 controller to the project.
View of Things is used to create web applications that run on the web server of the PLC. For this reason, we have to enable the web server in the PLC. In the PLC settings, enable the PLC’s web server and permit access via HTTPS only as shown below.
Next, we need to configure a user for the web server and give this user permission to read and write tags via the web server. We will use this user’s credentials to log in to the VoT application later on.
In the Project Tree, expand the PLC node. You can see a new folder here called Web Applications.
Double click Add new VoT application to add a new VoT application to the project. In this example, I will leave the application with its default name, ViewOfThings.
Expand the Screens node and add a screen. The new screen automatically opens.
To demonstrate the functionality of VoT, we’ll use a slider to write a value to a tag in the PLC.
To start, drag a slider element onto the screen.
In the default tag table, create a new tag with a type Int. In this example, I’ve added a tag called Slider_Value. To connect this tag to the slider, drag the tag from the Details View and drop it onto the slider. Super easy, right?
Next, we’ll add a dynamic object to the screen. Drag a circle from the Toolbox onto the screen.
In the Appearance tab, specify that the Dynamitization is based on a tag. Then select the Slider_Value tag and the conditions to change the background color.
Update the snippet so that it writes the value 0 to the Slider_Value tag.
Finally, we’ll add a second screen to the application and add a navigation button to navigate from the first to the second screen.
Add a new screen to the web application and drag the new screen onto Screen_1 to create a navigation button.
With our VoT application set up, compile the web application. This has to be done separately from the PLC compilation.
Once the compilation is complete, download to the PLC as normal. In the Load Preview window, be sure to select the option to download the web application to the PLC.
With the VoT application download, you can now access the web application in your browser. Navigate to your browser at the IP address of the PLC followed by /~, the name of the application, and /index.html.
In my example, the address of the application is 192.168.0.1/~ViewOfThings/index.html.
Log in to the web application using the credentials that you created earlier.
Once logged in, you can move the slider and see that the background color of the dynamic circle changes with the tag value.
Next, you can click on the Reset button to reset the value of the Slider_Value tag.
Finally, you can click on the Screen_2 navigation button to navigate to Screen_2.
In this article, I introduced the new View of Things web applications that are available in TIA Portal v17 for S7–1500 PLCs with firmware version 2.9 and greater.
Personally, I’m in love with VoT — I finally have a way to easily create web applications for my PLC without writing any custom code. This is an incredibly powerful feature for creating small visualizations for PLCs in production or tools for commissioning systems where the SCADA/HMI systems are not available yet.
Learn how to write and test your first PLC program using Studio 5000 Logix Designer.Learn More
Learn how to write, test, and simulate your first PLC program for free.PLC Bootcamp
In this tutorial, I provide you with a complete, step by step guide for integrating SINAMICS drives in TIA Portal projects including how to commission the standard and safety features of SINAMICS drives in Startdrive, how to integrate and control SINAMICS drives in your TIA Portal projects using standard telegrams and blocks, and how to control and visualize the status of SINAMICS drives in a WinCC HMI application.
In this post, we learn how to use OPC UA to communicate between two PLCs by setting up an S7-1500 as an OPC UA Server with a dedicated server interface and user authentication.