Viewsonic CDX5550-L Guia Do Programa

Página de 16
 
 
 
Commercial Display RS-232 Protocol 
 
 
Revision 1.x 
________________________________________________________________ 
May 28, 2007
 
3 / 16
 
Commercial Display RS-232 Protocol
 
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  Protocol 1: with ID 
3.1 
Command Description 
 
Length:  
Total Byte of Message excluding “CR” 
TV ID 
Identification for each of TV 
Command 
Type 
Identify command type,  
“s” (0x73h) : Set Command 
“g” (0x67h) : Get Command 
“r” (0x72h) : Reply Command 
“p” (0x70h) : RCU Pass-through 
“+” (0x2Bh) : Valid command Reply 
“-“ (0x2Dh) : Invalid command Reply 
Command:  
Function command code: One byte ASCII code  
Value[1~3]:   Three bytes ASCII that defines the value  
CR 
0x0D 
 
3.2 
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 11 bytes.  
 
Set-Function description:  
Length:  
Total Byte of Message excluding “CR” 
TV ID 
Identification for each of TV 
If we want to set all TV settings, TV ID can use “99” to achieve, and 
it will not have Reply command on this function. 
Command 
Type 
Identify command type,  
“s” (0x73h) : Set Command 
Command:  
Function command code: One byte ASCII code  
Value[1~3]:   Three bytes ASCII that defines the value  
CR 
0x0D 
Set-Function format  
Send: (Command Type=”s”) 
Name  
Length 
ID 
Command 
Type 
Command 
Value1  
Value2  
Value3  
CR  
Byte 
Count  
1 Byte  
2 Byte 
1 Byte 
1 Byte  
1 Byte  
1 Byte  
1 Byte  
1 Byte  
Bytes 
order 
2~3