Table of Contents

Advertisement

5.3.36 #AABBHH

For: I-7521/I-7522/I-7522A/I-7524/I-7527
Description:
The function sets the multiple onboard DO-1/2/3/4/5 values.
(I-7522A pin assignment refers to Sec.1.4)
Note: Supported by the firmware version 3.0 and upward.
Syntax:
#AABBHH[chk](CrLf)
#
Delimiter character
AA
2-character module address in HEX format. The valid range is from
00 to FF
BB
00/0A
HH
2-character DO value in HEX format. DO1 is set at LSB. The valid
value range is from 00 to FF
2-character checksum. If the checksum is disabled  no [chk]
[chk]
(CrLf)
End Character
Response:
no response  syntax error, communication error, or address error
>
Delimiter character indicating a valid command
?
Delimiter character indicating an invalid command
2-character checksum. If the checksum is disabled  no [chk]
[chk]
(CrLf)
End Character
Example: (Assume the AA address value of the I-7521 module is 01)
command:
#010003(CrLf)
response:
>(CrLf)
command:
#010A02(CrLf)
response:
>(CrLf)
Note:
If the host fails, the #AABBHH command will be ignored and the
response string will be "!." (In normal situations, the response string will
be " >")
I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527 User's Manual,Ver2.5 Aug.2015
valid command  >[chk](CrLf)
invalid command  ?[chk](CrLf)
Sets DO1=ON, DO2=ON, DO3=OFF
Sets DO1=OFF, DO2=ON, DO3=OFF
118

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-7522I-7522aI-7527I-7524I-7523

Table of Contents