![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm having an issue when using tool offsets. I have tool number 1 defined in the tool file with a length of 1.975". When I issue G43 H1 it sets the tool offset to 1.975 and subtracts the length from the current Z position. The problem is that it continues to subtract 1.975" on every machine movement until I issue G49 to cancel the tool offset. If I explicitly provide a Z value it doesn't do this. So, G0 X0 Z0 G0 X1 Z0 G0 X2 Z0 moves one inch to the right on the second and third lines G0 X0 Z0 G0 X1 G0 X2 moves one inch to the right and 1.975” down on the second and third lines I noticed there’s a similar bug reported on the Sourceforge site, although that reported that the tool was moving downwards more than the tool length. Am I doing something wrong in the GCode? I am issuing T1M6 previously, although I don’t believe it has any bearing on the tool offset. Is this a bug in EMC? If so, does anyone have a good workaround? I could use the coordinate systems to compensate for the tool lengths, but then I’d be coding them into my programs. Thanks, Steve |
|
#2
| ||||
| ||||
| Sounds like a bug in the software to me. You might be able to define the nature of the bug more distinctly, since it may have to do with a mix-up between incremental and absolute positioning. You might play around with setting G90 mode in the controller before you enter or call out the length offsets, just in case it misinterprets the length offset as an incremental movement.
__________________ First you get good, then you get fast. Then grouchiness sets in. (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| |||
| |||
| Thanks for you reply. The example above is in absolute mode. In incremental mode it also keeps subtracting the tool offset from Z on each move, but it does this even if I specify a Z coordinate. So typing G0 Z0 makes the head lower by the tool offset every time. I've tried executing the G43 in both modes and it doesn't make a difference. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |