Category: General LinuxCNC Questions
Hi,
So i finally have the tool probe and workpoint figured out (i think*).
Running the code i got from Inventor CAM, with the default LinuxCNC post I run into issues.
I attached the Z-probe and workpiece subroutines as well as the Inventor cam generated code.
It stops on the T1 M6 line (N25). But i can't seem to get it to go beyond that. Pressing the start/pause on the HB04 doesn't do a thing.
Commenting out this line moves the program up to line N60 and throws up error messages about the Z-axis running out (it wants to go to high).
To me it looks like the code has a different idea of where the tool tip is (in Z) than what it gets set at with the Z-probe routine.
Work order:
{The z-probe / toolsetter is fixed to the bed}
Mount the probe. (that's the XYZ probe)
Run the Z-probe to set it's tip.
manually move the spindle/probe to within the bounds of the workpiece probe routine. (The vice for now)
Run the workpiece probe routine (finally got it to set it's coords correctly and it moves perfectly above the corner.)
Then i manually move the spinde to a comfortable place to change out the probe for the tool (round paper lollypop stick for now).
I placed a piece of plastic on the tool probe to create extra Z offset for initial safety so the lollypop stick doesn't plunge into the workpiece (the vice).
Then i load the 19.091 cgode file and "press play".
It moves from the probe XY to a place that is NOT the coords of line N55
Then it runs line N60 and error's out on a Z-axis out of bounds. 13mm above the workpiece is well withing that actual range of my machine with the tool probed as is with the extra spacer. I checked this with the spacer on the vice and the tool touching it (simulating the tool touching Z0 on the workpiece /G54. And then move up 13mm and then i still have plenty of headroom before I run into the Z home/limit switch.
So the 2 issues:
Getting past the M6 on line N25
Correctly using the tool length (?).
* probing the workpiece often fails when i comment out the message and M0 commands, claiming the probe is in contact during rapid movement. Adding the M0 'pause' solves that. But that is not how things should be.
Also, i would like to be able to position the probe during the routine
lines:
(MSG, Plaats probe boven werkstuk\n Hou de probe ong. 5mm binnen de hoek\n en druk daarna op start)
M0 ; Wacht op bevestiging
The M0 hold doesn't allow moving the spindle about.