Tool-length probe does not work properly
15 Jun 2015 01:03 #59819
by schorsch
Tool-length probe does not work properly was created by schorsch
Hi everybody,
I thought my tool-length probe is working, but unfortunately I am still having some problems.
I remapped my M6, so it runs my own code after the message promt from manual toolchange
and I created a new M99:
the strage thing is: I can initiate M99 with a button in Axis - runs perfetly. But when I'm running a complete G-Code using the "play" button it goes crazy, seems that the tool-length is corrected in the opposite direction? What is wrong here?
Any hint?
Thanks
Georg
I thought my tool-length probe is working, but unfortunately I am still having some problems.
I remapped my M6, so it runs my own code after the message promt from manual toolchange
o<my_m6> sub
M6
M99
o<my_m6> endsub
M2
and I created a new M99:
o<my_m99> sub
(AXIS,hide)
(store current coordinates to variables)
#1010= #<_x>
#1011= #<_y>
#1012= #<_z>
G49 (clear tool offsets)
G92.1 (clear global offsets)
G0 G90 G53 Z0
G0 G90 G53 X146 Y-88.7
G92 X0 Y0 Z175 (set this coordinate system to 0 currently, needed for the probing)
G38.2 G91 Z-180 F1200 (probe fast)
G1 G91 Z5 (go back)
G38.2 G91 Z-5 F200 (probe slow)
G10 L10 P#<_current_tool> z0 (this position is the offset for this tool, save it to the tooltable)
G1 G91 Z1 (go back)
G0 G90 G53 Z0
(debug,setting output)
M68 E1 Q[#5063] (set analog out 1 to value in 5063)
G43 (apply coordinate system with tool offset)
G92.1 (remove global offset)
G1 X[#1010] Y[#1011] F3000 (go to old x and y pos)
G1 Z[#1012+5] (go to same z position, but now with new tool-offset)
G1 Z[#1012] F400
(AXIS,show)
o<my_m99> endsub
M2
the strage thing is: I can initiate M99 with a button in Axis - runs perfetly. But when I'm running a complete G-Code using the "play" button it goes crazy, seems that the tool-length is corrected in the opposite direction? What is wrong here?
Any hint?
Thanks
Georg
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds