LTI TruSense S300 Series Integration Manual 3nd Edition
Page 22
Copyright © [2016] Laser Technology, Inc. All Rights Reserved. Unauthorized duplication, in whole or in part, is strictly prohibited.
$MM Measurement Mode
For liquid applications $MM should always be set to 4.
IMPORTANT:
If $MM is not set to 4,
incorrect operation of sensor will occur.
Set:
Get:
$MM,
n
<CR><LF>
$MU<CR><LF>
Instrument Reply:
$MM,
n*CRC16
<CR><LF>
Instrument Reply:
$MM
,n*CRC16
<CR><LF>
where:
$
= message identifier
MM
N
= mnemonic for Measurement Units
= measurement mode
0 to 2= Do not use
4 = Liquid measurement mode
*CRC16
= 16-bit CRC
<CR>
=carriage return
<LF>
= line feed
Example:
Input: Get
$MM<CR><LF>
Reply:
$MM,4*6C9A<CR><LF>
Input: Set
$MM,4<CR><LF>
Reply:
$MM,4*6C9A<CR><LF>
$MU
Change Measurement Unit
This command is used to change the measurement units. Factory default is meters and three
decimal places.
Set:
Get:
$MU,
u,
n
<CR><LF>
$MU<CR><LF>
Instrument Reply:
$MU,
u,nn,K,MM*CRC16
<CR><LF>
Instrument Reply:
$MU
,u,nn,K,MM*CRC16
<CR><LF>
where:
$
= message identifier
MU
u
= mnemonic for Measurement Units
= measurement units
0 or m = meters
1 or f = feet
n
= Number of places after decimal point. Max = 3
K
= Not used in Liquid mode.
MM
= Not used in Liquid mode.
*CRC16
= 16-bit CRC
<CR>
= carriage return
<LF>
= line feed
Example:
Input: Get
$MU<CR><LF>
Reply:
$MU,F,33,K,11*35B0<CR><LF>
Input: Set
$MU,F,3<CR><LF>
No Changes to current settings
Reply:
$MU,F,33,K,11*35B0<CR><LF>
Input: Set
$MU,M,2<CR><LF>
Changes to current settings with Banner turned on
$DB,1
Reply:
TruSense S300 Series,DS-330-1.14