![VELMEX VXM-1 User Manual Download Page 17](http://html.mh-extra.com/html/velmex/vxm-1/vxm-1_user-manual_863414017.webp)
17
position
registers
have
a
range
of
-8,388,608
to
8,388,607
steps,
x
should
not
be
set
to
any
number
less
than
-8,388,608
or
greater
than
8,388,607.
Memory
usage
=
4 bytes
.
Examples:
This
example
sets
motor
1
to
index
to
absolute
position
1200
:
IA1M1200
<cr>
This
example
sets
motor
4
to
index
to
absolute
position
-90200
:
IA4M-90200
<cr>
IA
m
M0
command
is
used
the
VXM
calculates
the
distance
and
direction
to
get
back
to
absolute
zero
position.
The
"absolute
zero"
position
was
established
when
the
"
N
"
(Null
Absolute
Position
Registers),
"
IA
m
M-0
"
command
was
used,
or
when
the
VXM
was
powered
up.
Memory
usage
=
4 bytes
.
Examples:
This
example
sets
motor
1
to
index
to
absolute
zero
position:
IA1M0
<cr>
This
example
sets
motor
2
to
index
to
absolute
zero
position:
IA2M0
<cr>
This
example
sets
motor
3
to
index
to
absolute
zero
position:
IA3M0
<cr>
IA
m
M-0
clears
the
position
register
for
the
motor
selected,
making
this
position
absolute
zero.
The
display
will
show
all
zeros
for
the
motor
selected.
Memory
usage
=
4 bytes
.
Examples:
This
example
makes
the
present
position
for
motor
1
absolute
zero:
IA1M-0
<cr>
This
example
makes
the
present
position
for
motor
2
absolute
zero:
IA2M-0
<cr>
Move
positive
until
the
positive
limit
switch
is
encountered
(Home
to
Positive
Limi
W
),
m
=motor#
(1,2,3,4).
If
the
limit
switch
input
was
disabled
in
setup,
the
limit
switch
input
will
be
re-enabled
for
the
duration
of
this
command.
The
Index
will
end
if
the
limit
switch
is
not
encountered
after
16
million
steps.
4 bytes
.
This
example
sets
motor
1
to
seek
the
positive
limit
switch:
<cr>
Move
negative
until
the
negative
limit
switch
is
encountered
(
Home
to
Negative
Limit
),
m
=motor#
(1,2,3,4).
If
the
limit
switch
input
was
disabled
in
setup,
the
limit
switch
input
will
be
re-enabled
for
the
duration
of
this
command.
The
Index
will
end
if
the
limit
switch
is
not
encountered
after
16
million
steps.
4 bytes
.
This
example
sets
motor
1
to
seek
the
negative
limit
switch:
<cr>
Memory
usage
=
Example:
I1M0
Memory
usage
=
Example:
I1M-0
,$
P
0
[
6HWDQ,QGH[WRDQ
$
EVROXWHSRVLWLRQWKHGLVWDQFHDQGGLUHFWLRQIRUWKHPRYH
IURPWKHSUHVHQWSRVLWLRQLVFDOFXODWHGE\WKH9;0EDVHGRQDEVROXWH]HUR
SRVLWLRQ
P
PRWRU
[
WR127(6LQFHWKHDEVROXWH
6HWDQQGH[WR
$
EVROXWH]HURSRVLWLRQ
P
PRWRU:KHQWKLV
=HURPRWRUSRVLWLRQIRUPRWRU
P
P
PRWRU7KLVFRPPDQG
I
m
M0
I
m
M-0