![Campbell SR50AT Скачать руководство пользователя страница 65](http://html1.mh-extra.com/html/campbell/sr50at/sr50at_instruction-manual_488987065.webp)
Appendix D. RS-232 and RS-485 Operation
D-9
D.4.8 Output Unit
The SR50AT always outputs the distance to the target. The units for the
distance value can be set to any of the following values:
•
Met
re
s
•
Centimet
re
s
•
Millimet
re
s
•
Feet
•
Inches
D.4.9 Quality Output
The SR50AT quality numbers can be optionally included in the data output
string. The
Quality Output
setting can be set to
ON
or
OFF
.
D.4.10 Diagnostics Output
The SR50AT diagnostics numbers can be optionally included in the data output
string. The
Diagnostics Output
setting can be set to
ON
or
OFF
.
D.5 Serial Commands
D.5.1 Setup Command
The setup command places the SR50AT in the serial setup mode. This
command should only be sent to customize a sensor’s settings. Upper and
lower case letters are accepted and a carriage return character must also
terminate the string.
“setup<CR>”
D.5.2 Poll Command
The poll command is used to obtain the sensor’s output values. The poll
command consists of the upper or lower case letter “p” followed by the
SR50AT address (default 33). The command must also terminate with a
carriage return character.
“pAA<CR>” – where AA is a two-character address and set from the
factory to 33
“p33<CR>” – Poll command with factory address of 33
D.5.3 Information Command
The information command is used to query information from the sensor that is
not associated with the sensor’s output. For detailed information on the output
(p. 19)
.
The information command consists of the upper or lower case letter “i”
followed by the SR50AT address (default 33). The command must also
terminate with a carriage return character.