beautypg.com

Wf payload contents, Byte offset, Name – Moog Crossbow GNAV540 User Manual

Page 91: Format, Scaling, Units, Description, Write fields (‘wf’ = 0x5746), Preamble, Packet type

background image

 

 

 

GNAV540 User Manual 
7430‐0808‐01  Rev. B 

Page 91

 

 

• If at least one field is successfully written, the unit will respond with a write field response containing the 

field IDs of the successfully written fields.   

• If any field is unable to be written, the unit will respond with an error response.  

 Both write fields and an error response may be received as a result of a write fields command.  Attempts to write a 
field with an invalid value is one way to generate an error response.  To view a table of field IDs and valid field 

values, refer to Configuration Fields on page 85. 

Table 63  WF Payload 

WF Payload Contents 

Byte Offset 

Name 

Format 

Scaling  Units 

Description 

numFields 

U1 

— 

— 

The number of fields to write 

field0 

U2 

— 

— 

The first field ID to write 

field0Data 

U2 

— 

— 

The first field ID’s data to write 

field1 

U2 

— 

— 

The second field ID to write 

field1Data 

U2 

— 

— 

The second field ID’s data 

… 

… 

U2 

— 

— 

… 

numFields*4 ‐3 

field… 

U2 

— 

— 

The last field ID to write 

numFields*4 ‐1 

field…Data 

U2 

— 

— 

The last field ID’s data to write 

Write Fields Response 

Table 64  WF Response 

Write Fields (‘WF’ = 0x5746) 

Preamble  Packet Type 

Length 

Payload 

Termination 

0x5555 

0x5746 

1+numFields*2   

 

The unit will send this packet in response to a write fields command if the command has completed without errors. 
 
 
 

Table 65  WF Payload 

WF Payload Contents 

Byte Offset 

Name 

Format 

Scaling  Units 

Description 

numFields 

U1 

— 

— 

The number of fields written 

field0 

U2 

— 

— 

The first field ID written 

field1 

U2 

— 

— 

The second field ID written 

… 

… 

U2 

— 

— 

More field IDs written 

numFields*2 – 1  Field… 

U2 

— 

— 

The last field ID written