derrickjp7
Member
I'm converting a program from RS500 up to Studio5000. As an example, an address in RS500 like N133:80.1 is being created in Studio as a Tag N133 with an array of 80 DINTS. We then call that address within the Studio program 133[80].1.
All is fine until I came across some indirect addressing in RS500,
N87:[N137:2]
If I were to convert this into our Studio format it would be N87:[N137[2]]. This however does not work, I get "Invalid expression or tag" or "Invalid array subscript specifier." Any suggestions on how to format the indirect addressing? Any instructions that could be used?
Thanks for the help!
All is fine until I came across some indirect addressing in RS500,
N87:[N137:2]
If I were to convert this into our Studio format it would be N87:[N137[2]]. This however does not work, I get "Invalid expression or tag" or "Invalid array subscript specifier." Any suggestions on how to format the indirect addressing? Any instructions that could be used?
Thanks for the help!