Alessandro Zummo wrote: > > Hello, > > I've been asked to evaluate if EMC2 can be used to control > a double carriage gantry machine that it's being built. > > The machine has 5 axes. I tried to design a diagram: > http://www.privatepaste.com/7dQN52pZln > > The X axis might in fact have two motors. I did a research in the > archive and it seems this gantry axis setup is supported. > > Y1 and Y2 will share the same rail but have independent motors > and limit switches. > > Z1 and Z2 will be set up at the beginning of the workflow > and will stay at a fixed height until the end. >
The first question that comes to mind is how you are going to program it. Will the two heads be running semi-independently? Or is it making two copies of the same part? or something else? EMC2's g-code supports 6 linear axes, the usual XYZ and an additional UVW. The meaning of the UVW axes is partly hard-coded and partly depends on your kinematics (which you can customize). For example, if the machine is going to be making two of the same part at the same time, you could set up your kinematics so that V is the distance between the two Y heads. At the start of the program you specify G0V<something> to set the spacing between the two parts, then use normal XYZ moves to make the first part, and the 2nd head will copy the first, with an offset in the Y direction of whatever you set in that first line. If the heads are running independently it gets more complex. If Y1 is Y in the g-code, and Y2 is V, then imagine this: G0Y0V100 (move head 1 to 0mm, and head 2 to 100mm) G1F20Y20V200 (move head 1 to 20mm and head 2 to 200mm, at a feed rate of 20mm/min) The second command is asking one head to move 20mm and the other to move 100mm. EMC2 will move both axes such that both moves complete at the same time. That means its impossible for both heads to move at 20mm/min. Once we have a better idea of what you are trying to do we can probably help figure things out. Regards, John Kasunich ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
