Single Step G Code

Discussion/questions about software used with your CNC Shark and programming issues

Moderators: al wolford, sbk, Bob, Kayvon

Post Reply
User avatar
gmm50
Posts: 46
Joined: Fri May 16, 2014 5:22 pm

Single Step G Code

Post by gmm50 »

Hello:

Does anyone know if it's possible to single step through all the G Code? Line by line.
Trying to track down the offset in beveling and this would be a big help is seeing tool positions before each line of code.

Thanks in advance
George

tonydude
Posts: 1581
Joined: Tue Aug 17, 2010 9:23 am
Location: Buffalo,NY

Re: Single Step G Code

Post by tonydude »

Open up in notepad.

Tony
Buffalo,NY

"What will matter is not what you bought but what you built; not what you got, but what you gave”

Aspire 11.015, photo vcarve, cnc mako shark extended bed with the new upgraded HD 5 gantry with Led pendent.

Junior
Posts: 16
Joined: Sun Jun 17, 2012 9:48 pm

Re: Single Step G Code

Post by Junior »

I believe the OP wants to see the position on the machine not just read it line by line.

User avatar
gmm50
Posts: 46
Joined: Fri May 16, 2014 5:22 pm

Re: Single Step G Code

Post by gmm50 »

I would like the controller to execute just one line of G Code then wait for a human input.
Once given then execute just one more line of G Code.
George

tonydude
Posts: 1581
Joined: Tue Aug 17, 2010 9:23 am
Location: Buffalo,NY

Re: Single Step G Code

Post by tonydude »

You could edit the g code in notepad and save it and run it.

Tony
Buffalo,NY

"What will matter is not what you bought but what you built; not what you got, but what you gave”

Aspire 11.015, photo vcarve, cnc mako shark extended bed with the new upgraded HD 5 gantry with Led pendent.

tonydude
Posts: 1581
Joined: Tue Aug 17, 2010 9:23 am
Location: Buffalo,NY

Re: Single Step G Code

Post by tonydude »

You will get better results if you post on forum.vectric.com

Tony
Buffalo,NY

"What will matter is not what you bought but what you built; not what you got, but what you gave”

Aspire 11.015, photo vcarve, cnc mako shark extended bed with the new upgraded HD 5 gantry with Led pendent.

jeb2cav
Site Admin
Posts: 1524
Joined: Thu Sep 30, 2010 7:04 pm
Location: Kentucky
Contact:

Re: Single Step G Code

Post by jeb2cav »

Hi George,

There is currently no Shark Control Panel mode that results in executing each line in the tap file, then pausing until you take some action for it to step into the next line/command.

One way to accomplish what you are looking for would be to manually edit the tap file (you can use any text editor for this, like Notepad for example), and insert the G04 Px.y dwell command. For a large tap file this would be pretty labor intensive. But it may work for your purposes.

You could stick a G04 in at the end point of the move where you want to see the position, stick in a value for 10s or something. If you needed more than 10s - you could invoke the Pause from the SCP, then use Continue when you're ready to move on.

A post that talks about this for a different use case is http://cncsharktalk.com/viewtopic.php?f=10&t=2110

For a lengthier discussion on Gcode and tap files as it relates to the Shark, this post may be of interest to you - http://cncsharktalk.com/viewtopic.php?f ... 97&p=10186

Post Reply