Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
PLC and HMI Development with Siemens TIA Portal

You're reading from  PLC and HMI Development with Siemens TIA Portal

Product type Book
Published in Apr 2022
Publisher Packt
ISBN-13 9781801817226
Pages 436 pages
Edition 1st Edition
Languages
Author (1):
Liam Bee Liam Bee
Profile icon Liam Bee

Table of Contents (21) Chapters

Preface 1. Section 1 – The TIA Portal – Project Environment
2. Chapter 1: Starting a New Project with TIA Portal 3. Chapter 2: Creating Objects and How They Fit Together 4. Chapter 3: Structures and User-Defined Types 5. Section 2 – TIA Portal – Languages, Structures, and Configurations
6. Chapter 4: PLC Programming and Languages 7. Chapter 5: Working with Languages in TIA Portal 8. Chapter 6: Creating Standard Control Objects 9. Chapter 7: Simulating Signals in the PLC 10. Chapter 8: Options to Consider When Creating PLC Blocks 11. Section 3 – TIA Portal – HMI Development
12. Chapter 9: TIA Portal HMI Development Environment 13. Chapter 10: Placing Objects, Settings Properties, and Events 14. Chapter 11: Structures and HMI Faceplates 15. Chapter 12: Managing Navigation and Alarms 16. Section 4 – TIA Portal – Deployment and Best Practices
17. Chapter 13: Downloading to the PLC 18. Chapter 14: Downloading to the HMI 19. Chapter 15: Programming Tips and Additional Support 20. Other Books You May Enjoy

Instance and global data

As with most PLCs, TIA Portal has two types of data – global and instance. What defines the data as a particular type is where and how it is used. What is classed as global or instance data depends on what information is being held and how it interacts or interfaces with logic:

  • Global data:
    • Data that can be accessed anywhere in the project, at any hierarchy level.
    • Data can be freely defined by the programmer, including the creation of sub-structures that contain data or UDT definitions.
    • It cannot hold instance data for a function block, even in a sub-structure.
  • Instance data:
    • Data that exists explicitly to be used with a function block or UDT.
    • Data is automatically defined by the requirements of the function block/UDT it is associated with.
    • It will contain any sub-instances of function blocks that have been called within the parent function block.

      Note

      There is an additional global data block type called Array DB. This allows a data block to be explicitly...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}