Download Crestron CNXFZ Specifications

Transcript
Crestron SIMPL™ Windows®
Software
•
For each input, one corresponding parameter: <str1> through <strN>
•
One serial output: <tx$>
Parameter
Serial Input/Output
•
One optional parameter: <delimiter>
Description
Serial Input
In the serial input form, the Serial I/O symbol drives a given output signal high if its
corresponding <str> parameter matches the <rx$> input.
At startup, the symbol sets up an internal buffer that is the size of the longest <str>
parameter. The buffer is "last in, first out", and thus shifts out the oldest data as new
data comes in. As data comes into the Serial I/O symbol, it is added to the buffer
and all the outputs are cleared (effectively making the outputs break before make).
The symbol then checks the string against all of the <str> parameters, and if a
match is found, it drives the corresponding output high.
Sometimes the same string data may enter the symbol twice in a row, and in these
cases the corresponding output will briefly go low and then high again. This
provides a rising edge that can be recognized by logic being driven by the symbol.
In addition, if the input contains the string "HelloWorld" and two <str> parameters
are defined as "Hello" and "World", the output corresponding to "Hello" will be
driven high first, and the output corresponding to "World" will be driven high next.
The optional <enable> input enables the symbol when high. When <enable> is low
the input is ignored and the outputs are driven low.
Serial Output
In the serial output form, the symbol transmits the string that corresponds to
whichever input signal goes high, on the rising edge of that signal.
The optional <enable> input enables the symbol when high. When <enable> is low
all inputs are ignored. If an input is high when <enable> goes low, that input will
be ignored when <enable> goes high again, until its next rising edge.
In both the input and output forms, the optional <delimiter> parameter appends the
specified character(s) to all <str> parameters. For example, if a protocol requires
that all strings to and from a device have a carriage return/linefeed, then
<delimiter> can be "\n".
See also Serial Send
Make String Permanent
The Make String Permanent symbol is available only in 2 Series processors.
Speed Key Names: msp, perm$
Signals
•
Any number of serial inputs: <string-i1$> through <string-iN$>
Description
The Make String Permanent symbol stores its input strings in memory for as long as
the current program is running. The serial data is removed from memory when the
program resets or shuts down.
168 • Crestron SIMPL™ Windows®
Symbol Guide – DOC. 6120