Projection Display Serial Interface 6-1 rs232 Setting




Дата канвертавання28.04.2016
Памер91.42 Kb.

6. How To Program By RS232
Projection Display Serial Interface

6-1 RS232 Setting

Baud rate:

9600

Parity check:

None

Data bit:

8

Stop bit:

1

Flow Control

None

Minimum delay for next command: 1ms



6-2 Control Command Structure 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.




Header code

Command code

Data code




End code

HEX

7Eh

Command

Data




0Dh

ASCII

‘~’

Command

Data




CR





6-3 Control Sequence

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

6-4 Operation Command

The operation commands execute the basic operation setting of this projector.

Operation

ASCII ~ P N CR ~ P F CR ~ A I CR ~ S R CR ~ S G CR

HEX

Power On ϡ

ϡ

7Eh 50h 4Eh 0Dh

Power Off




7Eh 50h 46h 0Dh

Auto Image




7Eh 41h 49h 0Dh

Input Select RGB




7Eh 53h 52h 0Dh

Input Select RGB2




7Eh 53h 47h 0Dh

Input Select DVI

~ S D CR ~ S V CR ~ S S CR ~ S Y CR ~ S W CR

7Eh 53h 44h 0Dh

Input Select Video




7Eh 53h 56h 0Dh

Input Select S-Video




7Eh 53h 53h 0Dh

Input Select Component




7Eh 53h 59h 0Dh

Input Select Wireless




7Eh 53h 57h 0Dh

* Power On command will not work for 1 minute after the power off command triggered.



z Carriage Return.

6-5 Remote Command

The remote commands simulate the code send from IR remote handset.

Button’s name

ASCII ~ r U CR ~ r D CR ~ r L CR ~ r R CR ~ r P CR ~ r E CR

HEX

UP arrow




7Eh 72h 55h 0Dh

DOWN arrow




7Eh 72h 44h 0Dh

LEFT arrow




7Eh 72h 4Ch 0Dh

RIGHT arrow




7Eh 72h 52h 0Dh

POWER




7Eh 72h 50h 0Dh

EXIT




7Eh 72h 45h 0Dh

INPUT

~ r I CR ~ r A CR ~ r K CR ~ r J CR ~ r M CR ~ r S CR ~ r T CR

7Eh 72h 49h 0Dh

AUTO




7Eh 72h 41h 0Dh

KEYSTONE+




7Eh 72h 4Bh 0Dh

KEYSTONE-




7Eh 72h 4Ah 0Dh

MENU




7Eh 72h 4Dh 0Dh

STATUS




7Eh 72h 53h 0Dh

MUTE




7Eh 72h 54h 0Dh

ZOOM+

~ r Z CR ~ r Y CR ~ r B CR ~ r F CR ~ r V CR ~ r W CR ~ r N CR

7Eh 72h 5Ah 0Dh

ZOOM-




7Eh 72h 59h 0Dh

BLANK




7Eh 72h 42h 0Dh

FREEZE




7Eh 72h 46h 0Dh

VOLUME+




7Eh 72h 56h 0Dh

VOLUME-




7Eh 72h 57h 0Dh

Enter




7Eh 72h 4Eh 0Dh


6-6. Set Value Command

ITEM

ASCII ~ s B ? CR ~ s C ? CR ~ s R ? CR ~ s N ? CR

HEX

Brightness

ϡ

7Eh 73h 42h ?h 0Dh

Contrast




7Eh 73h 43h ?h 0Dh

Color




7Eh 73h 52h ?h 0Dh

Tint




7Eh 73h 4Eh ?h 0Dh

Scaling ~ s

A ? CR ~ s T ? CR ~ s J ? CR

7Eh 73h 41h ?h 0Dh

Color Temperature




7Eh 73h 54h ?h 0Dh

ojection Mode Pr




7Eh 73h 4Ah ?h 0Dh

: ASCII Data ?






Data Range


Attention: Data range may be different for different models Example 1. Adjust Brightness value to 100

Send Command : ~sB100CR

Example 2. Adjust Color Temperature to Warm

Send Command : ~sT2CR

6-7. Query Command

ITEM

ASCII ~ q V CR ~ q P CR ~ q S CR ~ q L CR ~ q B CR ~ q C CR

HEX

Software Version




7Eh 71h 56h 0Dh

Power State




7Eh 71h 50h 0Dh

Input Select




7Eh 71h 53h 0Dh

Lamp Hours




7Eh 71h 4Ch 0Dh

Brightness




7Eh 71h 42h 0Dh

Contrast




7Eh 71h 43h 0Dh

Color (Video)

~ q R CR ~ q N CR ~ q A CR ~ q T CR ~ q J CR

7Eh 71h 52h 0Dh

Tint (Video)




7Eh 71h 4Eh 0Dh

Scaling




7Eh 71h 41h 0Dh

Color Temperature




7Eh 71h 54h 0Dh

Projection Mode




7Eh 71h 4Ah 0Dh

Response message



ITEM

MessageResponse examples On Off RGB DVI Video Component DVD




Software Version …..







Power State







Input Select

S-Video







HDTV










Lamp Hours 2000 100







Brightness







Contrast 100 100







Color (Video)







Tint (Video) 100 4:3 16:9 Cool Normal Front Rear+Ceiling Rear







Scaling







Color Temperature







Projection Mode

Ceiling







Example 1.

Get Brightness value




Send Command : ~qBCR




Response : 100

Example 2.

Get Color Temperature




Send Command : ~qTCR


Response : Warm

6-8. Hyper Terminal setting guide

6-8-1 Connect the RS232 Cable between your computer and ProjectorΖ

6-8-2 Open HyperTerminal Δ

Window2000/XP HyperTerminal pathΚ

Start \ Programs \ Accessories \ Communications \ HyperTerminalΖ

6-8-3 Setting the HyperTerminal parameterΚ

Step 1. Type the connection name .
Step2 . Choose the COM port for your RS232 Cable connected to.

Step3. In Bits per second choose “ 9600 ” and in Flow control choose “ None ”Ζ Step4. Click the File and choose Properties to setting Keyboard parameterΖ
Step5. In Setting page , choose Emulation type for your keyboard.

Step6. Click ASCII Setting icon to setup ASCII code parameter.

Step7. Mark Send Line ends with line feeds and Echo typed characters locally and click OK bottom to complete setting.



База данных защищена авторским правом ©shkola.of.by 2016
звярнуцца да адміністрацыі

    Галоўная старонка