Command format [tcp #23 – Hitachi CP-X206 User Manual

Page 10

Advertising
background image

0

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 + CRC_low + CRC_high

CRC_low: Lower byte of CRC flag for command data

CRC_high: Upper byte of CRC flag for command data
3. Command data

Command data chart

byte_0

byte_

byte_2

byte_3

byte_4

byte_5

Action

Type

Setting code

low

high

low

high

low

high

Action (byte_0 - )

Action

Classification

Content



Set

Change setting to desired value.

2

Get

Read projector internal setup value.

4

Increment

Increment setup value by .

5

Decrement

Decrement setup value by .

6

Execute

Run a command.

Requesting projector status (Get command)

() Send the following request code from the PC to the projector.

Header + 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)

() Send the following setting code from the PC to the projector.

Header + 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)

() The PC sends the following default setting code to the projector.

Header + Command data (‘06H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)

(2) The projector changes the specified setting to the default value.

(3) The projector returns the response code ‘06H’ to the PC.
Increasing the projector setting value (Increment command)

() The PC sends the following increment code to the projector.

Header + 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.

Advertising