I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527 User’s Manual,Ver2.5 Aug.2015
84
5.3.12
$AATN[CrLfmode]
Description
:
This function reads/sets what the characters are as judging the end of command or
response string.
$AATN
[chk](CrLf)
Reads the setting value of CrLfmode stored in the
EEPROM.
$AATN(CrLfmode)
[chk](CrLf)
Sets the setting value of CrLfmode for the
command/response string.
Syntax
:
$AATN[CrLfmode][chk](CrLf)
$
Delimiter character
AA
2-character module address in HEX format. The valid range is from
00 to FF
N=0
Reads/Sets the CrLfmode value of the COM 2
N=1
Reads/Sets the CrLfmode value of the COM 1/3/4/5/6/7/8
(CrLfmode): 0
(CrLf)=0x0D (CR)
1
(CrLf)=0x0D+0x0A (CR+LF)
2
(CrLf)=0x0A (LF)
3
(CrLf)=0x0A+0x0D (LF+CR)
4
No end character
[chk]
2-character checksum. If the checksum is disabled
no [chk]
(CrLf)
End Character
Response
: valid command
!AA[CrLfmode][chk](CrLf)
invalid command
?AA[chk](CrLf)
no response
syntax error, communication error, or address error
!
Delimiter character indicating a valid command
?
Delimiter character indicating an invalid command
AA
2-character module address in HEX format
[chk]
2-character checksum. If the checksum is disabled
no [chk]
(CrLf)
End Character
Example
: (Assume the AA address value of the I-7523 module is 01)
command: $01T0(CrLf)
response: !014(CrLf)
command: $01T1(CrLf)
response: !011(CrLf)
command: $02T1(CrLf)
response: !022(CrLf)
The end char for COM2 is no end character
The end char for COM1 is 0x0D+0x0A
The end char for COM3 is 0x0A
For: I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527
Summary of Contents for I-7521
Page 11: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 11 1 4 Pin Assignment...
Page 13: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 13...
Page 15: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 15...
Page 17: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 17...
Page 19: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 19...
Page 21: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 21...