Section 7
Parameter Settings
45
FT742-SM (RS422 & RS485) Sensors
– User Manual
7.4.5
BR: Set or Query the Serial Interface Baud Rate
Command
Parameter
BR
Command
Syntax
SET Sensor:
$<listenerID>,BR<baudrate>*<checksum><cr><lf>
$aa,BRx*hh<cr><lf>
QUERY Sensor:
$<listenerID>,BR?*<checksum><cr><lf>
$aa,BR?*hh<cr><lf>
Sensor Output:
$<talkerID>,BR=<baudrate>*<checksum><cr><lf>
$aa,BR=x*hh<cr><lf>
Parameters
<baudrate>
0
Set the baud rate to 38400 baud
1
Set the baud rate to 19200 baud
2
Set the baud rate to 9600 baud (Factory Default Setting)
3
Set the baud rate to 4800 baud
4
Set the baud rate to 2400 baud
5
Set the baud rate to 1200 baud
Examples
Example 1
Set the baud rate to 19200 baud, verify the new setting and send a user reset command to
activate the new baud rate
Message
Comment
$01,BR1*//<cr><lf>
Set baud rate to 19200
$01,BR?*//<cr><lf>
Query baud rate setting
$WI,BR=1*2E<cr><lf>
Sensor Output
$01,RSU*//<cr><lf>
Send user reset
Description
Use the BR command to change the sensor serial interface baud rate. The new baud rate
setting will only come into effect when the sensor is next powered-up or after a Reset
command (RSU) has been received.
If the baud rate is changed, you will only be able to communicate with the sensor if the host
computer
’s baud rate is set to the same baud rate. If you do not know what the current
setting of the sensor baud rate is you will need to try each baud rate in turn until you
establish communication.