Gs (e pl ph fn a fn = 12 – CITIZEN CT-S300 User Manual
Page 112

— 107 —
fn = 12: Function 12 Sending the Set Communication Conditions of
Serial Interface
GS (E pL pH fn a fn = 12
[Code]
<1d>H<28>H<45>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]
Sends communication conditions of serial interface specified by “a”.
• a = 1: Setting baud rate
Hex.
No. of Data
Header
37H
1
ID
33H
1
Kind of communication conditions (a)
31H (“1”) ~ 34H (“4”)
1
Separation number
1FH
1
Set value
30H ~ 39H
1 ~ 6
NULL
00H
1
Set value
• a = 1: At specification of baud rate
Baud Rate
d1
d2
d3
d4
d5
d6
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
49 (“1”)
57 (“9”)
50 (“2”)
48 (“0”)
48 (“0”)
—
38400
51 (“3”)
56 (“8”)
52 (“4”)
48 (“0”)
48 (“0”)
—
• a = 2: At specification of parity
d1
Parity Setting
48
No parity
49
Odd parity
50
Even parity
d1
Flow Control
48
DSR/DTR
49
XON/XOFF
• a = 3: At specification of flow control
d1
Setting Data Length
48
7-bit length
49
8-bit length
• a = 4: Setting to specified data length