Moxa MPC-2190Z [62/70] Cmd message commands and queries

Moxa MPC-2157Z-T [62/70] Cmd message commands and queries
MPC-2190 Hardware Display Control Interface
6-6
CMD (Message Commands and Queries)
The command can be one of the following values. For details, refer to Appendix B: Display Control Interface
Commands.
CMD 0 CMD 1 CMD 2 ASCII Description
0x42 0x52 0x49 BRI” Brightness Minimum Value
0x42 0x52 0x4C “BRL” Set LED Brightness of Touch Keypad
0x42 0x52 0x4D “BRM” Brightness Maximum Value
0x42 0x52 0x54 BRT” User Brightness Control
0x42 0x52 0x55 BRU” Glass Display Control - Brilliance Button
0x42 0x5A 0x5A “BZZ” Buzzer Control
0x44 0x4C 0x4E “DLN” Download ECDIS RGB package
0x44 0x4C 0x3F “DL? ECDIS RGB package Query
0x45 0x54 0x43 ETC” Elapsed Time Counter Query
0x47 0x4D 0x42 “GMB” Glass Display Control - Minimum Brightness
0x50 0x4F 0x54 “POT” Potentiometer Control
0x53 0x57 0x49 SWI” Scalar Firmware Version Query
0x53 0x57 0x4B “SWK” Touch Keypad Firmware Version Query
0x41 0x44 0x46 ADF” AC Input Power Detect Function
0x41 0x44 0x3F “AD?” Query AC Input Power Detect Function Status
0x42 0x4C 0x49 “BLI” Brightness Control
0x44 0x55 0x46 DUF Disable UART Command Function
0x45 0x4D 0x53 “EMS” ECDIS Mode Select
LEN (Data Length)
This byte defines the length of data in the message in bytes. The maximal value for this field is 74 bytes, and
the minimal value is 0 byte.
IHCHK (Inverse Header Checksum)
This is a simple 8-bit checksum of the header data, message bytes 0 to 5. The 8-bit sum (without carry) of
bytes 0, 1, 2, 3, 4, 5, and 6 shall be 0xFF.
If a message is received with an incorrect checksum, the display will replay with the attention code set to NAK.
DATA (Data Field)
The data field shall only be transmitted if LEN is larger than 0. This field depends on the CMD transmitted.
IDCHK (Inverse Data Checksum)
These bytes shall be only transmitted if LEN is larger than 0. This is a simple 8-bit checksum of the data field,
message bytes 7 to 7+ (LEN-1).
The 8-bit sum (without carry) of bytes 7 through 7+LEN inclusive shall be 0xFF. The receiver will reply to any
message that the checksum has failed with the attention code set to NAK.

Содержание

Скачать