Download F8913D User Manual - Four

Transcript
F8913D User Manual
4.4.3.9.10 Set device serial port data interval
Note: Data Interval is used to judge if the serial has recived the data . If data interval greater than
the setting ,the program will process the serial data. The lower baudrate ,the longer data interval.
Send query command: FE 01 21 2B 09 02
SOF
Length
Command
Data
FCS
FE
01
21 2B
command
(1 byte)
02
09
Respone to query command: FE 03 61 2B 09 14 00 54
SOF
Length
Command
Data
FCS
FE
03
61 2B
command
(1 byte)
Respone value
(2 bytes)
09
14 00
54
Data Description: ( little-endian)
Respone value:
06 00 ~ BC 07 (Millisecond)
Send set command: FE 03 21 2B 09 14 00 14
SOF
Length
Command
Data
FCS
FE
03
21 2B
command
(1 byte)
parameter value
(2 bytes)
09
14 00
14
Data Description: ( little-endian)
Parameter value:
06 00 ~ BC 07 (Millisecond)
Default : 14 00 (Millisecond)= 0x0014 = 20
Respone to set command:FE 01 61 2B 00 4B / FE 01 61 2B 02 49
SOF
Length
Command
Data
FCS
FE
01
61 2B
Command state
(1 byte)
4B
00
Data Description: 00 = Success
02 = Failure
Xiamen Four-Faith Communication Technology Co.,Ltd.
Add: J1-J3,3rdFloor,No.44,GuanRiRoad,SoftWare Park,XiaMen .China
http://www.fourfaith.com Tel: +86 592-6300326 6300325 6300324
Page 62 of 99
Fax:+86 592-5912735