sheetcam.com Forum Index sheetcam.com
SheetCam discussion board
 
 Forum SubscriptionsForum Subscriptions    FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GRBL Post processor for Sheetcam

 
Post new topic   Reply to topic    sheetcam.com Forum Index -> Problems and questions (problems @forum.sheetcam.com)
View previous topic :: View next topic  
Author Message
CBoy



Joined: 23 Nov 2017
Posts: 1

PostPosted: Thu Nov 23, 2017 11:08 am    Post subject: GRBL Post processor for Sheetcam Reply with quote

Hey blokes,

I have been building a CNC plasma table for the last few months now, I had it running as a Router table first just to learn more about CNC machines first before I dived straight into Plasma. (I have had no CNC experience what so ever and I'm just an electrician so had to take baby steps to learn).


My machine is running an GRBL based Arduino platform based controller called a CNC Xpro V3 controller board which is basically just an arduino with everything packaged up neatly to use for a CNC machine.

So I have a relay off the spindle control circuit off that board which closes the switch on my plasma trigger.

I have got a few basic things cut out with it, using Fusion 360 and its inbuilt CAM software, but it only has basic plasma features no nesting or anything like that. So I downloaded sheetcam to see what its like and seems to have all the features that I need once I learn how to use it.

My question is, does any one know if there is a post processor for sheetcam that will support my GRBL based controller, or is it easier for me to convert my controller to mach3 so that I can also implement a THC?

Just a newby after some guidance please...

Thanks
C-Boy



CNCMACHINE_n.jpg
 Description:
 Filesize:  147.03 KB
 Viewed:  150 Time(s)

CNCMACHINE_n.jpg


Back to top
View user's profile Send private message
moose4621



Joined: 06 Dec 2017
Posts: 5

PostPosted: Wed Dec 06, 2017 8:44 pm    Post subject: Reply with quote

Nice build. Very Happy
I am at the same stage as you and thought I would add weight to your question in the hope that someone has already written a post processor for GRBL.

I have used a CNC shield on an arduino uno controlled from a headless Raspberry Pi which seems to work well.
Back to top
View user's profile Send private message
Les Newell
Site Admin


Joined: 11 May 2006
Posts: 1951

PostPosted: Thu Dec 07, 2017 5:48 pm    Post subject: Reply with quote

Here are a couple of grbl posts I have. One uses a touch-off switch and the other not.


GRBL THC with scriber.scpost
 Description:

Download
 Filename:  GRBL THC with scriber.scpost
 Filesize:  7.84 KB
 Downloaded:  5 Time(s)


GRBL plasma.scpost
 Description:

Download
 Filename:  GRBL plasma.scpost
 Filesize:  2.79 KB
 Downloaded:  7 Time(s)

Back to top
View user's profile Send private message
moose4621



Joined: 06 Dec 2017
Posts: 5

PostPosted: Sat Dec 09, 2017 9:00 pm    Post subject: Reply with quote

Les Newell wrote:
Here are a couple of grbl posts I have. One uses a touch-off switch and the other not.


Awesome, thanks Les. Very much appreciated.
Very Happy
Back to top
View user's profile Send private message
moose4621



Joined: 06 Dec 2017
Posts: 5

PostPosted: Sat Dec 09, 2017 10:07 pm    Post subject: Reply with quote

Trying to run the post without the touch and I get this error.
Code:
This post has thrown an error:
...home/chris/.SheetCamTNG-dev/posts/GRBL plasma.scpost:84: attempt to perform arithmetic on global 'firstPierce' (a nil value)
Do you want to edit the post?


Line 84 reads,
Code:
 if (pierceDelay + firstPierce > 0.001) then


I am not sure where the problem is.

Any help appreciated.
Back to top
View user's profile Send private message
Les Newell
Site Admin


Joined: 11 May 2006
Posts: 1951

PostPosted: Sun Dec 10, 2017 12:27 pm    Post subject: Reply with quote

It looks like somehow you are missing a chunk of the post code. That should be line 204. Try downloading and installing it again.
Back to top
View user's profile Send private message
moose4621



Joined: 06 Dec 2017
Posts: 5

PostPosted: Sun Dec 10, 2017 1:11 pm    Post subject: Reply with quote

Les Newell wrote:
It looks like somehow you are missing a chunk of the post code. That should be line 204. Try downloading and installing it again.


Thanks for your response Les.

It is line 204 in the GRBL THC with scriber.scpost but it shows up as line 84 in the plain GRBL plasma.scpost

Using the same tool and operation I can post process the GRBL THC with scriber config but not the GRBL plasma config.
Back to top
View user's profile Send private message
Les Newell
Site Admin


Joined: 11 May 2006
Posts: 1951

PostPosted: Sun Dec 10, 2017 1:32 pm    Post subject: Reply with quote

Oops, I didn't realize that post had an extended first pierce. Look for:
function OnInit()
Afet that add this line:
firstPierce = firstPierceTime

That should fix it.
Back to top
View user's profile Send private message
moose4621



Joined: 06 Dec 2017
Posts: 5

PostPosted: Sun Dec 10, 2017 8:04 pm    Post subject: Reply with quote

That did the trick, thank you Les.

Much appreciated. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    sheetcam.com Forum Index -> Problems and questions (problems @forum.sheetcam.com) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group