On 5 May 2010 17:45, Leonardo Marsaglia <leonardomarsagli...@gmail.com> wrote:
> Do you think that if i use a cam software with the emc2 post, i could shape > the lobe using the spindle as a spindle in synchronised motion? I think so. I suspect that you would need a specially written CAM to generate the cam software, but that might not be too difficult. > That would > be very nice because the machine has a good reduction, so the torque is not > a problem, and the maximum speed now is about 200 rpm. (This is an old > machine to make lobes using a master, and it uses standard HSS tools to make > the lobes). In that case you would just be computerising the existing machine function, and that sounds like the easiest, cheapest and most likely to succeed approach. > Do you think that if i adapt an encoder to the spindle also a vfd, and i > make the X axis accurately and fast enough to follow the moves of the > spindle i can make the lobe? Yes, I think that seems very likely to work. As you are intending to modify the machine anyway, perhaps it would make sense to start with the X-conversion and the VFD then try a very simple spindle encoder (you can make a functional one using CAD software, a laser printer and $15 of retroflective opto-sensors and components) and see how well it works before making a final decision. However, reading the G33 documentation indicates that it is not as simple as just programming a series of arcs in a series of G33 statements so you would have to find another way to do it. I don't know if there is a way to have the trajectory planner slave the X and Z axes to the C axis. One way that definitely could work would be using a custom HAL function that simply adds an offset to the X position command control loop. This could be a simple function that reads a 360-entry table of offsets for each angle. This approach also means that you don't need any special software to produce the G-code, it becomes a standard lathe turning cycle, but with a cam generator enabled. -- atp ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users