Skip to main content
Submitted by CVV on Fri, 02/25/2011 - 07:01

My application: I would like to gear two motors together, and command the position from the master motor position only (i.e. there is no software positioning - mechanical movement on the master axis is the only input into the system).

I use the following code where E is master and X is slave:
GAX=E;GAE=X;GR 1,0,0,0,1,0,0,0;SHX;SHE.
When I move the master axis by hand, the slave follows, but when I release the master, (after both systems have settled) both motors move back to their original positions. I understand the actual position of each to be the commanded position for each other respectively - and expected them to stay in th enew positions?
Can you please explain how my code snippet is executed - and how I could modify it, to achieve my application.
Thanks much
CVV

Comments 1

Galil_AndyH on 02/25/2011 - 08:01

Answered in #10698. Please do not duplicate posts.