BASIC OPERATION
3-44
CP2000-X User Manual
020-100031-01 Rev. 1 (03-2009)
START AND END OF MESSAGE:
Every message begins with the “
(
“character and ends
with the “
)
“ character. Note that if the start character is received before an end
character of the previous message, the partial (previous) message is discarded.
FUNCTION CODE:
The function you wish to work with, such as channel switching or
picture mute, is represented by a three-character ASCII code (A-Z, upper or lower
case). This function code appears immediately after the leading “
(
“ that starts the
message.
REQUEST/REPLY SYMBOL:
If the controller is
requesting
information from the
projector, a “
?
” question mark appears directly after the function code. If the
projector is
replying
, a “
!
” exclamation mark appears directly after the function code.
For
set
messages, neither of these characters appear—the code is followed by the data
itself (see next paragraph).
DATA:
The value for a given projector parameter, such as on or off, appears in ASCII-
decimal format directly after the request/reply symbol. Unless you add an optional
space after the symbol (i.e., before the data) in a
set
message, data immediately
follows the request/reply symbol without a space. Other details about data:
All values returned by the projector (
reply
messages) have a fixed length of
either 3 or 5 characters regardless of the actual value—the value is padded with
leading zeros as needed.
Data in
set
messages does not require padding.
For any given parameter, data length is always the same. E.g., the
picture mute
value, which is either “on” (1) or “off” (0) is always 3-digits: 001 or 000.
Within one message, multiple parameters of data must be separated by one
“
space
” character.
Data pertaining to a specific source other than the current source is preceded by:
the letter “S”, the source number (i.e., channel), and a space. This is similar to an
“extra” parameter P0.
Text parameters such as channel names are enclosed in double quotes following
the data, as in
“
Name
”
.
TEXT PARAMETERS:
Most data is simply a numerical value, however some messages
also require text. For example, a
channel naming
message typically includes a text-
based name after the channel number—enclose this text in double quotation marks,
as in
“
Tilt the Wagon
”
. Use all characters as desired
except
for the following special
characters—these require a 2-character combination as shown:
Table 3.11. Special Characters for Text
If you want this… Enter this… Description
\ \\
Backslash
“ \“
Quote
( \(
Left
bracket
) \)
Right
bracket
0x0A
\n
New line - if the text can be displayed on more than one line,
this will cause the next character to be displayed at the start
of the line that follows the current one.
0x1B
\x
control code (ESC)
Message
Components
And
Structure
Содержание CP2000-X
Страница 1: ...CP2000 X U S E R M A N U A L 020 100031 01...
Страница 2: ......
Страница 42: ......
Страница 102: ......
Страница 112: ......
Страница 130: ......
Страница 135: ...SPECIFICATIONS CP2000 X User Manual 8 5 020 100031 01 Rev 1 03 2009...
Страница 160: ......