CAD CAM EDM DRO - Yahoo Group Archive

Re: G code Examples (Was RE: Cutviewer program - file renaming I'

Posted by Ray
on 2001-01-24 07:33:14 UTC
John Murphy wrote

>My machine is configured so the head moves similar to most CAD
>coordinate systems,
<s>How is this properly set up,

This is the reason that I made each axis direction configurable in the EMC
tkbackplot. Write yourself a fairly simple square

n10 g0 x1 y1 z-1
n20 g1 f5 x2
n30 y2
n40 x1
n40 y1
n50 g0 x0 y0 z0
n60 m2

and submit it to the EMC and watch the motion using backplotter.
(view-backplot) Watch the motions on each of the plots so that you get a
good idea which way they go. Then submit it to the machine and see if the
motions are the same. If not, change the backplot settings and try it
again. When you have directions that show the same plot as you are really
cutting, you can edit x,y,z in tkbackplot in your plat/linux???/bin file so
that it always runs the way your machine does. (Or send me a note off list
with the settings and I'll make you a backplotter that works for you)

I would then take a little time and get used to testing a g-code file
with backplot before I tried to mill it. because backplot should show what
the machine is going to do.

Some of the programming stuff on linuxcnc.org in the handbook may help a
bit with understanding g-code.
--

Ray

Discussion Thread

Ray 2001-01-24 07:33:14 UTC Re: G code Examples (Was RE: Cutviewer program - file renaming I'