is it possible to change the size of an array in an TwinCAT-PLC using ADS, in this case pyads?
VAR CONSTANT
min_a : INT := 1;
max_a : INT := 234;
END_VAR
VAR
array_1: ARRAY[min_a..max_a] OF INT;
END_VAR
And then i wanted to change the value of the constants with ads, which works, but it never changes the size of the array in the plc.
Can somebody help me?
It's the first time that i work with an plc and that i write code in a structured text...
question from:https://stackoverflow.com/questions/65934043/change-size-of-array-in-plc