Passing variables to an array by reference

Passing variables to an array by reference

Hi all,

I want to group some variables from a PLC in an array so I can process them with the same logic by just iterating the array with straton. The problem is that when I operate the variables in the array the change is not reflected in the original variables. Is there a way to pass the variables to the array by reference instead of value?

Thanks

This is a migrated post! Originally posted on 14.02.2018 by user jesus_michel. Please be aware that information can be outdated.