tkucic / plc_structs_as_arrays

A tutorial how to use structs and user derived types as arrays if the PLC IDE/Compiler doesnt allow for arrays. Working with booleans, numbers and user data types is shown in respective POUs that can be run on any PLC that is iec61131-3 compliant. For other data types the process is the same. On top of the examples the project contains struct arrays of 32 elements for each elementary type so the users can start using the functions immediately. If the operator needs different data types the Python generator script can be used. THe python script is located in the same repository as this file. Originally written in CODESYS 3.5. These DTs and POUs can be used under the MIT license.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tkucic/plc_structs_as_arrays Watchers