For example to turn on the timer with the THR switch and have the time announced every 30
seconds:
S2
TimeOff
25
ON
5
THR
The last field (THR) is the AND condition. The timer only runs when the THR switch is ON.
To finish the job, a voice switch needs to be set. More on that in the next section.
Latch and Flip-Flop Functions
Two special functions available in custom switches are helpful when it is necessary to use a brief
input to trigger a persistent state.
The
Latch
function allows a state or event to be captured and held for as long as required. For
example, the maximum altitude reached by a glider can be retained until it is desired to measure a
new maximum.
Two switches are used as input to the Latch function. Turning ON the first sets the custom switch
output to ON. When the first switch is ON, the second switch has no effect, but when the first is OFF,
turning OFF the second will reset the custom switch to OFF.
For example, the following causes SW3 to turn ON when the TRN switch is pulled and off if the RUD
switch is turned ON (but only if the TRN switch is released to OFF).
S3
Latch TRN
RUD
The
Flip-Flop (F-Flop)
function “remembers” the input state and provides it as the output. Again,
two switches are used for input, one as the trigger and the other to provide the “data”.
So, for example, if the momentary TRN switch is used as the trigger, pulling it ON sets the output of
the custom switch to the current state of the second input.
For example, the following entry causes the value of custom switch 4 to change every time the
trainer switch is pulled, as the second input is defined as opposite to the current state.
S4
F-Flop TRN
!SW4
Safety Switches [and Voice Switches] (page 9/13)
This page allows you to define safety switches that will overwrite the existing value for a particular
channel. It also includes provision for audio warning switches and voice switches to announce
events.
Ersky9x Explained – version 1
page
34
of 45