Byte offset, Name, Format – Moog Crossbow GNAV540 User Manual
Page 94: Scaling, Units, Description, Get fields command, Get fields (‘gf’ = 0x4746), Preamble, Packet type

Page 94
GNAV540 User Manual
7430‐0808‐01 Rev. B
Byte Offset
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
Get Fields Command
Table 73 GF Command
Get Fields (‘GF’ = 0x4746)
Preamble Packet Type
Length
Payload
Termination
0x5555
0x4746
1+numFields*2
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 get fields and an
error response may be received as the result of a get fields command.
Table 74 GF Payload
GF Payload Contents
Byte Offset
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
Get Fields Response
Table 75 GF Response
Get Fields (‘GF’ = 0x4746)
Preamble Packet Type
Length
Payload
Termination