ViewSonic CD4220 User Guide - Page 53

Protocol 2 : without ID

Page 53 highlights

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 Byte Count Bytes order Length 1 Byte 1 Command Value1 Value2 Value3 CR 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte 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" 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 CD4620/CD4220 set command table Set Function Length Command Code (ASCII) Power 5 ! Input Select 5 " Contrast 5 # Command Code (Hex) 21 22 23 Value Range (Three ASCII bytes) 000: STBY 001: ON 000 : VGA 001 : HDMI1 002 : HDMI2 003 : AV 004 : YPbPr 005 : S-Video 000 ~ 100 Comments Controlled power status: ON or Standby ViewSonic CD4220 51

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58

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” 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
CD4620/CD4220 set command table
Length
Command
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
ViewSonic
CD4220
51