Chapter 3: Structures and User-Defined Types

This chapter explores how to create, utilize, and deploy structures as structs and User-Defined Types (UDTs) effectively in a TIA Portal project. UDTs are the most underutilized tool in PLC programming and are extremely efficient and provide the rigid data structure required for asset-based programming. This chapter also expands on previously learned information about interfaces and how they affect data usage in logic objects.

After reading this chapter, a programmer should feel comfortable with both structs and UDTs in TIA Portal and have enough knowledge to do the following:

  • Add structs and UDTs to a project.
  • Know where UDTs are stored in a project.
  • Know the differences between structs and UDTs. ...

Get PLC and HMI Development with Siemens TIA Portal now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.