587,402 active members*
2,992 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2) > Linear movement exceeding joint 2's positive limit in LinuxCNC
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2015
    Posts
    10

    Linear movement exceeding joint 2's positive limit in LinuxCNC

    Hi all,


    First off, I am not sure if this is in the right area or not as I have never really posted anything here.


    I have seen several posts on here and other forums relating to this but cant seem to get a straight answer on how to fix it or the fix doesn't work for my machine.


    Now to the problem: I have a diy built router and thought as a good start off project I would cut a bracket out of a bit of rectangular hollow section. I have drawn my part in Fusion, generated the Gcode for LinuxCNC, homed my axes (x,y and z at machine 0), touched off the part in the lower left corner and set this as G54 (0,0,0). I then load my code and press run. Unfortunately an error occurs along the line of the code exceeds soft limits in the z axis. I press proceed anyway and the tool tip moves to part 0,0,0. Then it stops and the "Linear move on line 68 would exceed joint 2's positive limit" error is displayed (see attached screenshot).
    Axis 2 is obviously a reference to the z axis as defined in the ini file (see attached at the bottom). But whats even more confusing is that the line specified doesn't even refer to the z axis, it refers to the x axis.


    I have looked at all the extents of the part and they are well within the machine limits. However as can be seen in the screenshot, an additional move is shown (in blue) from the G54 icon (which as far as I am aware should be the 0,0,0 location and should be directly below that point where the triad is). And I cannot work out where this additional move has come from.


    Can anyone assist me? Any help is greatly appreciated.


    My setup uses:
    x axis is from -530 to +530 with home position at 0,
    y axis is from -422.5 to +422.5, with home position at 0, and
    z axis is from -150 (at table) to 0.1 (at max extent), with home position at 0

    Some general items that may be useful:
    CAD/CAM: Fusion 360
    CNC software: LinuxCNC (aka EMC2)
    no home switches
    no limit switches




    I have attached a screenshot of whats happening, the ini file and the g code for the bracket.


    Keep in mind that I am relatively new to all this. I have some limited experience with Linux and generally understand whats going on but this has me stumped. Its probably glaringly obvious!


    Thanks for your help.

  2. #2
    Join Date
    Mar 2005
    Posts
    22

    Re: Linear movement exceeding joint 2's positive limit in LinuxCNC

    I looked at your Gcode. Are you working in MM or INCH? Your code says it's working in MM but you need to double check three places, your file,your post, and your code. Here are some pics.
    Attachment 366172Attachment 366174Attachment 366176Attachment 366178 I think the problem is line N20 in your code. The picture of the code I posted from my own file you'll see that line but it should have a G53 before it sending the machine to it's home position. I'm also working in inch mode. I'm not sure if that makes a difference in why your post on line N20 rapids the cutter to Z0 . Looking at your code I think you have your clearance set at 15mm and your stock top at 5mm so line N20 would crash unless the post is for some reason dropping the G53. Try this, delete line N20 and rerun.

Similar Threads

  1. Circular move would exceed joint 0's positive limit
    By KSky in forum Tormach PathPilot™
    Replies: 1
    Last Post: 04-23-2015, 10:58 PM
  2. joint 1 on limit switch error
    By capncark in forum XYZ Gantry Routers
    Replies: 0
    Last Post: 03-30-2015, 01:11 AM
  3. Negative & positive limit
    By ltran2000 in forum Dynomotion/Kflop/Kanalog
    Replies: 2
    Last Post: 04-07-2012, 12:43 AM
  4. Incorrect actual joint movement
    By jrc347 in forum LinuxCNC (formerly EMC2)
    Replies: 2
    Last Post: 05-16-2010, 12:32 PM
  5. On the Z-axis, All Movement Above Zero Are Positive - Right?
    By TheNigerian in forum Machines running Mach Software
    Replies: 3
    Last Post: 05-22-2006, 02:46 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
  •