Serial Communication
Mirage WQ-L User Manual
64
020-101372-01 Rev. 1 (04-2014)
• Reply: The projector returns the data in response to a request or as confirmation of a
command.
All “Remote Control” information passes IN and OUT of the projector as a simple text message,
consisting of a three letter command code, an optional four-letter subcode, and any related data.
When a parameter for a specific source is being accessed, the four-letter subcode will be added on
to the Command code. A number of optional features (message acknowledges, checksums, and
network addressing) can be included.
Generally, most commands include 0 or 1 data fields or parameters. Where applicable, a message
may expand to include additional parameters of related details.
The smallest step size for any parameter is always 1. For some controls (i.e. Size) the value
displayed on the screen has a decimal point. (e.g. 0.200 to 4.000) In this case, the values used for
the serial communications is an integer value (e.g. 200 to 4000), not the decimal value seen on the
screen.
Regardless of message type or origin, all messages use the same basic format and code. Opening
and closing round brackets (parentheses) surround each message.
Basic Message Structure
The following component fields comprise a standard ASCII message. Optional fields, such as extra
characters for special modes, restrictions or added functionality, are shown in italics, with the
exception of Notes.
Start and End of Message
Every message begins with the “(” (left bracket) character and ends with the “)” (right bracket)
character.
Message Formats
Source
Message format
Function
Examples
From controller (Code Data)
SET (set gamma function of main
image to 222)
(BGF500) or (BGF 500)
(Code+Subcode Data) SET (set gamma function of image
to 222)
(BGF+SECD222) or
(BGF+SECD222)
From controller (Code ?)
REQUEST (what is current gamma
function?)
(BGF?) or (BGF ?)
(Code+Subcode ?)
REQUEST (what is current gamma
function?)
(BGF+SECD?) or (BGF+SECD ?)
From projector
(Code Data)
REPLY (gamma function is 222)
(BGF!222)
(Code+Subcode Data) REPLY (gamma function is 222)
(BGF+SECD!222)
i
If the start character (left bracket) is received before an end character of the previous
message, the partial (previous) message is discarded.