Hi,
I don't think so.
When you have a Master/Slave pair the trajectory data for each motor must be identical and that in turn depends on how Mach communicates that trajectory to
the motion controller.
My understanding is that the numeric data is in the form of Steps rather than Units (of distance).
Lets say for example your axis has a Steps/Unit value of 500, ie 500 Steps per mm. If in a given 1 millisecond time slice the axis is required to move 0.23mm or 0.23 x 500=115.
Imagine for instance and the current Step count is 4567890....then the next Step count at the end of the time slice will be 4568005 (4567890+115). In effect Mach is specifying
a cumulative Step count where the axis has to be at the end of each 1 ms time slice.
If you have a Master/Slave arrangement the both motors will be given the same numeric Step count data. The motion controller will issue the same number of steps to each
motor driver and yet they will move different distances by virtue of having unequal pitch. It is not my understanding that the motion controller uses or converts the number
of Steps based on the Steps/unit value, that calculation happens in Mach....not the motion controller, ie it is not possible for the motion controller to apply a correction that would have
both motors travel the same difference.
I can only see one way where this would work.
I don't know whether you are familiar with AC servos but they all have 'Electronic Gearing'. This allows you to program the drive to accept a certain number of Steps to turn one revolution.
For instance if you had servo with a native encoder count of 160,000 count per rev (I picked this because this is exactly what my Delta servos have) but you can program it to accept
2500 Steps per revolution. If this were direct coupled to a 5mm pitch screw then the Steps/unit value would be 500 Steps/mm.
Lets say you had a 0.2inch pitch screw at the other end of the gantry or in metric 5.08mm per rev. If you programmed the Electronic Gearing parameters in the servo drive to
2540 Steps per revolution then with 2500 Steps actually applied this end of the gantry would move 2500/2450 x 5.08=5mm. If the same number of Steps (2500) were applied to the
metric screw it would move exactly 5mm also.
Using the concept of electronic gearing we have made both ballscrews identical to each other...a nifty trick!! This requires that you have servos that utilise Electronic Gearing and this is
a feature of the servo drive.
The rather more complete answer to your question is that, at least to my knowledge, Mach cannot provide different Step data streams for a Master/Slave pair, nor can a motion controller
make a correction. The only solution I am aware of is to make use of Electronic Gearing in a servo drive to correct a difference in pitch between two screws.
Please note this is my understanding of how Mach works....and that I have proven again and again IS FALLIBLE. For instance if the numeric trajectory data to the motion control
is in Units (distance) then it may be possible. Yet another possibility is the Mach produces two numeric streams, one for each motor. In that case it might be possible for Mach to apply
different Step/Unit values for each motor such that they move in unison.
I'm hoping Smurph may see this post and respond......from the 'horses mouth' so to speak....sorry Smurph!
Craig