passwordg
Member
I need to change a Controllogix 5000 program to work with longer strings, so I decided to replace a String array with a STR_480 array.
Am I right in that this is just a string which can hold more characters ?
To copy values from string[1000] to STR_480[1000]:
How can I copy the data from the smaller array to the larger one ?
COP is giving unexpected values as I think multiple members of the smaller array are copied to a single member of the larger array. MOV is giving an error because different data types.
Is there any way to do this at all please ?
Am I right in that this is just a string which can hold more characters ?
To copy values from string[1000] to STR_480[1000]:
How can I copy the data from the smaller array to the larger one ?
COP is giving unexpected values as I think multiple members of the smaller array are copied to a single member of the larger array. MOV is giving an error because different data types.
Is there any way to do this at all please ?