Need Help! Machine Halts at a specific kind of G-Codes.


Results 1 to 6 of 6

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

  1. #1
    Gold Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    46
    Downloads
    0
    Uploads
    0

    Default 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

    Similar Threads:
    Regards

    Amit Kumar


  2. #2
    Gold Member
    Join Date
    Jun 2010
    Location
    Australia
    Posts
    3046
    Downloads
    4
    Uploads
    0

    Default 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
    Gold Member
    Join Date
    Mar 2008
    Location
    US
    Posts
    1672
    Downloads
    0
    Uploads
    0

    Default 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
    Control & ATC Retrofits
    GCnC411 (at) gmail.com www.youtube.com/user/Islaww1/videos


  4. #4
    Registered
    Join Date
    Aug 2016
    Location
    Australia
    Posts
    42
    Downloads
    0
    Uploads
    0

    Default 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
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2474
    Downloads
    0
    Uploads
    0

    Default 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
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2474
    Downloads
    0
    Uploads
    0

    Default 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


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

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