ViewSonic Cd4220 Users Guide
Have a look at the manual ViewSonic Cd4220 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+.
5.3 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 Byte of Message excluding “CR” TV ID Identification for each of TV Command Type Identify command type, “g” (0x67h) : Get Command Command: Function command code: One byte ASCII code Value[1~3]: Three bytes ASCII that defines the value CR 0x0D Get-Function format Send: (Command Type=”g”) Name Length ID Command Type CommandValue1 Value2 Value3 CR Byte Count 1 Byte 2 Byte 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte Bytes order 1 2~3 4 5 6 7 8 9 Reply: (Command Type=”r” or “-”) If the Command is valid, Command Type =”r” Name Length ID Command Type CommandValue1 Value2 Value3 CR Byte Count 1 Byte 2 Byte 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte Bytes order 1 2~3 4 5 6 7 8 9 If the Command is Not valid, Command Type=”-“ Name Length ID Command Type CR Byte Count 1 Byte 2 Byte 1 Byte 1 Byte Bytes order 1 2~3 4 5 Example1: Get Brightness from TV -05 and this command is valid. The Brightness value is 67. Send (Hex Format) Name Length ID Command Type CommandValue1 Value2 Value3 CR Hex 0x38 0x30 0x35 0x67 0x62 0x30 0x30 0x30 0x0D Reply(Hex Format) Name Length ID Command Type CommandValue1 Value2 Value3 CR Hex 0x38 0x30 0x35 0x72 0x62 0x30 0x36 0x37 0x0D Example2: Get Brightness from TV-05 , but the Brightness command ID is error and it is NOT in the command table. Send (Hex Format) Name Length ID Command Type CommandValue1 Value2 Value3 CR Hex 0x38 0x30 0x35 0x67 0XD3 0x30 0x30 0x30 0x0D Reply (Hex Format) Name Length ID Command Type CR Hex 0x34 0x30 0x35 0x2D 0x0D
Example3: Get Tint from TV-0007 and this command is valid. The Tint value is 32. Send (Hex Format) Name Length ID Command Type CommandValue1 Value2 Value3 CR Hex 0x38 0x30 0x37 0x67 0X65 0x30 0x30 0x30 0x0D Reply (Hex Format) Name Length ID Command Type CommandValue1 Value2 Value3 CR Hex 0x38 0x30 0x37 0x72 0x65 0x30 0x33 0x32 0x0D Example4: Get Tint from TV-07 , but the Brightne ss command ID is error and it is NOT in the command table. Send (Hex Format) Name Length ID Command Type CommandValue1 Value2 Value3 CR Hex 0x38 0x30 0x37 0x67 0XD7 0x30 0x30 0x30 0x0D Reply (Hex Format) Name Length ID Command Type CR Hex 0x34 0x30 0x37 0x2D 0x0D PC Get-function command to CD4620/CD4220 LCD Monitor Length ID Command Typ e Command Response Range Get Function Code (ASCII) Code (Hex)(Three ASCII bytes) Comments Get-Contrast 8 g a 61 000 ~ 100 Gets Contrast value Get-Brightness 8 g b 62 000 ~ 100 Gets Brightness value Get-Sharpness 8 g c 63 000 ~ 100 Gets Sharpness value Get-Color 8 g d 64 000 ~ 100 Gets Color value Get-Tint 8 g e 65 000 ~ 100 Gets Tint value Get-Volume 8 g f 66 000 ~ 100 Gets Volume value 000: OFF (unmuted) Get-Mute 8 g g 67 001: ON (muted) Gets Mute ON/OFF status 000: Disable 001: Enable Get-RCU 8 g h 68 002: Pass through Gets RCU mode status 000: Disable Get-Key Pad 8 g i 69 001: Enable Gets Buttons ON/OFF status 000: VGA 001: HDMI1 002: HDMI2 003: AV 004: YPbPr Get-Input select 8 g j 6A 005: S-Video Gets Input select status 000: STBY Gets the status of the HDTV power. 001: ON HDTV response: 000 = HDTV is in standby Get-Power status 8 g l 6C 001 = HDTV is ON Get-ACK 8 g z 7A 0 This command is used to test the communication link.
6. Protocol 2 : without ID 6.1 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. 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 ‘ 0 5 0 00D Bytes order 1 2 3 4 5 6 LCD Monitor will send “+” (02Bh) and “CR” by tes to PC after receiving a valid command. LCD Monitor will send “-” (02D h) 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 CD4620/CD4220 set command table LengthCommand Command Value Range Set Function Code (ASCII) Code (Hex) (Three ASCII bytes) Comments 000: STBY Power 5 ! 21 001: ON Controlled power status: ON or Standby 000 : VGA 001 : HDMI1 002 : HDMI2 003 : AV 004 : YPbPr Input Select 5 “ 22 005 : S-Video Contrast 5 # 23 000 ~ 100
Brightness 5 $ 24 000 ~ 100 Sharpness 5 % 25 000 ~ 100 Color 5 & 26 000 ~ 100 Tint 5 ‘ 27 000 ~ 100 Bass 5 . 2E 000 ~ 100 Sets Bass value Treble 5 / 2F 000 ~ 100 Sets Treble value Balance 5 0 30 000 ~ 100 Sets Balance position 000 : 16:9 001 : 4:3 002 : ZOOM Picture Size 5 1 31 003 : PANORAMA 000 : English 001 : French 002 : Spanish 003 : Germany 004 : Italian 005 : Simplified Chinese OSD Language 55 2 32 006 : Russian OSD timeout 5 3 33 005 ~120 Sec Set OSD timeout Volume 5 5 35 000 ~ 100 000: OFF Mute 5 6 36 001: ON (mute) 000: OFF Off Timer 5 7 37 001~024 (hour) 000 : OFF 001: PIP 002: POP 003 : PBP PIP Mode 5 9 39 004 : PBPA 000: Main PIP Sound select 5 : 3A 001: PIP 000: Up 001: Down 002: Left PIP position 5 ; 3B 003: Right 000 : VGA 001 : HDMI1 002 : HDMI2 003 : AV 004 : YPbPr PIP Input 5 < 3C 005 : S-Video Monitor ID 5 = 3D 001 ~ 026 000 : POWER 001 : SOURCE 002 : MENU/EXIT 003 : UP 004 : DOWN 005 : LEFT 006 : RIGHT Key Pad 5 A 41 007 : MUTE 000: Disable Disable: RCU has no effect on HDTV. 001: Enable Enabled: RCU controls the HDTV. This is the power up default on the HDTV. Remote Control 5 B 42 002: Pass through Pass through: RCU has no effect on HDTV and all RCU command codes are transmitted to FC via the RS232 port. See page 26 for more details 000: Disable Disable: Key Pad have no effect on HDTV. Key Pad 5 C 43 001: Enable Enabled : Key Pad control the HDTV. This is the power up default on the HDTV. Factory reset 5 ~ 7E 0 Rests HDTV to factory setting
6.2 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 Value2Value3 Value4 CR Byte Count 5 1 Byte 1 Byte1 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” byte s to PC after receiving a valid command LCD Monitor will send “ -” (02Dh), “CR” bytes to PC if the command is not valid ƒ 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 Value2Value3 Value4 CR Byte Count 5 0 0 5 0 00D Bytes order 1 2 3 4 5 6 A special command “Get-ACK” is used to test the communication link between PC and the LCD Monitor. The LCD Monitor shall response to “G et-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 PC after receiving the command indicating that the communication link is OK
Length Command CommandResponse Range Get Function Code (ASCII) Code (Hex) (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 000 ~ 100 Gets Tint value Get-Volume f 66 000 ~ 100 Gets Volume value 000: OFF (unmuted)Get-Mute g 67 001: ON (muted) Gets Mute ON/OFF status 000: Disable 001: Enable Get-RCU h 68 002: Pass through Gets RCU mode status 000: Disable Get-Key Pad i 69 001: Enable Gets Buttons ON/OFF status 000: VGA 001: HDMI1 002: HDMI2 003: AV 004: YPbPr Get-Input select j 6A 005: S-Video Gets Input select status 000: STBY Gets the status of the HDTV power. 001: ON HDTV response: 000 = HDTV is in standby Get-Power status l 6C 001 = HDTV is ON Get-ACK z 7A 0 This command is used to test the communication link.
ViewSonic CD4220 55 6.3 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” c ode 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 Key Code (HEX) Size 0F Vo l u m e U p (+) 10 Volume Down ( -) 11 Mute 12 POWER 15 INPUT 16 PIP ON/OFF 17 MENU 1A Up 1B Down 1C Left(-) 1D Right(+) 1E SET 1F PIP INPUT 00 PIP CHANGE 00 PICTURE MODE 00 AUDIO INPUT 00 SCREEN SAVER GAMMA 00 SCREEN SAVER BRIGHTNESS 00 DISPLAY 00 AUTO SETUP 00 EXIT 00