Instruction Manual


Page94
GNAV540UserManual
7430‐0808‐01Rev.B
ByteOffset Name Format Scaling Units Description
0 numFields U1 — — Thenumberoffieldsread
1 field0 U2 — — ThefirstfieldIDread
3 field0Data U2 — — ThefirstfieldID’sdataread
5 field1 U2 — — ThesecondfieldIDread
7 field1Data U2 — — ThesecondfieldID’sdataread
… … U2 — — …
numFields*4‐3 field… U2 — — ThelastfieldIDread
numFields*4‐1 field…Data U2 — — ThelastfieldID’sdataread
GetFieldsCommand
Table73GFCommand
GetFields(‘GF’=0x4746)
Preamble PacketType Length Payload Termination
0x5555 0x4746 1+numFields*2 <GFData> CRC(U2)><
Thiscommandallowstheusertogettheunit’scurrentconfigurationfields.NumFieldsisthenumberoffieldstoget.
The
field0,field1,etc.arethefieldIDstoget.GFmaybeusedtogetconfiguration,calibration,andalgorithmfields
fromRAM.Multiplealgorithmfieldswillnotnecessarilybefromthesamealgorithmiteration.Ifatleastonefieldis
IDsoft
successfullycollected,theunitwillrespondwithagetfieldsresponsewithdatacontainingthefield he
successfullyreceivedfields.
Ifanyfieldisunabletobereceived,theunitwillrespondwithanerrorresponse.Notethatbotha
getfieldsandan
errorresponsemaybereceivedastheresultofagetfieldscommand.
Table74GFPayload
GFPayloadContents
ByteOffset Name Format Scaling Units Description
0 numFields U1 — — Thenumberoffieldstoget
1 field0 U2 — — ThefirstfieldIDtoget
3 field1 U2 — — ThesecondfieldIDtoget
… … U2 — — MorefieldIDstoget
numFields*2–
1
Field… U2 — — ThelastfieldIDtoget
GetFieldsResponse
Table75GFResponse
GetFields(‘GF’=0x4746)
Preamble PacketType Length Payload Termination