Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- CAD-CAM-EDM-DRO
- Messages
Search
PID tuning
Ray Henry
Posted to both CAD_CAM... and EMC Lists
I'm working up a page for the emc handbook <www.linuxcnc.org> on PID axis tune and would like stuff from as many as have worked with tuning. (emc or other) Links you like and/or use? Books and papers? Auto Tune software you've used? Descriptions of how you go about tuning a machine up? Specific EMC settings for machines. Download version machine(s) - size, axis weights, ratios, motor size and such. Describe the emc setup - file selections. Axis settings that you are reasonably happy with. Tuning process description. You could attach your complete running version of the ??.ini and I'll include a set of ftp's. Don't worry about writing skill 'cause I'll standardize the descriptions some and spit-shine it after a while. To reduce clutter, it may be best to send stuff to me off list. Ray - rehenry@... Michigan's U.P. |
Re: It finally came!
m.d.c
Tim Goldstein wrote:
From: "Tim Goldstein" <timg@...>yes; I have made about 4 or five of them, I and they are very good ,and I have the original article of the kit, that appeared on electronics australia magazine their web address is www.electronicsaustralia.com.au regards. mariano. |
Re: Conversational Programming
A&K ERWOOD
G'Day from Down under,
toggle quoted message
Show quoted text
This is my first time to put my 2 cents worth in, I have been lurking in the shadows for a while now. I own and operate a very small one man business, here in Oz. I have two cnc lathes one only 18mths old with a Fanuc control the other is a VERY OLD Mori-Seiki lathe that I hope to get up and running soon under stepper motor control , and hopefully EMC. And my other cnc machine is a 41/2 axis machining centre, I say 41/2 because it is a full 4 axis machine and I have made a 5th axis which just indexes a set amount on receiving a M-code. I have followed the last couple of days in regard to converstional programming, and thought I might put my two cents worth in. Why not just write a program to act as an interface between a pc and a normal old G-code type control. I have!!! It works quite ok. It has been my experience that when programming conversationally there are still times when good old G-codes are needed to do a 'tricky bit' which the converstional control can't quite do properly. And this happens quite often in complex milling. Anyway if anyone is interested, I would be willing to send you a copy of my 'still very buggy' prototype lathe program. I am not a very good programmer (as a matter of fact this is my first program written in VB6), so if some of you guys want to help develop this type of programming, I may be interested. At the present I have just about got the lathe program going, except for the backplotting side of things which definetly needs a bit of work yet. A mill version will follow next (hopefully, if I haven't pulled all my hair out by then). Regard Andrew Erwood A&K Engineering a+k@...
|
Re: Parallel port pins
Matt Shaver
From: "Darrell" <dgehlsen@...>From: Output Parallel Port ------ ------------- X direction D0, pin 2 X clock D1, pin 3 Y direction D2, pin 4 Y clock D3, pin 5 Z direction D4, pin 6 Z clock D5, pin 7 Input Parallel Port ----- ------------- X/Y/Z lim + S3, pin 15 X/Y/Z lim - S4, pin 13 X/Y/Z home S5, pin 12 For bridgeportio the digital in bits are on the Status port. The index #s 0 thru 5 corresponds to bit #s S3 thru S7). The digital out bits are on the Data port and the Control port. The index #s 0 thru 7 correspond to D0 thru D7 and index #s 8 thru 11 correspond to C0 thru C3. Hope this helps! Matt |
Re: DRO UPDATE
A. G. Eckstein
Ward,
Check out Steve Lindsay's site at : to pick up DRO40; you might also check the 1999 retired files in the dropbox as I believe they are there also. Art At 02:01 PM 03/04/2000 -0800, you wrote: From: "Ward M." <ward@...>OLDER THAN DIRT Country Bubba (Actually the inventor of Country and Bubba) |
Re: DRO UPDATE
That is why I gave up on steve's software and wenbt with Tom Kulaga's
toggle quoted message
Show quoted text
design. Dan -----Original Message-----
From: Terry May <tmay@...> To: CAD_CAM_EDM_DRO@... <CAD_CAM_EDM_DRO@...> Date: Saturday, March 04, 2000 9:06 AM Subject: [CAD_CAM_EDM_DRO] Re: RE: DRO UPDATE From: "Terry May" <tmay@...>discussion of shop built systems in the above catagories. To Unsubscribe, read archives, change to or from digest. |
Re: Stepper resonance - not a problem
If thats the case, it probly wouldn't work in full step mode either.You might be right .. theory and the real world are rarely in sync. I had thought about doing this, my controller has the capability to adjustGood question, although neither may be important. Torque is roughly proportional to core characteristics, so increasing the current to maintain a constant torque implies that if the core hasn't saturated with both windings engaged ( at some particular torque level ), it shouldn't saturate at the same torque level with only one winding engaged. Just to be on the safe side, since my motors are quire big enough for my machine, I mentally derated them just a bit. Instead of running them at 5 amps per winding in full step mode, I run them in half-step at 4 amps with both windings on, 5.6 amps with one winding on. Again, though, this should not be necessary for either temperature reasons ( assuming a reduced current "stop" feature ) or for core saturation reasons. My controller does a power saver function where the current is reducedAs does mine, for the reason stated just above. This is the second time If seen 1/4 stepping mentioned - could you explainExactly, in the proportion mentioned - sin(a) cos(b). The relationship is actually the same for all modes, full, half, quarter, eighth, etc. Increasing the number of intermediate steps does mean increasing the number of discrete current levels. This usually ( but not necessarily ) means a microprocessor to assist things. It IS possible with discrete logic, but ... <G> Alan -- Alan Rothenbush | The Spartans do not ask the number of the Academic Computing Services | enemy, only where they are. Simon Fraser University | Burnaby, B.C., Canada | Agix of Sparta |
Re: Feb 25
Matt Shaver
From: "Tim Goldstein" <timg@...>freqmot I can confirm that P,I, and D definitely have an effect on steppers.P, I, and D have an effect when you use freqmod or smdromod, but not when using steppermod (which will eventually be phased out [no pun intended ;) ] unless someone really needs it). Matt |
Re: EMC minimill option/Parallel port issues
Ian Wright
Hi Paul,
toggle quoted message
Show quoted text
Have a look at:- and These are the circuits I based my test board on. Ian -- Ian W. Wright Sheffield UK ----- Original Message -----
From: Paul Devey <paul_devey@...> To: <CAD_CAM_EDM_DRO@...> Sent: 03 March 2000 20:01 Subject: Re: [CAD_CAM_EDM_DRO] EMC minimill option/Parallel port issues From: "Paul Devey" <paul_devey@...> |
Re: DRO UPDATE
Ward M.
Where would I find the dro40 and dro40a programs? I'd like to give them a
toggle quoted message
Show quoted text
try as well. Ward M. ----- Original Message -----
From: "Terry May" <tmay@...> To: <CAD_CAM_EDM_DRO@...> Sent: Saturday, March 04, 2000 1:49 PM Subject: Re: [CAD_CAM_EDM_DRO] Re: RE: DRO UPDATE From: "Terry May" <tmay@...>discussion of shop built systems in the above catagories. To Unsubscribe, read archives, change to or from digest. |
Re: DRO UPDATE
Terry May
Art,
You hit it right on the head! When I ran dro40a instead of dro40 it works like a champ :>) I guess it's another case of when in doubt read the instructions. Thanks again for your help, now I'm going off line to cut some metal and mount these puppies on my mill! Terry --- In CAD_CAM_EDM_DRO@..., "A. G. Eckstein" <axtein@s...> wrote: Terry,that needs to be set on the parallel port. Have you tried using theDRO40A.exe program instead of the DRO40.exe??That is the only way I can get mine to run also.When settingI run Steve Linsay's dro40 program it doesn't react to the movement andthe parallel ports to both ECP and EPP, there's just no movement of thebooting directly to DOS. thechip on all 6 lines to the parallel port connector. I've checked externalwiring about a gazillion times but can't find any mistakes. butvoltage to the port pin 2 and grd pin 22 doesn't have any effect. I fine.when I hook a Snappy video capture device to the ports they work OLDER THAN DIRT |
Re: Feb 25
EMC now is handling steppers as if they were servos from what I understand
toggle quoted message
Show quoted text
(this may only be with the freqmot setup & the DRO setup?) and using freqmot I can confirm that P,I, and D definitely have an effect on steppers. If I set P too low I get constant follow errors at any speed, If I set D to anything but 0 I start having a problem with the motors stalling on acceleration (probably because this setting is trying to make the motor get up to speed faster than the stepper can accelerate). I have played with various I settings between 1 and 1000 and it does seem to help me get even higher feed rates, but I have not really figured a way to see what works best on this one. You can easily play with these settings by going to the settings menu and selecting calibration. The values will be for the axis that is currently selected and will take effect as soon as the calibration window is closed. Make sure you remember or write down the setting you settle on as the values you put in the calibration window are not saved back to your .ini file, you have to edit them in manually. Tim [Denver, CO] timg@... <mailto:timg@...> -----Original Message----- |
Re: Feb 25
Darrell
Does the P gain affect stepper motion?
toggle quoted message
Show quoted text
Darrell ----- Original Message -----
From: Matt Shaver <mshaver@...> To: <CAD_CAM_EDM_DRO@...> Sent: Friday, March 03, 2000 10:37 PM Subject: Re: [CAD_CAM_EDM_DRO] Feb 25 From: "Matt Shaver" <mshaver@...>axisFrom: "Darrell" <dgehlsen@...> discussion of shop built systems in the above catagories.but I only find one setting.It's not exactly the same thing, but you can vary the P gain with similar To Unsubscribe, read archives, change to or from digest. |
Re: DRO UPDATE
A. G. Eckstein
Terry,
You may have the same problem that I have and that is the "switch" that needs to be set on the parallel port. Have you tried using the DRO40A.exe program instead of the DRO40.exe?? This is documented in his text files and you may have to do that. That is the only way I can get mine to run also. Hope this helps, but let me know if it doesn't. Art At 05:07 PM 03/04/2000 -0000, you wrote: From: "Terry May" <tmay@...>OLDER THAN DIRT Country Bubba (Actually the inventor of Country and Bubba) |
Re: DRO UPDATE
Terry May
Art,
I need some help here, I put together a circuit using a 74hct14 like you did but I can't seem to get it to work with a computer. When I run Steve Linsay's dro40 program it doesn't react to the movement of the encoders. I've tried it on three different computers, setting the parallel ports to both ECP and EPP, there's just no movement of the readout for any axis. I've tried it in a DOS window under 98 and booting directly to DOS. The part that's driving me crazy is that when I hook up the encoders to a Pwr Sup and a scope I get good square waves out of the chip on all 6 lines to the parallel port connector. I've checked the wiring about a gazillion times but can't find any mistakes. Using the parallel.exe program Steve included with his SW, the ports look good, but when I use his Portstuf.exe hooking an external voltage to the port pin 2 and grd pin 22 doesn't have any effect. I can change the port setting using the keyboard in the program but that's it. I don't have any other ways to check the ports that I know of, but when I hook a Snappy video capture device to the ports they work fine. Any ideas? Thanks Terry --- In CAD_CAM_EDM_DRO@..., "A. G. Eckstein" <axtein@s...> wrote: Terry,little bit will help. I appreciate all the words that I have gotten on thesite and as things progress, will try to update it. My long term goal is to getto the magical resolution of 0.0001"with no backlash. I have far exceeded that but now it is a challange.good theas yours. haveencoders look like they are working fine so after work tomorrow I mill/drilllots of good parts left over from a dearly departed HP plotter. if not the x axis.OLDER THAN DIRT |
Re: EMC minimill option/Parallel port issues
Ray Henry
Dave, Ian, and other EMC folk
toggle quoted message
Show quoted text
I just posted a TclTk script to the dropbox and to emc@... based on Fred's code. It watches the parport and reports status of the pins. You may have to fix it so it finds iosh. (line 3 plat/????/bin/iosh) We should be able to build a pin exerciser (run at your own risk) as well. Ray Message: 2 [CAD_CAM_EDM_DRO] Digest Number 388 |
Re: Version 2.2.* EMC
Ian Wright
Hi Drew,
toggle quoted message
Show quoted text
----- Original Message -----
From: Drew Rogge <drew@...> Thanks for the idea Drew, but it wasn't this. Doing a df told me that I have over 1.7Gb unused on the partition. Ian -- Ian W. Wright Sheffield UK |
Re: Version 2.2.* EMC
Ian Wright
Hi, George,
toggle quoted message
Show quoted text
I did all this and got no error messages at all, however, I still don't seem to have a steppermod.o file or a freqmod.o file anywhere on the system ( in fact, the /plat/linux_2_0 and rtlinux_09J/ lib/ directories only have one file in each which is the extppt.0 file - the 2.2.13 and 2.0.36 directories have more but there seem to be a lot missing). I think it must be because I have the 2.2.14 prepatched kernel or something but I can't seem to find anywhere to change things to reflect this - apart, that is, from the 'install_rtl_base' file in EMC directory. I canged this to point the insmod commands at the relevant place for the rtl modules (2.2.14-rtl2.1.pre1/misc/ in this case) but it seemed to make no difference except telling me that when I tried to run that file, it had an unexpected EOF at line 54 - the last line of the file that just says 'exit 0' . So, if the download was OK and it has unzipped with no errors, and I can't see any Makefiles with pointers to the 2.2.13 kernel which need changing, what am I to do? {;( Anyway, I'm off on a trip for a few days so, by the time I get back there will probably have been some others try this and perhaps they will have better knowledge than me. Thanks anyway, Ian -- Ian W. Wright Sheffield UK ----- Original Message -----
From: George Fouse <gfouse@...>
|
EMC and STG 2-8 board.
Mika Salmi
Hello!
First thak you Jon Elson for information about EMC and STG2 board. Now I?m decided to use EMC to retrofit my mill. Maybe I should give some background what i do and which kind of machines i have. I have Gildemeister N.E.F 480 cnc lathe (max diam 480mm or 220x1000mm)it is made 1978 and it have Fanuc mate-L control. The lathe is wery rigid and it have lot of power (11kW) but the control is quite expensive to service and repair. Also I have 3axis knee type NC-milling machine which have old Ljumo PNC-63 (position numerical control.Machine castings are made 1991 in russia (german machine copy) electrical installation made in germany (whit slovenian made control)(it maybe quite difficult to get spare parts). Old control do not even have linear interpolation and I am going to replace it and install EMC on it. I have also manual gear hobber (table diam. 40 inch) manual mill (Swedish made KOPINGS made in 1944)manual tool grinder BLOMH (made 1943) and manual lathe WARD. I?m making mainly tooling for local aircraft industry but i make small batch real parts for aircrafts and even space satellites. The mill have servos(analog.+-10v) in all axes and I just bought VDF for spindle (3kW also +-10v controled). Mill also have pretty accurate linear measuring scales (which have RS422 quadrature pulses) I think if (when) I get milling machine ready I replace that old fanuc also. As I make my living whit thease machines I don?t want keep them out of production so I try get EMC running first before I disconnet old control. I order new computer but I?m not sure which Linux version I should use and I also wonder if there are Cd?s which contain all needed software ? Can someone tell me do EMC support electronic jog handwheel ? How many axes (linear/rotary) EMC supports ? And Jon Elson I would be interested to have E-stop and other boards that you have made so if you make ready or kit boards?s let me know it Thanks for your help ! Whit Best regards: Mika Salmi from Finland. |
to navigate to use esc to dismiss