beautypg.com

3 rs-232 control commands, 0 troubleshooting, 8 model hr-731-s – Hall Research HR-731-S User Manual

Page 10

background image

8

Model HR-731-S

6.3 RS-232 Control Commands

All commands are prefixed with

==>

All commands and responses are followed with a carriage return

Wrong commands will get a response of ERR1

Not-allowed commands in CEC mode will get a response of ERR2

Command:

SBn

stands for Set Baud of remote unit

where n=(0-7,?)

(0 = 1200, 1 = 2400, 2 = 4800, 3 = 9600, 4 = 19200, 5 = 38400,

6 = 57600, 7 = 115200, ? = query baud rate)

Response:

SBn

Condition:

This command can only valid when the data channel is set to RS-232. If this

command is issued in CEC mode, the HR-731-S responds with ERR2

Command:

SPn

stands for Set Parity of remote unit

where n=(0-2,?)

(0 = none, 1 = odd, 2 = even, ? = query Parity)

Response:

SPn

Condition:

This command can only valid when the data channel is set to RS-232. If this

command is issued in CEC mode, the HR-731-S responds with ERR2

Command:

STn

stands for Set Terminating byte/character

where n=(0-255,?)

(0 = none (default), 1-255 = Terminating character (or byte) has

a decimal value of n , ? = query Terminating byte)

Response:

STn

Condition:

This command is only valid when the data channel is set to RS-232. If this

command is issued in CEC mode, the HR-731-S responds with ERR2

Comments:

Normally in RS-232 mode, every character received is immediately

transmitted to the opposite side. By specifying a Terminating character, the

device will keep all the data received in a buffer and transmit the entire

string at once upon receiving the terminating character (including the

terminating character). For example: to wait for a Carriage Return before

sending the string, use n=13 (since CR=0D Hex, or 13 Decimal).


Command:

DCn stands for Data Channel configuration

where n=(0,1,?)

(0 = RS-232, 1 = CEC, ? = query Parity)

Response:

DCn

Command:

FD

stands for Factory Default

Factory default settings will be restored

Response:

FD

Command:

FW? stands for Firmware Version query

Response:

FW Version #

This manual is related to the following products: