CB-7080 & CB-7080D Counter/Timer User's Guide
@AADI
2-36
@AADI
Description
: Read the status of the D/O and the alarm. Refer to "
Counter alarm mode selection
", "
Digital
output application notes
", and "
D/O operation principles
" for more information.
Syntax
: @AADI[chk](cr)
@
A delimiter character
AA
2-character HEX module address, from 00 to FF
D=0
D/O0=D/O1=OFF
D=1
D/O0=ON, D/O1=OFF
D=2
D/O0=OFF, D/O1=ON
D=3
D/O0=D/O1=ON
I
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D
Response
:
Valid response
!AAS0D00[chk](cr)
Invalid response
?AA[chk](cr)
no response
Syntax error, communication error or address error
!
A delimiter character indicating a valid response
?
A delimiter character indicating an invalid response
AA
2-character HEX module address
D=0
D/O0=D/O1=OFF
D=1
D/O0=ON, D/O1=OFF
D=2
D/O0=OFF, D/O1=ON
D=3
D/O0=D/O1=ON
Alarm mode 0:
S=0
counter 0 alarm=disabled, counter 1 alarm=disabled
S=1
counter 0 alarm=enabled, counter 1 alarm=disabled
S=2
counter 0 alarm=disabled, counter 1 alarm=enabled
S=3
counter 0 alarm=enabled, counter 1 alarm=enabled
Alarm mode 1:
S=0
counter 0 alarm=disabled
S=1
counter 0 alarm=enabled and MOMENTARY mode
S=2
counter 0 alarm=enabled and LATCH mode
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D