How can i add code line in G code.

How can i add code line in G code.

Anonymous
Not applicable
1,726 Views
3 Replies
Message 1 of 4

How can i add code line in G code.

Anonymous
Not applicable

How can i add signed code line in my g code. I'm using mini cnc router for wooden hobby works. I'm using Mach3 for generating g codes. I'm tired copy/paste (g0 z5.) at the beginning and last of code bloks in Brackets.

i search fusion 360 settings but i have no result.

 

fusion360 soru.png

 

my mini cnc machine scrape wood beginning and finishing works, i add this codes for no damage on my works.

0 Likes
1,727 Views
3 Replies
Replies (3)
Message 2 of 4

daniel_lyall
Mentor
Mentor

Why do you wont it to move from home to Z5 when in you example G code it does a (line 17) Z8 after the X and Y moves (line 16).

 

Are you homing the machine pushing the home all button on screen


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 3 of 4

Anonymous
Not applicable

My mini cnc router doesn't straigth. I don't have problem X and Y axis, but Z axis has friction when starting and finishing. I can not provide wood regularity . Couse Cnc table doesn't straigth, Z axis rubbing my works top area. I move Z axis up to 5mm, so Z axis doesn't rub. I'm adding g0 z5. every generated g codes (i dont have problem with this way) 

I'm tired to copy/paste every g codes, Have fusion360 any settings for this problem?

0 Likes
Message 4 of 4

daniel_lyall
Mentor
Mentor

The solution is to home the machine or move it to a safe position (what is X and Y at front left and Z at the top of it's travel) and hit the  ref all home button what the red arrow is pointing to.

 

If you do this the machine will lift up to where home is set (G28 G91 Z0.) and then do the X and Y move.

 

fghfghgfhfghgfhgfhgfghfhgf.png 

 

Just try it when you first start the machine move it to a safe position with X and Y at front Left and Z at almost the top of it's travel hit the ref all home button, (if you have no home switches and they are not turned on in ports and pins it will do a home in places) then set your work zero then when you hit cycle start the first thing the machine will do is go up in Z.             

 

Failing to do this you will just wreck the machine and at some stage it will smash into the material or a object that is on the table or the person useing it, it is a machine that can kill you.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes