Can the SoMachine V4.3 / EcoStruxure Machine Expert array size be changed at runtime?
This can be achieved by assigning a Symbol (tag/variable) inside the definition of the array.
Example - this is the declaration of a dynamically sized Array of INTs:
VAR
  iArrayIndex1 : INT;
   MyIntArray : ARRAY [0..iArrayIndex1] OF INT;
END_VAR
NOTE:
1) Dynamic Arrays will not work with variable sharing to HMI via the Symbol Configuration Node. Vijeo Designer and EcoStruxure Operator Terminal Expert do not handle Dynamic Arrays.
2) If you are using Dynamic Arrays inside Functions or Function Blocks, the instantiated memory size for a called Function or Function Block is limited, so limit the maximum value of the index accordingly and test your application thoroughly.
Â
Â
If this FAQ did not solve your issue, you can chat with us at chat with us  or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
Â
If you are not located in North America, please contact your local Customer Care Center for assistance:
Support | Schneider Electric Global (se.com)
If this FAQ did not solve your issue, you can chat with us at chat with us  or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
Â
If you are not located in North America, please contact your local Customer Care Center for assistance:
Support | Schneider Electric Global (se.com)
Released for: Schneider Electric USA


Need help?
Product Selector
Quickly and easily find the right products and accessories for your applications.
Get a Quote
Start your sales inquiry online and an expert will connect with you.
Where to buy?
Easily find the nearest Schneider Electric distributor in your location.
Help Center
Find support resources for all your needs, in one place.