Moxa MD-226X [36/56] Downloading rgb files

Moxa MD-226X [36/56] Downloading rgb files
MD-224 Hardware Manual Display Control Interface
5-6
Downloading RGB Files
This feature returns the ECDIS RGB file that is currently saved to the EEPROM; consequently, it is only available
for type-approved ECDIS models.
VGA
Use the following commands for downloading RGB files from VGA input source.
Command 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 need to be
downloaded. The reply from the micro controller should 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.
Query the RGB File Size (in packets): DL? Command
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 ?
Download the RGB File: DLN Command
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
appointed
packet
0xAF
ASCII D L N
Here is sample command to read and return packet zero of the RGB file:
0x07 0xFF 0x44 0x4C 0x4E 0x01 0x1A 0x00 0xFF
This is the ACK packet that is returned, with data packet 0 located in the Data section.
0x06 0xFF 0x44 0x4C 0x4E 0x20 0xFC 0x00 - Data IDCHK
This result shows the actual value of RGB file package 0. The results could be different for different machines.
DVI
Use the following commands for downloading RGB files from the DVI input source:
Command Description
D2? Data: none (0 byte)
ACK: Total packet numbers (1 byte)
D2N Data: Appointed packet (1 byte)
ACK: File content (30 bytes maximum, except for the last packet)
The command D2? will send a request to the micro controller and ask how many packets need to be
downloaded. The reply from the micro controller should be used when using the command D2N to download
the specific packets. Refer to the following section for a detailed descriptions of D2? and D2N.
Query the RGB File Size (in packets): D2? Command
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6
Hex 0x7 0xFF 0x44 0x4C 0x3F 0x0 0x2A
ASCII D 2 ?

Содержание

Похожие устройства

Скачать