message about exceeding the maximum range in the Z axis

More
05 Aug 2021 13:19 - 05 Aug 2021 16:14 #216978 by szatri
Hello everyone
I'm using linuxcnc 2.9 with debian buster
I have a problem with the range of the Z axis.
I'm using the tool height sensor.
I wrote a simple program for a test purpose (drive over the object at the same height and with different tools)
After loading the program, I have a message about exceeding the work range in the Z axis, after clicking continue, the program goes to the tool change and its measurement, after measuring I have this error:

this is the test program:
G90 G94 G17 G91.1
G21
m6 t1
g43 h1
g54
g0 x-10
y15
z0
g1 f200 x10
m6 t2
g43 h2
g54
g0 x-10
y15
z0
g1 f200 x10
m6 t3
g43 h3
g54
g0 x-10
y15
z0
g1 f200 x10
m6 t1
g43 h1
g54
g0 x-10
y15
z0
g1 f200 x10
g49
N64 M30
my configuration in the attachment
thanks
Attachments:
Last edit: 05 Aug 2021 16:14 by szatri.

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

More
05 Aug 2021 16:38 #216993 by BigJohnT
I get that error on line 22 with the Axis simulator so I suspect that your tool table Z offset is causing the problem.

JT

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

More
05 Aug 2021 17:29 - 05 Aug 2021 17:36 #216998 by szatri
in my machine the z axis works from the top max 1.1 to the bottom min -250
tool height adjustments in the table are given in positive values
I do not use tools longer than 100mm and they fit in the machine's working area
to what is the height of the sensor given?

PS:
sorry, I provided an incomplete configuration
Attachments:
Last edit: 05 Aug 2021 17:36 by szatri.

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

More
05 Aug 2021 21:17 #217013 by MaHa
If you enter in MDI (debug,#5223), it will show the G54 Z-Offset in machinecoordinates. If this is lower than toollength, this may be the error, when you try to go to Z0 with G43 active.

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

More
06 Aug 2021 10:43 #217042 by szatri
I found a problem, in the ini file I corrected the DISTANCE parameter to 97.2 (this is a height from g53Z0 to z-97.2 as the tool sensor clicks) This parameter is used in tool-change.ngc.
(--------------------------)                        
G30 ( go to toolsensor )
#<PlaneOffset> = [#5183 - #5422]  ( get the current plane Z offset )    
G38.2 Z-[#<_ini[TOOLSENSOR]TRAVEL>] F[#<_ini[TOOLSENSOR]FEED1>]  ( fast touch )
G38.4 Z5 F[#<_ini[TOOLSENSOR]FEED2>]
G10 L1 P#<tool> Z-[-#<PlaneOffset> - #5063 - #<_ini[TOOLSENSOR]DISTANCE>] ( store offset in tooltable )
G30 ( go to safe position )
#<previous_tool> = #<tool>

(--- restore parameters ---)
now it gives no errors but the test run is not correct
After homing the machine, I will enter m6 t1 in MDI and t1 will be measured, then I will enter g43, then I can do homing to g54, then everything works correctly

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

More
06 Aug 2021 12:45 #217058 by szatri
I ran the program with several tools, the first tool did my job, I ran the second and after clicking the height sensor and the tool, I got this message:
"Probe tripped durnig non-probe move."

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

More
08 Aug 2021 12:45 #217216 by BigJohnT

I ran the program with several tools, the first tool did my job, I ran the second and after clicking the height sensor and the tool, I got this message:
"Probe tripped durnig non-probe move."
 

What does clicking the height sensor mean? The error is pretty straight forward and means just what it says.

JT

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

More
10 Aug 2021 18:38 #217416 by szatri
why not pop up on the first measurement
The procedure is the same for the first and each subsequent measurement.
But always with the second tool in the program.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum