From: Mark <mp...@gm...> - 2010-01-26 15:56:13
|
Is someone going to put in a good error message for when emc2 encounters an invalid (i.e. outdated) tool table? Perhaps direct the user to a documentation page on linuxcnc.org. I'd try to create a script to convert the old format into the new format, but I'm swamped right now. I'm sure that such a script would be appreciated by people with a large table. Mark On Mon, Jan 25, 2010 at 5:39 PM, micges <mi...@wp...> wrote: > Hello, > > Today I've merged tlo_all_axes into master development branch. > On this branch tool length offset was extended to all nine axes. > This brings major change to tool table format to hold those additional > values. > Old tool tables will not load any more. > For example, old tool table: > > TOOLNO POCKET LENGTH DIAMETER COMMENT > > 1 1 +0.511000 0.125000 1/8 end mill > 2 2 +0.100000 0.062500 1/16 end mill > 3 3 +1.273000 0.201000 #7 tap drill > 99999 99999 +0.100000 0.000000 big tool number > > should be changed to: > > T1 P1 D0.125000 Z+0.511000 ;1/8 end mill > T2 P2 D0.062500 Z+0.100000 ;1/16 end mill > T3 P3 D0.201000 Z+1.273000 ;#7 tap drill > T99999 P99999 Z+0.100000 ;big tool number > > In general new tool table line format is: > T - integer tool number > P - integer pocket number > D - abs float tool diameter > X..W - float tool length offset on specified axis > I - float front angle (lathe tools) > J - float back angle (lathe tools) > Q - int tool orientation (lathe) > ; - begin of comment > > There is tool for converting to new tool tables in > src/emc/usr_intf/toolconvert.tcl > Usage: ./toolconvert filename > (original file is saved as filename.orig) > > tooledit.tcl support net table format if needed. > > Along with tooltable two gcodes was changed and TLO_ALONG_W inifile > option was removed. > > G43.1 In Km was changed to G43.1 Xn Ym ... Wn to allow set all tlo > values at runtime. > > G10 L1 P[tool number] R[radius] X[offset] Z[offset] Q[orientation] was > changed to > G10 L1 P[tool number] R[radius] X[offset] Y[offset] Z[offset] A[offset] > B[offset] C[offset] U[offset] V[offset] W[offset] I[frontangle] J > [backangle] Q[orientation] > > Additional info will be soon in emc devel docs at > http://www.linuxcnc.org/docview/devel > > regards, > Michael > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Emc-developers mailing list > Emc...@li... > https://lists.sourceforge.net/lists/listinfo/emc-developers > |