Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Post Help ShopBot Router


Carl Vallance
 Share

Recommended Posts

I'm trying to fix a post for a ShopBot router. The Shopbot can't output arcs in the X,Z and Y,Z planes. What I want to do is have the post output arcs in the X,Y Plane and output line segments in the X,Z and Y,Z planes. I know I can put "linarc = 1" at the

front of the post, but this does't let me output arcs in the X,Y plane. I have placed my post and a sample file on the FTP site under Text_&_post_files_&_misc, Shopbot.zip. Any help is greatly appreciated!!

Link to comment
Share on other sites

OOOOHH, My Specialy!!!

I thought I'd never see another shopbotter here on this forum!

I worked out a post file for TeD Hall at ShopBot that you can use. I can E-mail you the post if you like. I have one tweaked out to use a toolchanger we made for our bot as well if you need it. Very tricky code, but I mastered ShopBot code long before I ever got started in Mastercam. Would you like the file? Let me know or e-mail me off forum so we don't infringe on the "post" issue here on this forum.

cheers.gif

Link to comment
Share on other sites

there was a post offered for free on the shopbot website. is this what you are using? when i was thinking about getting a shopbot i tried it out and it output arcs in the xy plane. as for the xz and yz just filter the toolpath with arcs disabled in those planes. i believe it was for mastercam 8 so you have to update it with update pst in the nc utilities menu

Link to comment
Share on other sites

mike.b:

No, I did not make that post file. We have produced several new post files though since that initial file. It seems that there aren't too many Shopbotters out there that use Mastercam for the programming. If there are, shopbot usually directs them to me. wink.gif

 

Dan teh man who cuts all them screwy wood parts out of teh shed full of ShopBots!

Link to comment
Share on other sites

dkintzel,

The post you put on the FTP site seems to have some bugs in it. This is the output I got from it.

 

'(PROGRAM NAME - T)

'03-05-0513:39

&PROGTOOL=1

START:

SO,1,1

IF %(52)=0 THEN GOTO START

'MS,0.75

J2,.500,.000

JZ,.100

MZ,.000

CG,,-.500,.000,-.500,.000,T,-1

CG,,.500,.000,.500,.000,T,-1

MZ,.100

JZ,.250

JX,-.500

JZ,.100

MZ,.000

G18CG,,.500,.000,.500,.000,T,-1

MZ,.100

JZ,.250

STOP:

SO,1,0

IF %(52)=1 THEN GOTO STOP

JX,90

JY,-0.125

END

Link to comment
Share on other sites

Sorry I didn't reply sooner. I leave my work day at 3:00. I'll take a look and reply 1st thing from work in the AM!

 

I only see one issue that I can't explain yet. I don't have Mastercam here at home to troubleshoot.

-the &progtool variable is code I use for my tool changer. It won't cause any issues for you for it to be there. Just REM it out and you'll be fine.

-The START:

SO,1,1

IF %(52)=0 THEN GOTO START

routine is for the automatic start and stop of your spindle. Do you have the Columbo 5hp spindle?

If not I'll REM out that line of code for you if you still use the Porter Cable rig.

-The G18CG line that is incorrect is coming from an incorrect setting in your Mastercam settings. I'll research that one in the morning. (I forget it off the top of my head headscratch.gif )

 

I need some info from you on your setup as well to fully customize your post file correctly for you.

Call me tomorrow if you like at 570-374-2711 Ext.761 .

I'll explain the additional code that you see as well. For now I must spend time with the family.

cheers.gif

Link to comment
Share on other sites

dkintzel ,

I don't see where your post is outputing the X,Z and Y,Z Planes as lines instead of arcs. maybe I have something set up wrong in mastercam but I can't find it. I don't have my Shopbot yet. Its on order, do in 1st of June. I did order the 5hp columbo spindle. I'm running the Shopbot program in preview mode for now to try and work out the bugs.

 

Lee K. White,

Any 3d tool path that tries to output an arc in the X,Z or Y,Z plane. I need line segments not arcs.

 

mike.b,

Yes I started with the post from the ShopBot web site. I did update it for Mastercam ver 9.

 

betts,

I did set the filters. Didn't help.

 

To everyone,

Thanks so far. I'm still not getting what I want. I've been playing with setting linarc to work with the plane value but no luck so far. I'll keep trying. Keep the ideas coming.

Link to comment
Share on other sites

This is my latest attempt but still not right. Am I on the right track? Any ideas?

 

quote:

pcirout #Output to NC of circular interpolation

 

if plane > 0, linarc = 1

else, linarc = 0

[

if gcode = 2, cdcode = 1

if gcode = 3, cdcode = -1

n, pfeed, e

pcan1, pbld, n, sgplane, *sgcode, 44, sgabsinc, pccdia, pfxout, 44, pfyout, 44, pzout, parc, 44, "T", 44, *cdcode, strcantext, e

]

banghead.gifcurse.gifbanghead.gif

Link to comment
Share on other sites

Carl,

 

I think I see the issue with what you are trying to do. This is written right in any of the ShopBot post files:

 

# DO NOT use "Create Arcs" in Filter when Multi-surface, Multi-axis or Engraving toolpaths are used. Shopbot does not suppot XZ (G18) & YZ (G19) arc motion.

# You can still filter line motion in the above toolpaths. You can use the Create Arcs in any 2D toolpath.

 

This is the error you show receive when running this part file:

 

"ERROR - XZ or YZ Plane used. Turn "

"Create Arcs", 34, " OFF in Filter Settings."

 

Under your tool contour parameters, your contour type must be set to 2D for the ShopBot.

 

This is the code output you should see. Is this what you are trying to achieve?

 

'(PROGRAM NAME - T)

'04-05-0508:38

&PROGTOOL=1

START:

'SO,1,1

'IF %(52)=0 THEN GOTO START

'MS,0.75

J2,.500,.000

JZ,.100

MZ,.000

CG,,-.500,.000,-.500,.000,T,-1

CG,,.500,.000,.500,.000,T,-1

MZ,.100

JZ,.250

JX,-.500

JZ,.100

MZ,.000

MX,-.496

MX,-.484

MX,-.465

MX,-.438

MX,-.405

MX,-.364

MX,-.319

MX,-.268

MX,-.213

MX,-.155

MX,-.094

MX,-.031

MX,.031

MX,.094

MX,.155

MX,.213

MX,.268

MX,.319

MX,.364

MX,.405

MX,.438

MX,.465

MX,.484

MX,.496

MX,.500

CG,,-.500,.000,-.500,.000,T,-1

CG,,.500,.000,.500,.000,T,-1

MZ,.100

JZ,.250

STOP:

'SO,1,0

'IF %(52)=1 THEN GOTO STOP

JX,90

JY,-0.125

END

 

I Remarked out the spindle switching so you can run the file in your previewer.

 

Let me know if this isn't what your looking for.

cheers.gif

Link to comment
Share on other sites

dkintzel ,

I'm trying to get full 3 axis movement.

This is a sample of what I would expect to see. I realize that the post you have and the one I'm working with have to have the create arcs filter turned to off. In Mastercam ver 9 I can't set the filters this way. If I can I must be doing somthig wrong becouse I get the same output no matter how I set the filters.

 

'(PROGRAM NAME - T)

'(DATE=DD-MM-YY - 04-05-05 TIME=HH:MM - 06:54)

'(UNDEFINED )

JS,1.000,.667

JH

J2,-.500,.000

JZ,.250

JZ,.100

MS,1.667,.250

MZ,.000

MS,3.333

M3,-.500,.000,.020

M3,-.498,.000,.039

M3,-.497,.000,.059

M3,-.494,.000,.078

M3,-.490,.000,.098

M3,-.486,.000,.117

M3,-.481,.000,.136

M3,-.476,.000,.155

M3,-.469,.000,.173

M3,-.462,.000,.191

M3,-.454,.000,.209

M3,-.446,.000,.227

M3,-.436,.000,.244

M3,-.426,.000,.261

M3,-.416,.000,.278

Link to comment
Share on other sites

Carl,

OK, I ran it again, I deleted your tool paths and started fresh. This is what my file looks like. Something is very different in the way you are tool pathing this part file? headscratch.gif

 

'(PROGRAM NAME - T)

'04-05-0509:07

&PROGTOOL=1

START:

SO,1,1

IF %(52)=0 THEN GOTO START

'MS,0.75

J2,.625,.000

JZ,1.250

MZ,.000

CG,,-.625,.000,-.625,.000,T,1

CG,,.625,.000,.625,.000,T,1

JZ,1.750

J2,-.354,.125

JZ,1.250

MZ,.000

M3,-.319,.125,.385

M3,-.268,.125,.422

M3,-.213,.125,.452

M3,-.155,.125,.476

M3,-.094,.125,.491

M3,-.031,.125,.499

MX,.031

M3,.094,.125,.491

M3,.155,.125,.476

M3,.213,.125,.452

M3,.268,.125,.422

M3,.319,.125,.385

M3,.354,.125,.342

MZ,.000

CG,,-.354,.125,-.354,-.125,T,-1

JZ,1.750

STOP:

SO,1,0

IF %(52)=1 THEN GOTO STOP

JX,90

JY,-0.125

END

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...