69
CP-A52 / ED-A101 / ED-A1
1
1
(A1B-20)
10. 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 + C 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
RS-232C Communication
(continued)
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’)
(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.
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.
Decreasing the projector setting value (Decrement command)
(1) The PC sends the following decrement code to the projector.
Command data (‘05H’ + ‘00H’ + type (2 bytes) + ‘00H’ + ‘00H’)
(2) The projector decreases the setting value on the above setting code.
(3) The projector returns the response code
‘06H’
to the PC.
When the projector cannot understand the received command
When the projector cannot understand the received command, the error code
‘15H’
is sent back to the PC.
Sometimes the projector cannot properly receive the command. In such a case,
the command is not executed and the error code
‘15H’
is sent back to the PC. If
this error code is returned, send the same command again.
When the projector cannot execute the received command.
When the projector cannot execute the received command, the error code
‘1CH’ +
‘xxxxH’
is sent back to the PC.
When the data length is greater than indicated by the data length code, the
projector ignore the excess data code. Conversely when the data length is shorter
than indicated by the data length code, an error code will be returned to the PC.
NOTE
• Operation cannot be guaranteed when the projector receives an undefined
command or data.
• Provide an interval of at least 40ms between the response code and any other code.
• The projector outputs test data when the power supply is switched ON, and when the
lamp is lit. Ignore this data.
• Commands are not accepted during warm-up.
Содержание CP-A52 A1B-20
Страница 14: ...14 CP A52 ED A101 ED A111 A1B 20 5 Troubleshooting Check points ...
Страница 78: ...80 CP A52 ED A101 ED A111 A1B 20 MEMO ...
Страница 79: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G POWER UNIT BALLAST 1 ...
Страница 80: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G POWER UNIT BALLAST 2 ...
Страница 81: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G POWER UNIT CIRCUIT 1 ...
Страница 82: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G POWER UNIT CIRCUIT 2 ...
Страница 84: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 1 ...
Страница 85: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 2 ...
Страница 86: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 3 ...
Страница 87: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 4 ...
Страница 88: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 5 ...
Страница 89: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 6 ...
Страница 90: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 7 ...
Страница 91: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 8 ...
Страница 92: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 9 ...
Страница 93: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 10 ...
Страница 94: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 11 ...
Страница 95: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 12 ...
Страница 96: ...CP A52 ED A101 ED A111 A1B 20 1 2 3 4 5 6 1 2 3 4 5 6 A B C D E F G PWB assembly MAIN 13 ...