MD-219 Hardware Manual
Display UART Commands
C-4
DL? (ECDIS RGB Package Query)
Use
DL?
to determine how many available packets are in each ECDIS table. This command cannot be used if
the MD-219 has not been calibrated. Total package num = Size of ECDIS RGB file/30 bytes per package.
Examples:
Send
DL?
command to query total package num. of the first RGB file.
0x07
0xFF
0x44
0x4C
0x3F
0x00
0x2A
ACK 255 packages
0x06
0xFF
0x44
0x4C
0x3F
0x01
0x2A
0xFF
0x00
D2N (Download ECDIS RGB File (Second))
Before sending this command, use DL? to determine how many available packets are in each ECDIS table. This
command cannot be used if the MD-219 has not been calibrated. Every packet has a head (Byte 7 and Byte 8);
Byte 7 is this packet number and Byte 8 is the ASCII code for “-”; the remaining bytes are the data. If the
packet is full the data is in Byte 9 to Byte 38. LEN=one data byte.
Data length is 32. The first byte is package num., the second byte is “-” and the other 30 bytes are data.
Examples:
Command to read packet 0.
0x07
0xFF
0x44
0x32
0x4E
0x01
0x34
0x00
0xFF
ACK packet 0 of the first RGB file
0x06
0xFF
0x44
0x32
0x4E
0x20
0x16
0x00
0x2D
Data
IDCHK
D2? (ECDIS RGB Package Query (Second))
Every packet has 32 bytes of data; the first byte is the packet number, the second byte is “-” and the remaining
30 bytes are data
Examples:
Send a
D2?
command to query the total number of packets of the first RGB file.
0x07
0xFF
0x44
0x32
0x3F
0x00
0x44
ACK 255 packets.
0x06
0xFF
0x44
0x32
0x3F
0x01
0x44
0xFF
0x00
ETC (Elapsed Time Counter Query)
This command queries the elapsed time that the unit has been operating. No data will be sent with this
command. The unit will reply to this command with an ACK attention code. The DATA field will be set to a 4 byte
string, where the first byte is Year, the second and third are Hour and the forth is Minute.
Examples:
Send
ETC
to query elapsed time:
0x07
0xFF
0x45
0x54
0x43
0x00
0x1D
ACK Year, Hour, Minute
06
FF
45
54
43
04
1A
Year Hour(H) Hour(L) Minute IDCHK