This behaviour is easily implemented with the PSCockpit System. We will need to wire the contact of the switch to a I/O Satellite Pcb and the coil to a Stp/Other Voltages Pcb as the coil will need other voltage and more current to activate. The electric schema could be the following:
The configuration of this wiring in the PSCockpit Software is the following:
You can easily test the circuit (input and output individually) in Test mode.
In order to link the switch with its coil, go to the F16 Model and select the Solenoids page. Enter the corresponding switch and coil Id´s:
Of course, you want the switch to send the keystroke to the sim, so, go to Commands page and configure the switch:
Now, when the switch is activated, the command will be sent to the sim and the coil will be energized. Depending on the switch function, the coil will be deactivated by the PSCockpit Software when in Run mode.
Edited on April, 10th, 2016
--------------------------------------------------------------------------------------------------------------------------
For homemade magnetic switches -the ones which needs only momentary energy to set back the switch to the original position- you have to set the coil output in the field called "Momentary coil":
- Switch is activated ---> momentary coil remains de-energized
- Condition to return switch to original position is met ---> momentary coil is energized
- Switch returns to original position by means of the coil ---> momentary coil is de-energized
Of course, is you return the switch to the original position manually, the momentary coil is never energized.
---------------------------------------------------------------------------------------------------------------------
Regards,
Shep