Troubleshooting PLC circuits by testing thumbwheel switches.