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

Considerations

Managing downloads can become more difficult the larger projects become, especially if the process that the PLC is controlling is also critical and PLC downtime is to be kept to a minimum.

Data segregation

A good method of reducing the effect of reinitialization and the chance of it needing to set the data in your project to the starting values is to segregate data into more than one data block:

Figure 13.26 – An example of segregating data

By grouping data into singular data blocks, where the data has something in common with the data it is grouped with, reinitialization only affects data that is grouped together.

Figure 13.26 shows an example of mixed data in DB1 on the left-hand side. If a variable was added, removed, or modified in this data block, the entire data block would be reinitialized. Then, groups of unrelated data would be set to the starting values.

By splitting the relative data into three data blocks, only...