585,973 active members*
4,059 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2017
    Posts
    112

    Machine Halts at a specific kind of G-Codes.

    Hello Guys,

    Lately i have been facing a problem with the 5 - Axis machine that I am working on. The rotation of C - Axis stops at a particular code.

    For Example:


    N220 X0.267 Y-19.998 Z49.809 C0.7653
    N225 C0.7636........................................... ................................[MACHINE HALTS AT THIS CODE, I CLICK STOP AND THEN START THE CYCLE FROM THIS LINE]
    N230 X0.134 Y-20 Z49.866 C0.3826
    N235 X0.133 C0.3809
    N240 X-0.001 Z49.885 C-0.0017
    N245 C-0.0035............................................ .............................[WORKS PERFECTLY]
    N250 X-0.135 Z49.865 C-0.3861
    N255 C-0.3878................................... ..................................... [MACHINE HALTS AT THIS CODE AGAIN, I CLICK STOP AND THEN START THE CYCLE FROM THIS LINE]
    .
    .
    .
    .
    .

    SO ON

    When i simulate the same G-Codes in K-MotionCNC it work fine without any pause. I tried to run the same G-Codes on the machine multiple times and each time it stops at that exact line.

    Has anyone faced a similar problem with their machine.

    Your suggestions on this topic will be helpful to overcome the hurdle.

    Thank you in advance


    Vignesh M
    Regards

    Amit Kumar

  2. #2
    Join Date
    Jun 2010
    Posts
    4256

    Re: Machine Halts at a specific kind of G-Codes.

    But why does the machine stop? Is it an eStop? Is the C axis jamming?

    Cheers
    Roger

  3. #3
    Join Date
    Mar 2008
    Posts
    1762

    Re: Machine Halts at a specific kind of G-Codes.

    Any chance there is a soft limit that wont allow the negative position?
    Gary Campbell CNC Technology & Training
    GCnC411 (at) gmail.com www.youtube.com/user/Islaww1/videos

  4. #4
    Join Date
    Aug 2016
    Posts
    119

    Re: Machine Halts at a specific kind of G-Codes.

    Looks to me like it may need an x,y or z axis specified in each line, and doesn't like a C axis only line? Assuming you're running in absolute mode, just copy the previous X dimension and paste it onto the line with only a C axis move and see if that helps? You show one example of a C axis only line that works fine though, so maybe not.

  5. #5
    Join Date
    May 2006
    Posts
    4045

    Re: Machine Halts at a specific kind of G-Codes.

    Hi Amit/Vignesh,

    This looks to be a bug in our code. We've been able to reproduce the problem but we will need time to come up with a fix.

    So far it seems to be related to combining pure angular moves and mixed xyz+angular moves and rounding/smoothing calculations with some numerical error that results in a move of like 1e-12 inches at a feedrate of 1e-18 ips that would take hours to complete.

    Regards
    TK
    http://dynomotion.com

  6. #6
    Join Date
    May 2006
    Posts
    4045

    Re: Machine Halts at a specific kind of G-Codes.

    Hi Amit/Vignesh,

    Please try this patch. It is compatible with Test Version 4.34j. Copy the library to the \KMotion\Release folder
    http://dynomotion.com/Software/Patch...nterpreter.dll

    This should no longer attempt to smooth the segment of pure angle with a non-pure angle segment (which shouldn't make sense).

    Modified source files if needed are located here:
    Index of /Software/Patch/FixTPMixPureAngleNonPureAngle_V4.34j

    Please let us know if it resolves the problem.

    Regards
    TK
    http://dynomotion.com

Similar Threads

  1. Are there specific G and M codes for a Fanuc control Hitachi Wire?
    By J S Machine in forum EDM Discussion General Topics
    Replies: 4
    Last Post: 11-13-2015, 04:53 PM
  2. Are there G and M codes specific to wire EDM?
    By J S Machine in forum Fanuc
    Replies: 1
    Last Post: 06-22-2011, 08:04 AM
  3. B axis halts machine
    By kmuller in forum Uncategorised MetalWorking Machines
    Replies: 1
    Last Post: 05-19-2010, 03:01 AM
  4. Specific feed speed rates for specific wood
    By mcArch in forum WoodWorking Topics
    Replies: 2
    Last Post: 08-19-2008, 04:36 AM
  5. Are there specific router bits for specific materials?
    By fivefishcnc in forum Uncategorised MetalWorking Machines
    Replies: 1
    Last Post: 02-24-2008, 02:35 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
  •