13 Anexo
Start Measurement and Send Data
Command
Response
aM!
atttn<CR><LF>
a<CR><LF>
aD0!
a<value1><value2><value3><va-
lue4><value5><CR><LF>
Measurement data and Format:
•
Stage value
– +ss.sss (m)
– +ss.sss (ft)
– +ssss.s (mm)
– +sss.ss (in)
•
Distance
– +dd.ddd (m)
– +dd.ddd (ft)
– +dddd.d (mm)
– +ddd.dd (in)
•
Electronics temperature
– ttt.t (°C, °F, K)
•
Measurement reliability
– rrr.r (dB)
•
Device status
– eee (Errror code)
Example
Address = 0, Stage = 29,272m, Distance = 0,728m, Temperature = 25,4°C, reliability = 14,0 dB,
Device Status = Good
Response : 0+29.272+0.728+25.4+14.0+0<CR><LF>
Address = 4, Stage = 14,887m, Distance = 0,113m, Temperature = 22,7°C, reliability = 14,0dB,
Device Status = M507 (Error in the device setting)
Response : 4+14.887+0.113+22.7+14.0+507<CR><LF>
13.4 Extended Commands
Command
aXRPOM!
50
Response
a<value1><value2><CR><LF>
Description
Start measurement
a: sensor address
ttt: the time in seconds, until the sensor will have the me-
asurement ready
n: the number of measurement values the sensor will
make and return
a<CR><LF>: service request
Send data (after aM!)
a: sensor address
<value1>: stage value:pss.sss
<value2>: distance value pdd.ddd
<value3>: electronics temperature pttt.t
<value4>: Measurement reliability prrr.r
<value5>: Device status eee
<CR><LF>
Description
Read Power Operation Mode
VEGAPULS C 21 • SDI-12