Barry Kirk
Lifetime Supporting Member
I'm having trouble with nesting arrays.
Example.
Created a tag called Test[10] which is of type DINT
Entered the ladder with...
CLR(Test[Test[3]])
produces the error Invalid array subscript specifier.
Test[3] contains the value 0 so it should work.
moving Test[3] into another DINT, OtherTest and then using that DINT
CLR(Test[OtherTest])
this works.
Is there any way to nest subscripts with RSLogix5000 ?
Example.
Created a tag called Test[10] which is of type DINT
Entered the ladder with...
CLR(Test[Test[3]])
produces the error Invalid array subscript specifier.
Test[3] contains the value 0 so it should work.
moving Test[3] into another DINT, OtherTest and then using that DINT
CLR(Test[OtherTest])
this works.
Is there any way to nest subscripts with RSLogix5000 ?