sruda
Member
I am trying to use a DINT in an array as a Pointer to a different array:
Pointers DINT[10]
Array1 STRING[10, 10]
String1 STRING
COP
Source Array1[Pointers[0], Pointers[1]]
Dest String1
Length 1
If I make the pointer an individual tag (Not in an ARRAY) it works fine but will not compile as above?
I get:
Error: Rung 0, COP, Operand 0: Invalid array subscript specifier.
Is this possible?
Pointers DINT[10]
Array1 STRING[10, 10]
String1 STRING
COP
Source Array1[Pointers[0], Pointers[1]]
Dest String1
Length 1
If I make the pointer an individual tag (Not in an ARRAY) it works fine but will not compile as above?
I get:
Error: Rung 0, COP, Operand 0: Invalid array subscript specifier.
Is this possible?