On Thursday 07 January 2021 10:57:48 Gene Heskett wrote: > Greetings all; > > Prowling thru the wiki. looking for hints on writing thread milling > gcode, I note that the only example is for a 3/4" mill, and not > commented well enough I could easily adapt it to cut 6mm threads with > the mills I just ordered. Has anyone done this for smaller stuff? > > And while doing the, I ran into "idb", inverse deadband, which I could > sure use for this A axis. But its not in the man9 tree, so I assume > its not actually been added to linuxcnc. > > What is the proper procedure to use to "comp" it today? That code is > nicely self-explanatory, but it could use a manpage to go with it.
And it will not build with today's halcompile, preprocess to a idb.c but nothing beyond that wants to work. error trace: gene@GO704:~/src$ halcompile --preprocess --compile --document idb.comp gene@GO704:~/src$ ls idb.c idb.comp gene@GO704:~/src$ halcompile --compile --document idb.c make KBUILD_EXTRA_SYMBOLS=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/Module.symvers -C /usr/src/linux-headers-3.4-9-rtai-686-pae SUBDIRS=`pwd` CC=gcc V=0 modules make[1]: Entering directory `/usr/src/linux-headers-3.4-9-rtai-686-pae' CC [M] /tmp/tmpZe8rUp/idb.o idb.comp: In function ‘_’: idb.comp:12:13: error: ‘lt’ undeclared (first use in this function) idb.comp:12:13: note: each undeclared identifier is reported only once for each function it appears in idb.comp:12:15: error: expected ‘)’ before ‘;’ token idb.comp:14:13: error: ‘gt’ undeclared (first use in this function) idb.comp:14:15: error: expected ‘)’ before ‘;’ token make[4]: *** [/tmp/tmpZe8rUp/idb.o] Error 1 make[3]: *** [_module_/tmp/tmpZe8rUp] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.4-9-rtai-686-pae' make: *** [modules] Error 2 I may be missing some header file but IIRC I did halcompile "units" on that machine back in the fog of time since passed. Any chance? Thanks. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
