NEC RS-232C 用户手册

下载
页码 72
 
(15/72) 
 
5.3 Set parameter 
 
 
 
Send this message to change monitor
’s adjustment and so on. 
The controller requests a monitor to change value. 
1
st
byte) STX: Start of Message 
ASCII STX (02h) 
2
nd
-3
rd
bytes) OP code page: Operation code page 
This OP code page data must be encoded to ASCII characters. 
Ex.) The byte data 02h must be encoded to ASCII '0' and '2' (30h and 32h). 
Refer to the Operation code table. 
4
th
-5
th
bytes) OP code: Operation code 
This OP code data must be encoded to ASCII characters. 
Ex.) OP code 1Ah -> 
OP code (Hi) = ASCII '1' (31h) 
 
 
  
OP code (Lo) = ASCII 'A' (41h) 
Refer to the Operation code table. 
6
th
-9
th
bytes) Set value
: (16bit)  
This data must be encoded to ASCII characters. 
Ex.) 0123h ->  
1
st
(MSB) = ASCII '0' (30h) 
 
 
 
2
nd
  = ASCII '1' (31h) 
 
 
 
3
rd
  = ASCII '2' (32h) 
 
 
 
4
th
(LSB)
 
 = ASCII '3' (33h) 
10
th
byte) ETX: End of Message 
ASCII ETX (03h) 
 
OP code page 
OP code 
Set Value 
STX 
Hi 
Lo 
Hi 
Lo 
MSB 
   
LSB 
ETX 
1
st
 
2
nd
-3
rd
 
4
th
-5
th
 
6
th
-9
th
 
10
th