The "User Guide" has a dedicated chapter on Data Types. Do not skip it. In CODESYS 3.5, handling arrays and structures (STRUCT) is cleaner in ST than in any other language.

PART 3: CODESYS IDE DEEP DIVE