Download SPR04 manual B - Downloads

Transcript
SERIAL COMMUNICATION COMMANDS
Command
92
Purpose
To put sensors to specific baud to match the RS-485 serial input and output ports baud
rate.
Command Format:
[command] [Baud]
Command
(1Byte) 92
Baud
(1Byte) (0 :
Response Format
if using CRC :
SET BAUD RATE OF THE SENSOR
[Command]
Command
9600, 1 : 19200, 2 : 38400, 3 : 57600)
(Byte)
92
0
Success
Fail
If using ChkSum : None
Command
135
Response
Read Sensors Baud setting
Response Format:
[command ] [Baud]
Command
(1 Byte)
Baud
(1 Byte)
GET BAUD RATE OF THE SENSOR
135
Command
77
Purpose
Change sensor’
s error-check from CRC to Checksum or vice-versa..
Command Format:
[command][Mode]
Command
(1 Byte)
Mode
(1 Byte)
Response Format
if using CRC :
SET ERROR CHENGING TO CRC / CHECKSUM
[Command]
Command
77
0 : CRC / 1 : Chksum
(Byte)
77
0
Success
Fail
If using ChkSum : None
Copyright LMI Technologies Inc.
Version B
29