AMx58x P
MAN AMx58x P I_E 1.5.doc
Pag. 12/16
www.lika.it
www.lika.biz
6.3 Communcation commands list
6.3 Communcation commands list
6.3 Communcation commands list
6.3 Communcation commands list
|DEV
(1, 127) "DEVice"
Sets device address of the encoder. If several
encoders are connected to network it is necessary
to set a different device address to each encoder
separately. Communication can be activated by
|ADDR command.
Default:
0
Syntax: |DEV=xxx
|DEV=xxx
|DEV=xxx
|DEV=xxx
Value range: from
1
to
127
|ADDR
(1, 127) "ADDRess"
Activates communication with a certain encoder
(address must be previously assigned by |DEV
command)
Syntax:
|ADDR=xxx
(where xxx=encoder address)
At prompt "
>
" encoder is ready to receive
commands from the PC. To open a communication
channel with another encoder it is necessary to
exclude the previous one.
Note
Note
Note
Note: Each Lika's programmable encoder accepts
address zero (0), which allows to communicate
even if the real address is unknown.
|RST
"ReSeT"
Resets all encoder parameters to default condition
(factory setting).
Syntax:
|RST
6.4 Encoder output settings
|BIN
"BINary"
Sets Binary output code (default setting).
Syntax:
|BIN
|GRAY
"GRAY"
Sets Gray output code.
Syntax:
|GRAY
|
BCD
“BCD”
Sets BCD output code.
Syntax:
|
BCD
|NS
(1, 4096 o 8192) "Number of Steps"
Sets single turn resolution (counts per revolution).
NOTE:
Resolution cannot be set higher than
physical encoder resolution (4096 CPR if
AMx58x12… or 8192 CPR if AMx58x13…).
Syntax:
|NS=xxxx
Value range: from 1 to 4096 or 8192 (see note)
|NR
(1, 4096) "Number of Revolutions"
Sets multiturn resolution (number of revolutions).
NOTE:
Resolution cannot be set higher than
physical encoder resolution.
Syntax:
|NR=xxxx
Value range: from
1
to
4096
ATTENTION
: Do not exceed the number of
revolutions programmed to avoid rounding error.
Rounding error
When you program number of revolutions which is
not a sub multiple of 4096, a rounding error will
occur when you overtake the encoder’s cycle (4096
rev.).