17
positionregistershavearangeof-8,388,608to8,388,607steps,xshouldnotbe
settoanynumberlessthan-8,388,608orgreaterthan8,388,607.
Memoryusage=4 bytes.
Examples:
Thisexamplesetsmotor1toindextoabsoluteposition1200:
IA1M1200<cr>
Thisexamplesetsmotor4toindextoabsolute
position-90200:
IA4M-90200<cr>
IAmM0
commandisusedtheVXMcalculatesthedistanceanddirectiontogetback
toabsolutezeroposition. The"absolutezero"positionwasestablishedwhenthe
"N"(NullAbsolutePositionRegisters),"IAmM-0" commandwasused,orwhen
theVXMwaspoweredup.
Memoryusage=4 bytes.
Examples:
Thisexamplesets
motor1toindextoabsolutezeroposition:
IA1M0<cr>
Thisexamplesetsmotor2toindextoabsolutezeroposition:
IA2M0<cr>
Thisexamplesetsmotor3toindextoabsolutezeroposition:
IA3M0<cr>
IAmM-0
clearsthepositionregisterforthemotorselected,makingthispositionabsolute
zero. Thedisplaywillshowallzerosforthemotorselected.
Memoryusage=4 bytes.
Examples:
Thisexamplemakesthepresentpositionformotor1absolutezero:
IA1M-0<cr>
Thisexamplemakesthepresentpositionformotor2absolutezero:
IA2M-0<cr>
Move
positiveuntilthepositivelimitswitchisencountered(HometoPositive
LimiW), m=motor#(1,2,3,4). Ifthelimitswitchinputwasdisabledinsetup,the
limitswitchinputwillbere-enabledforthedurationofthiscommand. TheIndex
willendifthelimitswitchisnotencounteredafter16
millionsteps.
4 bytes.
Thisexamplesetsmotor1toseekthepositivelimitswitch:
<cr>
Movenegativeuntilthenegativelimitswitchisencountered(Hometo
NegativeLimit), m=motor#(1,2,3,4). Ifthelimitswitchinputwasdisabledin
setup,thelimitswitchinputwillbere-enabledfortheduration
ofthiscommand.
TheIndexwillendifthelimitswitchisnotencounteredafter16millionsteps.
4 bytes.
Thisexamplesetsmotor1toseekthenegativelimitswitch:
<cr>
Memoryusage=
Example:
I1M0
Memoryusage=
Example:
I1M-0
,$P0[
6HWDQ,QGH[WRDQ$EVROXWHSRVLWLRQWKHGLVWDQFHDQGGLUHFWLRQIRUWKHPRYH
IURPWKHSUHVHQWSRVLWLRQLVFDOFXODWHGE\WKH9;0EDVHGRQDEVROXWH]HUR
SRVLWLRQP PRWRU[ WR127(6LQFHWKHDEVROXWH
6HWDQQGH[WR$EVROXWH]HURSRVLWLRQP PRWRU:KHQWKLV
=HURPRWRUSRVLWLRQIRUPRWRUPP PRWRU7KLVFRPPDQG
ImM0
ImM-0