NEC RS-232C 用户手册

下载
页码 72
 
(18/72) 
 
5.5.2 Get Timing Report and Timing reply. 
The controller requests the monitor to report the displayed image timing. 
 
 
 
Send "07"(30h, 37h) as Get Timing Report command. 
 
Complete "Get Timing Report" command packet as follows;  
ASCII: 01h-30h-41h-30h-41h-30h-34h-02h-30h-37h-03h-CHK-0Dh 
 SOH-'0'-'A'-'0'-'A'-'0'-'4'-STX-'0'-'7'-ETX-CHK- CR 
The monitor replies status as the following format; 
 
SS: Timing status byte  
Bit 7 = 1: Sync Frequency is out of range. 
Bit 6 = 1: Unstable count 
Bit 5-2     Reserved (Don't care) 
Bit 1 
   1:Positive Horizontal sync polarity. 
  
   0:Negative Horizontal sync polarity. 
Bit 0 
   1:Positive Vertical sync polarity. 
0:Negative Vertical sync polarity. 
 
H Freq: Horizontal Frequency in unit 0.01kHz 
 
V Freq: Vertical Frequency in unit 0.01Hz 
Ex.) When H Freq is '1''2''A''9' (31h, 32h, 41h, 39h), it means 47.77kHz. 
Command code 
STX 
'0' 
'7' 
ETX 
Command 
SS 
H Freq. 
V Freq. 
STX 
'4' 
'E' 
Hi 
Lo 
MSB 
 
 
LSB 
MSB 
 
 
LSB 
ETX