Rndmann9
Well-Known Member
- Joined
- May 30, 2016
- Messages
- 148
- Reaction score
- 27
Day...I don't even know anymore. Trying to figure out this whole post processor thing. Main thing I'm stumped on is dynamic tool offsets. I'm using a grbl.cps post processor but I'm having to modify it to do what I want and so far it's winning the battle. The g code to make the machine do the offset is a simple g43.1. I want it to pull the tool length that I gad to define in cam into the post and compensate for length when I do a tool change. Simple ...no since I'm not up to speed with JavaScript it's a little painful. When I run the code the line that calls the tool (T7 M6 G43.1) is giving an error on the GUI on that line so something isn't jiving with grbl. I noticed that the modal wasn't defined in GRBL.cps so I am adding that in and seeing how it goes. I'm not sure where to place the function in the code so just trying different things hoping something sticks. It's inter-frustrating maybe by the time I get it working like I want I'll be an "expert". It runs my code just will not do the offset so I can make parts especially if I run each process individually requiring setting part zero for every tool change but that's too easy. I'm a glutton for punishment. I want it to do it all. I have some pics of progress and failures to post when I get them together. If anyone is a post processor guru please chime in to this CNC neophyte