Citizen Systems PMU2XXX Manual De Usuario

Descargar
Página de 312
 
- 198 - 
fn=12  Function 12 Sending the Set Communication Conditions   
GS ( E pL pH fn a 
 
 
[Code]     
<
1D>H<28>H<45>H<pL><pH><fn><a> 
 
[Range] (pL+pH×256)=2  (pL=2、pH=0) 
fn=12 
1≦a≦4 (Does not send in other than specified range) 
 
[Outline]
 
[The specification which is common to the model]
 
Sends communication conditions of serial interface specified by “a”.
 
 
 
Hex. 
No. of Data 
37H 1 
Header 
33H 1 
ID 
31H(“1”)~34H(“4”) 
Kind of communication conditions (a) 
1FH 1 
Separation number 
30H~39H 1~6 
Set value   
00H 1 
NULL 
 
Set value
 
• a = 1: At specification of baud rate
 
Baud 
Rate  d1 d2 d3 d4 d5 d6 
1200 
49(“1”) 50(“2”) 48(“0”) 48(“0”)  ---- 
---- 
2400 
50(“2”) 52(“4”) 48(“0”) 48(“0”)  ---- 
---- 
4800 
52(“4”) 56(“8”) 48(“0”) 48(“0”)  ---- 
---- 
9600 
57(“9”) 54(“6”) 48(“0”) 48(“0”)  ---- 
---- 
19200 
(Default)  49(“1”) 57(“9”) 50(“2”) 48(“0”) 48(“0”)  ---- 
38400 
51(“3”) 56(“8”) 52(“4”) 48(“0”) 48(“0”)  ---- 
57600 
53(“5”) 55(“7”) 54(“6”) 48(“0”) 48(“0”)  ---- 
115200 
49(“1”) 49(“1”) 53(“5”) 50(“2”) 48(“0”) 48(“0”) 
●・・・
support by 
CT-S2000
CT-S4000
 
 
• a = 2: At specification of parity
 
d 
Parity Setting 
48 
No parity 
49 Odd 
parity 
50 Even 
parity 
 
• a = 3: At specification of flow control
 
d 
Flow Control 
48 DTR/DSR 
49 XON/XOFF 
 
• a = 4: At specification of data length
 
d1 Setting 
Data 
Length
48 
7-bit length 
49 8-bit 
length