LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced motion control for EDM controller

I am designing a motion controller for a CNC style of machine. The machine is actually used for Electrical Discharge Machining (EDM) but this is very similar for motion control.

 

In order for the EDM process to work properly, it is required that:
The tool moves forward towards its' destination, then reverses along the same path for 10% of the distance of the initial move. The tool should then continue to move forwards towards its' destination. (This can be imagined easily by considering a '10 steps forward, 1 step back' approach to motion)

 

 


I think the best way to do this would be to somehow split moves (ie from a 250mm movement, for each 20mm covered, reverse 2mm before moving forwards again) and then blend these moves. I could possibly use a shift register involving the recorded positions, but I'm not entirely sure of this. Using a shift register with recorded positions especially becomes a problem when using an arc path as this will end up being a series of straight lines unless enough data points are collected.

 

Any advice on working with this would be much appreciated as I am still relatively new to Labview!

0 Kudos
Message 1 of 2
(2,584 Views)

Shift registers would work, but it may get messy if you have a lot of moves. Another option would be to use an array that contains the move coordinates. Are you using an NI motion controller? If so, NI Motion includes some VIs such as Load Circular Arc.flx which interpolates the necessary coordinates to complete an arc move which would help you avoid using the multiple lines approach.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,542 Views)