Is there a good way to read the values of multiple tool offsets from the tool 
table to hal pins?

For example I want to have 8 hal pins (offset-z1, offset-z2, offset-z3...) that 
would show the values saved in the tool table for (Tool#1 Z offset, Tool#2 Z 
offset, Tool#3 Z offset...).

Loading each tool offset one at a time so it can then be read from #5403, then 
writhing that to a hal pin using M68, is just not going to cut it.  I want to 
have all of the 8 different tool offsets I'm using expressed as hal pins at the 
same time, from machine start up, without user input or having to execute a 
g-code command.

No I am not using the tool offsets in a conventional manor.  The 8 offsets I'm 
using will be applied simultaneously to each of the 8 different Z axis joints 
for the 8 spindles on my gang router.  (The machine will never use a G43 or T 
code in a normal g-code file)  I do however want to be able to use G10 commands 
to set the values for each offset, both for manual adjustments, and probing 
routines.

Unfortunately I don't think I'm capable of writing some fancy hal component 
that reads the tool table then writes the appropriate values to 8 different hal 
pins.
(For me building a simple Python handler file that almost sort of works for a 
GladeVCP by cutting, pasting, and modifying excerpts of example code is 
daunting task that takes me days of fumbling around with.)


Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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

Reply via email to