11 serial port – IDK MSD-54 Series Command Guide User Manual

Page 81

Advertising
background image

MSD-54 Series Users Guide (Command Guide)

81

3.3.11 Serial port

@SCT

Set COM port communication

Command
format

@SCT, port, setting

Return value
format

@SCT, port, setting

Parameter

port

: COM port

0 = All ports, 1 = RS-232C CH1 port, 2 = RS-232C CH2 port

setting

: Communication settings

Baud rate (4800, 9600, 19200, 38400 [bps] [Default]: 9600[bps]

Data length (8, 7[bit] [Default]: 8[bit])

Parity (NONE, EVEN, ODD [Default]: NONE)

Stop bit (1, 2[bit] [Default]: 1[bit])

For set values, see Table 3.3.11a.

Example Send



Receive

@SCT,1,24



@SCT,1,24

Set RS-232C CH1 port as follows:
Baud rate=19200[bps], Data length=8[bit],
Parity=None, Stop bit=1[bit]
Terminated normally.

Related info.

8.10.1 Communication setting

Note

After IP address or serial communication setting is changed, communication may
be disabled. Change the environmental settings of communication based on the
MSD settings after changed.

@GCT

Get COM port communication

Command
format

@GCT

Return value
format

@GCT, rs_232c_1, rs_232c_2

Parameter

rs_232c_1

: Communication settings of RS-232C CH1 port

rs_232c_2

: Communication settings of RS-232C CH2 port

Baud rate (4800, 9600, 19200, 38400[bps] [Default]: 9600[bps]

Data length (8, 7[bit] [Default]: 8[bit])

Parity (NONE, EVEN, ODD [Default]: NONE)

Stop bit (1, 2[bit] [Default]: 1[bit])

For set values, see Table 3.3.11a.

Example Send

Receive

@GCT

@GCT,24,24

Get communication settings of the COM ports.
RS-232C CH1 port and CH2 port are set as following;
Baud rate:19200[bps], Data length: 8[bit], Parity:
None, Stop bit: 1[bit].

Related info.

8.10.1 Communication setting

Advertising