Rev. 1.00
- 26 -
Metapace T-2
<Function 12> GS ( E pL pH fn a (fn=12)
[Format]
[Range]
[Description]
ASCII GS
(
E
pL pH fn
a
Hex 1D
28
45 pL pH fn
a
Decimal 29 40 69 pL pH fn
a
(pL + pH x 256) = 2 (pL=2, pH=0)
fn=12
1
≤
a
≤
4
▪
Transmits the communication conditions of the serial interface specified
by a.
a
Communication Condition
1 Baud
rate
2 Parity
3 Flow
control
4 Data
length
Hexadecimal
Decimal
Amount of
Data
Header 37H
55
1
byte
Flag 33H
39
1
byte
Type of the
communication condition
31H - 34H
49 - 52
1 byte
Separator 1FH
31
1
byte
Setting value
30H - 39H
48 - 57
1 - 6 bytes
NUL 00H
0
1
byte
▪
Configuration of the setting value
- When the baud rate (a=1) is specified :
Baud rate (bps)
d1
d2
d3
d4
d5
d6
2400
50 52 48 48 -- --
4800
52 56 48 48 -- --
9600
57 54 48 48 -- --
19200
49 57 50 48 48 --
38400
51 56 52 48 48 --
57600
53 55 54 48 48 --
115200
49 49 53 50 48 48
- When the parity setting (a=2) is specified :
d1
Parity
48 No
parity
49 Odd
parity
50 Even
parity
- When the flow control setting (a=3) is specified :
d1
Flow control
48
DTR / DSR
49
XON / XOFF
- When the data length setting (a=4) is specified :
d1
Data length
55 7
bits
56 8
bits
▪
If a is out of range, this command ignores the value which is specified
with a.