Oscillator Symbol - Crestron SIMPL Windows User Manual

Crestron simpl windows software: user guide
Hide thumbs Also See for SIMPL Windows:
Table of Contents

Advertisement

Crestron SIMPL Windows
Delay Example: system power sequencing
Touchpanel
fb10
press10
System On
fb11
press11
System Off
Primer – DOC. 6253
simply passes all input transitions through to the output(s). Thus, you would need
some elaborate logic to reset the Delay each time a button was pressed. Second, the
Delay symbol is a single-precision symbol, meaning that the values of the 'time'
parameters can only range from 0 to 583 seconds. This makes it impossible to create
a 3-hour wait time.
Delay
trig
reset
delay1
2s
delay2
5s
delay3
10s
Delay
trig
reset
delay1
5s
Earlier in this chapter we saw an example using Buffer symbols that allowed us to
generate multiple events from a single signal. This example provided an easy and
elegant way to create system power on/off events. One limitation of that first
example was that we had no control over when each event occurred. That is, once the
input to the Buffer was triggered, all of the outputs triggered immediately, and this is
not always acceptable. For example, during a 'power on' sequence you want the
projector lift to lower first, then turn on the projector, then switch to a certain source
only after the projector had ample time to turn on. The figure shows how to program
such a sequence using a Delay and a Buffer. Note that the Delay outputs are passed
through the Buffer in order to trigger the desired event. This is done so that the signal
names may be driven by other system inputs or other Buffers, as described in that
first example. Finally, notice that the signal 'system_power_off' is routed into the
'reset' input of the Delay symbol. This will prevent problems when the system on
and off buttons are pressed within a few seconds of one another (because the user
changed his mind, for example). Without resetting the Delay, a 'system on' function
that had yet to be processed would occur during the 'system off' process, causing an
undesirable situation.

Oscillator Symbol

An Oscillator symbol allows you to create a constantly alternating signal, useful for
tasks such as polling an RS-232 device for status information or blinking a feedback
indicator on a user interface. The output will only oscillate for as long as the 'gate'
input is high, thus allowing you to turn the symbol on or off. The time that the output
signal is high and low is governed by the 'hi_time' and 'lo_time' parameters.
Software
Buffer
enable
1
in1
out1
Screen_down
in2
out2
in3
out3
Vproj_Source_1_Sel
in4
out4
DVD_Play
in5
out5
Lights_Scene_2
Buffer
enable
1
in1
out1
Lights_Scene_1
in2
out2
DVD_Stop
in3
out3
in4
out4
Screen_Up
Crestron SIMPL Windows • 55
Vproj_On
Vproj_Off

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMPL Windows and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF