bernie_carlton
Lifetime Supporting Member + Moderator
I'm using Compactlogix and RSLogix5000.
The external equipment vendor has a defined string shorter than the standard one (64 character versus 82 characters).
If a COPY is done from a shorter string to a standard string the last 18 characters of the standard string will probably end up as garbage.
Do subsequent string commands look at characters beyond those defined by the .LEN value or should I specifically null out the last 18 characters of the standard string just to be sure?
The external equipment vendor has a defined string shorter than the standard one (64 character versus 82 characters).
If a COPY is done from a shorter string to a standard string the last 18 characters of the standard string will probably end up as garbage.
Do subsequent string commands look at characters beyond those defined by the .LEN value or should I specifically null out the last 18 characters of the standard string just to be sure?