Book Image

PLC and HMI Development with Siemens TIA Portal

By : Liam Bee
Book Image

PLC and HMI Development with Siemens TIA Portal

By: Liam Bee

Overview of this book

With automation requirements on the rise, Siemens’ TIA Portal development environment is almost a necessity for any automation engineer. The Totally Integrated Automation (TIA) environment helps seamlessly integrate all things automation, from PLC hardware and software design to HMI development. This book helps you understand the tools available in the TIA toolbox and shows you how to write code effectively. The book begins by introducing you to the TIA environment, covering the layout and tools available. Once you’ve got to grips with the environment, you’ll find out how to create hardware to write programs against, including adding IO modules and assigning memory for input and output. Next, you'll develop logic in all of the languages that TIA Portal offers, such as Ladder, Function Block Diagram, and Structured Text (SCL) (note that Statement List is not covered as a deprecated language), as well as the newest language, Cause and Effect (CEM). You’ll also discover how to store standard code in libraries, creating a version control system that is easy to manage and aids standard design. Finally, following the PLC design chapters, you’ll learn how to develop HMI applications in TIA Portal’s latest unified hardware. By the end of the book, you'll be well equipped to use all of the features that TIA Portal V17 offers.
Table of Contents (21 chapters)
1
Section 1 – The TIA Portal – Project Environment
5
Section 2 – TIA Portal – Languages, Structures, and Configurations
11
Section 3 – TIA Portal – HMI Development
16
Section 4 – TIA Portal – Deployment and Best Practices

Adding an HMI to a project

Just as with a PLC, an HMI needs to be added as a device in a TIA Portal project. Once an HMI device has been added, different objects appear under the HMI object in the Project tree pane.

To add an HMI, the following steps will be used:

  1. Double-click Add new device in the Project tree pane. This will open the Add new device window, as illustrated in the following screenshot:

Figure 9.1 – Add new device window

  1. Selecting HMI from the options in the left column will display the available HMIs in TIA Portal V17. SIMATIC Unified Comfort Panel is the latest version of Siemens' HMIs.
  2. Select a display size and open the corresponding folder. Inside will be the device that is to be added to the project, as illustrated in the following screenshot:

Figure 9.2 – Adding a 12" Unified Comfort Panel

At this point, different versions of the Unified Comfort Panel can be selected...