Learn about PLC programming data structures and User Defined Data Types (UDTs).
Working with the basic structures in ladder logic is straightforward for some, but challenging for many. BOOLs, INTs, DINTs, SINTs as well as the arrays of those structures are at the core of every programming language, but aren’t fully understood by most PLC programmers. In the first part of this workshop, we’ll discuss the data structures that are at the base of PLC programming and go over the key usages of the booleans, integers and double integers.
Once you have mastered the basic data structures, the next step would be to understand User Defined Data Types or UDTs.
UDTs are commonly used in Programmable Logic Controller Programming in order to group data and maximize code reusability. This structure allows the user to combine any of the existing data types into a package which can be reapplied multiple types across the program, be exported and imported into other structures.
In the second part of this workshop, we will be looking at why we’d want to use UDTs, how to set them up in RSLogix 5000 and a practical example of their usage.
Vlad is the co-founder of SolisPLC. He is an Electrical Engineer with a focus on Industrial Automation & Controls, and has worked at some of the world's largest manufacturing companies.