SPS-Programmierung #06: Arrays

Arrays are fields of variables that are frequently used in programs. Here, I'll show you exactly what arrays are and how to declare, initialize, and access array elements in ST. I'll demonstrate this using one-dimensional and multidimensional arrays. I'll also explain what you need to consider when passing arrays to functions or function blocks. ▬ Contents ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 00:00 - Intro 00:31 - Declaring and Using One-Dimensional Arrays 05:03 - Arrays of Function Blocks 05:43 - Declaring and Using Multidimensional Arrays 07:16 - Passing Arrays to a Function 10:33 - Arrays with Variable Length 12:43 - Outro