OKay, some discussion going around on the thread about using Python.. I gave up 
on that.. was too complicated.. I really wanted to use it though.. and no clear 
documentation no how 
to read AND set pins...

So, I'm now I'm back to using O-code -- and have a complete working script in 
my simulator.

So, my question is: How do you all normally handle the presence of a tool in 
the spindle between reboots / linuxcnc restarts?  What about when it's time to 
shutdown for the day?

Here is what I've done so far.  I have a button that we can press to home the 
machine.  I set a global variable to let us know it's homed.  IF the system is 
given a tool change 
command without homing, it auto homes first.  After the homing procedure is 
complete, it checks for the presence of a tool, and then checks a persistent 
variable to get the last 
known pocket. (presumably the pocket the current tool goes in) and then rotates 
the carousel to that pocket.

What other buttons do I need?  How's the best way to load the carousel?  It has 
a loading window... but, I've seen some systems that allow you to load using 
the spindle.. Maybe 
make a tool loading button that lets you put the tool into the spindle, touch 
it off, and the loads it in the current carousel slot and update the tool table 
with the tool offset.  
Can that be done? Can I ask the user questions like, What's the tool number and 
the Diameter and Description via some sort of dialog?

Thanks, Billy aka Connor

-- 
Billy Huddleston Inner Vision

*William Huddleston
Inner Vision Development Corp*
Office: 865.560.2752
Fax: 865.560.2703

http://www.ivdc.com
*Development and Consulting... Simplified.*

<http://www.facebook.com/pages/Inner-Vision-Development/120023721424> 
<http://twitter.com/ivdc> <http://www.linkedin.com/in/ivdccorp>

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to