Viewsonic CDX5550-L Guia Do Programa

Página de 16
 
 
 
Commercial Display RS-232 Protocol 
 
 
Revision 1.x 
________________________________________________________________ 
May 28, 2007
 
10 / 16
 
Commercial Display RS-232 Protocol
 
4  Protocol 2: without ID 
 
 
4.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 
 
 
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 
 
Example: Set Mute-ON command (ASCII) 
Name  
Length   Command  Value1   Value2   Value3   CR  
Byte Count  
5  
6  
0  
00D 
Bytes order 
 
Example: Set Mute-OFF command (ASCII) 
Name  
Length   Command  Value1   Value2   Value3   CR  
Byte Count  
5  
6  
00D 
Bytes order 
 
Example: Set Tint to 50 command (ASCII) 
Name  
Length   Command  Value1   Value2   Value3   CR  
Byte Count  
5  
„  
00D 
Bytes order 
 
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 
 
Commercial displays
 set command table