For you S5 programming experts out there, how do I handle thumbwheels connected to 8 inputs to enter a number between 0 and 99 into the PLC in BCD format and then compare that number with a counter. All the program needs to do is to compare the number set on the thumbwheels to a machine cycle count and then change state when they are equal. I know how to do this with a fixed count number but I don't know how to handle the inputs and convert them into a number in a register. The S5 manual may as well be in German