6 Application Instructions API 00-49 10 3 10 1 10 0 10 2 4-digit DIP switch in BCD format X17 X0 4-digit BCD value Using BIN instruction to store the BIN value into D100 Using BCD instruction to convert the content in D100 into a 4-digit BCD value. Y37 Y20 4-digit 7-segment display in BCD format DVP-PLC Application Manual 6-34 6 6 4 2 8