Moxa MPC-2157Z-T [63/70] Downloading rgb files

Moxa MPC-2157Z-T [63/70] Downloading rgb files
MPC-2190 Hardware Display Control Interface
6-7
Downloading RGB Files
Use the following commands for downloading RGB files.
Commands Description
DL? Data: none (0 byte)
ACK: Total packet numbers (1 byte)
DLN Data: Appointed packet (1 byte)
ACK: File content (30 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. Refer to the following section for detailed descriptions of the DL? and DLN.
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
Here is the example of downloading the RGB file package 0:
Command to read package 0.
0x07 0xFF 0x44 0x4C 0x4E 0x01 0x1A 0x00 0xFF
ACK the package 0 of the first RGB file
0x06 0xFF 0x44 0x4C 0x4E 0x20 0xFC 0x00 - Data IDCHK
Data should be the real value of the RGB file package 0.

Содержание

Скачать