4
Example:
Thiswillnotrun
themotorssametime!
Master/SlaveAssociated Programs*
TwoVXMcontrollersthatarebussedtogethercanbesettoexecuteentireprograms
simultaneously. TheproceduretocoordinateVXMprogramtoVXMprogramisas
follows:
1.
2.
TransferaprogramtotheSlaveusing“[ ]”Program
associatetheMastertotheSlavewiththe“
”command*
PMAx
[i1,i2...] SenddatatoSlavethroughtheMaster.
=commandsforSlave.
Statusrequests,”R”,and“ ”commandsarenotallowed.
i1,i2...
NOTE: Q
PMA
PMA-
PMA255
x
x
Programassociateprogramnumber inMastertothesameprogram
numberintheSlave. Program
x
intheSlavewillrunthesametimewhen
SURJUDP[LQWKH0DVWHULVUXQ[
ProgramassociateallprogramsintheMastertoalltheprogramsinthe
Slaveexceptforprogramnumber intheSlave
willrunthesametime
whenaprogramintheMasterisrun. x=0,1,2,3,4*
DisableMaster/SlaveProgramassociation(default)
x
. Programsnumbersexceptx
SeeAlso
U7, U8, U9, U91, U92, Appendix D
TherearespecialExcelspreadsheetfilesontheCDROMtocreatetheVXM
commandsforproducingsinusoidalmotion,triangles,rectangleswithradius/
chamfercorners,andcircles.
NOTE:
(I1M400,I3M800,)R
Amotor3ormotor4indexcommandmustbebeforeamotor1ormotor2index
forsimultaneousoperationtooccur.
*
CAUTION: Motor3or4commandsshouldnotbeusedifProgramAssociateissetto
program0. AMasterusestheSlave’sprogram0memoryspaceto
runa
motor3or4command(I3Mx,I4Mx,S3Mx,etc.) Anyexistingcommandsin
theSlave’sprogram0willbeerasedwhenrunningamotor3or4
command!