Crestron
e-control Mail SW-MAIL
51
••
Control Messages
Installation & Reference Guide — Doc. 5798
$FFFF. See “Base 16 used for notational purposes” on page
66 for more information about hexadecimal.
Embedded spaces are ignored.
Digital
To assert the signal, specify one of:
Assert, True, On,
1, Yes, Set, Ok,
or
Okay
To de-assert the signal, specify one of:
Deassert
,
De-
assert, False, Off, 0, No, Reset,
or
Cancel
Case is not significant and embedded spaces are ignored.
Serial
Up to 83 characters. Note that the string is “trimmed” which
means that leading and trailing spaces are ignored. Case and
embedded spaces are retained verbatim.
Example
The following example of a multi-signal control message can be sent to the control
system’s mailbox for reading by Demo4. Using your usual mail client software,
create a new e-mail message with
CTRL> SCRIPT
in the subject header. Paste the following script into the body of the message. (Be
sure to neutralize any formatting that may come along with the paste action!)
Test script. Any lines that do not begin with CTRL> are
ignored and can be used for comments (such as this line). (1)
Turn on first and last digitals:
CTRL>d1=yes
CTRL>d3=on
Notice in the above that 'yes' and 'on' are equivalent; see
documentation for additional synonyms. (2) Set the three
analog gauges to 1/3, 2/3, and 3/3:
CTRL>a1=21845
CTRL > a2 = 43 691
CTRL>a3=65535
Notice in the above that spaces are generally ignored. (3) Set
some indirect text:
CTRL>s1=“Cogito, ergo, sum.”
CTRL>s2=[I think; therefore I am.]
CTRL> s3 = — René Descartes
Spaces before the equals sign are ignored as usual. Although
the serial signal strings are "trimmed" (which means that
leading and trailing spaces are removed), spaces embedded
within the strings are sent verbatim. Therefore, the spaces
within the above quote are properly retained. However, the
three spaces before the dashes in the second string are trimmed
off.
CTRL>end
The above END command is optional. When present, it terminates
scanning of the text at that point. Therefore, the following
command is ineffectual:
CTRL>d2=1