Found a different post on a an older MC cd, works ok in some aspects.
This portion, the first tool works ok;
BEGIN PGM 0 INCH
TOOL CALL 3 Z S4500
L R F M06
L X+0 Y+0 R F MAX M
L X-2.4465 Y-.55 R F MAX M03
L Z+.25 R F MAX M
L Z-.25 R F MAX M8
L Z-.3643 R F64 M
Makes the tool change, turns the spindle on, turns the coolant on.
Next tool changes, turns coolant on but does not turn the spindle on;
C X+2.4345 DR+ R F M
L X+2.452 R F M
L Z+.25 R F MAX M
TOOL CALL 2 Z S4000
L R F M06
L X-2.461 Y-.55 R F MAX M
L Z+.25 R F MAX M
L Z+.1 R F MAX M8
L Z-.025 R F64 M
L X-2.511 R F150 M
CC X-2.45 Y-0.55
C X-2.389 DR+ R F M
CC X-2.45 Y-0.55
C X-2.511 DR+ R F M
L X-2.461 R F M
L Z-.05 R F64 M
and then the drilling cycle is backwards I think,
Puts the parameters before the tool call or doesn't properly call the cycle after the tool call, nor does it turn the spindle on.
CC X2.45 Y-0.55
C X+2.5125 DR+ R F M
CC X2.45 Y-0.55
C X+2.3875 DR+ R F M
L X+2.4375 R F M
L Z+.25 R F MAX M
CYCL DEF 1.0 PECKING
CYCL DEF 1.1 SET UP -0.1
CYCL DEF 1.2 DEPTH 1.
CYCL DEF 1.3 PECKG -0.1
CYCL DEF 1.4 DWELL 0.
CYCL DEF 1.5 F41
L Z0.1 R F MAX M
L Z0.1 R F MAX M8
L Z0.1 R F MAX M99
TOOL CALL 12 Z S1711
L R F M06
L X-2.45 Y-.55 R F MAX M
L R F M25
END PGM 0 INCH
Is there anyone who can point me in the right direction in editing this post? I have never edited a post before, not really a programmer, I outsource it to a guy who has never needed to do it either. I found several other posts in a google search. They have some nice features people have added(tool lists, etc.) but are not even as close as this one.
Edit: I had my programmer send me the files to post. I've attached them for anyone who would like to see them. Remove the .txt I had to add it to upload the files.
MPHEID-1.control.txt
MPHEID-1.MMD.txt
MPHEID-1.pst.txt
500BOTTESTMPH1.H.txt This is the program as written in whole.
Edit # 2
When he posts each sub program/tool individually, they do post correctly(not the drill program, that doesn't change).
Anyone?


LinkBack URL
About LinkBacks





