On Sunday 11 May 2014 14:46:23 andy pugh did opine And Gene did reply: > On 11 May 2014 19:01, Gene Heskett <[email protected]> wrote: > > A where does it work best suggestion please. > > That will depend on what you want to do with it, and how your system > works. If you have a closed-loop spindle then it would probably work > well to choose between two FF0 values. > But as FF0 is an IO pin (I think) that probably won't work. > I don't think its an output, so that might work. What I would like to do is probably going to 2 of them, because I want one of them to jack up the feedback gain when in low speed, so that the control is considerably stiffer when in low gear & turning under 500 rpm. FF0 is currently near unity=100%, very little I and microscopic D, but a fair amount of P.
The problem is that I am NOT monitoring motor speed, but spindle speed, so if I am in low, enter an S400m3, it can do it, but the motor is very busy. 800 would probably make schapnel out of its fan/flywheel, about 2 lbs of well balanced cast iron, 6.5" in diameter, and 10 grand is skirting with danger. > The man pages tell you what the components do, not how to use them. > > As you apparently have the most complex HAL file in the World, it is > unlikely that any conventional example would work. Aww come on now Andy, surely my nearly 300 loc hal file is not the largest ever. At least 60 loc of that is synthesizing the stopping and reversal once stopped, of that whole spindle chain so as to be able to use the G33.1 rigid tap cycle, made a requirement because motion itself goes from fwd to reverse & back again with no stop & wait for it to stop, so I have to synth all that. For that it has to be stopped with suicide brakes, and while that is taking place, the PID and PWMGEN are disabled, and the actual speed command zeroed with a mux2 so that when the relays have been enabled, it must be subjected to a limit2.n.maxv starting from zero else the motor is quite capable of demolishing the drive belt and pulley's. I just got thru with expending the hole in the bed where the control wires came out, to give me room to stick a hard 5/16" bolt in on top of that end of the counter shaft bracket, and draw down on it with a 6mm bolt for an adjuster, so that I can raise that acceleration somewhat without stripping the teeth off the belt or the pulley. That pulley is plastic, an odd belt type, and nearly $400 for a later, better belt with squarer tooth profiles, and 2 custom made metallic pulleys. Healthy motor, and the biggest 4 jaw chuck that can be mounted equals a lot of mass to stop & reverse. The load R's to stop it do warm right up. 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> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
