Tiny Addressable Serial Converter
ICP DAS CO., LTD.
User Manual, Ver. 1.3, Apr. 2018, Page: 57
5.1.14 $AAJN[timeout]
Description:
The function reads/sets the delay time before determining whether the end of a
Command/response has been sent and received.
If the timeout value for the RS-232 COM Port is too small, the response part will be received
by the 1K byte Queue buffer for RS-232 Ports. The $AAU command can be used to read the
buffer. Refer to section 5.1.13 for more information.
Syntax:
$AAJN
[chk] (CrLf)
Reads the timeout value
$AAJN
[timeout] [chk] (CrLf)
Sets the timeout value
[Request]
Byte 1
Byte 2-3
Byte 4
Byte 5
Byte 6-7
Byte 8-9
Note
$
AA
J
N
[chk]
(CrLf)
Read
Byte 1
Byte 2-3
Byte 4
Byte 5
Byte 6 - n
Byte (n+1) -
(n+2)
Byte (n+3) -
(n+4)
Note
$
AA
J
N
[timeout]
[chk]
(CrLf)
Write
$
AA
N
[timeout]
[chk]
(CrLf)
Delimiter character
2-characterport address in Hex format. The valid range is from 00~FF
0 = COM 1 timeout
1 = COM 2/3 Response timeout
(Timeout value after sending request/command string.)
2= COM 2/3 Continuous response timeout
(Timeout value between chars of the response data.)
Delay time value (ms). Valid range is 0 to 4294967259
.
2-character checksum. If the checksum is disabled
no [chk]
End Character