What's new
What's new

Fadal G41 programming stops at 2nd line

garychipmaker

Cast Iron
Joined
Dec 2, 2005
Location
ia
Hi I,m still learning this 1998 Fadal 4020 My problem is it stops @ line N50 Here's the code
N5 018 RAISED
N10 Tool Call
N15 G0 G17 G40 G80 G90 M5 M9
N20 T4M6 (.25EM
N25 D4 H4 E2
N30 X-.6 Y-1. S4000 M3
N35 G1 F10 X-.25
N40 Z-1.0
N45 G41 X-.125
N50 Y1.75
N55 X.25
N60 Y-1.5
N65 M30
@N50 spindle and travels stop. Table is at Y 1.875

Graphing stops also If I remove the G41 in N45 it will finish the code
I'm stumped As always thanks for the help
 
Probably a lead in error. Upload the code to the control, that snippet should be enough, and when the upload is complete type SUM and then hit enter. It'll tell you why it stopped.

There's probably a way to display that message without that effort, but I don't know what it is.
 
I found the problem .I didn't have a G40 at the end. I thought the M30 would cancel it

M30 does cancel radius compensation, at least on Fanuc.
Moreover, your program was stopping much before M30.
Therefore, I believe, you may have some other problem, such as wrong nose radius in the tool offset.
 
Therefore, I believe, you may have some other problem, such as wrong nose radius in the tool offset.

Yeah, what's the value in your tool radius register? I know you said it's working now, but still, just curious. In most cases the G41 move has to be at least as great as the radius of your cutter.....is your cutter .125" or smaller? (you're moving from X-.25 to X-.125 so that is a .125" move, so it could be trouble if your tool radius is .126" or greater. 99% of the time cutter comp errors are because of this.
 








 
Back
Top