Linking Motion of Two Axes
If needed, make the second motor direction the same as the first. Either reverse it in the servo-drive, or you can put the following 2 commands in the startup:
STEP_RATIO(-1, 1)
ENCODER_RATIO(-1, 1)
It will be easier to use CONNECT etc. because you only need to put CONNECT(1, master_axis)
There is a one servo cycle delay in the CONNECT and it follows MPOS of the master axis. So there will be a very small lag in the position of the second axis. You can set the connect to follow the DPOS of the master axis so that it reduces the lag to a minimum. CONNECT(ratio, master_axis, 1) makes it follow DPOS.
Alternatively make both axes follow a virtual master.
CONNECT(1, 10) AXIS(0)
CONNECT(1, 10) AXIS(1)
MOVE(1000) AXIS(10)
The virtual axis needs setting up with UNITS the same as the 2 main axis and SERVO set to 1.
Related Articles
AN-307 Move Embedded Parameters
Move Embedded Parameters are a new feature within the Trio MC4XX Motion Coordinator system software. Each move can have up to 2 user parameters per axis pass through the motion buffers and become available during the motion for processing. The first ...
How many axes work synchronously in the Euro408?
In all the Motion Coordinators it is possible to run all axes synchronously. There is no limit. So in the Euro404 you can run all 4 axes with for example a MOVEABS(x, y, z, a) In the Euro408 you can run all 8 axes with MOVEABS(x, y, z, a, b, c, d, ...
How I can create and delete a Virtual Axis?
An axis is Virtual when the ATYPE is 0 and the axis is in the processing schedule. To add an axis to the processing schedule, simply write to any axis parameter. For example UNITS AXIS(20) = 245 will activate the axis and it will become a virtual ...
'Forward' speed change during move
FORWARD commands do not need to buffer. Just set FORWARD once and leave it running. You can change SPEED any time on the fly. SPEED set to 0 will stop the axis. A negative SPEED value will make the axis move in reverse. You only need to CANCEL when ...
virtual output
Q: How do I used a virtual output? How can I read the state of the virtual output? A: Set virtual output with OP. Read virtual output with IN. OP(24,ON) IF IN(24)=ON THEN PRINT "OK" ENDIF