User Manual

34
________________________________________________________________
V1.1
11 / 20
Commercial Display RS-232 Protocol
3.3 Get-Function Listing
Get function format is listed as following :
Length (1 byte) + ID (2 byte) + Cmd Type (1 byte) + Cmd Code(1 byte) + Value(>=3 byte) + CR (1
byte).
Example 1:
Get Brightness from ID-05 and this command is valid, and the Brightness value is 67.
Send command:
Byte 0 1 2 3 4 5 6 7 8
Name Length ID Cmd Type Cmd Code
Value
CR
Byte1 Byte2 Byte3
Hex 0x38 0x30 0x35 0x67 0x62 0x30 0x30 0x30 0 x0D
Return:
Byte 0 1 2 3 4 5 6 7 8
Name Length ID Cmd Type Cmd Code
Value
CR
Byte1 Byte2 Byte3
Hex 0x38 0x30 0x35 0x72 0x62 0x30 0x36 0x37 0 x0D
Example 2:
Get Customer Name from ID-05, and the Customer Name is Qisda.
Byte 0 1 2 3 4
Name Length ID Cmd Type Cmd Code
Hex 0x44 0x30 0x35 0x67 0xDC
5 6 7 8 9 10 11 12 13
Value
Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8 Byte9
0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
14 15 16 17 18 19 20
Value
CR
Byte10 Byte11 Byte12 Byte13 Byte14 Byte15
0x00 0 x00 0 x00 0 x00 0 x00 0x00 0 x0D
Return:
Byte 0 1 2 3 4
Name Length ID Cmd Type Cmd Code
Hex 0x44 0x30 0x35 0x72 0xDC