I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527 User’s Manual,Ver2.5 Aug.2015
89
5.3.16
$AAZNV
Description
:
This function reads/sets the onboard DO 1/2/3/4/5
$AAZN
[chk](CrLf)
Reads onboard DO 1/2/3/4/5
$AAZNV
[chk](CrLf)
Sets onboard DO 1/2/3/4/5
Syntax
:
$AAZNV[chk](CrLf)
$
Delimiter character
AA
2-character module address in HEX format. The valid range is from
00 to FF
N 1
Writes DO1, 2
Writes DO2, 3
Writes DO3
4
Writes DO4, 5
Writes DO5
(I-7522A pin assignment refer to Sec.1.4)
V=0
Sets the DO to off,
V=1
Sets the DO to on
[chk]
2-character checksum. If the checksum is disabled
no [chk]
(CrLf)
End Character
Response
: valid command
!AAS[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
S=0
DO = off
S=1
DO = on
[chk]
2-character checksum. If the checksum is disabled
no [chk]
(CrLf)
End Character
Example
: (Assume the AA address value of the I-7521 module is 01)
command: $01Z10(CrLf)
response: !01(CrLf)
command: $01Z21(CrLf)
response: !01(CrLf)
command: $01Z3(CrLf)
response: !010(CrLf)
Do mapping table:
DO1
DO2
DO3
DO4
DO5
I-7521
Yes
Yes
Yes
No
No
I-7522
Yes
No
No
No
No
Set DO1=OFF
Set DO2=ON
Read DO3=OFF
For: I-7521/I-7522/I-7522A/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...