![Acuity AR100 -50 User Manual Download Page 40](http://html1.mh-extra.com/html/acuity/ar100-50/ar100-50_user-manual_2844430040.webp)
34
AR100 Operation Manual
10.2
ASCII Communications Reference
The following are the command codes for the ASCII protocol. When entering a
request code, it should be followed by the CR and LF codes in your terminal
emulator. Each answer will also be followed by CR and LF codes.
Request
code
Name
Description
Answer
PRT
Change data
format
After entering this command,
the sensor will give an ASCII
answer then change its data
format to binary.
OK
V
Device
Identification
Sensor will report information
about itself
- device type
(Ex. 603)
- firmware version
(Ex. 40)
- serial number
(Ex. 19999)
- base distance
(Ex. 125)
- measurement range
(Ex. 500)
Note:
603 is an internal designation for the
AR100
The following codes all return “OK” when entered except Rx,
which will just change
the units of the output measurements upon being entered.
Request
Code
Description
x values
Wx
Save and recovery
0 - save current parameters to non-volatile memory
1 - recover default parameters (
Note:
this will not change the
communication protocol)
Rx
Measurement units
0 - native increments (0
– 16384)
1 - millimeters
2 - inches
Ox
Sensor ON/OFF
0 - laser OFF
1 - laser ON (default)
Ax
Analog output ON/OFF
0 - analog OFF
1 - analog ON (default)
TMx
Averaging mode
0
– averaging over number of results (default)
1
– time averaging
TLx
Logic interface mode
0
– out of range indication mode (default)
1
– mutual synchronization mode
2
– hardware zero set mode
3
– laser disable mode
TAx
Analog output mode
0
– window mode (default)
1
– full range mode
TSx
Sampling mode
0
– time sampling (default)
1
– trigger sampling
Bxxx
Serial communication rate
1
– 192 (default: 4)
specifies data transfer rate in increments of 2400 baud;
(e.g., 4 means 4 × 2400 = 9600baud)
Note:
max baud rate = 921600
Gxxx
Number of values averaged
1
– 128 (default: 1)