47
12.3.2. Get-Function Listing
The PC can interrogate the Commercial Display for specific information. The Get-Function packet format
consists of 9 bytes which is similar to the Set-Function packet structure. Note that the “Value” byte is always
= 000
Get-Function description:
Length:
Total Byte of Message excluding “CR”.
Commercial Display ID
Identification for each of Commercial Display (01~98; default is 01).
Command Type
Identify command type,
“g” (0x67h) : Get Command
“r” (0x72h) : Valid command Reply
“-“ (0x2Dh) : Invalid command Reply
Command:
Function command code: One byte ASCII code.
Value[1~3]:
Three bytes ASCII that defines the value.
CR
0x0D
Get-Function format
Send: (Command Type=”g”)
Name
Length
ID
Command
Type
Command Value1
Value2
Value3
CR
Byte Count
1 Byte
2 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
Bytes order
1
2~3
4
5
6
7
8
9
Reply: (Command Type=”r” or “-”)
If the Command is valid, Command Type =”r”
Name
Length
ID
Command
Type
Command Value1
Value2
Value3
CR
Byte Count
1 Byte
2 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
Bytes order
1
2~3
4
5
6
7
8
9
If the Command is Not valid, Command Type=”-“
Name
Length
ID
Command
Type
CR
Byte Count
1 Byte
2 Byte
1 Byte
1 Byte
Bytes order
1
2~3
4
5
Example1: Get Brightness from Commercial Display-05 and this comm and is valid. The Brightness
value is 67.
Send (Hex Format)
Name
Length
ID
Command
Type
Command Value1
Value2
Value3
CR
Hex
0x38
0x30
0x35
0x67
0x62
0x30
0x30
0x30
0x0D