I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527 User’s Manual,Ver2.5 Aug.2015
106
5.3.28
~AA4P & ~AA4S
Description
:
This function reads power-on/safe value.
(1)
When the module is
first powered-on
, all output channels will revert to their initial
power-on values
.
(2)
If the module is
malfunction
, the hardware module watchdog will reset the module
and all output channels will
also revert to their power-on values
.
These
power-on values may be different from the previous values that existed before
the module was reset.
Therefore, new output commands must be set to return all
output values to their desired states.
(3)
When the host watchdog is enabled and the
host is malfunction
, all output values
will change to their
safe values
and the module status will be set to 0x04. If the
module status is 0x04, all output commands will be ignored until the module status
is cleared using the ~AA1 command (see sec.5.3.23). Therefore an ~AA1 command
must be sent before any new output commands are sent to return all output values
to their desired states.
Syntax
:
~AA4P[chk](CrLf)
reads the power-on value
~AA4S[chk](CrLf)
reads the safe value
~
Delimiter character
AA
2-character module address in HEX format. The valid range is from
00 to FF
[chk]
2-character checksum. If the checksum is disabled
no [chk]
(CrLf)
End Character
Response
: valid command
!AAV[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
V
D0=DO0, D1=DO1, D2=DO3, D3=DO4, D4=DO5
[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: ~014P(CrLf)
response: !017(CrLf)
command: ~014S(CrLf)
response: !010(CrLf)
For: I-7521/I-7522/I-7522A/I-7524/I-7527
The power-on value is DO-1/2/3 all ON
The safe value is DO-1/2/3 all OFF
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...