Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

End of program - output

Dablyx

New member
Hi.


As the title suggests i have a problem with program output.


At the end of each program i get:


Nxxxx Z+5

Nxxxx M05

Nxxxx G00 Z-1 M91

Nxxxx M31

Nxxxx M02

Nxxxx M30

N999999 %xxxxxx G71


I would like to get rid of the 3rd row (Nxxxx G00 Z-1 M91), which screws-up the controller if it gets in (Heidenhain 410).


I have to manually delete the row from the end of each program to get it right.


Where in the option file editor can i fix this problem? And how?


Thank you for your time and suggestions.
 
Hi Dablyx,
Find the following code in your uncx01.f18 FIL file and put 2 dollar signs at the beginning of the POSTN/OUT..... line as shown. That will eliminate this from being output to the cnc program.


CIMFIL/ON,FINI


DMY=POSTF(20)
IF(M112up.eq.1)THEN
IF(M_112.EQ.1)INSERT/' M113$'
ENDIF


$$ POSTN/OUT,G,0,Z,-1,M,91 $$ Remove double $$ from beginning of line if needed. J.Crook. 6/2011.


Hope this resolves your issue.


Jay Crook.
 

Sponsor

Articles From 3DCAD World

Back
Top