10
Command Control via the Network (continued)
Command Format
[TCP #23]
1. Protocol
Consist of header (7 bytes) + command data (6 bytes)
2. Header
BE + EF + 03 + 06 + 00 + C CRC_high
&5&BORZ/RZHUE\WHRI&5&ÀDJIRUFRPPDQGGDWD
&5&BKLJK8SSHUE\WHRI&5&ÀDJIRUFRPPDQGGDWD
3. Command data
Command data chart
byte_0
byte_1
byte_2
byte_3
byte_4
byte_5
Action
Type
Setting code
low
high
low
high
low
high
Action (byte_0 - 1)
Action
&ODVVL¿FDWLRQ
Content
1
Set
Change setting to desired value.
2
Get
Read projector internal setup value.
4
Increment
Increment setup value by 1.
5
Decrement
Decrement setup value by 1.
6
Execute
Run a command.
Requesting projector status (Get command)
(1) Send the following request code from the PC to the projector.
Command data (‘02H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)
(2) The projector returns the response code
‘1DH’ + data (2 bytes)
to the PC.
Changing the projector settings (Set command)
(1) Send the following setting code from the PC to the projector.
Command data (‘01H’ + ‘00H’ + type (2 bytes) + setting code (2 bytes))
(2) The projector changes the setting based on the above setting code.
(3) The projector returns the response code
‘06H’
to the PC.
Using the projector default settings (Reset Command)
(1) The PC sends the following default setting code to the projector.
Command data (‘06H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)
7KHSURMHFWRUFKDQJHVWKHVSHFL¿HGVHWWLQJWRWKHGHIDXOWYDOXH
(3) The projector returns the response code
‘06H’
to the PC.
Increasing the projector setting value (Increment command)
(1) The PC sends the following increment code to the projector.
Command data (‘04H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)
(2) The projector increases the setting value on the above setting code.
(3) The projector returns the response code
‘06H’
to the PC.