Hitachi CP-X615, CP-X705 user manual Command Format TCP #23, Protocol, Header, Command data

Models: CP-X705 CP-X615

1 25
Download 25 pages 22.93 Kb
Page 10
Image 10
Command Format

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_1

 

byte_2

byte_3

 

byte_4

 

byte_5

 

Action

 

 

Type

 

Setting code

 

low

high

 

low

high

 

low

 

high

 

Action (byte_0 - 1)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Action

Classification

 

 

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.

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)

(1)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)

(1)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)

(1)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.

10

Page 10
Image 10
Hitachi CP-X615 Command Format TCP #23, Header + Command data ‘02H’ + ‘00H’ + type 2 bytes + ‘00H’ + ‘00H’, Protocol