MSD-402 Command Guide
64
3.3.10 Communication setting
@GCT / @SCT
RS-232C communication
Function
Getting
Setting
Format
@GCT
@SCT, port, setting
Return value
@GCT, setting
@SCT, port, setting
Parameter
setting: Communication setting
・
Baud rate (4800, 9600, 19200, 38400 [bps] [Default] 9600)
・
Data length (8, 7 [bit] [Default] 8)
・
Parity check (NONE, EVEN, ODD [Default]: NONE)
・
Stop bit (1, 2 [bit] [Default] 1)
For setting values, see the table below.
port: connector
1 = terminal block
Example
@GCT
@GCT,24
Getting communication settings of
RS-232C.
All baud rates = 19200 [bps], data bit
length = 8 [bit], parity check = None, stop
bit = 1 [bit]
@SCT,1,24
@SCT,1,24
Setting RS-232C connector as follows:
baud rate =19200 [bps], data bit length =
8 [bit], parity check = NONE, stop bit = 1
[bit].
Completed normally.
Remarks
Once IP address or RS-232C communication setting is changed, the communication
may be disabled. Change the environmental settings of communication based on the
MSD settings.
[Table 3.1] RS-232C communication setting parameter
Value
Communication
Value
Communication
Value
Communication
Value
Communication
0
4800 8 NONE 1
12
9600 8 NONE 1
24
19200 8 NONE 1
36
38400 8 NONE 1
1
4800 8 NONE 2
13
9600 8 NONE 2
25
19200 8 NONE 2
37
38400 8 NONE 2
2
4800 8
ODD
1
14
9600 8
ODD
1
26
19200 8
ODD
1
38
38400 8
ODD
1
3
4800 8
ODD
2
15
9600 8
ODD
2
27
19200 8
ODD
2
39
38400 8
ODD
2
4
4800 8 EVEN 1
16
9600 8 EVEN 1
28
19200 8 EVEN 1
40
38400 8 EVEN 1
5
4800 8 EVEN 2
17
9600 8 EVEN 2
29
19200 8 EVEN 2
41
38400 8 EVEN 2
6
4800 7 NONE 1
18
9600 7 NONE 1
30
19200 7 NONE 1
42
38400 7 NONE 1
7
4800 7 NONE 2
19
9600 7 NONE 2
31
19200 7 NONE 2
43
38400 7 NONE 2
8
4800 7
ODD
1
20
9600 7
ODD
1
32
19200 7
ODD
1
44
38400 7
ODD
1
9
4800 7
ODD
2
21
9600 7
ODD
2
33
19200 7
ODD
2
45
38400 7
ODD
2
10
4800 7 EVEN 1
22
9600 7 EVEN 1
34
19200 7 EVEN 1
46
38400 7 EVEN 1
11
4800 7 EVEN 2
23
9600 7 EVEN 2
35
19200 7 EVEN 2
47
38400 7 EVEN 2