USER'S MANUAL
USER'S MANUAL
<Function 11> GS ( E pL pH fn a d1...dk (fn=11)
ASCII
GS ( E pL p H fn a d1 d k
Hex 1D 28 45 pL pH 0B a d1 dk
Decimal 29 40 69 pL pH 11 a d1 dk
3
(pL + pH x 256) 8 (3 pL 8,0
pH
255)
fn=11, 1 a
4
48
d 57 [a=1]
48
d 50 [a=2]
d=48,49 [a=3]
d=55,56 [a=4]
1 k 6
d1..dk= 19200
[a=1]
d=48[a=2]
d=48[a=3]
d=56[a=4]
sets the configuration item for the serial interface specified by a
to the values specified by d1..dk
[Format]
[
]
Range
[Default]
[Description]
MSW5-8 MSW5-7 MSW5-6 MSW5-5 MSW5-4 MSW5-3 MSW5-2 MSW5-1 Value
48 48 48 48 48 48 48 48 0
48 48 48 48 48 48 48 49 1
48 48 48 48 48 48 49 48 2
48 48 48 48 48 48 49 49 3
48 48 48 48 48 49 48 48 4
48 49 48 49 49 48 49 48 90
a Configuration item
1 Transmission speed
2 Parity
3 Flow control
4 Data length
Example : When defining 19200 bps : 5bytes d1...dk 19200
(Hexadecimal = 31H,39H,32H,30H,30H /Decimal= 49,57,50,48,48)
d Function
48 Select no parity
d Function
56 Select 8bit length
d Function
48 Select Flow control DTR/DSR
d Function
48 Select no parity
Flow control(a=3) is specified by d as follows:
Data Length(a=4) is specified by d as follows:
Transmission speed (a=1) is specified by number:
Parity (a=2) is specified by d as follows :
<Function 12> GS ( E pL pH fn a (fn=12)
ASCII
GS
( E pL pH f n 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.
[Format]
[
]
Range
[Description]
a Communication Condition
1 Baud rate
2 Parity
3 Flow control
4 Data length
Header
Flag
Type of the
Communication condition
Separator
Setting value
NUL
37H 55 1 byte
33H 39 1 byte
1FH 31 1 byte
30H - 39H 48 - 57 1 - 6 bytes
00H 0 1 byte
31H - 34H 49-52 1 byte
Hexadecimal Decimal Amount of Data
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