In a method and system for compensating for contamination of a switch or
of a load circuit connected to the switch in a switch circuit, on/off
signal levels are obtained corresponding to on/off states of said switch
based on a polling signal which turns said switch on and off. With each
polling signal, the on signal level is compared with the off signal level
to determine whether the signal levels differ by more than a defined
amount indicating unacceptable switch or switch load circuit
contamination. Based on said comparison, a switch or switch load circuit
contamination indication output signal is provided indicating whether or
not the switch or the switch load circuit has been unacceptably
contaminated. This signal is used by said switch circuit for continued
operation of said switch circuit or for taking a corrective action if
unacceptable switch or switch load circuit contamination is determined.