Controller Mode
Appendix O
TheVXMhasamainmoderegisterthatcanbesetwiththe“setDMx”command.
Bit
7 6543210
Decimal
Value
128 64 32 16 8 4 2
1 Decimal
Value
Insert/Combine
Program#4on
1
st
Run
Set
This
VXM
as
Master
Invert
Motor4
Direction
Invert
Motor3
Direction
Emulate
NF90
Invert
Motor2
Direction
Invert
Motor1
Direction
1 x
Default 0 0 0 0 0 0 0 1 1
Emulate
older
NF90
0 00010019
getDM
s
etoperatingmodeofVXM. Thevalueforxisanumberbetween0
and255thatcanbederivedfromthetablebelow.
Example:
Thisexamplewouldinvertthedirectionofmotor1fromthestandard.
GetoperatingmodeofVXM. Thevaluereturnedisanumberbetween
0and255(see
tablebelow.)default=1
setDMx
Always1
UsethisfeatureforhomingVXM
everypower-upinstand-alone
applications.
Puthomeroutineinprogram#4.
Firstrunafterpowerupwillrun
program#4first.