If the switch involved is an Opto switch, that will require other repair ideas. Not all games use opto switches, but most do. And some era of games use more optos than others. For example, starting with Indiana Jones, all WPC games use opto switches for the ball trough. And games from Indiana Jones to Demo Man use trough opto boards different than later games (with problematic LM339 chips installed right on the trough opto board). To further complicate things, the problem could be the opto transmitter/receiver itself, or the under-the-playfield mounted board that controls the optos. Often disconnecting the under-playfield opto board (and the trough opto board on games Indiana Jones to Demo Man) will determine if the problem is playfield related, or opto board related. It's a good idea to disconnect the opto board(s) and see if the switch test T.1 reacts differently. (Tip: if it's Indy Jones to Demo Man, then reconnect the opto and trough boards one at a time to see if the problem changes, to help isolate which board is the problem.) Check here for more opto repair information.
Once the problem location is known to be on the CPU board, the playfield, or the playfield mounted opto board(s), that makes things a lot more managable to fix. What you're trying to do is break the problem down into smaller parts (as smaller parts are easier to test, diagnose, and ultimately fix).
If you hadn't noticed, diagnosing switch problems can range from pretty easy to very complicated! Sometimes it best to bring a professional in for these issues. But if you can keep your head straight and follow a systematic approach (as outlined above), often an "average joe" can fix a pretty complicated switch matrix problem. The remainder of this section will deal with individual parts of the switch matrix, how it works, and common problems & solutions to switch issues.
Dedicated Switches (Direct Switches).
The direct switches (or dedicated switches) are not part of the WPC switch matrix and are outside of the 8x8 switch rows and columns. Direct switches include the diagnostic coin door switches and flipper EOS switches. Since these switches do not go thru the CPU board's ULN2803 chip, if there is damage to the switch matrix, 99% of the time the direct switches will still work. This is handy if someone shorted 50 volts to the switch matrix, killing the switch matrix. In this situation, the direct switches will still allow the diagnostics to be run. Because the dedicated switches do not use the ULN2803, they are a bit more simple in operation. There is a row number associatd with the direct switches, but no column. Instead the row wire (orange) is connected directly to ground (black), which triggers the needed dedicated switch. Often if a dedicated switch does not work, the reason is a broken ground wire. The dedicated switches only use CPU chips U16,U17 (LM339) and U15 (74LS240), through CPU connector J205. An easy way to test the dedicated switches is to ground each pin of J205 while the game is in switch test mode. This will tell if the problem is in the CPU board or in the wiring.
The Chips that Control the Switch Matrix.
The switch columns are controlled by a single 18 pin ULN2803 chip on the CPU board at position U20. The switch rows are controlled by two LM339 chips on the CPU board at positions U18 and U19. The direct switch rows are controlled by two LM339 chips on the CPU board at positiion U16 and U17. These chip designations apply to all WPC generations.
On WPC-S and WPC-95 games, the ULN2803 that controls the switch columns on the CPU board is socketed. On all other WPC games up to 1994 this chip is not socketed. When a series of switches goes out, it tends to be the ULN2803 at U20 (all WPC revisions) that fails. Williams recognized this, and started socketing this chip with WPC-S. On WPC-S CPU boards, the ULN2803 chip is underneath the battery sub-board. ULN2803 is equivalent to NTE2018. If U20 dies "hard", it could also blow the 74LS374 at U14 (on WPC-95/WPC-S it's U23, a 74HC237/74HC4514 respectively) on the CPU board.
The LM339 chips that control the switch rows at U18 and U19 (all WPC revisions) tend to fail less often. LM339 is equivalent to NTE834. There are also two more LM339 CPU board chips at U16 and U17 (all WPC revisions). These two chips control the direct switches (coin door, diagnostics, etc). These do not fail often either.
There are also LM339 chips used on the under-the-playfield optic board (if the game has one) or in the ball trough boards on Indy Jones, Judge Dredd, Star Trek, Popeye and Demo Man. If any one of these LM339 chips fail (common on under playfield opto boards), the switch matrix will be confused. When there is a switch problem that can not be diagnosed, disconnect the opto boards and see if problems change. If they do, it's a good idea to replace all the LM339 chips on the under-the-playfield optic board(s), and use sockets for these chips. Remember that games Indy Jones, Judge Dredd, Star Trek, Popeye and Demo Man use trough optic boards with LM339 chips (WCS94 and later games don't have LM339 chips on the trough optic board). So these Indy Jones to Demo Man games have a second opto board with more potential chip problems.