beautypg.com

H-3342 – Xylem H-3342 User Manual

Page 15

background image

H-3342

SDI-12 Command and Response Protocol 3-3

Example of a H-3342 "aM!" command:

Command

Response

Time

Values

Description

"aM!"

"a0023"

2 sec

3

Make measurement

Subsequent Command

Response

"aD0"

a+AA.AAA+BB.BBB+CC


Where:

AA.AAA

= Stage

BB.BBB

= Raw Encoder Position (turns)

CC

= Encoder Status:

0 = no error
1 = not enough light
2 = too much light
3 = misalignment or dust
4 = misalignment or dust
5 = misalignment or dust
6 = hardware problem
7 = fast mode error
8 = multi turn position not initialized
15 = no response from the encoder (data is unusable)
16 = turn counter error (data is unusable)