Flex™ H6 User Guide
Page 24 of 29
RIEKER INC • 34 MOUNT PLEASANT ROAD • ASTON • PA • 19014 • USA
610-500-2000
fax: 610-500-2002
support@riekerinc.com
www.riekerinc.com
The information and material presented may not be published, broadcast, rewritten, or redistributed without the expressed wri
tten consent of Rieker
Inc.
The content presented is provided for informational purposes only and subject to change.
7 Rieker
®
All Rights Reserved.
FORM NUMBER: H60009_12/14 UPDATED:
5/15/18
Length: 1 byte
Data: Type Code (Unsigned 8-bit Integer)
Lock Level Required: 0 or 1
Immediate Response: Yes
Expected Response from sensor: Packet with the sensor’s measured angle(s) in 4 (or 8) bytes, as an IEEE-754
single precision floating point number, based on the sent type code.
NOTE: A change in angle will not display instantly due to filtering and smoothing in the sensor.
Type Code Description
1 Single axis angle (4 bytes)
2 Dual X-axis angle (4 bytes)
3 Dual Y-axis angle (4 bytes)
4 Dual X and Y axis angles (8 bytes)
Example Command Send/Receive:
Sent Command: 0065 0000 0005 01 04 5425
[DEST] [SRC] [FUNCT] [DL] [DATA] [CRC]
Get X and Y axis angles from sensor at address 101 (0x0065)
Received Command: 0000 0065 0005 08 BF4B 1C00 4193 8D00 71C8
[DEST] [SRC] [FUNCT] [DL] [DATA] [CRC]
X-axis = (0xBF4B1C00) -0.79339599609375°; Y-axis = (0x41938D00) 18.44384765625°
10 CHANGE LOCK CHANGE LOCK LEVEL
Length: 5 bytes
Data: Lock Level (Unsigned 8-bit Integer), Password, 12345678 (Unsigned 32-bit Integer)
Lock Level Required: 0 or 1
Immediate Response: Yes
Expected Response from sensor: ACK
Info: This function is used to change the lock level of the sensor. Can be changed to 0 (locked) or 1 (unlocked).
Lock level 1 allows various sensor settings to be changed, while lock level 0 prevents changes to the sensor
settings.
Example Command Send/Receive:
Sent Command: 0065 0000 000A 05 0100BC614E E414
[DEST] [SRC] [FUNCT] [DL] [DATA] [CRC]
Change lock level to 1
Received Command: 0000 0065 0000 00 00 CC1E
[DEST] [SRC] [FUNCT] [DL] [DATA] [CRC]
ACK
5 GET ANGLE GET THE ANGLE OF A SENSOR