ViewSonic Cd3200 Users Guide
Have a look at the manual ViewSonic Cd3200 Users Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 617 ViewSonic manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
ViewSonic CD3200 i CD3200 RS-232 Protocol Table of content 1 Introduction .................................................................................................... ii 2 Description..................................................................................................... ii 2.1 Hardware specification........................................................................... ii 2.2 Communication Setting .......................................................................... ii 2.3 Command Message Reference .............................................................. ii 3 Set-Function Listing ....................................................................................... ii 4 Get-Function Listing...................................................................................... vi 5 Remote Control Pass-through mode ............................................................ ix Table 2-1: PC Set-function command to LCD Monitor (ID=C0h) .................................................... iv Table 2-2: PC Get-function command to LCD Monitor................................................................... vii Table 2-3: Baseline RCU Pass-through codes .................................................................................x
ViewSonic CD3200 ii 1 Introduction This document describes the hardware interface spec and software protocols of RS232 interface communication between Viewsonic Commercial Display and PC or other control unit with RS232 protocol. The protocol divide into three sections: z Set-Function z Get-Function z Remote control pass-through mode ※In below document, “PC” will represents all the control units that can sent or receive the RS232 protocol command. 2 Description 2.1 Hardware specification Viewsonic LCD communication port in the rear side (1) Connector type: DSUB 9 Pin Male (2) Pin Assignment Male DSUB 9Pin (outside view) Pin # Signal Remark 1 NC 2 RXD Input to LCD Monitor 3 TXD Output from LCD Monitor 4 NC 5 GND 6 NC 7 NC 8 NC 9 NC frame GND *Use of crossover (null modem) cable required for use with PC 2.2 Communication Setting - Baud Rate Select: 9600bps (fixed) - Data bits: 8bits (fixed) - Parity: None (fixed) - Stop Bits: 1(fixed) 2.3 Command Message Reference PC sends to Monitor command packet followed by “CR”. Every time PC sends control command to the Monitor, the Monitor shall response as follows: 1. If the message is receives correctly it will send “+” (02Bh) followed by “CR” (00Dh) 2. If the message is receives incorrectly it will send “-” (02Dh) followed by “CR” (00Dh) 3 Set-Function Listing The PC can control the LCD Monitor for specific actions. The Set-Function command allows you to control the LCD monitor behavior in a remote sit through the RS232 port. The Set-Function packet format consists of 5 bytes. Note that the “Value” byte is always = 00.
ViewSonic CD3200 iii Set-Function description: Length: Total bytes of message = 5 ASCII (35H) excluding “CR” Command: Function command code: One byte ASCII code Value[1~3]: Three bytes ASCII that defines the value Set-Function format: Name Length Command Value1 Value2 Value3 CR Byte Count 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte Bytes order 1 2 3 4 5 6 All Set-Function from PC to Monitor (ASCII) Name Length Command Value1 Value2 Value3 CR Byte Count 5 1 Byte 1 Byte 1 Byte 1 Byte 00D Bytes order 1 2 3 4 5 6 Example: Set Mute-ON command (ASCII) Name Length Command Value1 Value2 Value3 CR Byte Count 5 6 0 0 0 00D Bytes order 1 2 3 4 5 6 Example: Set Mute-OFF command (ASCII) Name Length Command Value1 Value2 Value3 CR Byte Count 5 6 0 0 1 00D Bytes order 1 2 3 4 5 6 Example: Set Tint to -50 command (ASCII) Name Length Command Value1 Value2 Value3 CR Byte Count 5 ‘ - 5 0 00D Bytes order 1 2 3 4 5 6
ViewSonic CD3200 iv LCD Monitor will send “+” (02Bh) and “CR” bytes to PC after receiving a valid command. LCD Monitor will send “-” (02Dh) and “CR” bytes to PC if the command is not valid. Value Range: Three bytes ASCII value range Command Code: Function command code in ASCII Table 3-1: PC Set-function command to LCD Monitor (ID=C0h) Set Function Command Code (ASCII) Command Code (Hex) Value Range (Three ASCII bytes) Comments HDTV Power ! 21 000: STBY 001: ON Controlled the HDTV power status: ON or Standby Input Select “ 22 000: VGA 001: DVI 002: COMPOSITE1 003: COMPOSITE2 004: COMPONENT1 005: COMPONENT2 006: S-Video1 007: S-Video2 008: HDMI1 009: HDMI2 010: HDMI3 011: HDMI4 012: HDMI5 ~ Contrast # 23 000 ~ 100 Brightness $ 24 000 ~ 100 Sharpness % 25 000 ~ 100 Color & 26 000 ~ 100 Tint ‘ 27 -50 ~ +50 Flesh tone ( 28 000: OFF 001: ON Set and reset Flesh tone White Balance ) 29 000: STD 001: WARM 002: COLD Sets White balance Reserved * 2A For future use Reserved + 2B For future use Reserved , 2C For future use Sound Effect - 2D 000: SRS OFF 001: SRS ON Set and reset SRS Bass . 2E 000 ~ 100 Sets Bass value Treble / 2F 000 ~ 100 Sets Treble value Balance 0 30 000 ~ 100 Sets Balance position Picture Size 1 31 000: SMART 001: 4 x 3 002: 16 x 9 003: ZOOM OSD Language 2 32 000: English 001: Deutsch 002: Francias 003: Italiano 004: Espanol 005: Dutch 006: Dansk 007:Traditional Chinese 008: Japanese 009: Brazilian 010: Reserved 011: Reserved 012: Reserved : : 999: Reserved OSD timeout 3 33 000: 10sec 001: 20sec 002: 30sec Set OSD timeout Reserved 4 34 For future use Volume 5 35 000 ~ 100 Mute 6 36 000: OFF 001: ON (mute)
ViewSonic CD3200 v Sleep 7 37 000: OFF 001: 10 Min 002: 20 Min 003: 30 Min 004: 60 Min 005: 90 Min 006: 120 Min 007: 150 Min ~ Reserved 8 38 For future use PIP Mode 9 39 000: OFF 001: ON PIP Sound select : 3A 000: MAIN 001: PIP PIP position ; 3B 000: UP_LEFT 001: UP_RIGHT 002: DOWN_LEFT 003: DOWN_ RIGHT PIP Input < 3C 000: None 001: None 002: COMPOSIT1 003: COMPOSIT2 004: COMPONENT1 005: COMPONENT2 006: S-Video1 007: S-Video2 008: HDMI1 009: HDMI2 010: HDMI3 011: HDMI4 012: HDMI5 ~ TV Channel = 3D 000 ~ 999 Reserved > 3E For future use Reserved ? 3F For future use Number @ 40 000 ~ 009 Key Pad A 41 000: UP 001: DOWN 002: LEFT 003: RIGHT 004: ENTER 005: INPUT 006: MENU/EXIT ~ Remote Control B 42 000: DISABLE 001: ENABLE 002: PASS THROUGH Disable: RCU has no effect on HDTV. Enabled: RCU controls the HDTV. This is the power up default on the HDTV. Pass through: RCU has no effect on HDTV and all RCU command codes are transmitted to FC via the RS232 port. See page ix for more details Key Pad C 43 000: DISABLE 001: ENABLE Disable: Key Pad have no effect on HDTV. Enabled: Key Pad control the HDTV. This is the power up default on the HDTV. Factory reset ~ 7E 000 Rests HDTV to factory setting
ViewSonic CD3200 vi 4 Get-Function Listing The PC can interrogate the LCD Monitor for specific information. The Get-Function packet format consists of 5 bytes which is similar to the Set-Function packet structure. Note that the “Value” byte is always = 00. Get-Function description: Length: Total bytes of message = 5 ASCII (35H), excluding “CR” Command: Get-Function command code: One byte ASCII code Value[1~3]: Always = 000 Get-Function format from PC to LCD (ASCII) Name Length Command Value1 Value2 Value3 CR Byte Count 5 1 Byte 0 0 0 00D Bytes order 1 2 3 4 5 6 Monitor shall response to Get-Function with the following packet format: LCD Monitor response packet format: Name Length Value1 Value2 Value3 Value4 CR Byte Count 5 1 Byte 1 Byte 1 Byte 1 Byte 00D Bytes order 1 2 3 4 5 6 Response packet (to Get-Function): Length: Total bytes of packet = 5 ASCII excluding “CR” Exception: Total bytes for On-Hours = 6 Value[1-4]: Four ASCII codes: Value range is from 0000 ~ 9999 Exception: Value[1-5] for On-Hours LCD Monitor will send “+” (02Bh), “CR” bytes to PC after receiving a valid command LCD Monitor will send “-” (02Dh), “CR” bytes to PC if the command is not valid
ViewSonic CD3200 vii Table 4-1 outlines the Get-function command list that must be supported by the LCD Monitor Table 4-1: PC Get-function command to LCD Monitor Get Function Command Code (ASCII) Command Code (Hex)Response Range (Three ASCII bytes) Comments Get-Contrast a 61 000 ~ 100 Gets Contrast value Get-Brightness b 62 000 ~ 100 Gets Brightness value Get-Sharpness c 63 000 ~ 100 Gets Sharpness value Get-Color d 64 000 ~ 100 Gets Color value Get-Tint e 65 -50 ~ +50 Gets Tint value Get-Volume f 66 000 ~ 100 Gets Volume value Get-Mute g 67 000: OFF (unmuted) 001: ON (muted) Gets Mute ON/OFF status Get-RCU h 68 000: DISABLE 001: ENABLE 002: PASS THROUGH Gets RCU mode status Get-Key Pad i 69 000: DISABLE 001: ENABLE Gets Buttons ON/OFF status Get-Input select j 6A 000: VGA 001: DVI 002: COMPOSITE1 003: COMPOSITE2 004: COMPONENT1 005: COMPONENT2 006: S-Video1 007: S-Video2 008: HDMI1 009: HDMI2 010: HDMI3 011: HDMI4 012: HDMI5 Gets Input select status Reserved k 6B Reserved for future expansion Get-Power status l 6C 000: STBY 001: ON Gets the status of the HDTV power. HDTV response: 000 = HDTV is in standby 001 = HDTV is ON Get-On hours m 6D 00000 ~ 99999 Get the ON hours of the HDTV. HDTV shall accumulate the ON hours in Flash memory. When it receives this command it will response with the ON hour value of 5 bytes. Get-ACK z 7A 000 This command is used to test the communication link.
ViewSonic CD3200 viii ƒ The following is an example of PC requesting the volume value from the LCD Monitor: PC send Get-Volume-value packet to Monitor (In ASCII) Name Length Command Value1 Value2 Value3 CR Byte Count 5 f 0 0 0 00D Bytes order 1 2 3 4 5 6 LCD Monitor will send “-” (02Dh), “CR” to PC if command is not recognized. Otherwise the LCD Monitor will respond with the volume value as outlined below: LCD-Monitor response packet to Get-volume-value (in this example the volume value is 50): Name Length Value1 Value2 Value3 Value4 CR Byte Count 5 0 0 5 0 00D Bytes order 1 2 3 4 5 6 ƒ The following is an example of PC requesting the On-hours value from the LCD Monitor PC send “Get-On hours” command to Monitor (In ASCII) Name Length Command Value1 Value2 Value3 CR Byte Count 5 m 0 0 0 00D Bytes order 1 2 3 4 5 6 LCD Monitor will send “-” (02Dh), “CR” bytes to PC if the command is not valid Otherwise the LCD Monitor will respond with the On-Hours value as outlined below: LCD-Monitor response packet to Get-On-hours value is 12,500 hours): Name Length Value1 Value2 Value3 Value4 Value5 CR Byte Count 6 1 2 5 0 0 00D Bytes order 1 2 3 4 5 6 7 Note that this response contain 6-bytes A special command “Get-ACK” is used to test the communication link between PC and the LCD Monitor. The LCD Monitor shall response to “Get-ACK” command with a “+” or “-“. Get-ACK from PC to LCD (ASCII) Name Length Command Value1 Value2 Value3 CR Byte Count 5 z 0 0 0 00D Bytes order 1 2 3 4 5 6 LCD Monitor will send “+” (02Bh); “CR” bytes to NMP-530 after receiving the command indicating that the communication link is OK
ViewSonic CD3200 ix 5 Remote Control Pass-through mode When PC sets the LCD monitor to Remote Control Pass through mode, the LCD shall send a three bytes packet (followed by “CR”) in response to RCU button activation. Note, that in this mode the RCU shall have no effect on the monitor function. For example: “+Volume” will not change the volume in the LCD but only sends “+Volume” code to PC over the RS232 port. Remote Control pass-through packet format from LCD monitor to PC(ASCII) Name Length RCU-Code1 RCU-Code2 CR Byte Count 3 MSB LSB 00D Bytes order 1 2 3 4 Example: Remote Control pass-through when “Menu” key is pressed (1A) Name Length RCU-Code1 RCU-Code2 CR Byte Count 3 1 A 00D Bytes order 1 2 3 4 Example: Remote Control pass-through when key “1” is pressed (01) Name Length RCU-Code1 RCU-Code2 CR Byte Count 3 0 1 00D Bytes order 1 2 3 4 Example: Remote Control pass-through when “OK” key is pressed (1F) Name Length RCU-Code1 RCU-Code2 CR Byte Count 3 1 F 00D Bytes order 1 2 3 4
ViewSonic CD3200 x Table 5-1: Baseline RCU Pass-through codes Key Code (HEX) Key Code (HEX) 1 /SPACE 01 31 2 /ABC 02 32 3 /DEF 03 33 4 /GHI 04 34 5 /JKL 05 35 6 /MNO 06 36 7 /PQRS 07 37 8 /TUV 08 38 9 /WXYZ 09 39 0 /@:/ 0A 3A 100 0B 3B RECALL 0C 3C SHIFT 0D 3D CLEAR 0E 3E ZOOM 0F 3F VOLUME UP (+) 10 40 VOLUME DOWN (-) 11 41 MUTE 12 42 CHANNEL/PAGE UP (+) 13 43 CHANNEL/PAGE DOWN (-) 14 44 ON/STANDBY 15 45 SOURCES (INPUTS) 16 46 PIP/POP 17 47 WIDE 18 48 SLEEP 19 49 MENU 1A 4A UP 1B 4B DOWN 1C 4C LEFT 1D 4D RIGHT 1E 4E OK (ENTER) 1F 4F PLAY 20 50 PAUSE 21 51 FAST FORWARD 22 52 FAST BACKWARD 23 53 SKIP 24 54 REPLAY 25 55 STOP 26 56 RECORD 27 57 28 58 29 59 2A 5A 2B 5B 2C 5C 2D 5D 2E 5E 2F 5F