2.20 @AAGN
z
Description
: Read the preset value of counter. The $AA6N
command can reset counter to the preset value. Refer to Sec.
1.8.2 for more information.
z
Syntax
: @AAGN[chk](cr)
@ is a delimiter character
AA=2-character HEX module address, from 00 to FF
N=0
Æ
read counter 0
1
Æ
read counter 1
[chk]=2-character checksum, if checksum disable
Æ
no [chk]
(cr)=0x0D
z
Response
: valid command
Æ
!AA(data)[chk](cr)
invalid
command
Æ
?AA[chk](cr)
no response
Æ
syntax error or communication
error or address error
! is a delimiter character indicating a valid command
? is a delimiter character indicating a invalid command
AA=2-character HEX module address
(data)=8-character HEX value.
[chk]=2-character checksum, if checksum disable
Æ
no [chk]
(cr)=0x0D
z
Example
:
command: @01G0(cr)
response : !010000FFFF(cr)
command: @02G1(cr)
response : !0200000000(cr)
The preset value of encoder 0
is 0000FFFF.
The preset value of encoder 1
is 00000000.
I-7083/7083D/7083B/7083BD User Manual (V 1.1, Dec/2007) ------------------ 44