Ed_Pethick
Member
Hi
It may be that I'm calling it the wrong thing, but every time I search for indirect addressing I end up looking at indirect indexing (to my mind) instead.
So, apologies for the bluntness but to try and ensure we're on the same page
I'm not asking about: Array[DINT] stuff
I would like to be able to address the Array as a String (Or similar) as this would make my life vastly simpler (I am aware that I could create a large Array of these strings, look them up and use their position to reference a specific array but this would be very cumbersome and require a lot of manual programming)
What I'd like to do is something like:
Move [Dint] into (String)[0]
So at one point it could be "Move 334 into BiscuitArray[0]" and at another point it could be "Move 663 into "CheeseArray[0]" for e.g. Depending on the Value of the tag giving me the String.
Thanks for reading & in advance for any replies.
Even if the answer is not known if you know that actually I'm looking for something called "x" then that would be much appreciated.
Regards
Ed
It may be that I'm calling it the wrong thing, but every time I search for indirect addressing I end up looking at indirect indexing (to my mind) instead.
So, apologies for the bluntness but to try and ensure we're on the same page
I'm not asking about: Array[DINT] stuff
I would like to be able to address the Array as a String (Or similar) as this would make my life vastly simpler (I am aware that I could create a large Array of these strings, look them up and use their position to reference a specific array but this would be very cumbersome and require a lot of manual programming)
What I'd like to do is something like:
Move [Dint] into (String)[0]
So at one point it could be "Move 334 into BiscuitArray[0]" and at another point it could be "Move 663 into "CheeseArray[0]" for e.g. Depending on the Value of the tag giving me the String.
Thanks for reading & in advance for any replies.
Even if the answer is not known if you know that actually I'm looking for something called "x" then that would be much appreciated.
Regards
Ed