Digi-Pas
®
© 2018 Digipas Technologies Inc. All Rights Reserved.
www.digipas.com
Page 34
DWL-5x000XY DATA SHEET
7.4.3. Vibro Mode
Following equation shows the conversion of angle from the received data:
For DWL5500XY & DWL5800XY
Angle =
(((Byte 6 << 24) + (Byte 5 << 16) + (Byte 4 << 8) + Byte 3) - 250000) / 100000
For DWL5000XY
Angle =
(((Byte 6 << 24) + (Byte 5 << 16) + (Byte 4 << 8) + Byte 3) - 25000) / 10000
Byte [n]
Command
Descriptions
Byte [0]
0x06
From Computer
Byte [1]
0x03
Vibro Mode
Byte [2]~[11]
0x00
Not Applicable
Byte [n]
Command
Descriptions
Byte [0]
0x71
0x71: To Control Box / From Sensor 1
0x72: To Control Box / From Sensor 2
0x73: To Control Box / From Sensor 3
0x74: To Control Box / From Sensor 4
Byte [1]
0x13
Single Axis Position / Vibro Mode
Byte [2]
0x00
Angle Value
Byte [3]
0x03
Byte [4]
0xD0
Byte [5]
0x90
Byte [6]
0xCC
Fixed Dummy
Byte [7]
0xCC
Byte [8]
0xCC
Byte [9]
0xCC
Byte [10]
0xAA
CRC16 High
Byte [11]
0x3A
CRC16 Low
To set the tilt sensor module into Vibro Mode:
<< (To control box) :
0x06, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
Data received from control box:
>> (From control box) :
0x71, 0x13, 0x00, 0x03, 0xD0, 0x90, 0xCC, 0xCC, 0xCC, 0xCC, 0xAA, 0x3A