Part 35 — Analog Variable Preset
The Analog Variable Preset module in Crestron’s SIMPL programming is designed for controlling and smoothly transitioning (or “ramping”) analog outputs to specific target values, which can be useful for applications like lighting scenes, volume adjustments, or environmental control.
Analog Input <time>
:
This input sets the ramp time, which is the duration it will take for each output to transition from its current value to the target level specified in <level>
.
It’s recommended to use an Analog Initialize symbol to set <time>
in seconds, making the code portable across processors.
Analog Inputs <level1>
through <level999>
:
- These inputs define the target values for the corresponding outputs
<zone1>
through<zone999>
. - Each
<level>
input has a corresponding<zone>
output. For example,<level1>
controls the target value of<zone1>
,<level2>
for<zone2>
, and so on.
Digital Inputs <scene1>
through <scene999>
:
- These digital inputs trigger the ramping action. When a rising edge is detected on any
<scene>
input, the corresponding<zone>
output will start ramping to the target value set in<level>
. - For example, if
<scene1>
is activated,<zone1>
will ramp to the value of<level1>
.
Analog Outputs <zone1>
through <zone999>
:
- These are the actual analog outputs that will ramp from their current values to the corresponding target values set by
<level>
. - Once a
<scene>
is triggered, each<zone>
output will transition smoothly to its new value over the duration set by<time>
.
Digital Output <busy>
:
- This output indicates whether a ramp operation is in progress.
<busy>
will remain high (1) for the entire duration of<time>
while the ramp is active. - If a ramp is complete, or if the output already matches the target value when a
<scene>
is triggered,<busy>
will go low (0).