I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527 User’s Manual,Ver2.5 Aug.2015
113
5.3.33
$AAJN[timeout]
Description
:
The function reads/sets the delay time before determining whether the end of a
command/response has been sent/received
$AAJN
[chk] (CrLf)
Reads the timeout value
$AAJN
[timeout] [chk] (CrLf)
Sets the timeout value
Note: Supported by the firmware version 3.0 and upward.
Syntax:
$AAJN[timeout] [chk] (CrLf)
$
Delimiter character
AA
2-character module address in HEX format. The valid range is from
00 to FF
N=0 COM 2 timeout0
N=1 COM 1/3/4/5/6/7/8 timeout1
N=2 COM 1/3/4/5/6/7/8 timeout2
[timeout] Delay time value (ms). Valid range is 0 to 4294967259.
[chk] 2-character checksum. If the checksum is disabled
no [chk]
(CrLf) End Character
Response :
valid command
!AA[timeout value][chk](CrLf)
invalid command
?AA[chk](CrLf)
no response
buffer is empty, syntax error, communication error, 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-7522 module is 01)
command: $01J01000(CrLf)
response: !01(CrLf)
command: $01J11500(CrLf)
response: !01(CrLf)
command: $01J1(CrLf)
response: !011500(CrLf)
The default timeout1 value for all RS-232 COM ports is 1000ms.
Notes:
RS-485: timeout0
Sets the timeout value for the RS-485(COM 2 ) to 1000ms
Sets the timeout value of the RS-232(COM 1) to 1500ms
Reads the timeout1 value of COM1
The timeout1 value of COM1 is 1500ms.
For: I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527
Содержание I-7521
Страница 10: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 10 For I 7522A D I 7524 D I 7527 D...
Страница 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...
Страница 13: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 13...
Страница 15: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 15...
Страница 17: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 17...
Страница 19: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 19...
Страница 21: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 21...