Tool table offsets, Z axis limit exceeded with G43, but program runs ok

More
27 Aug 2020 23:54 #179758 by kapucin
Hello,
I got a problem with Axis reporting that Z-axis limit exceeded, yet the program runs ok when "run anyway".
Is there anything I can do to get rid of that warning, fix my config?

The program does spot drilling with one tool, then uses another tool to drill a through hole.
I set up tool offsets as described in "gnipsel.com/linuxcnc/g-code/gen05.html", using a drill chuck on Taig CNC.
Z-axis home switch is located at the top of Z column.

LinuxCNC version: 2.7.15

tool.tbl:

T1 P1 D0.010000 Z-2.723000 ;0.010 spot bit
T1251 P1251 D0.125000 Z-2.255000 ;0.125 crn drill bit

dsls3000.ini:

[AXIS_2]
...
MAX_LIMIT = 0.000
MIN_LIMIT = -5.500
HOME = -0.100
HOME_OFFSET = 0.010
...

G-code:

%
(STOCK/BLOCK, 1.000, 1.000, 0.040, -0.000, 1.000, 0.040)
G64 P0.001
(TOOL/MILL,0.0010,0,0.0490,45.0)
T1 M6 G43
M3 S4300
G0X0.0000Y0.0000Z1.0000
(Spot Drilling)
G0X0.5000Y-0.5000
G1A0.000Z0.0872F10.0
G0Z1.0000
(TOOL/MILL,0.1280,0,1.0000,0.0)
T1251 M6 G43
M3 S4300
(Drilling)
G0
G1Z-0.1030F10.0
G0Z1.0000
S0
M5
M02
%

Axis screenshot:

Attachments:

Please Log in or Create an account to join the conversation.

More
28 Aug 2020 15:54 #179853 by kapucin
Moving G43 on a new line fixes the problem. Like so:
...
T1 M6
G43
...
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.135 seconds
Powered by Kunena Forum