DMU380SA Series
User’s Manual
________________________________________________________________________
Doc# 7430-0026 Rev.01
Page 51
7
Communicating with the DMU380SA Series
Link Test.
7.1
7.1.1
Ping Command
Ping (‘PK’ = 0x504B)
Preamble
Packet Type
Length
Termination
0x5555
0x504B
-
-
The ping command has no payload. Sending the ping command will cause the unit to
send a ping response. To facilitate human input from a terminal, the length and CRC
fields are not required. (Example: 0x5555504B009ef4 or 0x5555504B))
7.1.2
Ping Response
Ping (‘PK’ = 0x504B)
Preamble
Packet Type
Length
Termination
0x5555
0x504B
0x00
<CRC (U2)>
The unit will send this packet in response to a ping command.
7.1.3
Echo Command
Echo (‘CH’ = 0x4348)
Preamble
Packet Type
Length
Payload
Termination
0x5555
0x4348
N
<echo payload>
<CRC (U2)>
The echo command allows testing and verification of the communication link. The unit
will respond with an echo response containing the echo data. The echo data is N bytes
long.
7.1.4
Echo Response
Echo Payload Contents
Byte Offset Name
Format
Scaling
Units
Description
0
echoData0
U1
-
-
first byte of echo data
1
echoData1
U1
-
-
Second byte of echo data
…
…
U1
-
-
Echo data
N-2
echoData...
U1
-
-
Second to last byte of echo data
N-1
echoData…
U1
-
-
Last byte of echo data
Interactive Commands
7.2
Interactive commands are used to interactively request data from the DMU380SA Series,
and to calibrate or reset the DMU380SA Series.
7.2.1
Get Packet Request
Get Packet (‘GP’ = 0x4750)
Preamble
Packet Type
Length
Payload
Termination
0x5555
0x4750
0x02
<GP payload>
<CRC (U2)>