VPL-PX21, VPL-PX31 - Protocol

PROTOCOL MANUAL
VPL-PX21
VPL-PX31
WORLD
WORLD
VERSION 1.0
LCD DATA PROJECTOR
COPYRIGHT NOTICE
Copyright © by Sony Corporation.
All rights reserved. The copyright on all matters described in this manual belongs to Sony Corporation, and the contents are intended for use by purchasers of subject equipment.
Furthermore, Sony Corporation reserves the right to revise this publication and to make changes from time to time in the content hereof without obligation of Sony
Corporation to notify any person or organization of such revision or changes.
VPL-PX21/PX31
Table of Contents
1. Introduction .......................................................................
1
2. Communication Specifications ........................................
2
<RS-232C Communication Signal> .......................................................................... 2
3. Command Block Format ...................................................
3
4. Data of Code ......................................................................
4
5. Connection ........................................................................
6
<RS-232C Connection> ............................................................................................ 6
6. Communication Procedure ..............................................
7
6-1.
Outline of Communication ............................................................................. 7
6-2.
Reading the Command Tables ....................................................................... 7
7. Communication Rules ......................................................
8
8. Approximate Return Waiting Times ................................
9
9. Commands .......................................................................
11
1
1. Introduction
This protocol manual describes the basic configuration and basic operations of various commands used for projector. Projector can be controlled using the commands in the List of Commands provided in
Section 9 “COMMANDS”. Using an external CONTROLLER , etc., inputs can be switched and the power can also be turned on and off. In the following paragraphs, “CONTROLLER” means an external device such as a PC which controls projector using these commands.
VPL-PX21/PX31
1
2. Communication Specifications
<RS-232C Communication Signal>
. Full duplex communication channels (Flow control not performed.)
. Start-stop synchronism system
. Baud rate: 38.4 kbps (bits per second)
. The bit configuration is defined as follows.
1 START Bit
+ 8 DATA Bits + 1 PARITY Bit + 1 STOP Bit
START
BIT
D0
(LSB)
D1 D2 D3 D4 D5 D6 D7
(MSB)
PARITY STOP
(EVEN) BIT
EVEN Parity.....Total number of “1”s from D0 to D7 is an even number.
2
VPL-PX21/PX31
3. Command Block Format
The code from B0 to B (n)
+ 2 as described below are transmitted.
1
B0
Start Code
B1
Peripheral Index
B4
Device Index
B5
B6
Peripheral Index
B11
Cmd1
5
B14
Data Length 1
(B16
+
2)
(02
_
81 h)
Check Data Length
Bn
Data (n)
B7
4
B12
Cmd2
COMMAND
3
B8
Group Index
Sender (From) Index
B13
Cmd3
6
B15
Data Length 2
(00 h)
8
Data (n
+
1, 2, 3, 4...)
Data
Bm
Bn = B16
+
1
Bm = B16
+
Total Data Length
B9
7
B16
Data Length 3
(00
_
7 Fh)
Total Data Length
B16
Data Length
Device Index
B10
9
Bm
+
1
Check SUM
B2
2
B3
Group Index
Receiver (To) Index
0
Bm
+
2
End Code
VPL-PX21/PX31
3
4. Data of Code
1
Start Condition
Bn
B0
NAME
Start Code
DATE
(hex)
A5
NOTE
Indicates the first packet
2
INDEX Header
/
*--
RECEIVER INDEX
B1
B2
B3
B4
B5
PERIPHERAL INDEX
GROUP INDEX UPPER BYTE
GROUP INDEX LOWER BYTE
DEVICE INDEX UPPER BYTE
DEVICE INDEX LOWER BYTE
--
*/
01
00
01
00
01
01: Projector
Group Index = 0001 hex
Device Index = 0001 hex
/
*--
B6
B7
B8
B9
B10
SENDER INDEX --
*/
PERIPHERAL INDEX
GROUP INDEX UPPER BYTE
GROUP INDEX LOWER BYTE
DEVICE INDEX UPPER BYTE
DEVICE INDEX LOWER BYTE
03
00
01
00
01 - 63
03: Controller
Group Index = 0001 hex
Device Index = 0001 - 0063 hex
/
*--
B11
B12
B13
Command
CMD1
CMD2
CMD3
--
*/
00
80
90
Refer to attached
Refer to attached
Projector All
LCD Projector All
VPL-PX21, VPL-PX31
Note: CMD1 and CMD2 are assigned with different commands for each unit. Consequently, there is no compatibility of commands between units. For details of the commands, refer to the respective list of commands for the units. Since there is no index function of this unit, the receiver INDEX will be ignored even if the command is designated.
3
Sub Data Size
B14 Data Length 1 02 - 81 (B16 + 2) hex Data Size
Note: Error when 82 to FF hex codes are included.
4
Data Size 2
B15 Data Length 2
Note: Error when 01 to FF hex codes are included.
4
VPL-PX21/PX31
5
Data Size 3
B16 Data Length 3 00 7F Size of
6
Note: Error when 80 to FF hex codes are included.
6
Data
Bn - Bm Data
Bn = B16
+ 1
Bm = B16
+ Total Data Length
7
Check SUM
Bm + 1 Check Sum
XX
XX
No Data in some cases
Check sum of Data from
2
to
6
(Calculate the XOR of the Data from
2
to
6
)
XOR is the exclusive OR.
It is as follows when calculated by 1 bit.
Taking A XOR B = C;
A B C
0
1
0
1
0
0
1
1
0
1
1
0
<Example of Calculation>
When 0XA5 (165) and 0XA5 (165) are calculated by XOR;
A5 10100101 (165)
A5 10100101 (165)
Answer 00000000 (0)
When 0XA5 (165) and 0X5A (90) are calculated by XOR;
Answer
A5
5A
10100101 (165)
01011010 (90)
Answer 11111111 (255)
8
End Condition
Bm + 2 END Code 5A Indicates the last packet
VPL-PX21/PX31
5
5. Connection
<RS-232C Connection>
Communication is enabled by the use of a D-Sub 9 Pin cross (reverse) cable.
The pin assignment of D-Sub 9 Pin and D-Sub 25 Pin is as follows.
D-Sub 9 Pin
Shell = FG
3
2
6
5
7
8
1
4
9
D-Sub 25 Pin
1
2
3
6
7
4
5
8
20
22
FG
TxD
RxD
RTS
CTS
DSR
SG
DCD
DTR
RI
Name
Grounding for safety protection or cable shield
Transmission data
Reception data
Transmission request
Transmission permission
Data set ready
GND for signal
Data channel signal carrier detection
Data terminal ready
Calling display (Presence/absence of calling signal)
Pins indicated as D-Sub 25 Pin are not used.
Assured cable length: 15 m (However, assurance may not be applicable for some cables.)
The software for controlling the projector from a PC is intended for performing transmission and reception for only the TxD and RxD lines.
Therefore there is no handshake normally performed by RS-232C.
6
VPL-PX21/PX31
6. Communication Procedure
6-1. Outline of Communication
All communication between CONTROLLER (PC, etc.) and DEVICE (PROJECTOR) is performed by the command block format. Communication is started by the issue of a command at CONTROLLER and ended when the return data is sent to CONTROLLER after DEVICE receives the command.
CONTROLLER is prohibited from sending several commands at one time. This means that after
CONTROLLER sends one command, it cannot send other commands until DEVICE returns the return data. DEVICE sends the return data after processing the command. The time from when CONTROLLER sends the command until the return data is returned differs according to the contents of the command.
In some cases, CONTROLLER may receive data from DEVICE even though it has not sent a command.
(For example, during SYS setting, SIRCS command, and switcher information when switcher is selected.)
Note: When Sircs Direct Command (CMD1 = 17 hex) is sent, return data may not be returned in some cases.
6-2. Reading the Command Tables
The command tables can be found in Section 9 (page 11).
CMD1 indicates the command category. The ACK from the projector is returned attached with the command category sent from the controller. However, when errors of the communication line occur, 10 hex (COMMON) will be returned.
CMD2 indicates the command processing method and processing results. 00 hex (SET) is set when setting data from the controller to the projector or when requesting for data processing. 01 hex (GET) is set when acquiring data. 2 hex (RETURN) is set when returning the ACK of the command received from the projector to the controller and when attaching data. 03 hex (ACK) is set when returning only the processing results.
However, F0 hex (COMM NAK) is set when the command the projector receives from the controller has a communication line error or checksum inconsistency.
The top of each category indicates the meaning of the data.
VPL-PX21/PX31
7
7. Communication Rules
. When sending a command from CONTROLLER, the return data (CMD1 = 10 hex or CMD1 = each category value, CMD2 = 03 hex) from PROJECTOR should be received first before sending the next command. Even if the next command is sent before receiving the return data, since PROJECTOR will not be able to receive that command, it does not return a response to CONTROLLER. Consequently, no error code is also sent.
The following lists the approximate waiting times for PROJECTOR to return the return data after
CONTROLLER sends the command.
. When a communication error occurs, PROJECTOR ignores the data received until now, and set into the reception standby state.
. For undefined commands or commends determined as invalid by PROJECTOR, PROJECTOR will send the “NAK” return data to CONTROLLER .
. Take note that when data is written when the input signal of PROJECTOR is unstable, that data (value) will not be incorporated.
. When INDEX specified SIRCS direct command (CMD1 = 17 hex) is transmitted, leave an interval of
45 mSec until the next transmission. (Do not return the return data (ACK, NAK) when the SIRCS direct command is received.)
8
VPL-PX21/PX31
8. Approximate Return Waiting Times
CMD1
00
00
01
01
01
03
03
CMD2
00
01
01
00
01
00
00
DATA1
_
_
00
00
00
00
01
DATA2
_
_
01, 02
05
05
_
_
TIME (mSec)
20
20
20
20
20
25
20
Note: The times shown in this table are when communication is performed in the condition that it will not be interrupted by some reason.
VPL-PX21/PX31
9
9. Commands
A command is mainly classified into the following four categories. For more details of the command that can be set and acquired in each category, refer to Tables 1 to 7.
1. Adjust Category
FUNCTION CMD1 CMD2 DATA1 DATA2 DATA3 DATA6 DATA7 DATA8
ADJUST SET 00h OPTION 02h
DATA4 DATA5
Refer to SETTING
VALUE in Table 1.
N/A
DATA9
ADJUST GET
Category
Value
01h
Refer to ADJ USER
NO in Table 1.
N/A
ADJUST REPLY
00h
02h VALID 00h
LOWER
Minimum setting value
UPPER
Maximum setting value
Refer to SETTING
VALUE in Table 1.
ADJUST ACK/NAK 03h ACK/NAK DATA N/A
Table 1
FUNCTION
INPUT
CONTRAST
BRIGHTNESS
COLOR
HUE
SHARPNESS
RGBENHANCER
VOLUME
COLTEMP
ASPECT
SCANCONV
PICTURE MUTING
AUDIO MUTING
INPUT A
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
GAIN RED
GAIN GREEN
GAIN BLUE
BIAS RED
BIAS GREEN
BIAS BLUE
VPL-PX21/PX31
ADJ USER NO
DATA1 DATA2
00h
01h
00h
00h
00h
00h
00h
00h
21h
30h
31h
32h
10h
11h
12h
13h
14h
15h
16h
17h
20h
80h
81h
82h
83h
84h
85h
DATA4
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
01h
00h
00h
01h
02h
03h
00h - FFh
00h - FFh
00h - FFh
00h - FFh
00h - FFh
00h - FFh
00h - 64h
00h - 64h
00h
01h
01h
00h
01h
00h
01h
00h
01h
02h
03h
00h - 64h
00h - 64h
00h - 64h
00h - 64h
00h - 64h
SETTING VALUE
DATA5 MEANING OF DATA
VIDEO
S-VIDEO
INPUT A
INPUT B
CURRENT SETTING VALUE (0 - 100)
CURRENT SETTING VALUE (0 - 100)
CURRENT SETTING VALUE (0 - 100)
CURRENT SETTING VALUE (0 - 100)
CURRENT SETTING VALUE (0 - 100)
CURRENT SETTING VALUE (0 - 100)
CURRENT SETTING VALUE (0 - 100)
LOW
HIGH
NORMAL 4:3
WIDE 16:9
ON
OFF
ON
OFF
ON
OFF
COMPUTER
COMPONENT
DTV-YPBPR
DTV-GBR
CURRENT SETTING VALUE (0 - 255)
CURRENT SETTING VALUE (0 - 255)
CURRENT SETTING VALUE (0 - 255)
CURRENT SETTING VALUE (0 - 255)
CURRENT SETTING VALUE (0 - 255)
CURRENT SETTING VALUE (0 - 255)
OPERATING STATUS
SET GET STANBY
START
SEQUENCE
11 11
POWER STATUS
SAVING
COOLING2
SAVING
STANBY
2. Du Category
FUNCTION
DU SET
DU GET
DU REPLY
DU ACK/NAK
CMD1
Category
Value
01h
Table 2
FUNCTION
DU USER NO
DATA1 DATA2
CMD2
00h
01h
02h
03h
DATA1 DATA2
Refer to DU USER NO in Table 2.
DATA3
Refer to SIZE in Table 2.
Refer to SIZE in Table 2.
Refer to SIZE in Table 2.
ACK/NAK DATA
DATA4 DATA5 DATA6
Refer to SETTING VALUE in Table 2.
DATA7
N/A
N/A
DATA
ERROR STATUS 00h
POWER STATUS 00h
CONTROL MODE
SELECT
TOTAL LAMP
TIMER
00h
00h
01h
02h
05h
13h
SIZE
DATA3
01h
01h
01h
DATA4
04h
05h
06h
07h
40h
00h
01h
02h
03h
00h
01h
02h
04h
08h
10h
20h
08h
00h
01h
DATA5
02h
0000h - FFFFh
N/A
SETTING VALUE/RETURN VALUE
DATA6 DATA7 MEANING OF DATA
N/A
N/A
N/A
NO ERROR
LAMP ERROR
FAN ERROR
COVER ERROR
TEMP ERROR
D5V ERROR
POWER ERROR
WARNING ERROR
STANBY
START UP
STARTUP LAMP
POWER ON
COOLING1
COOLING2
SAVING COOLING1
SAVING COOLING2
SAVING STANBY
USER
SERVICE
TOTAL LAMP TIMER
OPERATING STATUS
SET GET
POWER STATUS
STANBY
START
SEQUENCE
POWER ONCOOLING1COOLING2 SAVING
COOLING1
SAVING
COOLING2
SAVING
STANBY
12 12
VPL-PX21/PX31
3. SIRCS Category
FUNCTION
SIRCS
CMD1
Category
Value 17h
Table 3
REPEAT
00h
01h
CMD2
00h
DATA1 DATA2
Refer to Table 4.
DATA3
Refer to Tables
5 and 6.
DATA4
REPEAT
REPEAT
OPERATING STATUS
Equivalent to the SircsCode transmitted in single-shot (Single pressing of a remote control)
Equivalent to the SircsCode occurred continuously (Continuous pressing of a remote control)
Continuous pressing is considered to be performed the number of <REPEAT NUMBER> times.
DATA5 DATA6
REPEAT NUMBER
Table 4
BIT
15BIT
20BIT
CATEGORY
DATA1
40h
85h
DATA2
54h
5Ah
VPL-PX21/PX31
13 13
Table 5
List of SIRCS CODE
(1) 15BIT Category
x0
6x
7x
4x
5x
2x
3x
0x
1x x1 x2 x3 x4
HUE
+
PURPLISH
HUE
_
GREENISH
VOLUME
+
UP
SHARPNESS
+
SHARP
VOLUME
_
DOWN
SHARPNESS
_
SOFT
CURSOR
→
AUDIO
MUTING
PICTURE
MUTING
CURSOR
←
ADJ R ADJ G ADJ B
W/B GAIN W/B BIAS
x5 x6
POWER
ON/OF
STATUS
ON
CURSOR
↑
STATUS
OFF
CURSOR
↓
x7 x8
CONTRAST
+
HIGH
CONTRAST
_
LOW
MENU
COLOR
+
HIGH
VIDEO
RGB SIZE RGB SHIFT
INPUT SELECT BLANKING
x9 xA xB
COLOR
_
LOW
INPUT A
xF
BRITNESS
+
BRIGHT
BRITNESS
_
DARK
POWER ON POWER OFF
ENTER MEMORY
RESET
xC
INPUT B
xD xE
PATTERN
Table 6
(2) 20BIT Category
x0
6x
7x
4x
5x
2x
3x
0x
1x
APA
x1
DOT PHASE
x2 x3 x4 x5 x6
HELP
x7 x8 x9 xA xB
FUNCTION1 FUNCTION2 DIGITAL
ZOOM
+
DIGITAL
ZOOM
_
xC xD xE xF
14 14
VPL-PX21/PX31
4. Memory Category
FUNCTION
MEMORY SET
CMD1
Category
Value
03h
Table 7
FUNCTION
MEMORY
DATA1
RESET
00h
SAVE
01h
CMD2
00h
DATA1 DATA2
Refer to SETTING Refer to SETTING
VALUE in Table 7.
VALUE in Table 7.
SETTING VALUE
DATA2
MEANING OF DATA
01h
02h
03h
04h
05h
06h
Channel Memory
Status Memory
Set Memory
W/B ALL
W/B LOW
W/B HIGH
OPERATING STATUS
SET GET
POWER STATUS
STANBY
START
SEQUENCE
POWER ONCOOLING1COOLING2 SAVING
COOLING1
SAVING
COOLING2
SAVING
STANBY
<ACK>
ACK
FUNCTION CMD1
EACH
CATEGORY
VALUE
CMD2
ACK 03h
COMMON
10h
DATA1
ACK/NAK
DATA2
DATA
00 ACK
01 NAK
COMM NAK
F0h
COMM ERROR
10 CHECK SUM ERROR
20 FRAMING ERROR
30 PARITY ERROR
40 OVER RUN ERROR
50 OTHER COMM ERROR
00 DUMMY
01 UNDEFINED
COMMAND
04 SIZE ERROR
05 SELECT ERROR
06 RANGE OVER
0A NOT APPLICABLE
VPL-PX21/PX31
15 15
Examples of command transmission
(1) Command of "POWER ON" Sircs
<Transmitting command>
Receiver (To) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
01h 00h 01h 00h 01h
Sender (From) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
03h 00h 01h 00h 01h
CMD1 CMD2 CMD3
CATEGORY SET
17h 00h 80h
CHECK DATA
08h
DATA LENGTH
00h 06h
DATA1 DATA2 DATA3 DATA4 DATA5 DATA6
PJ SIRCS CODE SIRCS CODE REPEAT REPEAT NUMBER
40h 54h 2Eh 00h 00h 00h
CHECK SUM
A1h
END CODE
5Ah
(2) Command to set "INPUT A" to "COMPUTER"
<Transmitting command>
Receiver (To) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
01h 00h 01h 00h 01h
Sender (From) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
03h 00h 01h 00h 01h
CMD1 CMD2 CMD3
CATEGORY SET
00h 00h 80h
CHECK DATA
07h
DATA LENGTH
00h 05h
DATA1 DATA2 DATA3 DATA4 DATA5
ADJ USER NO OPTION DATA
00h 32h 02h 00h 00h
CHECK SUM
B0h
END CODE
5Ah
16 16
VPL-PX21/PX31
<Receiving command: ACK>
Receiver (To) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
03h 00h 01h 00h 01h
Sender (From) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
01h 00h 01h 00h 01h
CMD1 CMD2 CMD3
CATEGORY ACK/NAK
00h 03h 80h
CHECK DATA
04h
DATA1 DATA2
ACK DUMMY
00h 00h
DATA LENGTH
00h 02h
CHECK SUM
87h
END CODE
5Ah
(3) Signals acceptable to "INPUT A"
<Transmitting command>
Receiver (To) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
01h 00h 01h 00h 01h
Sender (From) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
03h 00h 01h 00h 01h
CMD1 CMD2 CMD3
CATEGORY GET
00h 01h 80h
CHECK DATA
04h
DATA1 DATA2
ADJ USER NO
00h 32h
DATA LENGTH
00h 02h
CHECK SUM
B7h
END CODE
5Ah
VPL-PX21/PX31
17 17
<Receiving command: ADJUST REPLY >
Receiver (To) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
03h 00h 01h 00h 01h
Sender (From) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
01h 00h 01h 00h 01h
CMD1 CMD2 CMD3
CATEGORY REPLY
00h 02h 80h
CHECK DATA
0Bh
DATA LENGTH
00h 09h
DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8 DATA9
ADJ USER NO FIXED LOWER UPPER DATA
00h 32h 00h 00h 00h 00h 03h 00h 00h
CHECK SUM
B3h
END CODE
5Ah
18 18
VPL-PX21/PX31
(4) Command to get "CURRENT ERROR"
<Transmitting command>
Receiver (To) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
01h 00h 01h 00h 01h
Sender (From) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
03h 00h 01h 00h 01h
CMD1 CMD2 CMD3
CATEGORY GET
01h 01h 80h
CHECK DATA
05h
DATA LENGTH
00h 03h
DATA1 DATA2 DATA3
DU USER NO DATA SIZE
00h 01h 01h
CHECK SUM
84h
END CODE
5Ah
<Receiving command: DU REPLY >
Receiver (To) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
03h 00h 01h 00h 01h
Sender (From) INDEX
PERIPHERAL INDEX GROUP INDEX DEVICE INDEX
01h 00h 01h 00h 01h
CMD1 CMD2 CMD3
CATEGORY REPLY
01h 02h 80h
CHECK DATA
06h
DATA LENGTH
00h 04h
DATA1 DATA2 DATA3 DATA4
DU USER NO DATA SIZE DATA
00h 01h 01h 00h
CHECK SUM
83h
END CODE
5Ah
VPL-PX21/PX31
19 19
9-929-690-61
Sony Corporation
Communication System Solutions Network Company
English
00JY22-1
Printed in Japan
©2000.10
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement