COS-100HD-B Command Guide
11
@SCT / @GCT
RS-232C communication
Function
Getting
Setting
Format
@GCT
@SCT, bps, length, parity, stop
Return value
@GCT, bps, length, parity, stop
@SCT, bps, length, parity, stop
Parameter
bps: baud rate
0 = 4800 bps, 1 = 9600 bps [Default], 2 = 19200 bps,
3 = 38400 bps
length: Data bit length
0 = 7 bit, 1 = 8 bit [Default]
parity: Parity check
0 = NONE [Default], 1 = ODD, 2 = EVEN
stop: Stop bit
0 = 1 bit [Default], 1 = 2 bit
Example
@GCT
@GCT, 1, 1, 0, 0
Getting communication settings of
RS-232Cs
- Baud rate
: 9600 [bps]
- Data bit length : 8 [bit]
- Parity check
: NONE
- Stop bit
: 1 [bit]
Completed
@SCT, 1, 1, 0, 0
@SCT, 1, 1, 0, 0
Setting communication settings of
RS-232Cs as follows:
- Baud rate
: 9600 [bps]
- Data bit length : 8 [bit]
- Parity check
: NONE
- Stop bit
: 1 [bit]
Completed
Remarks
If RS-232C communication setting is changed, the communication may be disabled.
Change the environmental settings based on the transmitter or receiver settings.
Common to transmission and setting modes
@S*S
RS-232C communication mode
Function
Setting
Format
@S*S, mode
Return value
@S*S, mode
Parameter
mode: RS-232C communication mode setting
0 = Transmission mode [Default], 1 = Setting mode
Example
@S*S, 1
@S*S, 1
Setting to the RS-232C setting mode
Completed
@S*S, 0
@S*S, 0
Setting to the RS-232C transmission
mode
Completed
Remarks