586,036 active members*
4,071 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 23
  1. #1
    Join Date
    Mar 2008
    Posts
    126

    Tool Length Offset

    I am using AlibreCAM to post. I have the tool length offset set in the machine controller,Fadal 88HS Format 2. I have adjusted register number to correspond to tool number in AC. I have Z offset set to zero in create/edit tool dialog for both tools,saved edits to tool generated & posted the tool path with AC. Tool 7 is following tool length offset but tool 4 plunges into part the distance of the tool offset it appears. Here is the post for the 2 ops.It appears correct to me. I think it is a controller issue. What could I be doing wrong?


    %
    N1O1
    N2G40G49G80
    N3T7M6
    N4G0G90E1X0.001Y0.S534M3
    N5G43Z0.25H7M8
    N6G0Z0.25
    N7M08
    N8M46
    N9G81G99R+0.1Z-0.3F4.0
    N10Y1.532
    N11X-1.327Y-0.766
    N12X1.328
    N13G80Z0.1
    N14G0Z0.25
    N15M9
    N16M5
    N17G91G28Z0
    N18G40G49G80



    N19T4M6
    N20G90E1X0.001Y1.532S798M3
    N21G43Z0.25H4M8
    N22G0Z0.25
    N23M08
    N24M46
    N25G83G99R+0.1Z-0.625F6.0P0.01Q0.125
    N26X-1.327Y-0.766
    N27X1.328
    N28G80Z0.1
    N29G0Z0.25
    N30M9
    N31M5
    N32G91G28Z0
    N33G40G49G80


    Thanks for the help.

  2. #2
    Join Date
    Jan 2007
    Posts
    1389
    I forgot what m46 does but you dont have a cancle for it ie m47?
    I dont know if its needed or not. and your using g99 instead of g98 in a peck drill cycle


    heres a more simple code for what you have doing the same thing in My opinion this is how all my code is done, you dont need all the BS in all the lines, keep it simple ovbiously change the dims for your part

    N527 M6 T17 ( 0.375 DIA. SPOT DRILL )
    N528 G0 G17 G40 G80 G90 E11
    N529 M3 M8 S8500
    N530 X0.001 Y1.532
    N531G8
    N532 Z0.1 H17
    N533 G98 G82 Z-0.15 R+0.1 F15.0
    N534X-1.327Y-0.766
    N535 X1.328

    N538 G80 G40 M5 M9
    N539G9
    N540G49 Z0.0
    N541M01

    N542 M6 T18 ( 0.236 DIA. TWIST DRILL )
    N543 G0 G17 G40 G80 G90 E11
    N544 M3 M8 S8500
    N545 X0.001 Y1.532
    N546G8
    N547 Z0.1 H18
    N548 G98 G83 Z-0.75 R+0.1 Q0.1 F15.0
    N534X-1.327Y-0.766
    N535 X1.328

    N553 G80 G40 M5 M9
    N554G9
    N555G49 Z0.0
    N556M01


    Delw

  3. #3
    Join Date
    Jan 2004
    Posts
    3154
    Del

    The extra code is created by the cam software.

    Fabr

    If your other tools are cutting at proper zero, I would be inclined to clear the tool 7 data from the MCS tool table (including any A/B values that may be there) and input it again freshly.
    www.integratedmechanical.ca

  4. #4
    Join Date
    Mar 2008
    Posts
    126
    The post process generator in AlibreCAM is posting the code. I see little reason to have a CAM program if I have to rewrite the post every time.

    M46 is positive approach in a Fadal according to the manual .M 47 would cancel it.G99 is return to RO plane after final Z in my Fadal manual. G98 is return to initial plane after final Z in the manual. I don't understand where that is of any help.

    Is there ANYONe using AlibreCAM with a fadal successfully? Without having to rewrite the post?

  5. #5
    Join Date
    Mar 2008
    Posts
    126
    DareBee,it appears that all tool after T4(first tool) are not picking up on the tool offsets,not just T7. I'll recheck that today.

  6. #6
    Join Date
    Jan 2007
    Posts
    1389
    Maybe a zero memory is in order? then reset all offsets and fixture offsets.


    I realize the software is writing the code for the machne, so is mine( not the same software). you should be able to edit your post file and save it, then if should always wrote the correct code everytime.

    Just for the heck of it delete all the stuff in your program thats is not needed or try my code but change your position. if that works then you know its stuff that your post is posting , if it doesnt than I would do a zero memory as its a machine problem.

  7. #7
    Join Date
    Mar 2008
    Posts
    126
    Quote Originally Posted by Delw View Post
    Maybe a zero memory is in order? then reset all offsets and fixture offsets.


    I realize the software is writing the code for the machne, so is mine( not the same software). you should be able to edit your post file and save it, then if should always wrote the correct code everytime.

    Just for the heck of it delete all the stuff in your program thats is not needed or try my code but change your position. if that works then you know its stuff that your post is posting , if it doesnt than I would do a zero memory as its a machine problem.
    Ya,I was beginning to think the same thing.

    Problem is that I don't know what to do to correct it before I can save it.
    I'll do so.

  8. #8
    Join Date
    Mar 2008
    Posts
    126
    Did the memory clear thing.Re-entered tool length offsets. Nothing changed. I've been carefully trying to figure out what is wrong in the post. Help me out please guys with the post as it is. I realize that as I get better at this I can edit/write a lot of it differently but I gotta start somewhere and this is what I have to work with. If you can bear with me I think I see the issue with the post but have no Idea how to correct the ACAM editor so it will post right. Another person has stated that he is only able to get his post "correct" is using the ACAM Fadal Format2.spm post generator so I have decided to concentrate only on it for now.
    Here's the post with the same 2 ops.

    %
    N1O1(Fadal_Format2.spm)
    N2G40G49G80
    N3(Center Drill)
    N4T7M6
    N5G0G90E3X0.001Y0.S534M3
    N6G43Z0.25H7
    N7M8
    N8G0Z0.25
    N9M46
    N10G81G99R+0.1Z-0.3F4.0
    N11Y1.532
    N12X-1.327Y-0.766
    N13X1.328
    N14G80Z0.1
    N15G0Z0.25
    N16M9
    N17T4M6
    N18G90E3X0.001Y1.532S798M3
    N19G43H4
    N20M8
    N21G0Z0.25

    N22M46
    N23G83G99R+0.1Z-0.625F6.0P0.0100Q0.125
    N24X-1.327Y-0.766
    N25X1.328
    N26G80Z0.1
    N27G0Z0.25
    N28M9

    Doesn't N15 put the tool at the clearance plane without allowing for tool length offset?Then after the tool change it returns to z.025 before the Y move since G00 is modal?
    Seems to me that this Y move ,just after the tool change, is occurring before these moves that bring the tool up to clearance plane Z with the tool offset H4 included.
    Seems to me the moves must be reversed before this G83 cycle without plunging the tool into the part before the Y m ove and also before it's even drilled.

  9. #9
    Join Date
    Jan 2007
    Posts
    1389
    Not trying to be a dick, but see if the machine will work with simple code before you start playing with everything
    did you try running the program I made above? taking out all the bs thats in your?

    if you tried it and it still doesnt work then its your control issue and you may need to do a ZERO MEMORY (instructions are in this forum) if you havent tried it then you could very well be wasteing your time playing with everything else.

    once you try it then worry about the cam post.
    If you have a legal copy of the software its one simple phone call, if you dont then go search the forums under visual mill ( I believe AlibreCAM use that cam software) they dont have there own, they use somone elses.

    I am looking into buying the cad version of Alibre for drawings and m.o.t.s and the salesman threw in the cam for me to play( said they used visual mill or something like that) with as well, I havent even tried it as I didnt need it.

  10. #10
    Join Date
    Jan 2007
    Posts
    1389
    also make sure your "E" numbers fixture offsets are set correctlly somethign tells me they are not and
    your first hole MUST BE AFTER THE the canned cycles not before.
    I always postition the machine in the firs goo x what every y what ever to something other than the hole usually X0 Y0

    and the colored text is hard to see.

  11. #11
    Join Date
    Mar 2008
    Posts
    126
    I did a zero memory on the machine today. It solved nothing. Also not trying to be a dick but as I said I don't know what to remove from my program . I have a legal copy with all maintenance paid and have had for a very long time. I got news for you their support could use some support. I have been talking to them also. One call? LOL!!I have no problems with ACAD and the ACAM works nicely. The CAM posting is a joke tho . Can you or not tell me if I'm right about the code. Are you an experienced Fadal programmer? No,I didn't try your program as I don't know what it takse to make it run,what it is, and I've crashed enough stuff. I know what this should do,the first op runs perfectly and there has to be a reason the code is outputting what I THINK I see above.Do you see it or am I all wet?

  12. #12
    Join Date
    Jan 2007
    Posts
    1389
    do you know how to enter a program by hand? have you ever programmed a machine or are you new to this.
    the problem with cam software is everyone thinks the could draw a pretty picture hit the button and be running parts when in fact most cant do that.

    So I am going to assume you never programmed a machine nor have any clue what each function does.

    GOTO Welcome to FadalCNC.com down load all there fadal manuals and read them, then input code in by hand and leave the cadcam stuff alone till you know what the functions do.

    first thing you need to do is set your tool and fixture offsets,( I am guesing this is your major problem) its in the book on how to do it, with out them your going to crash all day long. then after you set your fixture and tool offsets start with a simple center drill code NOTHING ELSE do it exactly like I have written, with your dimensions. starting AFTER the g98g83 line

    if you rely on cad cam and dont have a clue about how the machine works or what a program looks like your in for an expensive lesson. sometimes its best to turn the machine off and learn how things work before you turn them back on as it will be very expensive otherwise.

    This is one major problem with todays society, every tom Juan and Achmen thinks they can be a machinist by buying a machine and a cad cam program., its not that simple.
    to answer your question am I an experianced fadal program? NO I just play one daily.


    BTW "ZERO MEMORY" is NOT "Did the memory clear thing"
    DO NOT DO A ZERO MEMORY OR MESS WITH ANY CONTROL PARAMETERS UNTIL YOU LEARN THE MACHINE AND THE CONTROL AND HOW TO READ/WRITE A PROGRAM.

    Delw

  13. #13
    Join Date
    Mar 2008
    Posts
    126
    Quote Originally Posted by Delw View Post
    do you know how to enter a program by hand? have you ever programmed a machine or are you new to this.
    the problem with cam software is everyone thinks the could draw a pretty picture hit the button and be running parts when in fact most cant do that.

    So I am going to assume you never programmed a machine nor have any clue what each function does.

    GOTO Welcome to FadalCNC.com down load all there fadal manuals and read them, then input code in by hand and leave the cadcam stuff alone till you know what the functions do.

    first thing you need to do is set your tool and fixture offsets,( I am guesing this is your major problem) its in the book on how to do it, with out them your going to crash all day long. then after you set your fixture and tool offsets start with a simple center drill code NOTHING ELSE do it exactly like I have written, with your dimensions. starting AFTER the g98g83 line

    if you rely on cad cam and dont have a clue about how the machine works or what a program looks like your in for an expensive lesson. sometimes its best to turn the machine off and learn how things work before you turn them back on as it will be very expensive otherwise.

    This is one major problem with todays society, every tom Juan and Achmen thinks they can be a machinist by buying a machine and a cad cam program., its not that simple.
    to answer your question am I an experianced fadal program? NO I just play one daily.



    BTW "ZERO MEMORY" is NOT "Did the memory clear thing"
    DO NOT DO A ZERO MEMORY OR MESS WITH ANY CONTROL PARAMETERS UNTIL YOU LEARN THE MACHINE AND THE CONTROL AND HOW TO READ/WRITE A PROGRAM.


    Delw
    I am new to this but have had the full manuals for Fadal for about 3 years now. I havebeen pouring over the g code,m code,fixed cycles etc. for a long time. I do this once or twice a year. I HAVE run parts on this machine using ACAM before. I do know fairly well what the functins of the codes are. I have the books open ALL the time.
    I'm sorry that I'm a moron but since you play a Fadal daily I would think you could answer my question about the post that is given to me by ACAM. Apparently I'm wrong. Still it looks out of order to me. If you can't answer that question,so be it. Thank you for the help.

    I did an RI .I think that's what you meant wasn't it? Then I re entered tool length and fixture offsets and checked all under SETP. I'm trying to learn and be fluent in code reading/writing. I understand it's not a draw and machine thing all thetime but a simple drill cycle is not complicated.

  14. #14
    Join Date
    Mar 2008
    Posts
    126
    Can/will anyone PLEASE answer these questions for me in THIS code?

    %
    N1O1(Fadal_Format2.spm)
    N2G40G49G80
    N3(Center Drill)
    N4T7M6
    N5G0G90E3X0.001Y0.S534M3
    N6G43Z0.25H7
    N7M8
    N8G0Z0.25
    N9M46
    N10G81G99R+0.1Z-0.3F4.0
    N11Y1.532
    N12X-1.327Y-0.766
    N13X1.328
    N14G80Z0.1
    N15G0Z0.25
    N16M9
    N17T4M6
    N18G90E3X0.001Y1.532S798M3
    N19G43H4
    N20M8
    N21G0Z0.25
    N22M46
    N23G83G99R+0.1Z-0.625F6.0P0.0100Q0.125
    N24X-1.327Y-0.766
    N25X1.328
    N26G80Z0.1
    N27G0Z0.25
    N28M9

    Doesn't N15 put the tool at the clearance plane without allowing for tool length offset?Then after the tool change it returns to z.025 before the Y move since G00 is modal?
    Seems to me that this Y move ,just after the tool change, is occurring before these moves that bring the tool up to clearance plane Z with the tool offset H4 included.
    Seems to me the moves must be reversed before this G83 cycle without plunging the tool into the part before the Y move and also before it's even drilled.

  15. #15
    Join Date
    Mar 2008
    Posts
    126
    Quote Originally Posted by Delw View Post
    also make sure your "E" numbers fixture offsets are set correctlly somethign tells me they are not and
    your first hole MUST BE AFTER THE the canned cycles not before.
    I always postition the machine in the firs goo x what every y what ever to something other than the hole usually X0 Y0

    and the colored text is hard to see.
    There are no fixture offsets . All are zero'ed.

  16. #16
    Join Date
    Mar 2008
    Posts
    126
    Quote Originally Posted by Delw View Post
    Not trying to be a dick, but see if the machine will work with simple code before you start playing with everything
    did you try running the program I made above? taking out all the bs thats in your?

    if you tried it and it still doesnt work then its your control issue and you may need to do a ZERO MEMORY (instructions are in this forum) if you havent tried it then you could very well be wasteing your time playing with everything else.

    once you try it then worry about the cam post.
    If you have a legal copy of the software its one simple phone call, if you dont then go search the forums under visual mill ( I believe AlibreCAM use that cam software) they dont have there own, they use somone elses.

    I am looking into buying the cad version of Alibre for drawings and m.o.t.s and the salesman threw in the cam for me to play( said they used visual mill or something like that) with as well, I havent even tried it as I didnt need it.
    I only change ONE thing at a time. try it.If it makes no change,I change it back before changing anything else. One thing at a time is the only way I can see to do anything without getting lost. I'm NOT just flipping switches and changing parameters before I study the manual. Acam is Mecsoft.

  17. #17
    Join Date
    Mar 2008
    Posts
    126
    Just to clear the air.Hopefully.
    1 I have ALL the Fadal manuals in my possession.
    2 I have ALL the Fadal specific g codes ,m codes,fixed cycle codes,etc.. and I HAVE/DO study them . A LOT.
    3 No,I'm not an experienced code writer/reader. Far from it. I'll get there. I am trying very hard to become fluent in it. That's why I asked the questions about the post that ACAM generated. Answers to those questions will help me learn and understand. I also realize that there are MANY ways to accomplish a given task. I have ACAM to deal with tho.
    4 I HAVE run several quite complex parts on this machine already using ACAM posts. Had many hole patterns in them. Never had any issue with the ACAM post on them like this. This is just a simple part and the ops I'm posting are only drill cycles as in past parts. I don't see how that's anything more than a simple part as you suggested I try. The drill cycles are correct AFTER the fubar of plunging into the part to Z0 before a transfer move. Once the transfer is done the tool goes to the correct offset and begine the drill cycle. Please remember that the first drill op execute correctly as does the second. It's the transfer that is screwed up I believe I see why/where the issue is and posted that in a previous reply. Can anyone tell me if I'm correct?




    %
    N1O1(Fadal_Format2.spm)
    N2G40G49G80
    N3(Center Drill)
    N4T7M6
    N5G0G90E3X0.001Y0.S534M3
    N6G43Z0.25H7
    N7M8
    N8G0Z0.25
    N9M46
    N10G81G99R+0.1Z-0.3F4.0
    N11Y1.532
    N12X-1.327Y-0.766
    N13X1.328
    N14G80Z0.1
    N15G0Z0.25
    N16M9
    N17T4M6
    N18G90E3X0.001Y1.532S798M3
    N19G43H4
    N20M8
    N21G0Z0.25
    N22M46
    N23G83G99R+0.1Z-0.625F6.0P0.0100Q0.125

    N24X-1.327Y-0.766
    N25X1.328
    N26G80Z0.1
    N27G0Z0.25
    N28M9

    Doesn't N15 put the tool at the clearance plane without allowing for tool length offset?Then after the tool change(N17) it returns to z.025 before the Y move(N18) since G0(N21) is modal?
    Seems to me that this Y move(N18) ,just after the tool change, is occurring before these moves(N10,20,21) that bring the tool up to clearance plane Z with the tool offset H4 included.
    Seems to me the moves must be reversed before this G83(N23) cycle tp prevent plunging the tool into the part before the Y move and also before it's even drilled.


    Can ANYONE tell me if the code I have is usable/correct order, or out of order as I think?

  18. #18
    Join Date
    Jan 2004
    Posts
    3154
    Masterfab
    Shoot me your email - I will send you my 3 axis .spm (visualmill post) to try
    I have never used a G46 - not saying you shouldn't just that I have never
    www.integratedmechanical.ca

  19. #19
    Join Date
    Mar 2008
    Posts
    126
    WIll do. I also don't see any need for the M46. Posts generated in Fadal 88HS don't have them in it. Generated in Fadal Format 2 does though. IMO,it should be removed. No need of it that I can see at all.I don't believe it is the issue tho as the post is bad whether generated in Format 1 88HS or in Format2.spm. The transfer motion is still the issue as the tool paths are the same.

    Am I wrong in thinking that the posts generated are just "out of order"? I mean the cycles(G81 and G83) are executing correctly but the transfer code is screwy.Seems to me that is the entire issue.

  20. #20
    Join Date
    Mar 2008
    Posts
    126
    This reply is from another forum but I think he has found the issue.At least a probable cause. Here is the post

    " bodyarmor576 wrote:Ok, I think I know what the issue is. When using the Post Processor that I posted earlier in this thread, I have to make sure that I am setting up Fixture #3 (E3) in the Fadal setup. If I set my tool lengths under Fixture 1 it all goes to hell in a hand basket. However, if I go and set my fixture under "fixture #3" all is good. The processor sends everything as E3.

    Just another thought I'd throw out there. FYI, I cannot get any of the Fadal Post Processors to work other than the one that I posted the link to earlier in the thread. Added it to the bottom here."



    In the PPG using the Fadal_Format2 option it does post a E3 but in the 88HS it shows an E1. I am using the Fadal_Format2 at this time as my research seemed to indicate it HAD to be the one to work if any will. This is the first time I have ever seen an E entry into the code. I assumed since all fixture offsets were zero'ed that the E3 was irrelevant and just more unnecessary coding spit out such as the M46 in this post of mine. How do I specify the E page in the offset parameter page of the controller?

Page 1 of 2 12

Similar Threads

  1. Tool length offset on Osp 500 m
    By rgm in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 0
    Last Post: 04-04-2011, 01:31 PM
  2. tool length offset
    By ahmed4040 in forum Fanuc
    Replies: 16
    Last Post: 06-15-2010, 05:49 PM
  3. Tool length offset
    By vesene in forum Mazak, Mitsubishi, Mazatrol
    Replies: 0
    Last Post: 04-27-2010, 11:51 AM
  4. Need help with tool length offset
    By panaceabea in forum Haas Mills
    Replies: 32
    Last Post: 03-04-2009, 08:07 PM
  5. Tool Length offset?
    By cncuser1 in forum G-Code Programing
    Replies: 3
    Last Post: 08-31-2007, 02:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •