Crestron SIMPL Windows
Set/Rest Latch Example: system power relay
Touchpanel
fb87
press87
fb88
press88
fb89
press89
fb90
press90
Primer – DOC. 6253
considered "level triggered" in that the current input values always determine the
states of the outputs.
Set/Reset Latch symbol
This symbol implements the most basic memory element, also known as a set/reset
flip-flop. The symbol has two possible states, referred to (oddly enough) as set and
reset. When set, the signal connected to the 'out' terminal will be high. When reset,
'out' will be low. The 'out*' output provides the complement of 'out,' that is,
whenever 'out' is high, 'out*' is low and vice-versa. At startup (when the program
resets) the value of 'out' will be low (and thus 'out*' will be high).
A positive edge on the 'set' input will cause 'out' to go high. Once this transition is
seen on the 'set' input, the output will not change even after 'set' goes low. We say
that the output has 'latched.' In order for 'out' to go low again (and thus 'out*' go
high), there must be a positive edge seen on the 'reset' input.
Set/Reset Latch Example: System Power Relay
Suppose you are using an AC power controller to switch power on and off to the
equipment rack. Often such a power controller will have a low-voltage contact
closure interface: close the contact and the power switches on, open the contact and
it switches off. Clearly in this case we need a latching signal that we can connect to a
low-voltage relay in the Cresnet system (on a CNRY-8/16 for example).
A Set/Reset Latch symbol will work perfectly for this application. Simply connect
the signal from the 'power on' to the 'set' input, and the signal for 'power off' to the
reset input. Lastly, connect the output marked 'out' from the SR Latch to the relay
itself. When the SR Latch is set, the signal connected to 'out' will be high, thus
closing the relay and turning on the power. Remember that this output signal will
remain high until the symbol is reset.
Set/Reset
Power_On
set
Power_Off
reset
Toggle Symbol
The Toggle symbol has a lot in common with the Set/Reset Latch. In fact, the Toggle
actually is an SR Latch with an additional input added on. This input is labeled
'clock,' and each positive edge on this input will cause the symbol's state to alternate
between set and reset. The 'set' and 'reset' inputs are still provided to serve as
overrides to force the symbol to a specific state.
out
Power_relay
out*
Crestron SIMPL Windows • 47
Software
Relay Card
A1
A2
A3
A4
A5
A6
A7
A8
Need help?
Do you have a question about the SIMPL Windows and is the answer not in the manual?
Questions and answers