HI,
i am having trouble trying to differentiate between 2 strings using just integers, so i need to do a string compare and use the letters to differentiate and this will work perfect. The in-comming data is from a barcode scanner.
My problem comes with my limited knowledge on how to hard code a constant value in a string....any help would be great??
I am using rslogix 500 and a micrologix 1200 with an ascii module.
The strings i need too compare are quite long:
^J0922^AT08RM00030\00
AND
^J0922^AT08FL0003A\00
Both strings can only be differentiate by 3 as integers and that is my problem, idealy i would like just too use 3A.
Thank you for any help
i am having trouble trying to differentiate between 2 strings using just integers, so i need to do a string compare and use the letters to differentiate and this will work perfect. The in-comming data is from a barcode scanner.
My problem comes with my limited knowledge on how to hard code a constant value in a string....any help would be great??
I am using rslogix 500 and a micrologix 1200 with an ascii module.
The strings i need too compare are quite long:
^J0922^AT08RM00030\00
AND
^J0922^AT08FL0003A\00
Both strings can only be differentiate by 3 as integers and that is my problem, idealy i would like just too use 3A.
Thank you for any help