Solidcam to EMC2 post processor

More
16 years 10 months ago #1307 by alext
Hi All.
I searched Linuxcnc.org for working post processor from SolidCam to EMC, and did not found any.
So I changed existing FANUC (for Mill) and FANUC0T (for Lathe) in SolidCam.
It worked for me in SolidCam 2008SP12 and SolidCam2009 SP0. I am using EMC2.2

To use modified post processor extract attached archive (which includes both post processors) to C:\Program Files\SolidCAM2009\Gpptool , choose to override existing files (you can backup existing files just to be safe).

This is my first post in this forum, so if I made any mistakes I want to apologize in advance.

Attachment postProcessors.zip not found

The following user(s) said Thank You: icizrt, Wick3, remrendes

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

More
16 years 10 months ago #1311 by BigJohnT
Thanks for sharing.

John

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

More
15 years 11 months ago #5358 by axel88
Can you please explain what changes are necessary? I'm trying to make a postprozessor for Unigraphics NX6 perhaps this could help me.

Axel

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

More
15 years 11 months ago #5485 by robh
axel88 wrote:

Can you please explain what changes are necessary? I'm trying to make a postprozessor for Unigraphics NX6 perhaps this could help me.

Axel


hi Axel

there is not alot to edit if you have a good standard fanuc post, just check your cycles, and G80 line on end of cycles like drilling, as fanuc can take G80 Zxx EMC likes G80 G00 Zxx

cutter comp drive lines is also worth a check.

Lathe wise there are not many cycles there so most of it just system output code
should not take long if you have a good starting ground and know how to edit a post.

rob

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

More
14 years 9 months ago #16912 by Robo-Dan
This post processor seems to work alright for me with Solidcam and EMC2. Although, I tried performing a Transformation->Translate->Matrix, which uses WHILE loops. When I tried to load the code, EMC2 didn't recognize the structure of the WHILE loop and gave me an invalid character error. I'm pretty sure that the post processor needs to be modified but I'm not sure how. My generated code looks like this... Any help would be greatly appreciated.

(CNC-HOUSING-CENTER.TAP)
( MCV-OP ) (18-JAN-2012)
(SUBROUTINES: O2 .. O6)
G90 G17
G80 G49 G40
G54
G91 G28 Z0
G90
M01
N1 M6 T1
(TOOL -1- MILL DIA 3.97 R0. MM )G0 X0. Y0. Z10. S15000 M3
M8
#21 = 0
WHILE [#21 LT 2] DO 1
(
)
(TAB ROUGHING - FRONT - POCKET)
(
)
G10G91 L2 P1 X0. Y42. Z0.
G90
#21 = #21 + 1
G1
END 1
G10G91 L2 P1 X0. Y-84. Z0.
G90
G91 G28 Z0
G90
M01
N2 M6 T8G0 X-14.852 Y-34.5 Z10. S1000 M3
M8
#21 = 0
WHILE [#21 LT 2] DO 1
(
)
(OUTER CHAMFER - FRONT - PROFILE)
(
)
G0 X-14.852 Y-34.5 Z15.
Z7.75
G1 Z5.625 F100
X-33.295 F500
G2 X-34.855 Y-33.818 R2.125
X-35.156 Y-33.485 R18.875
X-35.688 Y-32.079 R2.125
G10G91 L2 P1 X0. Y42. Z0.
G90
#21 = #21 + 1
G1
END 1
G10G91 L2 P1 X0. Y-84. Z0.

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

More
14 years 9 months ago #16913 by Robo-Dan
Also, the section of the post processor that I think needs to be modified is shown below.

@loop
local integer var_num

var_num = loop_level + 20
{nb, '#', var_num, ' = 0'}
{nb, ' WHILE [#', var_num, ' LT ', loop_count, '] DO ', loop_level}
endp

;

@end_loop
local integer var_num

var_num = loop_level + 20
{nb '#', var_num, ' = #', var_num, ' + 1'}
{nb 'G'home_number}
{nb ' END ', loop_level}
endp

;

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

Time to create page: 0.102 seconds
Powered by Kunena Forum