1
Data frame format:
Identifier
(1 byte)
Frame Length
(1 byte)
Address Code
(4 byte)
Command
(1 byte)
Data
(n byte)
Checksum
(1 byte)
0x77
Data format: 16
Identifier: Fixed to 77
Frame Length: Length from Frame Length to Checksum (included)
Address Code: Address of acquiring module, default 0X00000001
Data: Content and length variable according to Command.
Checksum: Sum of Frame Length, Address Code, Command, and Data .No entry is considered.
2
Detailed command:
2.1
Read angle of X axis
Command:
77 07 00 00 00 01 01 09
Identifier
(1 byte)
Frame Length
(1 byte)
Address Code
(4 byte)
Command
(1 byte)
Data
(0 byte)
Checksum
(1 byte)
0x77
0x07
0x01
Response Command:
Identifier
(1 byte)
Frame Length
(1 byte)
Address Code
(4 byte)
Command
(1 byte)
Data
(4 byte)
Checksum
(1 byte)
0x77
0x0B
0x81
0xSXXXYYYY
Note: The data field is 4 bytes which return the angle value, for the compressed BCD code, S is the symbol bit (0
positive, 1 negative) XXX is a three-digit integer value, YYYY is a small value. Other axis data is the same. For
example, 10268010 represents -26.801
0
degrees.
2.2
Read angle of Y axis
Command:
77 07 00 00 00 01 02 0A
Identifier
(1 byte)
Frame Length
(1 byte)
Address Code
(4 byte)
Command
(1 byte)
Data
(0 byte)
Checksum
(1 byte)
0x77
0x07
0x02
Response Command:
Identifier
(1 byte)
Frame Length
(1 byte)
Address Code
(4 byte)
Command
(1 byte)
Data
(4 byte)
Checksum
(1 byte)
0x77
0x0B
0x82
0xSXXXYYYY
2.3
Read all data
Command:
77 07 00 00 00 01 04 0C
Identifier
(1 byte)
Frame Length
(1 byte)
Address Code
(4 byte)
Command
(1 byte)
Data
(0 byte)
Checksum
(1 byte)
0x77
0x07
0x04
Response Command:
Identifier
(1 byte)
Frame Length
(1 byte)
Address Code
(4 byte)
Command
(1 byte)
Data
(12 byte)
Checksum
(1 byte)
0x77
0x13
0x84
WF-WM410
WiFi Wireless High
Speed
High
Precision
Inclinometer
Hexadecimal commands sent over the network
Bewis Sensing Technology LLC
www.bwsensing.com
Tel:
+86 18906177922