Solidcam to EMC2 post processor

More
14 years 5 months ago #19846 by Robo-Dan
Here's is my modified Solidcam to EMC2 post processor. It has been modified so that it can do arrays of parts that have multiple tool changes without duplicating all of the tool changes in your array of parts. ie. Instead of going through all of the tool changes on part 1 and then indexing to part 2, effectively duplicating all of your tool changes. Run tool #1 on an array of parts, then tool change, then tool #2 on the same array of parts, etc..

File Attachment:

File Name: FANUC.zip
File Size:2.75 KB

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #36937 by icizrt
Hi everyone,

I'm having trouble with generating G-code from SolidCAM2012.
I tried to choose fanuc and fanuc5a machines and also tried to set the post processor (at machine settings) to the one which is for LinuxCNC, but I faced to two cases:
1.: if i choose the postprocessor which is made for LinuxCNC: error in SolidCAM. It sais "File LINUXCNC.GPP, Line 6. variable 'Peck' is unable to recognize", and the same error for other variables too.
2.: if i choose the original SolidCAM postprocessor file (fanuc or fanuc5a), it generates a G-code, that LinuxCNC unable to load because a bunch of unknown g-codes and d-codes.

Does anyone has experience with Solidcam2012 vs. LinuxCNC? I am very pissed off, I want to make is work for 3 days... :evil:

Help please!!

Thank you!
Adam

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago - 13 years 3 months ago #36942 by cncbasher
have you try'd Robo-Dan's post processor ?

if you can post your solidworks files and gcode as an attachment i'll take a look and see if we can find the problem

which version post processor and which version of linuxcnc you are using will help
also the exact version of solidworks / solidcam and service packs used etc .

I feel that it may be just a few updates needed to the post processor .
Last edit: 13 years 3 months ago by cncbasher.
The following user(s) said Thank You: icizrt

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago - 13 years 3 months ago #36958 by icizrt
Thank you for the quick and very helpful reply cncbasher!

Trying Robo-Dan's GPP file, and selecting Fanuc5a machine in SolidCAM solved my problem!
I don't really know, why i haven't try this one earlier... to be honest i thought the problem is somewhere else, because I tried several GPP files and the problem seemed to be in choosing the appropriate way of generating the code and the settings of the pre-defined machines.

So, for everyone who want to use Solidcam2012 with LinuxCNC:
1.: Reame Robo-Dan's attached postprocessor file to something (LinuxCNC.GPP for instance) and copy it to .../Programfiles/SolidCAM2012/Gpptool/
2.: Select machine "Fanuc5a" at CAM-Part settings
3.: Go into Fanuc5a's settings by double-clicking on it
4.: In Machine ID Editor (which pops up) select the new, freshly copied postprocessor file on the right
5.: It should work!


Thank you and also Robo-Dan so much again!

Adam
Last edit: 13 years 3 months ago by icizrt.

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago - 13 years 3 months ago #37003 by hardware_crash
Last edit: 13 years 3 months ago by hardware_crash.

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago - 13 years 3 months ago #37016 by icizrt
Did you also copy Fanuc5a.PRP and Fanuc5a.vmid files?
I'm not sure if it solves the problem, but anyway, they are in my gpptool directory.
I attach my "set", check if is works or not.
Be careful, in Fanuc5a.vmid I set the max spindle speed to 18000 rpm (because of my machine goes up to that value), you should set it down to your hardware's maximum.
Adam

Editining: I don't know why, but my attachment doesn't appear, sorry... I try it again later.

This time try to attach as .zip... let's see


File Attachment:

File Name: SolidCam_E...or_2.zip
File Size:7.98 KB
Last edit: 13 years 3 months ago by icizrt.

Please Log in or Create an account to join the conversation.

Time to create page: 0.312 seconds
Powered by Kunena Forum