MKS 937B Operation Manual
86
9 937B RS232/485 Serial Communication
Commands
9.1 Communication protocols
Table 9-1 937B serial communication wiring diagram.
Cable length with RS232 signals 50 ft (15 m)
Cable length with RS485 signals 4000 ft (1200 m)
Baud rate 9600, 19200, 38400, 57600, 115200
Character format 8 data bits, 1 stop bit, No parity, No hardware handshaking
Query format
@<aaa><Command>?;FF
The corresponding response is
@<aaa>ACK<Response>;FF
Here, <aaa>: Address, 1 to 254
<Command>: Commands as described in 10.2 to10.7
<Response> Responses as described in 10.2 to10.7
For example, to query pressure on channel A1, use
@003PR1?;FF
and the corresponding response is
@003ACK7.602E+2;FF
Here, <aaa>=003; <Command>=PR1; <Response>=7.602E+2
Set format
@<aaa><Command>!<parameter>;FF
The corresponding response is
@<aaa>ACK<Response>;FF
Here, <aaa>: address, 1 to 254
<Command> Commands as described in 10.2 to10.7
<Parameter> Parameter as described in 10.2 to10.7
<Response> Responses as described in 10.2 to10.7
For example, to set new baud rate, use
@001BR!19200;FF
and the corresponding response is
@001ACK19200;FF
Here, <aaa>=001; <Command>=BR; <Parameter>=19200;
<Response>=192000
Table 9-2 937B serial communication command protocol.
Pin Description
2 RS485(-)/RS232TxD/(B)
3 RS485(+)/RS232RxD/(A)
5 Ground