Tiny Addressable Serial Converter
ICP DAS CO., LTD.
User Manual, Ver. 1.3, Apr. 2018, Page: 56
[Response]
Byte 1 – n
Byte (n+1) – (n+2)
Byte (n+3) – (n+4)
Note
!
AA
(name)
Read
Byte 1
Byte 2-3
Byte 4-5
Byte 6-7
Note
?
AA
[chk]
(CrLf)
Invalid
!
?
AA
[chk]
(CrLf)
Delimiter character indicating a valid command
Delimiter character indicating an invalid command
2-character port address in Hex format
2-character checksum. If the checksum is disabled
no [chk]
End Character
If no response
The buffer is empty, syntax error or communication error, or address error
Note:
$AAU
R
is a new extension of the $AAU command added in firmware version B1.1.3 for the
tM-752N modules. When there is no data in the serial buffer from slave device, the $AAU
command causes no response from tM-752N after timeout, while the $AAU
R
extension
forces a "N/A" response from tM-752N immediately without waiting timeout.
Example:
e.g. Command
Response
1
$01U(CrLf)
data1(CrLf)
Retrieves “data1” from the buffer of the port that is addressed 01
2
$01U(CrLf)
data2
Retrieves another data: “data2” from the buffer of the port that is addressed 01
3
$02U(CrLf)
No data in the buffer of the port that is addressed 02 (waiting until timeout).
4
$02U
R
(CrLf)
N/A
"N/A" is responded immediately when there is no data in the buffer of the port that is
addressed 02.