Tiny Addressable Serial Converter
ICP DAS CO., LTD.
User Manual, Ver. 1.3, Apr. 2018, Page: 52
5.1.11 $AATN[CrLfmode]
Description:
This function reads/sets what the characters are as judging the end of
command or response string.
Syntax:
$AATN
[chk](CrLf)
Reads the setting value of CrLfmode stored in the Flash
$AATN(CrLfmode)
[chk](CrLf)
Sets the setting value of CrLfmode for the
command/response string
[Request]
Byte 1
Byte 2-3
Byte 4
Byte 5
Byte 6-7
Byte 8-9
Note
$
AA
T
N
[chk]
(CrLf)
Read
Byte 1
Byte 2-3
Byte 4
Byte 5
Byte 6
Byte 7-8
Byte 9-10
Note
$
AA
T
N
[CrLfmode]
[chk]
(CrLf)
Write
$
AA
N
(CrLfmode)
[chk]
(CrLf)
Delimiter character
2-character port address in Hex format. The valid range is from 00~FF
0 = Reads/Sets the CrLfmode value of the COM 1
1 =Reads/Sets the CrLfmode value of the COM 2/3
0 = (CrLf)=0x0D (CR)
1 = (CrLf)=0x0D+0x0A (CR+LF)
2 = (CrLf)=0x0A+0x0D (LF+CR)
3 = (CrLf)=0x0A (LF)
4 = No end character
2-character checksum. If the checksum is disabled
no [chk]
End Character