2.14 $AADNM
z
Description
: Set the operation mode of encoder. Refer to Sec. 1.6.6
for more information.
z
Syntax
: $AADNM[chk](cr)
$ is a delimiter character
AA=2-character HEX module address, from 00 to FF
N=0/1/2
Æ
encoder 0/1/2
M=LXCC
Æ
CC=00/01/10/11=stop/UD/DP/AB
X=0/1=XOR control bit
L=1,update the preset value before power is off
L=0,no update the preset value
[chk]=2-character checksum, if checksum disable
Æ
no [chk]
(cr)=0x0D
z
Response
: valid command
Æ
!AA[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
[chk]=2-character checksum, if checksum disable
Æ
no [chk]
(cr)=0x0D
z
Example
:
command: $01D05(cr)
response : !01(cr)
command: $01D1B(cr)
response : !01(cr)
Up/Down counting mode(UD)
XOR control bit = 1
Preset value no update
AB phase counting mode(AB)
Xor control bit = 0
Update the preset value before
the power is turn off
I-7083/7083D/7083B/7083BD User Manual (V 1.1, Dec/2007) ------------------ 38