A library for creating arrays when the data type or size are only known when the system is already running.
Developed in Siemens TIA Portal for the S7-1500 family.
Overview
A library for when high flexibility to create arrays, define their types and sizes, is needed, or for when the number of arrays, their sizes and data types are only known after the program is running, or when system memory use is critical.
It is developed in Siemens TIA Portal v17 for the S7-1500 PLCs.
The library currently supports 4 data types, and array number/size is limited only by hardware.
Current Features
Create, read, write and delete arrays with size supplied during runtime.
Define array type during runtime.
Type checking during runtime.
Types supported: Byte, Word, DWord and LWord.
Error codes for functions.
Time limit: Runs for 2 hours before stopping the PLC.
Planned Features
The following features are in no particular order. Feel also free to send an e-mail with any suggestion.
They might be added, removed or modified without any previous notice.
Support more data types.
All built-in TIA data types.
UDTs when size is not bigger than an LWord.
UDTs with arbitrary size.
Access arrays using string identifiers.
Control type checking.
Array operations: join, split, insert, remove.
Error handling.
Automatically delete partially created arrays in case of error.
Optimize array creation and deletion.
Optimize memory allocation (dense DBs).
Multiple dimensional arrays.
Array type casting.
Retentive arrays.
Latest Version - v0.1.0
This is the first public release of the library.
Previous Versions
The previous released versions can be found here.
Every version contains the archive for all supported TIA Versions, as well as the documentation version for it.
Previous Change Logs
v 0.0.1 - Internal Version.
Previous Library Versions
v0.0.1 - Internal Version.
Previous Example Project Versions
v0.0.1 - Internal Version.
Support and Suggestions
If you have faced any kind of trouble to use the library, to understand the documentation, or ran into some kind of trouble, please feel free to send an e-mail containing your issue. Likewise if you wish to send a suggestion.
Subscribe for new releases
Not yet available.
License