User manual


DocumentMT0100P.N
©XsensTechnologiesB.V. MTiandMTxUserManualandTechnicalDocumentation
27
Example
Requestcurrentoutputmode:
Sendingmessage:
ReqOutputMode = 0xFA0xFF0xD00x000x31(hexadecimalvalues)
Receivingmessage(=Acknowledge):
ReqOutputModeAck = 0xFA0xFF0xD10x02MHMLCS(hexadecimalvalues)
ReqOutputModeAck contains data which represents the current mode (= MH & ML). CS stands for the
checksum value. To change the output mode you must add the new mode in the data field of the sending
message:
Settheoutputmode:
Sendingmessage:
SetOutputMode = 0xFA0xFF0xD00x02MHMLCS(hexadecimalvalues)
Receivingmessage(=Acknowledge):
SetOutputModeAck = 0xFA0xFF0xD10x000x30(hexadecimalvalues)
5.3.3 Commonmessages
GoToConfig
MID 48(0x30)
Datafield n/a
Direction ToMTi/MTx
Validin MeasurementState&ConfigState
Switches the active state of the device from Measurement State to Config State. This message can
alsobeusedinConfigStatetoconfirmthatConfigStateiscurrentlytheactivestate.
SetOutputMode
MID 208(0xD0)
Datafield MODE(2bytes)
Direction ToMTi/MTx
Validin ConfigState
Sets the output mode of the MTi / MTx. The output mode can be set to various output modes of
whichmostofthemcanbecombined,likeforexamplecalibratedsensordataandorientationdata.
Theuncalibratedrawinertialdataoutputhowevercan notbeused togetherwithanyoftheother
outputs.
MODE
MODE bits Output mode
Bit 0 Temperature data
Bit 1 Calibrated data
Bit 2 Orientation data
Bit 3
Auxiliary data (see also SetOutputSettings)
Bit 14 Un-calibrated raw data (not in combination with
calibrated sensor data and/or orientation data)
R R R R R R R R R R R
1514131211109876543210Bit #