The Output Matrix Mast is designed to control a signal mast with 32 aspects. This is more than enough for a German mast looking at the DB HV 1969 system in JMRI.
If the mast is broken down in to two heads - Main and Distant, it simplifies things a little.
The main head can show five different aspects:-
- HP00/SH0 (two red lamps)
- HP0 (one red lamp)
- HP0/SH1 (one red lamp and two white lamps)
- HP1 (one green lamp)
- HP2 (one green lamp and one yellow lamp)
The distant head can show four aspects:-
- VR0 (two yellow lamps)
- VR1 (two green lamps)
- VR2 (one green and one yellow lamp)
- Dark
I guess that if I was to use the matrix driver the drive the lamps directly I would just drive the six key lamps with the matrix driver, and then use LOGIX to drive the remaining lamps which are really redundant (the ones where you know what the aspect is even when they are not showing!).
The top head green lamp is always on when the left red lamp is off (and vice versa), this is a simple LOGIX rule that can be used to drive the green lamp. You just have to drive the two red lamps, the pair of white lamps together, and the yellow lamp, on the top head using four of the matrix outputs.
On the distant head you can use the remaining two outputs to drive the lower yellow and top green, and use LOGIX to generate the remaining green (on when green on and yellow off), yellow (on when yellow on and green off) and white (on when either green or yellow are on).
So to recap, the matrix driver will drive the following lamps directly with the six outputs:-
- Left red lamp
- Right red lamp
- Double white lamps
- Yellow lamp (top head)
- Lower yellow lamp (distant head)
- Upper green lamp (distant head)
Logix will drive the remaining lamps:-
- Green lamp (top head) and white lamp (distant head) (on when left red lamp off)
- Upper green lamp (distant head) (on when lower green lamp on and upper yellow lamp off)
- Lower yellow lamp (distant head) (on when upper yellow lamp on and lower green lamp off)
Suzie x
A bit of a faf, but will work if you do not have a signal mast decoder that will drive all ten lamp groups.
Clearly if you don't have the HP00 and SH1aspects and signals are not close spaced outputs will be freed up so you should not need all the LOGIX and things will be simpler to implement.