Appendix D. RS-232 and RS-485 Operation
D-10
“iAA<CR>” – where AA is a two-character address and set from the
factory to 33
“i33<CR>” – information command with factory address of 33
D.5.4 Temperature Input Command
The temperature input command is used to send the SR50A version of the
sensor a temperature value that is to be used for temperature compensation.
The value sent must be in degrees Celsius and should not exceed eight
characters.
The command consists of the upper or lower case letter “t” followed by the
SR50A address (default 33) a semicolon and the temperature value. The
command must also terminate with a carriage return character (Enter for
Hyperterminal).
“tAA;-5.5<CR>” – where AA is a two-character address and set from the
factory to 33 and –5.5 is the temperature in degrees C
“t33;tt.ttt<CR>” – Temperature command with factory address of 33 and
a temperature value in Celsius.
D.6 RS-232/RS-485 Data Output Format
D.6.1 Measurement Output
The measurement output string for the SR50A is as follows:
<STX>aa;D.DDD;QQQ;TT.TT;VVVVV;CC<CR><LF><ETX>
<STX> is the hex character &h02 (2 in decimal)
aa
These two characters are the serial address of the sensor. The default is 33.
Note this is two ASCII characters of &h33 in hexidecimal or 51 in decimal.
D.DDD
This is the distance to target reading. The units depend on the
Output Units
setting. The number of digits and decimal places also depend on the output unit
that is selected. The decimal digits are as follows:
Meters:
D.DDD, 0.000 for no valid reading
DD.DDD possible for values past 9.999 m
Centimeters:
DDD.DD
DDDD.DD possible for values past 999.99 cm
000.00 output for no valid reading
Millimeters:
DDDD
-999 output for no valid reading
9999 Maximum value
Feet:
DD.DDD
00.000 output for no valid reading
Содержание SR50A
Страница 2: ......
Страница 6: ......
Страница 30: ...SR50A Series Sonic Ranging Sensors 20...
Страница 32: ......
Страница 53: ...Appendix B Example Programs B 21 CallTable Daily CallTable Hour NextScan EndProg...
Страница 54: ...Appendix B Example Programs B 22...
Страница 56: ......
Страница 78: ...Appendix E Tera Term QuickStart E 10...
Страница 83: ......