beethoven_ii
Lifetime Supporting Member
I am working on a Step 7 project where I have to read some barcodes and store the full code as a string which I'm fine with. I also need to identify the colour of my product from 2 numbers that are within the code. The numbers will be in the same place within the string every time and so I'm looking for some help in how best to compare the characters (e.g. '06' or '13' etc) to a look up table to identify the colour.
Any help or tips on the best way to do this in ladder would be greatly appreciated.
Barry
Any help or tips on the best way to do this in ladder would be greatly appreciated.
Barry