Specifications

EssentialsofCrestronProgramming
86
Preset1correspondstotheHBOpresetbuttononthetouchpanel.Whentheuserpresses
thisbuttontheprogramshouldsetthechannelto119.Intheaboveexamplethebutton
pressisconnectedtothe<trig>inputoftheStepper.Arisingedgeof<trig>startsthe
Stepper;thestateof<trig>hasnofurthereffectontheStepperoperationuntiltheentire
seq
uenceiscomplete.
Beginning with <o1>, each output of the Stepper symbol will go high for the period
given by the corresponding <len> parameter, after the corresponding <delay> expires.
For example, a rising edge of <trig> will start the delay timer, which in the example is
set to 0s (for no delay). The <o1> output (DSS_Key1) will go high for <len1> seconds,
which is set to 0.1s. When <len1> expires, <o1> will go low and the next delay, given by
<delay2>, takes effect. This is set to 0.2s. Then <o2> will go high for <len2> seconds,
and so forth, until the last key (DSS_Enter) is triggered.
The length of the delay time depends on the device requirements specified by the
manufacturer. Each <delay> begins only after the previous output has gone low.
Analternativemethodtotriggerachannelpresetistouse theAnalogInitializesymbol
andtheCrestronmodule,AnalogtoDigitalPulses(3digits).
TheCrestronmodulebreakstheanaloginputvalue(ChannelNumber)intohundreds,
tensandunits,andoutputstheresultingvaluesasdigitalpulses,followedbytheEnter
key.TheoutputsofthemodulecanbeconnectedtotheIRdrive
rtoadjustthechannel
accordingly.
EachofthePresetbuttonpressesisconnectedtoaninputoftheAnalogInitialize
symbol.Theparameterofeachbuttonpressisthecorrespondingchannelnumber.This
channelnumberwillbetransmittedasanan
alogvaluetothemodule.