MD-119 HW Manual
Display UART Command
C-6
OSD Control Command
This section describes the OSD control commands that can be used to configure the display. See the following
tables.
BLI (Brightness Control)
This command is sent to the unit to command the backlight brightness control setting. The brightness value
shall be sent as one byte in the DATA field. A setting of 0x00 will indicate off. A setting of 0xFF will indicate
maximum brightness. Intermediate values will control brightness over the range from minimum to
maximum luminance.
LEN = one data byte.
Examples:
Command Brightness= 153
0x07
0xFF
0x42
0x52
0x54
0x01
0x10
0x99
0x66
Acknowledge Brightness= 153
0x06
0xFF
0x42
0x52
0x54
0x01
0x11
0x99
0x66
Negative Acknowledge Brightness= 102
0x15
0xFF
0x42
0x52
0x54
0x01
0x02
0x66
0x99
DST (Display State)
This command is sent to the unit to control the unit on/off or query the on/off state of the unit.
LEN = one data byte.
0x00
Turn the display off
0xFF
Turn the display on
0x3F
“?” - Query the state of the unit. The returned DATA field will indicate the state.
0x00 = Unit is off. 0xFF = Display is on.
If the data checksum is valid, the unit will reply to this command with an ACK attention code. The DATA field will
indicate the unit sate. If an invalid data checksum was received and the message was not broadcast and RS-485,
the unit will reply with a NAK attention code and the current state.
MAN (Manufacturer ID Code)
This command is sent to the unit to request Manufacturer ID. No data shall be sent with this
command.
The unit will reply to this command with an ACK attention code. The DATA field identifies the manufacturer in a
text string.
Examples:
Query Manufacturer ID:
0x07
0xFF
0x4D
0x41
0x4E
0x00
0x1D
Acknowledge Manufacturer ID “MOXA”:
0x06
0xFF
0x4D
0x41
0x4E
0x0C
0x12
0x4D
0x4F
0x58
0x41
0x20
0x20
0x20
0x20
0x20
0x20
0x20
0x20
0xCA