Moxa MD-119-X1 [38/44] Downloading files

Moxa MD-119-X1 [38/44] Downloading files
MD-119 HW Manual Display UART Command
C-4
reply to any message that the checksum has failed with the attention code set to NAK. This requirement does
not reply to broadcast messages in RS-485 mode, in which case there will be no reply.
Downloading Files
Downloading Files
Use the following commands for downloading files.
Commands Description
DL? Data: none (0 byte)
ACK: Total packet numbers (1 byte)
DLN Data: Appointed packet (1 byte)
ACK: File content (72 bytes maximum, except
for the last packet)
The command DL? will send a request to the micro controller and ask how many packets that need to be
downloaded. The reply from the micro controller shall be used when using the command DLN to download the
specific packets.
Command DL?
Byte
Number
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6
Hex 0x7 0xFF 0x44 0x4C 0x3F 0x0 0x2A
ASCII D L ?
Command DLN
Byte
Number
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
Hex 0x7 0xFF 0x44 0x4C 0x4E 0x1 0x1A 0x50 0xAF
ASCII D L N

Содержание

Скачать