-64- -65-
08. PROTOCOL
Introduction
-
This document contains the communication PROTOCOL between LCD and its control devices for better use.
-
It focuses on the brief functional explanation and communication protocol without detailed technical matters.
1. Communication Setting
-
Transmission type: Asynchronous Serial Communication
-
Baud Rate: Select one rate among 9600bps, 14400bps, 19200bps, 38400bps, 57600bps, or 115200 bps
-
Parity bit: None
-
Stop bits: 1
2. Protocol Format
2.1. Send To LCD
STX CMD Ex CMD Length Data ETX
1 byte 1 byte 1 byte 1 byte Variable 1 byte
Group ID Multi ID Other Data
1 byte 1 byte N byte
-
It is a commanding format to LCD. The command will be eective only for the set of the designated ID.
-
STX (0x02) : Code for initiation. It means the beginning of Protocol. (Fixed value)
-
CMD: Code for actual command. (Variable)
-
Ex CMD: Code for expanded code. (Fixed value 0x01)
-
Length: The length of "Data" area. (Variable: 0~255)
-
Data: The areas for "ID" and the other Data (Variable)
-
Group / Multi ID: Code for distinguishing LCD sets. Group ID : 0x01 / Multi ID : 0x01 (Fixed).
-
ETX(0x03) : Code for the end of Protocol (Fixed value)
2.2. Receive From LCD
STX CMD Ex CMD Length Data Check Sum ETX
1 byte 1 byte 1 byte 1 byte Variable 1 byte 1 byte
Group ID Multi ID Other Data
1 byte 1 byte N byte
-
Response format to a certain command from the designated set among LCD sets. The dierence from "Send to LCD" is "Check sum".
-
STX(0x02) : Code for initiation. It means the beginning of Protocol. (Fixed value)
-
CMD: Code for actual command. (Variable)
-
Ex CMD: Code for expanded code. (Fixed value 0x01)
-
Length: The length of "Data" area. (Variable: 0~255)
-
Data: The areas for "ID" and the other Data (Variable)
-
ID: Code for distinguishing LCD sets. Group ID : 0x01 / Multi ID : 0x01 (Fixed).
-
Check sum: Execute "Not" operation after adding all the values in "STX~Data" area.
-
ETX(0x03): The end of the code. (Fixed value)
■
Communication Sequence
-
Wait for 50msec for response after sending the command. If there is no response, it is recommended to resend the command.
-
Do not send the other command or change input resolution during command transmission.
Command Transmission
Response Transmission
3. Basic Command
3.1. Status
-
This is the command for checking the current status of LCD.
-
It is available only during Power On status.
-
CMD : 0x87
-
Send To LCD
STX CMD Ex CMD Length
Data
ETX
Group ID Multi ID Mode
Value 0x02 0x87 0x01 0x03 Variable Variable Variable 0x03
*Group ID/Multi ID Range (Program) : Group ID : 0x01 / Multi ID : 0x01 Fixed
*Mode : Read(Get) – 0x00(0)
-
Receive From LCD
STX CMD Ex CMD Length
Data
Check Sum ETX
Group ID Multi ID Mode Status
Value 0x02 0x87 0x01 0x1C Variable Variable Variable
………
Variable 0x03
*Group ID/Multi ID Range (Program) : Group ID : 0x01 / Multi ID : 0x01 Fixed
*Mode : Read(Get) – 0x00(0)
*Check Sum: Execute "Not" operation after adding all the values in "STX~Data" area.
-
Status (25 Byte)
No. Data Length Explanation
1 Display Model 10 Byte
Ex) OLS-8410NL
0x4F 0x4C 0x53 0x2D 0x38 0x34 0x31 0x30 0x4E 0x4C
2 Firmware Version 10 Byte
Ex) 0.80.01A.O
0x00 0x2E 0x38 0x30 0x2E 0x30 0x31 0x41 0x2E 0x4F
3 IP Address 4 Byte
Ex) 192.168.00.04
0xC0 0xA8 0x00 0x04
4 Input Source 1 Byte
0x11: HDMI 1A , 0x12 : HDMI 1B, 0x13 : HDMI 1C, 0x14 : HDMI 1D,
0x15 : HDMI 2A, 0x16 : HDMI 2B, 0x17 : HDMI 2C, 0x18 : HDMI 2D,
0x31 : UHD 1 , 0x32 : UHD 2
3.2. Power On/O
-
Power On/O
-
Power On command is available only during Power O (Stand-by) status.
-
Power O command is available only during Power On (Operative) status.
-
CMD : 0x10