DMU380SA Series
User’s Manual
________________________________________________________________________
Doc# 7430-0026 Rev. 01
Page 68
Read Fields Command
8.9
Read
Fields (‘RF’ = 0x5246)
Preamble
Packet Type
Length
Payload
Termination
0x5555
0x5246
1+numFields*2
<RF payload>
<CRC (U2)>
This command allows the user to read the default power-up configuration fields from the
EEPROM. NumFields is the number of fields to read. The field0, field1, etc. are the field
IDs to read. RF may be used to read configuration and calibration fields from the
EEPROM. If at least one field is successfully read, the unit will respond with a read fields
response containing the field IDs and data from the successfully read fields. If any field is
unable to be read, the unit will respond with an error response. Note that both a read
fields and an error response may be received as a result of a read fields command.
RF Payload Contents
Byte Offset
Name
Format
Scaling
Units
Description
0
numFields
U1
-
-
The number of fields to read
1
field0
U2
-
-
The first field ID to read
3
field1
U2
-
-
The second field ID to read
…
…
U2
-
-
More field IDs to read
numFields*2 - 1
Field…
U2
-
-
The last field ID to read
Read Fields Response
8.10
Read Fields (‘RF’ = 0x5246)
Preamble
Packet Type
Length
Payload
Termination
0x5555
0x5246
1+numFields*4
<RF payload>
<CRC (U2)>
The unit will send this packet in response to a read fields request if the command has
completed without errors.
RF Payload Contents
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
8.11
Get Fields (‘GF’ = 0x4746)
Preamble
Packet Type
Length
Payload
Termination
0x5555
0x4746
1+numFields*2
<GF Data>
<CRC (U2)>