Controller Mode
Appendix O
The
VXM
has
a
main
mode
register
that
can
be
set
with
the
“
setDMx
”
command.
Bit
7
6
5
4
3
2
1
0
Decimal
Value
128
64
32
16
8
4
2
1
Decimal
Value
Insert/Combine
P r o g r a m # 4 o n
1
st
Run
Set
This
VXM
as
Master
Invert
Motor
4
Direction
Invert
Motor
3
Direction
Emulate
NF90
Invert
Motor
2
Direction
Invert
Motor
1
Direction
1
x
Default
0
0
0
0
0
0
0
1
1
Emulate
older
NF90
0
0
0
0
1
0
0
1
9
getDM
s
et
operating
mode
of
VXM.
The
value
for
x
is
a
number
between
0
and
255
that
can
be
derived
from
the
table
below.
Example:
This
example
would
invert
the
direction
of
motor
1
from
the
standard.
Get
operating
mode
of
VXM.
The
value
returned
is
a
number
between
0
and
255
(see
table
below.)
default=1
setDM
x
TFU%.
Always
1
Use
this
feature
for
homing
VXM
every
power-up
in
stand-alone
applications.
Put
home
routine
in
program
#4.
First
run
after
power
up
will
run
program
#
4
first.