On Friday 07 June 2013 09:38:38 Michael Haberler did opine: > Am 07.06.2013 um 11:01 schrieb Gene Heskett <ghesk...@wdtv.com>: > > The biggest problem I had with linuxcnc is the inability to easily use > > the probe (g38) function as a homing sensor. I don't recall now if > > the files I sent had that bit of tom foolery in them or not, that hal > > file rarely goes 3 days with an edit. > > Build or install master, and try the following config, it likely is at > least a starting point: > > configs/sim/remap/manual-toolchange-with-tool-length-switch/manualtoolch > ange.ini > > - Michael
I haven't seen that one, but the stuff I have in the .ini works. It's the logic switching needed in the .hal file, to steer the probe input to the home switching logic ONLY when doing the HOME_ALL that was a bit of an exercise to setup, and its possible that I am not quite correct on that point yet. But its working now, >95% of the time. Noise on the machine frame also has been seen, needs a better ground tie than the 3rd pin of the power cord. I should probably cut that off and run my own from the systems logic ground. The final thing I am concerned with is the limits (MAXV) setup in the spindle control, will be 'charged up' during the turn around delays such that when it does enable the pid & pwmgen modules to restart the motor in the other direction, they may come on at power levels enough to clear the circuit breaker, a 9 amp device. ATM I am not holding the commanded speed into the PID at zero while the timeouts are working, and probably should. The turn around delay is set by some logic that holds off the start command until a oneshot watching the encoders phaseA, has timed out indicating its been stopped for 100 millisecs or so, at which point it clocks the run state into the flipflop. That enables the PID & PWMGEN modules. That I think needs some rethinking, but its raining today so my 'thinking table' on the front deck of the shop is too wet to lay the rockhopper printout on to really study it. Side effects of the first major storm of the season that walked across Florida yesterday. However, the new switch mode 25 amp controller that might arrive tomorrow, may have its own MAXV settings, so we'll have to see if they interfere with the PID. This motor has a huge fan/wheel, so speeds are well smoothed by that even if the controller is having a litter of kittens. TBD of course. I may be due to rebuild the gears in the spindle head, I note that there is quite a bit of backlash between the drive belt, and the spindle moving, a good 15 degrees from gear slop. I suspect that is from the keyway in the plastic gears hub getting wallered out, possibly enhanced by keyway wear in the shafting. I would not be surprised if this new 1 hp motor, geared down about 3/1 by its polygroove drive system, is more than enough to finish off that plastic gear the toothed belt spins in the head stock. I may have to figure out how to hob a metal one if one of the metal ones I bought for the change gears and am only using 2 of, a 40 on the Z motor, and an 80 on the z ball screw in the Z drive isn't suitable. But that bridge is not yet in sight. :) Thanks for the suggestion, Michael. Its appreciated, and I know you are busy with RTAI vs newer kernel hacking. 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) My web page: <http://coyoteden.dyndns-free.com:85/gene> is up! My views <http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml> If you want to put yourself on the map, publish your own map. A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers