DS+65, DS+650 Projectors RS232 LAN and communication protocol DS+65, DS+650 RS232 and LAN Technical Reference Information 020-000056-02 Rev.
TABLE OF CONTENT 2 1 REVISION HISTORY 4 2 SETTING UP LAN COMMUNICATION 5 2.1 SETTING THE IP ADDRESS 5 2.2 CONNECTING TO THE PROJECTOR 6 3 HOW TO USE THE PROJECTORS LAN FUNCTIONALITY 7 4 SETTING UP RS232 COMMUNICATION 8 4.1 CONNECT TO THE PROJECTOR 8 4.2 RS232 COMMUNICATION PARAMETERS 8 5 SEND AND RECEIVE BINARY PACKETS 8 5.1 ABOUT THE PROTOCOL 8 5.2 SET_OPERATIONS 8 5.3 GET_OPERATIONS 8 5.4 INCREMENT_ AND DECREMENT_OPERATIONS 9 5.5 EXECUTE_OPERATIONS 9 5.
APPENDIX A, BINARY OPERATION PACKET TYPE 21 A.1 OPERATION PACKET TYPE 21 A.2 OPERATION PACKET PAYLOAD FORMAT 21 B, BINARY PACKETS IN HEXADECIMAL VALUES 22 APPENDIX APPENDIX C, RS232 DAISY CHAINING 28 C.1 ABOUT THE PROTOCOL 28 C.2 ADDRESS MODES 28 C.2.1 AUTO ADDRESS MODE 28 C.2.2 FIXED ADDRESS MODE 28 C.2.3 BROADCAST 28 C.3 BAUD RATE 28 C.4 SPECIAL SHORT MESSAGES 29 C.5 EXAMPLES 29 APPENDIX D, ADJUSTING CUSTOM COLOR TEMP USING RS232 20 D.
1 REVISION HISTORY 4 Document Rev Release Date Revised LAN and RS-232 communication protocol and command set 1.0 15/02/06 Initial Owner DS+65, DS+650 RS232 and LAN Technical Reference Information 020-000056-02 Rev.
2 SETTING UP LAN COMMUNICATION The projector is shipped with a set of default settings, these are as follows: Description Value IP address 192.168.1.90 Subnet mask 255.255.255.0 Default gateway 192.168.1.1 TCP port 1025 UDP port 1225 Username admin Password admin 2. Doubleclick on the network connection that represents your LAN, select “properties”, then doubleclick “Internet Protocol (TCP/IP). Before you connect the projector to your LAN make sure that the IP address 192.168.1.
2.2 Connecting to the projector You have two options regarding how to make the physical connection to the projector. You can either use a crossover twisted pair (TP) cabel directly from the computer to the projector, or two straight-through TP cables with a HUB or a switch between them. Type in the projectors default login name (admin) and password (admin), both are case sensitive.
3 HOW TO USE THE PROJECTORS LAN FUNCTIONALITY Once the projector is setup correctly and connected to the LAN, it’s ready to receive commands. The LAN commands is exactly the same as for RS232 control, although you may have to pass on the commands to the projector with a different application. To send an eOperation to the projector, select ”Transfer” and then ”Send Text File...”. HyperTerminal that comes with Windows, can be used for this. - Start up HyperTerminal, click ”File” and then ”New Connection”.
5 SEND AND RECEIVE BINARY PACKETS 4 SETTING UP RS232 COMMUNICATION This section applies to single projector control with no address information. Please, refer to Appendix B for detailed information about RS232 daisy-chaining. 4 ESTABLISH COMMUNICATION The projector may be controlled either through the LAN or the RS232 interfaces. Both interfaces can not be used at the same time. Select between LAN or RS232 control in the menus system (se the projector user guide for further information). 4.
5.4 INCREMENT_ and DECREMENT_operations These operations are used when you want to increment or decrement the excisting value. This returns, when successful, an acknowledgement as described in chapter 5.2 , and turns the projector on. The response consists of a PAK (0x1E) followed by the initial operation sent, except for byte 11, which carries an operation validation code, 0x01. Total packet size is 33 bytes. 5.8 OSD feedback RS232 control commands will not produce any OSD feedback.
6 SEND AND RECEIVE ASCII COMMANDS 6.1 Overview The protocol exists in parallel with the already existing 32/33-byte protocol. The protocol has the following definition: [SEPARATOR] ADDRESS [SEPARATOR] MESSAGE BODY 1 byte 1 byte 1-3 bytes 1 byte N bytes Field Description Comment ASCII character ‘:’ Required Separator ASCII character ‘space’ Optional Address 1-3 bytes address Optional 6.
6.4 Modifier R Relative change. Value given will be relative to the existing value A Request an acknowledge. This modifier is the only that might be applied together with another modifier. It can be used to read back the result of the command. ? ? – current ?M – max ?N – min 6.5 Addressing The same address mechanisms as for the binary protocol is supported in the ASCII protocol. 6.6 Acknowledge/Response Acknowledge is optional and ON by default.
ASCII Function Operations supported Legal modifiers AUTO Execute auto adjust Execute A DPMS 0 DMPS Off Get, Set A, ? DPMS 1 DPMS On Get, Set A, ? DVST 0 DVI Setup OFF (BTB/WTW) Get, Set A, ? DVST 1 DVI Setup ON Get, Set A, ? FCRE Factory Reset Execute A FRZE 0 Freeze Frame Off Get, Set A, ? FRZE 1 Freeze Frame On Get, Set A, ? DESK Select Orientation Desktop Front Get, Set A, ? CEIL Select Orientation Ceiling Front Get, Set A, ? RDES Select Orientation Desktop Rea
ASCII Function Operations supported Legal modifiers OSDW 1 OSD Warning On Get, Set A, ? OSDW 0 OSD Warning Off Get, Set A, ? POWR 1 Power On Get, Set A, ? POWR 0 Power Off Get, Set A, ? VRGB 0 RGB Video OFF Get, Set A, ? VRGB 1 RGB Video Component Get, Set A, ? SCBO 0 Secondary Color Boost off Get, Set A, ? SCBO 1 Secondary Color Boost on Get, Set A, ? SCAN 1 Source scan On Get, Set A, ? SCAN 0 Source scan Off Get, Set A, ? IVGA Select VGA Get, Set A, ? IBNC S
ASCII Function Operations supported Legal modifiers LTR2 Lamp 2 runtime Get A, ? LHO2 Lamp 2 Total Light On Time Hours Get Get A, ? LST2 Lamp 2 Status Get Get A, ? LRM2 Lamp 2 Estimated Remaining Lamp Time Get A, ? ECOM 1 Eco Mode On Get, Set A, ? ECOM 0 Eco Mode Off Get, Set A, ? LACT 1 Lamp Set single 1 Get, Set A, ? LACT 2 Lamp Set Single 2 Get, Set A, ? SNGL Lamp Mode Single Get, Set A, ? DUAL Lamp Mode Dual Get, Set A, ? FOIN [1,2,3] Focus in [slow, medium, f
ASCII Function Operations supported Legal modifiers SLET Select Scaling Letterbox to 16:9 Get, Set A, ? SLST Select Scaling Letterbox st to 16:9 Get, Set A, ? SZOM Select Scaling Zoom Get, Set A, ? SCIN Select Scaling Cinemascope Get, Set A, ? See section 10 Set scaling abs value Get, Set A, R, ?, ?M, ?N BRIG Brightness Get, Set A, R, ?, ?M, ?N CNTR Contrast Get, Set A, R, ?, ?M, ?N CSAT Saturation Get, Set A, R, ?, ?M, ?N SABS [0..
Source correction: CRED Red Gain Get, Set A, R, ?, ?M, ?N BRED Red Offset Get, Set A, R, ?, ?M, ?N CGRE Green Gain Get, Set A, R, ?, ?M, ?N BGRE Green Offset Get, Set A, R, ?, ?M, ?N CBLU Blue Gain Get, Set A, R, ?, ?M, ?N BBLU Blue Offset Get, Set A, R, ?, ?M, ?N FREQ Frequency Get, Set A, R, ?, ?M, ?N GAFI 1 Select Gamma Film 1 Get, Set A, ? GAFI 2 Select Gamma Film 2 Get, Set A, ? GAVI 1 Select Gamma Video 1 Get, Set A, ? GAVI 2 Select Gamma Video 2 Get, Set A,
SZVT Resize Vertically Get, Set A, R, ?, ?M, ?N SZEN 0 Resize OFF Get, Set Get, Set A, ? SZEN 1 Resize ON Get, Set Get, Set A, ? SHRP Sharpness Get, Set A, R, ?, ?M, ?N VAUT Select Video Format Auto (default) Get, Set A, ? VNTC Select Video Format NTSC Get, Set A, ? VPAL Select Video Format PAL Get, Set A, ? VSEC Select Video Format SECAM Get, Set A, ? VDVD Select Video Type DVD Get, Set A, ? VVCR Select Video Type VCR Get, Set A, ? FMMA Fan main RPM Get A, ? FMLM
Mnenomic IABS [0..2, 4..6] SABS[0..3, 9-10, 13-14] Table Comments Ignore other values returned, no source is connected. 0 0 – BNC 1 1 – VGA 2 2 – DVI 3 3 – YPbPr interlace 4 4 – S-Video 5 5 – Composite Video 6 6 – YPbPr progressive 0 – 1to1 (only VGA) Use of other numbers may result in poor picture quality, and is not recommended.
6.8 Examples Responses/acknowledges are marked with green color. They can/will not be received if acknowledge is turned OFF (see section 6 ). The protocol accepts one single SPACE between fields, or no SPACE between fields.
SET current value BRIGHTNESS to value 60: : B R I G 6 0 CR :BRIG 60#0x0D ACKNOWLEDGE BRIGHTNESS: % 0 0 1 B R I G 0 0 0 0 6 0 CR %001 BRIG 000060CR SET current value BRIGHTNESS to value 34 with address 45: : 0 4 5 B R I G 3 4 CR :045 BRIG 34#0x0D or SET current value BRIGHTNESS to value 34 with address 45: : 4 5 B R I G 3 4 CR :45 BRIG 34#0x0D ACKNOWLEDGE BRIGHTNESS from address 45: % 0 4 5 B R I G 0 0 0 0 6 0 CR %045 BRIG 000034CR INCREMENT value C
INCREASE value CONTRAST BY 21: : C N T R R 2 1 CR :CNTR R21#0x0D ACKNOWLEDGE CONTRAST INCREASE: % 0 0 1 C N T R 0 0 0 2 0 0 CR %001 CNTR 000200CR DECREASE value CONTRAST BY 21: : C N T R R - 2 1 CR :CNTR R-21#0x0D ACKNOWLEDGE CONTRAST DECREASE: % 0 0 1 C N T R 0 0 0 1 7 9 CR %001 CNTR 000179CR GET-commands: GET current value BRIGHTNESS: : B R I G ? CR :BRIG?#0x0D ACKNOWLEDGE BRIGHTNESS GET: % 0 0 1 B R I G 0 0 0 0 5 0 CR %001 BRIG 00005
GET MAX value VERTICAL KEYSTONE: : V K E Y ? M CR :VKEY ?M#0x0D ACKNOWLEDGE GET MAX value VERTICAL KEYSTONE: % 0 0 1 V K E Y 0 0 0 2 5 5 CR %001 VKEY 000255CR 6.9 AMX/Crestron: Command: AMX: Crestron: Power ON ‘:POWR1’,$0d :POWR1\r Power OFF address 100 ‘:’,$20’POWR’,$20,’0’,$0d :\x20100\x20POWR\x200\r or or ‘:100POWR0’,$0d :100POWR0\r or or ‘: 100 POWR 0’,$0d : 100 POWR 0\r SPACE characters should be used with hex notation or left out to avoid confusion/errors. 6.
APPENDIX A, BINARY OPERATION PACKET TYPE A.1 Operation Packet Type The Operation packet is used by the host system to execute operations (such as Brightness, Contrast, Image Position, etc) in the target system. The Operation packet payload size is 11 bytes. A.
APPENDIX B, BINARY PACKETS IN HEXADECIMAL VALUES Note! All operations in this section apply to the 32-bytes non-address protocol. Please refer to Appendix C for instructions on how to use address information. Byte 1 2 3 4 5 6 7 Command Name: 8 9 10 operation type operation -lo operation -hi 11,12 13 14-16 Target 17 18 oper value lo oper value hi 19-32 Rev.
Byte 1 2 3 4 5 6 7 Command Name: 8 9 10 operation type operation -lo operation -hi 11,12 13 14-16 Target 17 18 oper value lo oper value hi 19-32 Select Orientation Desktop Front 0xBE 0xEF 0x03 0x19 0x00 0x11 0x89 0x01 0x51 0x02 0x00 0x00 0x00 0x00 0x00 0x00 Select Orientation Ceiling Front 0xBE 0xEF 0x03 0x19 0x00 0xE0 0xC9 0x01 0x51 0x02 0x00 0x00 0x00 0x03 0x00 0x00 Select Orientation Desktop Rear 0xBE 0xEF 0x03 0x19 0x00 0x70 0x08 0x01 0x
Byte 1 2 3 4 5 6 7 Command Name: Resize On 8 9 10 operation type operation -lo operation -hi 0x04 11,12 13 14-16 Target 0x00 0x00 0x00 17 18 oper value lo oper value hi 0x01 0x00 19-32 0xBE 0xEF 0x03 0x19 0x00 0x67 0x0A 0x01 0x8E Resize Off 0xBE 0xEF 0x03 0x19 0x00 0xF7 0xCB 0x01 0x8E 0x04 0x00 0x00 0x00 0x00 0x00 0x00 Secondary Color Boost ON 0xBE 0xEF 0x03 0x19 0x00 0xF9 0x12 0x01 0xB6 0x02 0x00 0x00 0x00 0x01 0x00 0x00 Secondary Co
Byte 1 2 3 4 5 6 7 Command Name: 0x27 8 9 10 operation type operation -lo operation -hi 0x03 0x5C 0x03 11,12 13 14-16 Target 0x00 0x00 0x00 17 18 oper value lo oper value hi 0x00 0x00 19-32 Lamp power 1 increment 0xBE 0xEF 0x03 0x19 0x00 0x95 Lamp power 1 decrement 0xBE 0xEF 0x03 0x19 0x00 0xFB 0x8D 0x04 0x5C 0x03 0x00 0x00 0x00 0x00 0x00 0x00 Lamp power 2 increment 0xBE 0xEF 0x03 0x19 0x00 0XB4 0xFE 0XB8 0x0B 0x03 0x00 0x00 0x00 0x00 0
Byte 1 2 3 4 5 6 7 Command Name: 8 9 10 operation type operation -lo operation -hi 11,12 13 14-16 0x02 0x9C 0x02 0x00 0x00 0x00 0x00 0x00 0x00 Target 17 18 oper value lo oper value hi 19-32 Power Get 0xBE 0xEF 0x03 0x19 0x00 0xC9 0xEB Brightness Get 0xBE 0xEF 0x03 0x19 0x00 0x38 0x9D 0x02 0x03 0x40 0x00 0x00 0x00 0x00 0x00 0x00 Contrast Get 0xBE 0xEF 0x03 0x19 0x00 0x12 0x0B 0x02 0x04 0x40 0x00 0x00 0x00 0x00 0x00 0x00 Color Saturati
APPENDIX C, RS232 DAISY-CHAINING C.1 About the protocol The projectors can be daisy-chained and controlled independently by adding address information to the original 32 byte binary RS232 message. Table 5 shows the 34 bytes acknowledge message with address information. As for the non-address message, the acknowledge message consist of a PAK (0x1E) followed by the initial message sent from the host.
C.4 Special short messages If there are several projectors in the chain (>10) or high RS232 traffic, it is strongly recommended that an alternative shorter message is used. This will reduce the processing load at the first projectors in the chain. In a short message byte number 20 (19 for non-address) to 33 (32 for non-address) is omitted. The message header must be updated with correct payload size, i.e byte 5 and byte 6 (4 and 5 for non-address).
Figure 3 shows a 33-bytes address message and the corresponding 19 bytes short message. Address in this example is 5 (0x05, byte 3). Payload_lo (byte 5) is set to 0x0B.
APPENDIX D, ADJUSTING CUSTOM COLOR TEMP USING RS232 Note: It is important to select ”custom color temp” before adjusting R/G/B temps, otherwise these commands will not work! All values are hexadecimal. D.
APPENDIX E, TRUTH TABLES E.1 OSD Warning On: When enabling OSD Warnings after beeing disabled, OSD is still disabled and must be set to ON to become visible again. E.2 Lamp Ignition states: 00 – Lamp does not ignite 01 – Lamp is warming up 02 – Lamp ignited 03 – Lamp is off 04 – Lamp is cooling down E.3 Thermal Monitor states: 00 – OK 01 – Temperature too high 02 – Temperature warning 03 – Fan 70 x 70 stopped 04 – Fan 60 x 60 stopped 05 – Fan Blower stopped E.