User Guide

Table Of Contents
82
3. Set Time example
Time: 16:27:59
Send: 0x 38 30 31 73 57 48 31 36 0D (“H16”)
Send: 0x 38 30 31 73 57 4D 32 37 0D (“M27”)
Send: 0x 38 30 31 73 57 53 35 39 0D (“S59”)
10.3.2 Get-Function Listing
The PC can interrogate the LFD 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”.
TV/DS ID Identification for each of TV/DS (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