Hitachi CPX2510 Technical Manual - Page 7

RS-232C Communication

Page 7 highlights

RS-232C Communication RS-232C Communication 1 23 45 67 8 9 1 23 45 67 8 9 CONTROL port of the projector RS-232C cable (cross) - (1) RD (2) TD (3) - (4) GND (5) - (6) RTS (7) CTS (8) (1) CD (2) RD (3) TD (4) DTR (5) GND (6) DSR (7) RTS (8) DTS RS-232C port of the computer - (9) (9) RI Connecting the cable Turn off the projector and the computer. 1. Connect the CONTROL port of the projector with a RS-232C port of 2. the computer by a RS-232C cable (cross). Use the cable that fulfills the specification shown in the previous page. Turn the computer on, and after the computer has started up turn the 3. projector on. Communications setting 19200bps, 8N1 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 Action low high Action (byte_0 - 1) byte_2 byte_3 Type low high byte_4 byte_5 Setting code low high Action 1 2 4 5 Classification Set Get Increment Decrement Content Change setting to desired value. Read projector internal setup value. Increment setup value by 1. Decrement setup value by 1. 6 Execute Run a command. 7

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18

7
RS-232C Communication
RS-232C Communication
Connecting the cable
1.
Turn off the projector and the computer.
2.
Connect the
CONTROL
port of the projector with a RS-232C port of
the computer by a RS-232C cable (cross). Use the cable that fulfills the
specification shown in the previous page.
3.
Turn the computer on, and after the computer has started up turn the
projector on.
Communications setting
19200bps, 8N1
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.
6
7
8
9
1
2
3
4
5
6
7
8
9
1
2
3
4
5
CONTROL
port
RS-232C cable (cross)
RS-232C port
of the projector
of the computer
- (1)
(1) CD
RD (2)
(2) RD
TD (3)
(3) TD
- (4)
(4) DTR
GND (5)
(5) GND
- (6)
(6) DSR
RTS (7)
(7) RTS
CTS (8)
(8) DTS
- (9)
(9) RI