This might be a simple solution but i am new at working with plcs. I am writing ladder logic to scan bar codes and sort boxes. We are using a cognex scanner to scan the bar codes. When we recieve the numbers on rs logixs its the right number but has parentheses around it. For example '1'. Therefore i am not able to use it in a compare command and i recieve an error. I believe it is because it is SINT. Is there some way to covert it to BOOL? Hopefully this makes sense to someone who can help me out.