# How to connect switches to power transformer?

I'd like to use two rocker switches, each is single pole and including a light bulb on the inside (230VAC) to control the powering the system.

I'd like to connect both of them to the transformer with single primary winding(230VAC) and double secondary windings (each rated as 26V), but here's the trick: The RED rocker switch is the "head" of the circuit: if the red one is turned off, then nothing should be working (neither +26V neither -26V line). But, if I turn on the RED switch, the +26V line must be turned on, while I have an option to turn on the -26V line with the GREEN switch or not. Only turning on GREEN switch while RED is turned off should result into both circuits being turned off.

Here's a chart I've written, how should schematics work.

RED | GREEN | +26V | -26V
0  |   0   |   0  |   0
1  |   0   |   1  |   0
0  |   1   |   0  |   0
1  |   1   |   1  |   1


And here's the schematics.

• your logic chart needs only three lines ..... when the red switch is off, then the green switch should be a "don't care" state designated as X Jan 13 '19 at 19:31
• Why not just use different switches? Aug 15 at 23:40