AHRS500CA Series User’s Manual
Page 14
Doc# 7430-0050-03 Rev. A
Command
Query Model
Character(s) Sent
M
Response
Model Configuration Packet
Description
This queries the AHRS500CA model type and
will tell you the AHRS500CA model
configuration. The response is an ASCII string
packet that describes the model type
configuration, preceded with a header byte (hex
FF) and followed by a one byte checksum
calculated in the manner described below
(section 3.7).
3.6
Data Packet Format
In general, the digital data representing each measurement is sent as a 16-bit
number (two bytes). The data is sent MSB first then LSB.
In voltage mode, the data is sent as unsigned integers to represent the range
0 – 5 V.
In scaled and angle mode, the data generally represents a quantity that can
be positive or negative. These numbers are sent as a 16 -bit signed integer in
2's complement format. The data is sent as two bytes, MSB first then LSB.
Each data packet will begin with a two -byte header (hex AA 55) and end
with a two-byte checksum. The checksum is calculated in the following
manner:
1. Sum all packet contents
except
header and checksum.
2. Divide the sum by hex FFFF.
3. The remainder should equal the checksum.
The packet also contains the model type configuration number, and the BIT
word output. Please refer to sectio n 3.4.1 for details about the BIT word
processing.
The model type configuration number will display the model number of the
AHRS500CA model configuration purchased. In general the model type
configuration will be described in the model configuration sheet sent with
the unit, and is designated by the following string AHRS500CA -[]. The
number in the brackets is the model type configuration number output in the
angle mode data packet, and should match the model type purchased and
described in the configuration sheet.
SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:[email protected]
SUNSTAR自动化 http://www.sensor-ic.com/ TEL: 0755-83376489 FAX:0755-83376182 E-MAIL:[email protected]