CXM543 User’s Manual
Doc.# 6001-0015 Rev 1.2
Page 9
5 CXM543 Configuration Options and Data
Output Formats
The user can configure the CXM543 system in the following ways:
1. Mode
2. Autosend or command
3. Baud rate
4. Pacing
The mode settings are used to change the format of the data output. The
user can select the data output to be raw A/D counts (M=R) calibrated
sensor (vector) output (M=V) or angles (M=A). The serial output format
can be selected to be text (M=T) or binary (M=B). The user can also
choose whether to append a checksum to the transmission (M=E) or omit
this (M=N).
Some examples of different data output formats and the commands used to
create them follow:
Commands
Data Formats
to set up
M=T
Raw data in a text hex format without a checksum:
M=R
AX AY AZ MX MY MZ
M=N
1234 5678 9ABC 1234 5678 9ABC<CR><LF>
The data values are encoded as four digit hex values
separated from each other with a single space. The last
digit of the Z data is followed by a carriage and a line
feed.
M=T
Raw data in a text hex format with a checksum (cs):
M=R
AX AY AZ MX MY MZ cs
M=E
1234 5678 9ABC 1234 5678 9ABC 4E <CR><LF>
This just like the last example except for an addition of a
space and a two Hex digit checksum in between the last
digit of Z and the carriage return. The checksum is
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]