530,255 active members*
1,922 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > G-Code Programing > Why does this program make the machine crash? - with video
Page 7 of 7 567
Results 121 to 132 of 132
  1. #121
    Member
    Join Date
    Jan 2005
    Posts
    11574

    Re: Why does this program make the machine crash? - with video

    Quote Originally Posted by Superman View Post
    No he hasn't.... read his posts again
    Trying to apply cutter compensation in the Z axis move is not going to happen
    Mactec54

  2. #122
    Member
    Join Date
    Aug 2020
    Posts
    72

    Re: Why does this program make the machine crash? - with video

    Quote Originally Posted by mactec54 View Post
    I think you are confused as to what and how tool comp works, on a 3 axis machine like yours only the X an Y axis can use tool comp

    You machine does not have Tool length compensation in the Z axis, it only has tool offset and a wear adjustment for the Z axis
    OK, so it seems there is some confusion over tool length compensation and tool offset and wear adjustment. I didn't know there was a difference between 'tool length compensation' and 'tool offset'! Anyways, my machine has only a set of 128 offset (labelled 'length' from memory), length wear, diameter and diameter wear settings.

    The offset applied by H is the tool length/offset + the length/offset wear. For the purpose of this conversation, I am only talking about tool length offset. I am not talking about any sort of diameter or automatic tool shape compensation or wear correction. Just the tool length offset applied by H.

    When I use tool length offset (G43 Zx Hx) it works exactly as expected for everything in XY plane (G17). It also works as expected for the start and end point of an arc in G18, it does not work for the center point of the arc, causing an impossible arc.

    I have not spent any more time playing with this on the machine recently as have spent the last while removing a broken tap from one of the spindle drive lug bolts. It was a gift with the machine, M3 tap broken flush that had to be drilled out from below! Got it out last night without even scratching the thread...

    Also, I am waiting for the manual before doing much more...

  3. #123
    Flies Fast
    Join Date
    Dec 2008
    Posts
    2800
    Quote Originally Posted by ashes-man View Post

    When I use tool length offset (G43 Zx Hx) it works exactly as expected for everything in XY plane (G17). It also works as expected for the start and end point of an arc in G18, it does not work for the center point of the arc, causing an impossible arc.
    I would check your programming again.... you did have the arc centre to arc start point programmed incorrectly.(IK values)
    These issues must be fixed before any trying any tool comp trials.... you end up not knowing what is causing problems.

  4. #124
    Member
    Join Date
    Jan 2005
    Posts
    11574

    Re: Why does this program make the machine crash? - with video

    Quote Originally Posted by ashes-man View Post
    OK, so it seems there is some confusion over tool length compensation and tool offset and wear adjustment. I didn't know there was a difference between 'tool length compensation' and 'tool offset'! Anyways, my machine has only a set of 128 offset (labelled 'length' from memory), length wear, diameter and diameter wear settings.

    The offset applied by H is the tool length/offset + the length/offset wear. For the purpose of this conversation, I am only talking about tool length offset. I am not talking about any sort of diameter or automatic tool shape compensation or wear correction. Just the tool length offset applied by H.

    When I use tool length offset (G43 Zx Hx) it works exactly as expected for everything in XY plane (G17). It also works as expected for the start and end point of an arc in G18, it does not work for the center point of the arc, causing an impossible arc.

    I have not spent any more time playing with this on the machine recently as have spent the last while removing a broken tap from one of the spindle drive lug bolts. It was a gift with the machine, M3 tap broken flush that had to be drilled out from below! Got it out last night without even scratching the thread...

    Also, I am waiting for the manual before doing much more...
    Which I don't think your control can do, it appears that your control is working as any 3 axis machine should, best wait and see if the manual can show anything different
    Mactec54

  5. #125
    Member
    Join Date
    Aug 2020
    Posts
    72

    Re: Why does this program make the machine crash? - with video

    Quote Originally Posted by Superman View Post
    I would check your programming again.... you did have the arc centre to arc start point programmed incorrectly.(IK values)
    These issues must be fixed before any trying any tool comp trials.... you end up not knowing what is causing problems.
    OK, you are the first person to mention this! Can you please elaborate? My test program is in the attached pdf for reference.

  6. #126
    Member
    Join Date
    Aug 2020
    Posts
    72

    Re: Why does this program make the machine crash? - with video

    Quote Originally Posted by mactec54 View Post
    Which I don't think your control can do, it appears that your control is working as any 3 axis machine should, best wait and see if the manual can show anything different
    Yep, keen to get that manual. I had another surprise tonight where I found out that a G53 uses tool length offset! All the other manuals I have read say that a G53 will cancel tool length offset. The program I was running has a G53 Z0 after each operation. This causes a Z axis soft limit. I changed them to G49 G53 Z0 and all was good. So, yeah, really want that manual to start understanding this machine better.

  7. #127
    Flies Fast
    Join Date
    Dec 2008
    Posts
    2800
    double post

  8. #128
    Flies Fast
    Join Date
    Dec 2008
    Posts
    2800
    Quote Originally Posted by ashes-man View Post
    OK, you are the first person to mention this! Can you please elaborate? My test program is in the attached pdf for reference.
    I may be in error..
    I pictured a G3 being a CCW move putting the centre on z0 plane... your pic shows a CW arc with centre below the start point
    Arc sweep direction is when viewed from the plus side of the of the third axis ie... XZ so view from Y+ side.

    G53 is to "single shot" use the machine co-ord system. Which cannot be moved. I suppose you could have active compensations show thru on all work co-ord systems.

  9. #129
    Member
    Join Date
    Jan 2005
    Posts
    11574

    Re: Why does this program make the machine crash? - with video

    Quote Originally Posted by ashes-man View Post
    Yep, keen to get that manual. I had another surprise tonight where I found out that a G53 uses tool length offset! All the other manuals I have read say that a G53 will cancel tool length offset. The program I was running has a G53 Z0 after each operation. This causes a Z axis soft limit. I changed them to G49 G53 Z0 and all was good. So, yeah, really want that manual to start understanding this machine better.
    Try it with G0G53Z0 this is how it should be used, if it does not have a G0 before it, G49 will cancel the tool offset and you don't want to do that unless you have to
    Mactec54

  10. #130
    Member
    Join Date
    Jan 2005
    Posts
    11574

    Re: Why does this program make the machine crash? - with video

    Quote Originally Posted by Superman View Post
    I may be in error..
    I pictured a G3 being a CCW move putting the centre on z0 plane... your pic shows a CW arc with centre below the start point
    Arc sweep direction is when viewed from the plus side of the of the third axis ie... XZ so view from Y+ side.

    G53 is to "single shot" use the machine co-ord system. Which cannot be moved. I suppose you could have active compensations show thru on all work co-ord systems.
    Post #36
    Mactec54

  11. #131
    Registered
    Join Date
    Jan 2007
    Posts
    143

    Re: Why does this program make the machine crash? - with video

    I am not a machinist or g-code expert, but we have a huge Quickmill that does the same thing when we use the right angle head. We found out the hard way we need to program in a safe move in the different planes because the right angle head offsets are not used until after the first move. Could this be the problem?

  12. #132
    Member
    Join Date
    Jan 2005
    Posts
    11574

    Re: Why does this program make the machine crash? - with video

    Quote Originally Posted by jschmitt View Post
    I am not a machinist or g-code expert, but we have a huge Quickmill that does the same thing when we use the right angle head. We found out the hard way we need to program in a safe move in the different planes because the right angle head offsets are not used until after the first move. Could this be the problem?
    No you have a completely different setup when using a 90 degree head, which needs to be positioned before any axis moves
    Mactec54

  13. #133
    Member
    Join Date
    Aug 2020
    Posts
    72

    Re: Why does this program make the machine crash? - with video

    Quote Originally Posted by jschmitt View Post
    I am not a machinist or g-code expert, but we have a huge Quickmill that does the same thing when we use the right angle head. We found out the hard way we need to program in a safe move in the different planes because the right angle head offsets are not used until after the first move. Could this be the problem?
    I woulld be keen to hear more about this problem and any code examples that you may have where it went wrong!

Page 7 of 7 567

Similar Threads

  1. Replies: 36
    Last Post: 05-11-2017, 03:15 AM
  2. CNC Machine Crash Video
    By AcuriteMachinig in forum General Off Topic Discussions
    Replies: 0
    Last Post: 12-08-2016, 08:39 PM
  3. program crash
    By Cartel, LLC in forum BobCad-Cam
    Replies: 10
    Last Post: 05-26-2013, 09:17 PM
  4. Make Machine Beep During Program?
    By behindpropeller in forum Haas Mills
    Replies: 17
    Last Post: 12-13-2011, 07:43 PM

Tags for this Thread

Posting Permissions

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