I need help. My PlanetCNC controller imports the files and sets the Z0 at the bottom of the stock even after I set the surface of my stock as the Z0. I’m not sure if the issue is with the program I imported or with the control software.
There are 4 or 5 G codes reserved for defining part home positions. I believe they start with G55 and go through G59. It’s been a few years since my classes, so, that is as much assistance as I can be without Google
@Kyle_Kerr Thanks Kyle,
I was figuring it was likely something like that.
I’m thinking that the issue may be changing gcode from either g90/g91 to the other incremental to relative positioning. Does that sound like it could be the problem?
Incremental is along the lines of telling the machine to home and then x1 followed by x1. That would move with either g0 or g1 from x0 to x1 and then x2.
Relative would require a home then g0 x1 followed by g0 x2.
Neither one of those should affect that.
Yes, that’s what the guy from Meshcam said. Hopefully, I’ll be able to get this corrected pretty soon. I I certainly appreciate your assistance and expertise!
Lol. Me and expertise in the same positive sentence. I do my best to share what information I believe to be true. It’s even better when the info turns out to help.
Unfortunately, I’m still having issues with my Z and manual tool change. And that’s just a product of not knowing the details of gcode and the general settings of the controller. I’ve had this same current issue with both of my machines. I should know how to correct it, but don’t currently.
It’s destroyed work on several pieces as the spindle either moves into position or tries to return to the home position.
Maybe a programming course from your local community college or vocational school?
Alternatively you can add an offset to the Z? Just out of curiosity, how do you set the Z zero before you start milling? Just asking these questions so I can better understand how to address this in my own gcode product
Interestingly, I just now attempted to first set the absolute zero position (which is what I seem to have been resetting every time I began to run a program), and then set a different work coordinate system. Somehow I was able to do that, but when I ran the program the spindle went directly to the absolute zero and began running the program.
What if you set the coordinate system to G54 and then zero the Z axis?
I’m not exactly sure how to do that. Do I remove G90 and replace it with G54 or just add G54 into the code after G90? There’s no button or toggle switch on the program that I see for G54. It’s the one I used in Chilipeppr.
@George_Allen This is the sequence of the G-codes from start. G54 comes before G90 …
missing/deleted image from Google+
Try UGS or CNCjs G-Code senders. Each has their quirks but you learn a lot of it and after that you can keep using ChilliPepper.
@Paul_de_Groot I’ll give it a try. I think I see how to do a g54 with this controller in the manual here. Thanks Paul
@George_Allen Google “CNC cook book”, it’s an amazing site that has a huge number of examples how to apply these G-codes. Good luck!