View Full Version : G-code how to...

25-05-2018, 11:41 AM
I need help!
I have the g-code .The machine go from point A to point B following the path(the z axes no mater). I want my machine when he reach point B to go back to point A following the path and to repeat that for 6 time.

25-05-2018, 01:42 PM
OK, so what's the question? What do you need help with and what is the problem?

25-05-2018, 02:26 PM
I undestand how the machine work.
Point A X0Y0
Point B X600Y600 to go back to A X0Y0 easy when are only 3 .points..code line easy

Point A X0Y0
Between the points are from start to end 43578 points complicate shape
Point B X600Y600 from hire to go back (from end to start) through all 43578 to Point A
Like ping-pong move. ...

25-05-2018, 10:38 PM
Draw it in CAD and use CAM!

26-05-2018, 02:52 PM
Hey man,

Try this neat little on-line tool:


Basically it reverses line order - just pay attention to what you're doing... (ie. canned cycles, G02 commands etc. will throw a spanner in the works - this method will only work point to point..!)


26-05-2018, 03:15 PM
Thank you Wal ! This is ...