justsosonihao 发表于 2006-1-11 20:31

[分享]3M投影机控制协议

1. RS232 Setting<br>
Baud rate:9600<br>
Parity check: None<br>
Data bit: 8<br>
Stop bit: 1<br>Minimum delay for next command: 1ms<br>
<br>
2. Control Command Structure <br>
The command is structured by the Header code, command code, data code and end code. Most of the commands are structured except some for the compatibility issue with other projectors.<br>
<br>
Header code Command code Data code End code<br>
HEX 7Eh Command Data 0Dh<br>
ASCII ‘~’ Command Data CR<br>
<br>
<br>
3. Control Sequence<br>
The projector may send a return code after it received a command. If the command isn’t received correctly, the projector will not send the return code<br><br>
<br>
4. Operation Command<br>The operation commands execute the basic operation setting of this projector.<br>
Operation ASCII HEX<br>
Power On ※ ~ P N CR ※ 7Eh 50h 4Eh 0Dh<br>
Power Off ~ P F CR 7Eh 50h 46h 0Dh<br>
Auto Image ~ A I CR 7Eh 41h 49h 0Dh<br>
Input Select RGB ~ S R CR 7Eh 53h 52h 0Dh<br>
Input Select RGB2 ~ S G CR 7Eh 53h 47h 0Dh<br>
Input Select DVI ~ S D CR 7Eh 53h 44h 0Dh<br>
Input Select Video ~ S V CR 7Eh 53h 56h 0Dh<br>
Input Select S-Video ~ S S CR 7Eh 53h 53h 0Dh<br>
Input Select Component ~ S Y CR 7Eh 53h 59h 0Dh<br>
Input Select Wireless ~ S W CR 7Eh 53h 57h 0Dh<br>
※ Power On command will not work for 1 minute after the power off command triggered.<br>
※ CR : Carriage Return. <br>
<br>
5. Remote Command<br>
The remote commands simulate the code send from IR remote handset.<br>
Button’s name ASCII HEX<br>
UP arrow ~ r U CR 7Eh 72h 55h 0Dh<br>
DOWN arrow ~ r D CR 7Eh 72h 44h 0Dh<br>
LEFT arrow ~ r L CR 7Eh 72h 4Ch 0Dh<br>
RIGHT arrow ~ r R CR 7Eh 72h 52h 0Dh<br>
POWER ~ r P CR 7Eh 72h 50h 0Dh<br>
EXIT ~ r E CR 7Eh 72h 45h 0Dh<br>
INPUT ~ r I CR 7Eh 72h 49h 0Dh<br>
AUTO ~ r A CR 7Eh 72h 41h 0Dh<br>
KEYSTONE+ ~ r K CR 7Eh 72h 4Bh 0Dh<br>
KEYSTONE- ~ r J CR 7Eh 72h 4Ah 0Dh<br>
MENU ~ r M CR 7Eh 72h 4Dh 0Dh<br>
STATUS ~ r S CR 7Eh 72h 53h 0Dh<br>
MUTE ~ r T CR 7Eh 72h 54h 0Dh<br>
ZOOM+ ~ r Z CR 7Eh 72h 5Ah 0Dh<br>
ZOOM- ~ r Y CR 7Eh 72h 59h 0Dh<br>
BLANK ~ r B CR 7Eh 72h 42h 0Dh<br>
FREEZE ~ r F CR 7Eh 72h 46h 0Dh<br>
VOLUME+ ~ r V CR 7Eh 72h 56h 0Dh<br>
VOLUME- ~ r W CR 7Eh 72h 57h 0Dh<br>
Enter ~ r N CR 7Eh 72h 4Eh 0Dh<br>
<br>
6. Set Value Command<br>
ITEM ASCII HEX<br>
Brightness ~ s B ? CR ※ 7Eh 73h 42h ?h 0Dh<br>
Contrast ~ s C ? CR 7Eh 73h 43h ?h 0Dh<br>
Color ~ s R ? CR 7Eh 73h 52h ?h 0Dh<br>
Tint ~ s N ? CR 7Eh 73h 4Eh ?h 0Dh<br>
Scaling ~ s A ? CR 7Eh 73h 41h ?h 0Dh<br>
Color Temperature ~ s T ? CR 7Eh 73h 54h ?h 0Dh<br>
Projection Mode ~ s J ? CR 7Eh 73h 4Ah ?h 0Dh<br>
※ ? : ASCII Data <br>
<br>
Data Range<br>
ITEM Set Data Range Source<br>
Brightness 0 ~ 127 RGB<br>
0 ~ 200 Video<br>
Contrast 0 ~ 200 RGB / Video<br>
Color 0 ~ 200 Video<br>
Tint 0 ~ 200 Video<br>
Scaling 0: 4:3 1: 16:9RGB / Video<br>
Color Temperature 0:Cool 1:Normal 2:Warm 3:User RGB / Video<br>
Projection Mode 0:Front 1:Rear+Ceiling 2:Rear 3:Ceiling RGB / Video<br>
<br>
Attention: Data range may be different for different models<br>
<br>
Example 1. Adjust Brightness value to 100<br>Send Command : ~sB100CR<br>
<br>
Example 2. Adjust Color Temperature to Warm<br>Send Command : ~sT2CR<br>
<br>
7. Query Command<br>
ITEM ASCII HEX<br>
Software Version ~ q V CR 7Eh 71h 56h 0Dh<br>
Power State ~ q P CR 7Eh 71h 50h 0Dh<br>
Input Select ~ q S CR 7Eh 71h 53h 0Dh<br>
Lamp Hours ~ q L CR 7Eh 71h 4Ch 0Dh<br>
Brightness ~ q B CR 7Eh 71h 42h 0Dh<br>
Contrast ~ q C CR 7Eh 71h 43h 0Dh<br>
Color (Video) ~ q R CR 7Eh 71h 52h 0Dh<br>
Tint (Video) ~ q N CR 7Eh 71h 4Eh 0Dh<br>
Scaling ~ q A CR 7Eh 71h 41h 0Dh<br>
Color Temperature ~ q T CR 7Eh 71h 54h 0Dh<br>
Projection Mode ~ q J CR 7Eh 71h 4Ah 0Dh<br>
Response message<br>
ITEM Response Message examples <br>
Software Version SAA0. 23 <br>
Power State On Off <br>
Input Select RGB DVI Video S-Video DVD HDTV <br>
Lamp Hours 2000 <br>
Brightness 100 <br>
Contrast 100 <br>
Color (Video) 100 <br>
Tint (Video) 100 <br>
Scaling 4:3 16:9 <br>
Color Temperature Cool Normal Warm User <br>
Projection Mode Front Rear+Ceiling Rear Ceiling <br>

鹿角菜 发表于 2006-1-12 11:30

re:支持!!为三所的这位仁兄,无私的奉献...

支持!!<br>
为三所的这位仁兄,无私的奉献鼓掌.

ztm598 发表于 2006-3-23 17:38

re:下载了,学习中

下载了,学习中

panpan333 发表于 2009-12-12 21:42

学习一下,顺便支持一个

fapborden 发表于 2009-12-27 12:10

谢谢分分享!!!!!!!!!!!!!!!!!!!!

后起音光 发表于 2010-8-19 15:40

无私奉献 不过 如果是中文的就好了
页: [1]
查看完整版本: [分享]3M投影机控制协议

超薄音响 稀客领航