I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527 User’s Manual,Ver2.5 Aug.2015
110
5.3.31
$AAL[data]
Description
:
This function will write data to the expansion board DO 0/1/2/3
Note: Supported by the firmware version 3.01 and upward.
Syntax
:
$AALbbbb[chk](CrLf)
$AALcb[chk](CrLf)
$AALh[chk](CrLf)
$
Delimiter character
AA
2-character module address in HEX format. The valid range is from
00 to FF
0
1
2
3
b Set to On Set to Off
c DO0(pin25) DO1(pin26) DO2(pin27) DO3(pin28)
Pin assignment refers to Sec.1.4
h
4-bit DO value in HEX format. DO0 is at LSB. The valid values are 0~9,
a~f and A~F.
[chk]
2-character checksum. If the checksum is disabled
no [chk]
(CrLf)
End Character
Response:
valid command
!AA[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-7522A module is 01)
command: $01L1000(CrLf)
response: !01 (CrLf)
command: $01L21(CrLf)
response: !01 (CrLf)
command: $01L30(CrLf)
response: !01 (CrLf)
command: $01LE(CrLf)
response: !01 (CrLf)
For: I-7522A
Sets DO3=ON, DO2, DO1, DO0=0
Sets DO2=ON, other DOn values are
unchanged.
Sets DO3=OFF, other DOn values are
unchanged.
Sets DO0=OFF, DO1, DO2, DO3=ON
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...