GRBL Multi-Axis Post Processor

GRBL Multi-Axis Post Processor

tsmarks
Explorer Explorer
9,603 Views
32 Replies
Message 1 of 33

GRBL Multi-Axis Post Processor

tsmarks
Explorer
Explorer

I am piecing together a post processor script for multi-axis GRBL machines.  (i.e. Arduino Mega with a 6 Axis)  I have successfully tested the 4th axis function.  With my limited experience, I think it works flawlessly.  

 

I would like to give back to the community by sharing the script. (attached below) And, I would like some feedback/testing.  If you have a multi-axis GRBL machine, give it a try and let me know what works or doesn't.

9,604 Views
32 Replies
Replies (32)
Message 21 of 33

stnly_cry
Explorer
Explorer

I'm using an open builds 3 axis machine with the Y converted to a rotary. Using this post how would I change the script to achieve this. I have not edited a post before. Everything looks fine on the CAM, but I'm getting a fail to post with the error "direction not supported for machine configuration "

20220523_090422.jpg

0 Likes
Message 22 of 33

ethier.jeanpierre
Participant
Participant
To my knowledge this version of GRBL is for 4,5 axis controllers with
the mega5x firmware using the arduino mega 2560 controller and the 5
axis ramps 1.5-1.6 board using separate drivers, i believe using the Y
axis as the 4 th axis, will generate an error, also, you need to edit
your machine configuration for 5 axis in the machine config in fusion
360.
Hope this info Helps !

Jean-pierre
0 Likes
Message 23 of 33

stnly_cry
Explorer
Explorer

I used one of the above mentioned post edits grbl6axis (2) from engine guy. It sent the code, but the machine had an error 20 code, unrecognized gcode. I attemped to edit the post and remove the A and C axis since im only using B, but the post failed to process. Im sure i did something wrong in the edit. Again im using a 3 axis open builds with the Y as the rotary. I tried to link the post but i cant seem to get it to paste in here. Is anyone able to help with editing the post processor to suit this machine?

0 Likes
Message 24 of 33

engineguy
Mentor
Mentor

@stnly_cry 

 

Try the attached PP, I have set it to just output the X/Y/Z and B axis, hopefully it will work for you.

0 Likes
Message 25 of 33

stnly_cry
Explorer
Explorer

I'm still having the same issue, but I think it may be within fusion. I aligned the setup with X along the centerline or length of the part, since my gantry is fixed and the X moves along it, but when I choose the rotary plug in for for the tool path it wants to make X the rotary axis. It will fail to send code this way. If I set it as Y as the centerline it will send the gcode, but the code shows Y and B as having movement. I think that may be why it's sending the error 20 code on the machine with the contradicting movements to the same motor.

@engineguy 

0 Likes
Message 26 of 33

ratan98manish
Explorer
Explorer

i am having issue in it while i am using 4th and 5th axis its getting zero again and again

like i firstly doing face from z then turn it 90 degree for doing facing both 4 sides of 

its turns well

but when it has to be rotate about 90 , 180 , 270 ,360 degree

but after doing first opertion at (0 or 360) after turning  it goes again in top postion again to  0 but it has to go in 90 . 

its exporting coordinates is not correct

if i going to correct it manually editing in gcode for A and B axises then it works very good but when i sent it through by post processor it goes wrong 

i need help in making postprocesor  for axis 4 and 5 for fusion 360 please help 

0 Likes
Message 27 of 33

ethier.jeanpierre
Participant
Participant

Hi guy's, its me again with a weird one,   I get a failed to generate  tool path using the grbl post processor  when i setup mY  tool setting, in the section  where you define  either  flood or mist  this is where it gets weird  ,  If I choose either   flood or mist  no issues there, but if I  choose flood and mist  the post processor  comes up with an error !   thanks.

 

JeanPierre

0 Likes
Message 28 of 33

ezinser
Explorer
Explorer

Thanks for posting this, I am building a cnc using GRBL5x , so your post will surely be very helpful. If I have any problems I will let you know.

 

Best

0 Likes
Message 29 of 33

nickPB4HT
Community Visitor
Community Visitor

I´ll gave the PP a try but fusion reported that the machine simulation is not working with this PP. 

Is there any chance to get it working as the simulation is essential for the multi-axis work?

 

0 Likes
Message 30 of 33

tsmarks
Explorer
Explorer
Unfortunately, my account no longer has access to simulations. I
can't test or work on this.

Tim
0 Likes
Message 31 of 33

godeye
Community Visitor
Community Visitor

hi 

i want to creat 5 axis cnc wich is going to be (BC) head_table architecture the axis B attched on the head and the axis C attechedto the table , is it possible to use this post processor to generate gcode or there is pre programmed post processors in fusion .

thanks,

0 Likes
Message 32 of 33

godeye
Community Visitor
Community Visitor

 i want to creat 5 axis cnc machine with BC head_table architecture , the B axis attached to the head and the C axis attached to the table with 360 degrees  , is it possible to use this post processor to generate gcode or there is preprogrammed post processor in fusion 360. 

thanks,

0 Likes
Message 33 of 33

sales
Enthusiast
Enthusiast

These post processors are working nicely! I have my rotational axis aligned with my Y axis on the router table and "B" seems the appropriate output for these moves, but is what would be the procedure for altering this PP to output rotational moves to A instead of B? I'm asking because depending on the grblHAL controller used, B may not work. Any input would be welcome. I can open the cps and look, but it seems quite daunting. Perhaps a quick and dirty guide, "alter these lines to change angle output to A," would be very helpful.

Thanks for this!

0 Likes