Community
Fusion Manufacture
Talk shop with the Fusion (formerly Fusion 360) Manufacture Community. Share tool strategies, tips, get advice and solve problems together with the best minds in the industry.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jogging through g-code, is it possible?

11 REPLIES 11
SOLVED
Reply
Message 1 of 12
litodrums
560 Views, 11 Replies

Jogging through g-code, is it possible?

Good Day,

 

Getting my feet wet with g-code. I made a working program from Fusion 360 to Universal G Code v 2.0 Nightly.

 

Can I jog through the program and start on line 70 instead of line 20?? 

 

Thank you very much

11 REPLIES 11
Message 2 of 12
cnc2HQ7X
in reply to: litodrums

In most controls you can start at any line in the code. The main thing to watch for is to make sure all of your offsets, tool numbers, speeds and feeds are being called past that point in the code. The machine won't read anything before the line you start at. If you are simply wanting to skip over a part of your code, I would suggest using block delete on the sections you want to skip, again being sure that you are calling of the necessary initial commands. 

Message 3 of 12
litodrums
in reply to: cnc2HQ7X

Thank you for getting back, do I do the editing/blocking in UGS?? OR do I edit the code in program called Brackets.

 

thank you

Message 4 of 12
cnc2HQ7X
in reply to: litodrums

I would do it in Brackets, for me its a little easier to spot any mistakes there, but its more about what you are more comfortable with.

Message 5 of 12
litodrums
in reply to: cnc2HQ7X

thank you again for the suggestion on using Brackets. I would think I would need to do a backup of the original g-code before I start deleting lines? Correct?

 

Also because I'm new at this, reading code lines for me is like spotting a star formation in the nights sky. But I guess that's something I need to start learning.

 

Thank you very much for your input, I appreciate it very much.

I'm just starting out but I'm very excited to learn the right way of doing this.

Message 6 of 12
HughesTooling
in reply to: litodrums

@litodrums Why do you want to edit the G code? Is what Fusion posts incorrect? Better to fix the post processor than manually edit code, sooner or later you'll get it wrong and crash your machine.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 7 of 12
cnc2HQ7X
in reply to: litodrums

Actually, doing a block delete is just adding a "/" to the beginning of a line, like so:

 

/G0 X0 Y0 

So you aren't actually deleting anything, so a backup isn't necessary. Good luck, hope it works out for you.

Message 8 of 12
litodrums
in reply to: HughesTooling

The g code runs fine. I need to switch out a cutter and run only a section of the code to clean up two areas on the piece. I'm concerned that the switched out cutter will mess up the part overall, that looks good right now.  

Message 9 of 12
litodrums
in reply to: cnc2HQ7X

OK so if I have 200 lines of code, each line get an "/" at the beginning and when I'm done just remove the "/".

Correct??

 

 

Message 10 of 12
cnc2HQ7X
in reply to: litodrums

Correct.

Message 11 of 12
LibertyMachine
in reply to: litodrums

Another method is with line numbers.

Fanuc and Mitsubishi allow this:

 

T1M6 (.500 ENDMILL)

G0 G90 G54 X 1. Y1. S1000 M3

G43 H1 Z.1 M8

GOTO 123 (where the "123" is whatever line number you want to skip to.

N120 (STUFF)

N121 (YOU WANT)

N122 (TO SKIP)

N123 (IT THEN SKIPS TO THIS LINE, AS IT'S #123)

 

This may or may not work in Mach3


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
Message 12 of 12
litodrums
in reply to: LibertyMachine

Not sure I can do this with a MillRight Carve King Using BrGl electronics??

 

But I can also try this as well as "/".

 

Thank you

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report