Re: [Emc-users] Tool touch-off

2017-12-18 Thread Les Newell
One option is to do as many plasma cutters do and define the tool setter 
as Z home. Instead of probing you home to the tool setter. You can then 
use work coordinates to set you Z0 anywhere you want. The big 
disadvantage with this setup is that the machine now does not know where 
the top of Z travel is so it would be easy to hit the top limit. If you 
have plenty of Z travel you may be able to get away with doing it this way.


In the longer term being able to set per-tool limits would be very handy 
in many cases. For instance it would be really useful for lathe work 
where a Z error can be pretty catastrophic. Doing a rapid move into a 
chuck doing 2000+ rpm is not something you want to experience!


Les



On 16/12/2017 21:50, Danny Miller wrote:
So, I did see that earlier, it CAN be used to zero Work Coords- but 
ONLY if you use Bottom Datum.  Many times, we use Top Datum.


If you just reassigned WC Z, then LinuxCNC should be able to see 
lowest-Z is beyond the allowed Machine Coords automatically, but I 
have doubts it could work- the file may not get reevaluted 
automatically when WC Z is reassigned between the time Run is pressed 
and we actually start user G-code.


However, Top Datum, that wouldn't apply at all.  You can't reassign WC Z.

Danny 



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool touch-off

2017-12-16 Thread Danny Miller
So, I did see that earlier, it CAN be used to zero Work Coords- but ONLY 
if you use Bottom Datum.  Many times, we use Top Datum.


If you just reassigned WC Z, then LinuxCNC should be able to see 
lowest-Z is beyond the allowed Machine Coords automatically, but I have 
doubts it could work- the file may not get reevaluted automatically when 
WC Z is reassigned between the time Run is pressed and we actually start 
user G-code.


However, Top Datum, that wouldn't apply at all.  You can't reassign WC Z.

Danny


On 12/16/2017 3:02 PM, Jon Elson wrote:

On 12/16/2017 12:53 PM, Danny Miller wrote:


Every time you hit Start, before it starts the spindle or actually 
runs any line of the user G-code, it jogs over to a tool height 
sensor (THS) and probes for the installed tool height


If you did this like a homing move, only the tool height sensor sets 
the Z home position, and the axis soft limits are such that MIN_Z = 
0.0, then it would be impossible to cut into the spoil board.


Jon

-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool touch-off

2017-12-16 Thread Jon Elson

On 12/16/2017 12:53 PM, Danny Miller wrote:


Every time you hit Start, before it starts the spindle or 
actually runs any line of the user G-code, it jogs over to 
a tool height sensor (THS) and probes for the installed 
tool height


If you did this like a homing move, only the tool height 
sensor sets the Z home position, and the axis soft limits 
are such that MIN_Z = 0.0, then it would be impossible to 
cut into the spoil board.


Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool touch-off

2017-12-16 Thread andy pugh
On 16 December 2017 at 18:53, Danny Miller  wrote:
>  Is there any access to a
> variable for "the lowest Z value found when the file was loaded, accounting
> for the Work Offset=lowest MACHINE Coord Z found in the current G-code"??

Axis knows. So the question is, where does it get that info from?

It seems to be here
https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/axis/scripts/axis.py#L1794

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Tool touch-off

2017-12-16 Thread Danny Miller
I have a lot of users on my CNC router now and, predictably, they keep 
chewing into the spoilboard.


I had some thoughts about what if:

Every time you hit Start, before it starts the spindle or actually runs 
any line of the user G-code, it jogs over to a tool height sensor (THS) 
and probes for the installed tool height


If you factor in the lowest Z anywhere in the file, vs the difference in 
currently predefined spoilboard surface and where the THS was mounted, 
vs where it found the tool tip, means that at some point it goes more 
than 0.05" into the spoilboard, it just refuses to run.


This can't be in the G-code file.  I don't have control over how people 
create G-code they bring.


I can't do this as a manually invoked step prior to running. Because if 
I could rely on users to do the right thing I wouldn't have a problem in 
the first place.  No, they might press the "do the probe" thing 
correctly, then change bits and forget to redo it, and run the job too 
low and gouge.


How would that work?  I have G-code for a wireless toolsetter that uses 
the probe command.  But I have doubts that'll work.  Is there any access 
to a variable for "the lowest Z value found when the file was loaded, 
accounting for the Work Offset=lowest MACHINE Coord Z found in the 
current G-code"??


Danny


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users