On Friday 29 November 2013 18:43:01 Gene Heskett did opine: > On Friday 29 November 2013 18:13:37 Frederic RIBLE did opine: > > Le 2013-11-29 21:43, Gene Heskett a écrit : > > > Found it!!!!! An almost chance comment, in the [RS274NGC] section > > > of the docs said I had the statement in the wrong section of the > > > .ini file. One would, unless instructed to do otherwise, assume > > > that it went immediately under the PROGRAM_PREFIX setting which is > > > ~/linuxcnc/nc_files by default and setting. > > > > Congratulations ! Happy to learn that your setup is now working. > > I was trying to find a shell command based on "strace" to display > > LinuxCNC files access. But that would not have helped much to detect > > this problem in the .ini file. > > Frederic. > > I tried setting debug toa very large value, and I tried strace, but > neither reported the path it was using to try and open the file. > > That was a lot of reading FWIW. Then I started on the wiki and > stumbled, litterally over this: > SUBROUTINE_PATH = ncsubroutines:/tmp/testsubs:lathesubs:millsubs - > Specifies a colon (:) separated list of up to 10 directories to be > searched when single-file subroutines are specified in gcode. These > directories are searched after searching [DISPLAY]PROGRAM_PREFIX (if it > is specified) and before searching [WIZARD]WIZARD_ROOT (if specified). > The paths are searched in the order that they are listed. The first > matching subroutine file found in the search is used. Directories are > specified relative to the current directory for the inifile or as > absolute paths. The list must contain no intervening whitespace. > > In the RS274 section. Duh. I think I even may have egg in my beard. :( > > Now I need to dress for the temps, and go drill a marker hole for real > so I can actually put good data in tool 99. > > Dumb Q here though, do I actually need the stuff in align.zip? And can > I get a copy of the higher MDI numbered stuff you've written? No clue > it they'd be useful to me as I have already written several such > subroutines that use variations of the G38.2 to find stuff now. One > such is in Genes-os9-stf/LCNC, and uses a small brass pipe and a > flexible spinning probe to find the exact center of that pipe, which is > drilled and pressed into one corner of a block of micarta that carries > the pcb. The offset is hard coded, but will need to be calibrated on a > per new micarta block made basis. I have a couple others that locate > the copper of the pcb so I'm not digging 10 thou into the glass & > eating the bit with the glass. I'll try to get both of those moved to > there since they make use of G55 and G56 to set a system per board > side. 4 routines all told. But the pipe finder needs tool changes, > which on a #2 morse taper collet spindle are a time killing PIMA. One > of the reasons to pursue this camview based solution. > > Many thanks for your patience Frederick. > > Cheers, Gene
All 4 routines are there now. And the overly verbose comments should explain what to do to fine tune them for your usage. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> Never speak ill of yourself, your friends will always say enough on that subject. -- Charles-Maurice De Talleyrand A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
