read BCD coding switches