Linear Move Exceeds Lower Limit

More
1 year 1 month ago #335197 by scsmith1451
I am trying to create a simple subroutine to surface a block before engraving. It originally complained about an EOF in the file so I decided to execute each move command individually using MDI to make sure the code was correct.

Here the snippet that is giving an error:

    G0 X2.144 Y-0.125   (Move to start)
    G0 Z-0.02           (Lower spindle)

    G91             (Relative Moves)
    G0 X-11.163     (Make cut)
    G90             (Absolute Moves)
    G0 Y1.6921      (Move Y for next cut)

    G91             (Relative Moves)
   -- -> G0 X11.163      (Make cut) <---
    G90             (Absolute Moves)
    G0 Y3.5092      (Move Y for next cut)
    G0 Z0.1         (Move to safe height)

At the line indicated --->  <--- LCNC reports an error to the effect that Linear Move will exceed limits of the machine.  The program zero is located at the right-front corner of the block. Since I could move to the starting location in line 1 and do the first cut to "G0 X-11.163" which is negative, I naively expected moving opposite direction the same distance would be acceptable.

The block, 3.25 x 7.00 in., is located in the center of the 19 x 11 in. table with ample space on all sides for the 2 in. surfacing mill to clear the block. Fortunately, this was my first attempt to use LCNC on this machine so I was cutting air for the test, so no material was damaged.

Can someone help explain the error and how to resolve it?

Kind Regards,

Please Log in to join the conversation.

More
1 year 1 month ago #335231 by thanks for the help
I am by no means an expert...novice at best...

Am I assuming correctly that the 19 on you table is the x direction and the y is 11? If so, is the 3.25 orientation of your block parallel with the x or the y? In your ini file are the limits set correctly?

Again I am such a rookie to this, just trying to help....

Good luck

Please Log in to join the conversation.

More
1 year 1 month ago #335233 by unknown
I was wondering regarding about touch off relative to home. Do you have homing switches or have you been lazy like myself and not fitted them yet ? I home to marks on the table and column. Yeah I know I should lift my game.

Please Log in to join the conversation.

More
1 year 1 month ago #335244 by thanks for the help
Yeah, I have home and limit switches. They came with the machine, so I was able to wire them in the control board.

Please Log in to join the conversation.

More
1 year 1 month ago #335245 by unknown

Yeah, I have home and limit switches. They came with the machine, so I was able to wire them in the control board.

That's nice mate, but my reply was to the OP.

Please Log in to join the conversation.

More
1 year 1 month ago #335246 by thanks for the help
oops....sorry.

Please Log in to join the conversation.

More
1 year 1 month ago #335250 by scsmith1451
Your assumptions are correct for both the table and the block.

Please Log in to join the conversation.

More
1 year 1 month ago #335251 by scsmith1451
I have my machine configured for both and home on all axes.

Please Log in to join the conversation.

More
1 year 1 month ago #335262 by unknown
If you are able a willing to attach your hal & ini files (and any other hal files you may being using) it may be possible to run a sim of your config.
BTW what version of Linuxcnc are you using ?

Please Log in to join the conversation.

More
1 year 1 month ago #335305 by scsmith1451
Out of frustration, I removed the o<word> declarations from the file and loaded the file as a normal g-code program. It worked correctly, start to finish. What ever was happening, mysteriously evaporated.

Thanks for your input and consideration.

Please Log in to join the conversation.

Time to create page: 0.103 seconds
Powered by Kunena Forum