I understand what you said, but in CAM i set the stock diameter to 45mm and after generating gcode I inspect it and i can see that X axis is maximum position is around 48mm ( for return passes it retracts from work). But still somehow in machinekit it thinks that it has to go twice the set X distance in the gcode. I found something about G8 and lathe radius mode. Maybe this has something to do with it.
2019-05-30, kt 22:49, Chris Albertson <[email protected]> rašė: > Two numbers stand out 45mm and 90mm. Notice that 90mm is exactly twice > 45. A common mistake is to forget that moving the tool 1mm reduces the > diameter by 2mm. Diameter is twice the tool movement. g-code specified > tool movement, not part size Getting this backward might explain the 45 > and 90 error. > > On Thu, May 30, 2019 at 11:40 AM Gediminas Dirma < > [email protected]> wrote: > >> Hello, >> >> I am running CNC lathe with beaglebone and machinekit. Lets say that i >> turn down cylinder from 45mm to 40mm. In my CAM i generate gcode and it >> seems fine. >> But then i upload it to machinekit, it changes turning diameter it then >> starts turning not from 45mm but from 90mm and it turns down 5mm. It seemes >> that something >> is with X axis, since Z is working fine. What could cause this problem? >> Maybe I do something wrong with tool table but i followed procedures writen >> here http://linuxcnc.org/docs/html/lathe/lathe-user.html >> >> Thanks for help. >> >> -- >> website: http://www.machinekit.io blog: http://blog.machinekit.io >> github: https://github.com/machinekit >> --- >> You received this message because you are subscribed to the Google Groups >> "Machinekit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> Visit this group at https://groups.google.com/group/machinekit. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/machinekit/30e422e8-c824-4f50-9636-f1a2c6681967%40googlegroups.com >> <https://groups.google.com/d/msgid/machinekit/30e422e8-c824-4f50-9636-f1a2c6681967%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > > Chris Albertson > Redondo Beach, California > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/CAHiqhO1hXL_EGZTuqZMvbvaw_xUDCQyNAOykO_r%3D-1zg2TxhDA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
