4
Appendix G
Complex Profiles & Coordinated Motion
Coordinated Motion
Themostcommonmethodtomoveisoneaxisatatime. UsingoneVXMcontrollerthisis
theonlyoptionavailable. However,withtwoVXMsconnectedtogetherwiththeVXMbus
twoaxesatatimecanberun. AssumingtherearetwoVXMsconnectedbyabuscable,
thefollowing
commandscanbeutilizedtoproducecomplexcoordinatedmotionprofiles.
Complex Profiles
TheVXMautomaticallydoesasimpleprofilemoveeverytimeitisrequiredtoperforman
index. Thisprofileconsistsofaaccelerationsegment,slewsegment,andadeceleration
segment. UsingtheVXM’sContinuousindexingfeaturemorecomplexmotionprofiles
arepossible. InadditiontotheContinuousIndexcommandsdescribedinAppendix
D,
belowaretwomorespecificallyformakingcomplexprofiles.
U77 StartofContinuousIndexwithnooutput. Thiscommandissameasthe“U7”
exceptitdoesnotproducethepulseonuseroutput2.
Memoryusage=2 bytes.
U99 EndofContinuousIndexwithnodeceleration. Thiscommandissimilartothe
"U9"commandwithoutthedecelerationmoveafterthelastindex.
Memoryusage=2 bytes.
CAUTION: Themotorspeedshouldbebelow800steps/second,whentheVXM
executesthiscommand,topreventanexcessivelyhardstopthatmaycause
a
mechanicalovershootofintendedposition.
AsmentionedinAppendixD,speedcommandscanbeusedbetweenindexesinthe
continuousindexmode. Thenumberofspeedchangesislimitedonlybyavailable
programmemoryspace. Changesinspeedwilloccurattheaccelerationratesetbefore
thecontinuousindexmode.
Thisis
atypicalexampleofrunningtwomotorssequentiallywheneachaxisisona
differentVXM:
Torunthesetwomotors(motor1andmotor3)thesametimerequiresadding“( )”around
theindexes. Thisexamplewillcombinetheindexcommandstorunsimultaneously:
CombineIndexcommandstorunsimultaneouslyontwoVXMcontrollers
connectedbyVXMbus.
I1M400,I3M800,R
i3,i1,..
2 bytes
Example:
.
(I3M800,I1M400,)R
=indexcommands,slavemotor(3,4)first.
Memoryusage=
(i3,i1,..)