Re: [Emc-users] spindle motor broke down, any (complete spindle) replacement suggestions?
On Apr 12, 2009, at 12:24 AM, Kirk Wallace wrote: > On Sat, 2009-04-11 at 23:32 +0200, Dirk wrote: >> On Apr 11, 2009, at 11:05 PM, Kirk Wallace wrote: > ... snip >>> >>> Your Z looks like a big improvement. I was thinking you could >>> replace >>> the round column with a square one like this: >>> http://www.harborfreight.com/cpi/photos/93800-93899/93885.gif >> >> The stage I have was a leftover from work. :-) > > Actually this is more what I had in mind: > http://www.wallacecompany.com/machine_shop/mini-mill_Z.png > > This would need a rectangular steel tube, some steel plate and a > welder. > Although the construction on my machine is not ideal, it is stiff enough. The z-stage is not connected to the original steel tube. There is a massive 60x60 mm stainless steel rod behind it. (another leftover piece of material) >> I found some HF spindles. I like that they are really compact. I >> don't >> like the price. But what I really see as a problem is that they only >> have a limited speedrange. From very fast to ultra fast. You need >> very >> small carbide cutters with that. > > I'm not sure why you would want another spindle. > Forgot to mention it in the original post. The spindle is very noisy and speedrange is limited. But, I am most concerned about the plastic gears inside. They are not very strong. So far I didn't have any troubles but I am not sure about the lifespan of these gears. I would really like to skip the gears and drive the spindle directly. A new motor which would be a direct replacement is by far the easiest. But this is also an opportunity to improve the spindle. >> Another thing that might be an option is a 3 phase motor with a >> frequency controller. The controller won't be cheap, but I guess the >> motor won't be expensive or hard to find. >> >> Dirk > > It looks like you have some options for 3-phase: > > http://cgi.ebay.nl/ws/eBayISAPI.dll?ViewItem&item=250402814683 > http://cgi.ebay.nl/ws/eBayISAPI.dll?ViewItem&item=200328530280 > > http://cgi.ebay.nl/ws/eBayISAPI.dll?ViewItem&item=400042726062 > http://cgi.ebay.nl/ws/eBayISAPI.dll?ViewItem&item=400041004985 > > If you want to hook it to EMC2: > http://www.wallacecompany.com/machine_shop/EMC2/serial_dac/ Kirk, you really spell it out for me! Thanks! Butthe first motor weighs 22 kg! And that is another problem. My z-stage stepper won't handle that. Dirk -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] spindle motor broke down, any (complete spindle) replacement suggestions?
On Sat, 2009-04-11 at 23:32 +0200, Dirk wrote: > On Apr 11, 2009, at 11:05 PM, Kirk Wallace wrote: ... snip > > > > Your Z looks like a big improvement. I was thinking you could replace > > the round column with a square one like this: > > http://www.harborfreight.com/cpi/photos/93800-93899/93885.gif > > The stage I have was a leftover from work. :-) Actually this is more what I had in mind: http://www.wallacecompany.com/machine_shop/mini-mill_Z.png This would need a rectangular steel tube, some steel plate and a welder. > I found some HF spindles. I like that they are really compact. I don't > like the price. But what I really see as a problem is that they only > have a limited speedrange. From very fast to ultra fast. You need very > small carbide cutters with that. I'm not sure why you would want another spindle. > Another thing that might be an option is a 3 phase motor with a > frequency controller. The controller won't be cheap, but I guess the > motor won't be expensive or hard to find. > > Dirk It looks like you have some options for 3-phase: http://cgi.ebay.nl/ws/eBayISAPI.dll?ViewItem&item=250402814683 http://cgi.ebay.nl/ws/eBayISAPI.dll?ViewItem&item=200328530280 http://cgi.ebay.nl/ws/eBayISAPI.dll?ViewItem&item=400042726062 http://cgi.ebay.nl/ws/eBayISAPI.dll?ViewItem&item=400041004985 If you want to hook it to EMC2: http://www.wallacecompany.com/machine_shop/EMC2/serial_dac/ --- Kirk http://www.wallacecompany.com/machine_shop/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] spindle motor broke down, any (complete spindle) replacement suggestions?
On Apr 11, 2009, at 11:05 PM, Kirk Wallace wrote: > On Sat, 2009-04-11 at 22:32 +0200, Dirk wrote: > ... snip >> Hmm, these motors, and the SCR too, look interesting. But I have had >> my share from customs when I bought stuff in the US. And although >> these motors don't seem to be expensive, I don't know how shipping >> will turn out. > > What area of the world are you located? I am on the map. Alex and me are the only ones in Europe. > Part of the fun is in making > what you have on hand work. I have old printers, vacuum cleaners, car > parts, etc. on hand waiting to be reborn into something else. My > neighbors think I have way too much of this stuff. > Over the years I built a reputation at work that I can use anything. But unfortunately there was never a surplus spindle. Or something which could be used for it. > ... snip >> I have improved on that. See the pictures from the link above. This >> z- >> stage works pretty good. >> >> Dirk > > Your Z looks like a big improvement. I was thinking you could replace > the round column with a square one like this: > http://www.harborfreight.com/cpi/photos/93800-93899/93885.gif The stage I have was a leftover from work. :-) I found some HF spindles. I like that they are really compact. I don't like the price. But what I really see as a problem is that they only have a limited speedrange. From very fast to ultra fast. You need very small carbide cutters with that. Another thing that might be an option is a 3 phase motor with a frequency controller. The controller won't be cheap, but I guess the motor won't be expensive or hard to find. Dirk -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] spindle motor broke down, any (complete spindle) replacement suggestions?
Kirk Wallace wrote: > What area of the world are you located? Part of the fun is in making > what you have on hand work. I have old printers, vacuum cleaners, car > parts, etc. on hand waiting to be reborn into something else. My > neighbors think I have way too much of this stuff. > > I hear that. I am cleaning the workshop today. My wife says that I have to throw away anything older than she is. -Chuck- -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] spindle motor broke down, any (complete spindle) replacement suggestions?
On Sat, 2009-04-11 at 22:32 +0200, Dirk wrote: ... snip > Hmm, these motors, and the SCR too, look interesting. But I have had > my share from customs when I bought stuff in the US. And although > these motors don't seem to be expensive, I don't know how shipping > will turn out. What area of the world are you located? Part of the fun is in making what you have on hand work. I have old printers, vacuum cleaners, car parts, etc. on hand waiting to be reborn into something else. My neighbors think I have way too much of this stuff. ... snip > I have improved on that. See the pictures from the link above. This z- > stage works pretty good. > > Dirk Your Z looks like a big improvement. I was thinking you could replace the round column with a square one like this: http://www.harborfreight.com/cpi/photos/93800-93899/93885.gif -- Kirk http://www.wallacecompany.com/machine_shop/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] spindle motor broke down, any (complete spindle) replacement suggestions?
On Apr 11, 2009, at 10:14 PM, Kirk Wallace wrote: > > >> From this video, your machine is bigger than I thought: > > http://www.youtube.com/watch?v=4zapTKm9JsE > This is mine: http://www.youtube.com/watch?v=K8NcLS-dJOA&feature=related I forgot about it. Never got around to posting new video's. I had better things to do when the machine really started working. ;-) Oh, and I do have some images online: http://www.ipernity.com/doc/60192/album/77809 > Maybe a motor like this would be better: > > http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=320357287710 > Hmm, these motors, and the SCR too, look interesting. But I have had my share from customs when I bought stuff in the US. And although these motors don't seem to be expensive, I don't know how shipping will turn out. > Another thing that comes to mind is that the Z upright is probably the > weakest link, being tubular and having a very small mating surface to > the base. I wonder if the X axis of this could be adapted to be your > Z: > > http://www.use-enco.com/CGI/INSRIT?PMAKA=201-2826&PMPXNO=951820&PARTPG=INLMK3 I have improved on that. See the pictures from the link above. This z- stage works pretty good. Dirk -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Users Locations
On Sat, 2009-04-11 at 23:04 +0300, Alex Joni wrote: > Hi there. > Some quick update about this thread. > I followed the suggestions people had ([1],[2]), and added some extensions > to the website www.linuxcnc.org: Thank you Alex. It worked for me. Way cool. Kirk http://www.wallacecompany.com/machine_shop/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] spindle motor broke down, any (complete spindle) replacement suggestions?
On Sat, 2009-04-11 at 12:32 -0700, Kirk Wallace wrote: ... snip > If the present motor is beyond help and you have no speed control, I > would look into a 90 V DC motor, such as a tread mill motor, and an SCR > speed controller. > > http://shop.ebay.com/items/_W0QQ_nkwZkbicQQ_armrsZ1QQ_fromZR40QQ_mdoZ > > http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=260388156730 > > The motor linked above may be too big for your mill. The nice thing > about these DC motors is that they have good low end torque. You can get > these items pretty cheap if you wait for the right deal. > > I would hold off until the machine was running again to play with the > out-runners. I like these motors because it looks like they can be built > from scratch easier than others, and some winding configurations can > give you low end torque. The biggest problem is in getting stator > lamination plates. > - > Kirk > http://www.wallacecompany.com/machine_shop/ >From this video, your machine is bigger than I thought: http://www.youtube.com/watch?v=4zapTKm9JsE Maybe a motor like this would be better: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=320357287710 Another thing that comes to mind is that the Z upright is probably the weakest link, being tubular and having a very small mating surface to the base. I wonder if the X axis of this could be adapted to be your Z: http://www.use-enco.com/CGI/INSRIT?PMAKA=201-2826&PMPXNO=951820&PARTPG=INLMK3 Kirk http://www.wallacecompany.com/machine_shop/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Users Locations
Hi there. Some quick update about this thread. I followed the suggestions people had ([1],[2]), and added some extensions to the website www.linuxcnc.org: 1). Now you can subscribe as an user to www.linuxcnc.org (already registered users should log in to update their profile data). When you do you can add some information about yourself, currently: * Address, City, State, Zipcode, Country, Homepage - text information. * you can also add a profile picture if you like. Any of the above information is not mandatory, so if you're not comfortable to share it, don't. We can extend these with any fields we can come up with (like phone-number, hobbies and whatnot), I'm waiting for suggestions on this. 2). Once you entered some information about yourself (location-wise), you should automatically appear on the LinuxCNC Users Map. If you don't, then either you didn't provide enough information for google to localise you (usually city, state, country is enough), or something wrong happened. I'll try to help with the later. 3). A new user menu (this is a section with links that appears once you are logged in). Currently it contains the following links: * My profile (place to update your profile information, picture, etc) * User List (searchable list with linuxcnc.org registered users) * User Map (google map that contains linuxcnc.org users) We can add other things people usually use to this section (to make the site easier to navigate). Maybe link to the IRC client, or similar. All of the above should work as advertised, but treat the service as a "beta"-test. I don't envision any issues coming up in the future, but if there are serious issues (like security threats) we might consider shutting down some parts of this. Please report any problems you're having either directly to me, or on the list. Have fun with building our community. Regards, Alex [1] > Gentlemen, > I will be happy to add my information and welcome visitors at any time. > Stuart > > On Fri, Apr 3, 2009 at 4:50 PM, Rob Jansen wrote: >> Alex, >>> I think the webpage could be a better place than the wiki. >>> If there are enough people out there who are ok with doing this, we can >>> add >>> a community-module to linuxcnc.org, so every registered user can set up >>> a >>> profile with pictures, links, personal information, etc. >>> Let me know if there are people who would consider doing such a thing, >>> and >>> based on the feedback we'll be looking if it's worth the trouble ;) >>> >> I will definitely add my credentials. >> Question is who else will. The frappr map has been there for some time >> but there is only a very limited amount of users on the map. >> >> Rob [2] Alex on frappr.. > Don't feel bad, it works just as bad for windows too. > I'm sorry they (frappr) provide such a bad service. > Initially it used to work a lot better, then they changed maps between > google and yahoo a couple times, and in the end it's simply busted. > I'll look into an alternative, and post the results. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] spindle motor broke down, any (complete spindle) replacement suggestions?
On Sat, 2009-04-11 at 20:29 +0200, bigengineer wrote: > I was happily milling away today until suddenly the spindle stopped. I > can still hear a very light buzz but nothing happens anymore. I hoped > for a hidden thermal protection, but after cooling down the spindle > still doesn't start. Some cheap thermal cutouts fail when they trip, but I suppose you wouldn't hear the buz. > This a asynchronous motor BTW. I don't think it is > the condensator because the motor stopped while turning. The condensator > is only needed to get it started. If the starting circuit fails you can start the motor by spinning the motor then applying power. It should run in whichever direction you spin it. Of course, you shouldn't try this at home. > I still measure a resistance over the > coils. Hmm, now I think of it, the resistance isn't equal over both > coils and it should be. Well, I always was prepared for a (plastic) > gear to break. I never thought the motor itself would die. ... snip > Since then I am thinking of using such a brushless outrunner motor. Does > anyone here has any experience with these? The motors aren't really > expensive, but the controllers are. Well, the good ones. I don't care > about investing a bit, but in the end, it is only a hobbymachine and it > doesn't earn me money, only knowledge. Using an outrunner would be > educational. But I would need to machine a lot of parts and the machine > doesn't work I have access to conventional machines so this isn't > the biggest problem. OTOH, buying a complete spindle is more expensive, > but with an adaptor plate it could go straight on the machine. > So, what to do? > > Dirk If it were my machine, I would get it back to working as inexpensively as reasonable, which probably means to fix what you have. Is there a speed controller used that may be the problem? I would remove the motor and try the spin start I mentioned above. Also check that there is no continuity between the windings and ground. Does the motor have a data plate? If so, please post the data. If the present motor is beyond help and you have no speed control, I would look into a 90 V DC motor, such as a tread mill motor, and an SCR speed controller. http://shop.ebay.com/items/_W0QQ_nkwZkbicQQ_armrsZ1QQ_fromZR40QQ_mdoZ http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=260388156730 The motor linked above may be too big for your mill. The nice thing about these DC motors is that they have good low end torque. You can get these items pretty cheap if you wait for the right deal. I would hold off until the machine was running again to play with the out-runners. I like these motors because it looks like they can be built from scratch easier than others, and some winding configurations can give you low end torque. The biggest problem is in getting stator lamination plates. - Kirk http://www.wallacecompany.com/machine_shop/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] spindle motor broke down, any (complete spindle) replacement suggestions?
I was happily milling away today until suddenly the spindle stopped. I can still hear a very light buzz but nothing happens anymore. I hoped for a hidden thermal protection, but after cooling down the spindle still doesn't start. This a asynchronous motor BTW. I don't think it is the condensator because the motor stopped while turning. The condensator is only needed to get it started. I still measure a resistance over the coils. Hmm, now I think of it, the resistance isn't equal over both coils and it should be. Well, I always was prepared for a (plastic) gear to break. I never thought the motor itself would die. Just to elaborate a bit for the question: This is the machine I have: http://www.mike-willis.com/Pictures/Misc/hobbymat6.jpg this is only the spindle. Couldn't find an image from the xy stage. It is nothing more than a hobbymachine. But it works fine and it is very good for learning CNC and CAM. Because of the backlash in the stages climb cutting isn't really working unless I use a very small feedrate and small mill. And conventional cutting isn't really working either in aluminium with a mill of 10 mm. I don't dare to try steel or anything stronger. So, considering the limitations, I was thinking of a faster spindle, max rpm is now 1600, and limit the mill diameter, let's assume 6 mm maximum. I have found this a while ago: http://www.recumbents.com/WISIL/shumaker/CNC1.jpg http://www.recumbents.com/WISIL/shumaker/CNC2.jpg (an amazing project BTW: http://www.recumbents.com/WISIL/shumaker/default.htm) Since then I am thinking of using such a brushless outrunner motor. Does anyone here has any experience with these? The motors aren't really expensive, but the controllers are. Well, the good ones. I don't care about investing a bit, but in the end, it is only a hobbymachine and it doesn't earn me money, only knowledge. Using an outrunner would be educational. But I would need to machine a lot of parts and the machine doesn't work I have access to conventional machines so this isn't the biggest problem. OTOH, buying a complete spindle is more expensive, but with an adaptor plate it could go straight on the machine. So, what to do? Dirk PS: Sorry for the long explanation, but I figured I could better explain it upfront than afterwards in several mails. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Setting up a bench mill CNC
On Sat, 2009-04-11 at 13:00 -0400, Doug Pollard wrote: ... snip > Is there any reason why Emc will not run my xylotex board. EMC2 should work well. Do a search for Xylotex on the EMC2 wiki: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EmcKnowledgeBase this should link you to the resources you need to get started. > I would > also like to know what kind of breakout board might be suitable. It looks like you don't need one, just a DB25 cable. > Have > been looking at some 269 OZ in motors but also thinking that my mill has > a pretty sturdy spindle that maybe 425 0z in. might make better use of > that. Since the table is only 18 inch long with 12in. of travel high > speed might not be that important. I am assuming the more powerful > motors may be slower?? > Any other suggestions here would be greatly appreciated. > > Doug With my DC motor research so far, it seems the 269 oz.*in. motors should do fine, but you should see what others are using on machines similar to yours: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Case_Studies -- Kirk http://www.wallacecompany.com/machine_shop/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Setting up a bench mill CNC
I don't have experience with the xylotex stuff. But it is documented. In the stepconf wizard it is even preconfigured: http://www.linuxcnc.org/docview/html//config_stepconf.html More info can be found in the wiki: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl just search for xylotex. There is a lot to read about if your getting started. Good luck! Dirk -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Setting up a bench mill CNC
Hi all, I have built a bench mill from a fairly heavy duty drill press. I beefed it up where I could and filled the column with lead shot. It's pretty solid and chatter resistant :-) My Grandson gave me a 4 axis controller and cables . I hope to make a four axis machine out of this to do a little light machining on. I rebuild microscopes and some other medical supplies for a nonprofit company that supplies these things where they are needed world wide. My years of machining know how is hard for them to get so I am trying to give a little something back. The controller is an xylotex board , and a 24 volt power supply. Have been doing a little reading and am thinking I will need a break out board. I would like to use Emc to generate G-codes. I use Ubuntu .10 but am looking for another used computer to run Ubuntu 8.04 and EMS 2 on to control the mill. I could get all the help I need from my grandson who holds me a little in awe for my machining ability but would would rather ask dumb questions of you guys. Is there any reason why Emc will not run my xylotex board. I would also like to know what kind of breakout board might be suitable. Have been looking at some 269 OZ in motors but also thinking that my mill has a pretty sturdy spindle that maybe 425 0z in. might make better use of that. Since the table is only 18 inch long with 12in. of travel high speed might not be that important. I am assuming the more powerful motors may be slower?? Any other suggestions here would be greatly appreciated. Doug -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Synergy soft KVM on steroids
Group; A friend of mine is using one of these Synergy variants in his home office. He has a Ubuntu box on the left, iMAC in the center and a box running Win 7 Beta on the right. What stood out to me was when he copied a range of cells in Excel and dragged it over and just dropped it into an OOo spread sheet. Its way more than just KVM. Greg -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] syncing two motors to one axis
I also noticed some other signals that may be useful? axis.N.homing OUT bit #TRUE if the joint is currently homing axis.N.home-sw-in IN bit #Should be driven TRUE if the home switch for this joint is closed axis.N.home-state #Reflects the step of homing currently taking place axis.N.homed #TRUE if the joint has been homed I wonder what the possible values of home-state are and how they could be used. >Len -Original Message- From: Len Shelton [mailto:l...@probotix.com] Sent: Saturday, April 11, 2009 5:46 AM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] syncing two motors to one axis Thanks for the help so far. I did some studying of the manual last night and this is what I have come up with based upon your logic: loadrt and2 count=3 loadrt or2 count=2 addf and2.0 base-thread addf or2.0 base-thread net home1 parport.0.pin-10-in and2.0.in0 net home2 parport.0.pin-11-in and2.0.in1 net home1inv <= parport.0.pin-10-in-invert net home2inv <= parport.0.pin-11-in-invert net homeand2.0.out net home=> axis.1.home-sw-in net doh1a Ydiror2.0.in0 net doh1b home1invor2.0.in1 net doh1or2.0.out net doh2a Ydiror2.1.in0 net doh2b home2invor2.1.in1 net doh2or2.1.out net ystep1a Ystep and2.1.in0 net ystep1b doh1 and2.1.in1 net ystep1and2.1.out net ystep2a Ystep and2.2.in0 net ystep2b doh2 and2.2.in1 net ystep2and2.2.out net Xstep => parport.0.pin-03-out net Xdir=> parport.0.pin-02-out net ystep1 => parport.0.pin-05-out net ystep2 => parport.0.pin-07-out net ydir=> parport.0.pin-04-out parport.0.pin-06-out net Zstep => parport.0.pin-09-out net Zdir=> parport.0.pin-08-out I am unsure of some of the syntax, and this is untested. I will be back in the shop in a few hours and will be able to try it out. Do you see anything blatantly wrong with any of my code? Do I have to name every signal, particularly the ones to the inputs of the logic gates? In other words is: net home1parport.0.pin-10-in and2.0.in0 the same as: net parport.0.pin-10-in and2.0.in0 ? >Len -Original Message- From: Stephen Wille Padnos [mailto:spad...@sover.net] Sent: Friday, April 10, 2009 10:32 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] syncing two motors to one axis Len Shelton wrote: >Jon and Rob, > >You guys obviously know a lot more about the inner working of HAL than I. I >am still no closer to understanding what lines of code I need to put into my >HAL file. > >Can you please translate this simple boolean text notation... > >home_en1 = dir OR NOT home1 >home_en2 = dir OR NOT home2 >step_1 = step AND home_en1 >step_2 = step AND home_en2 >home = ( ( home1 AND home2 ) AND NOT dir ) OR ( ( home 1 OR home2 ) >AND dir ) > >...to actual HAL syntax. > > Well, I'll point you in the right direction anyway :) First off, the manual sections on HAL are quite good - you should (re) read them. I'm not sure your logic is correct. I don't believe that the home signal should depend on the DIR signal. I'm pretty sure that home should just be (home1 AND home2). If both switches are closed, then you're home regardless of which way the DIR line is pointing. Looking at your logic description, these things are apparent: 1) there are four occurrences of the word "OR" 2) there are five occurrences of the word "AND" 3) there are three occurrences of the word "NOT". Luckily, all of the signals that get inverted come from I/O (if you're using my HOME equation), which provides both a normal and inverted output to HAL, so you don't actually need any NOT functions 4) all of the logical operations are operating on exactly two items (ie, there is no "a OR b OR c") 5) This is for only one axis (phew!) 6) Changing the home equation to home=(home1 AND home2) reduces the number of gates to 2x OR, 3x AND, and zero NOT (since you can use the inverted home1 and home2 inputs) Here's how to get 3 AND "gates": loadrt and2 count=3 This will give you 3 two-input AND gates. Each one has a function which needs to be added to your base thread, before the motion controller runs. This will be a little tricky to get right, since you want to read inputs before doing the logic operations, and you want results to propagate through the logic caluclations correctly, you have to think about which "inputs" get connected to which logic elements, and the order in which they are evaluated. I'd suggest drawing this out on paper, using a grid. Start with the inputs on the left, run them towards the right, using columns with only one gate in each logic path. When you add functions to the HAL thread, start at the top left and add the first column of functions from top to bottom. The
Re: [Emc-users] syncing two motors to one axis
Thanks for the help so far. I did some studying of the manual last night and this is what I have come up with based upon your logic: loadrt and2 count=3 loadrt or2 count=2 addf and2.0 base-thread addf or2.0 base-thread net home1 parport.0.pin-10-in and2.0.in0 net home2 parport.0.pin-11-in and2.0.in1 net home1inv <= parport.0.pin-10-in-invert net home2inv <= parport.0.pin-11-in-invert net homeand2.0.out net home=> axis.1.home-sw-in net doh1a Ydiror2.0.in0 net doh1b home1invor2.0.in1 net doh1or2.0.out net doh2a Ydiror2.1.in0 net doh2b home2invor2.1.in1 net doh2or2.1.out net ystep1a Ystep and2.1.in0 net ystep1b doh1 and2.1.in1 net ystep1and2.1.out net ystep2a Ystep and2.2.in0 net ystep2b doh2 and2.2.in1 net ystep2and2.2.out net Xstep => parport.0.pin-03-out net Xdir=> parport.0.pin-02-out net ystep1 => parport.0.pin-05-out net ystep2 => parport.0.pin-07-out net ydir=> parport.0.pin-04-out parport.0.pin-06-out net Zstep => parport.0.pin-09-out net Zdir=> parport.0.pin-08-out I am unsure of some of the syntax, and this is untested. I will be back in the shop in a few hours and will be able to try it out. Do you see anything blatantly wrong with any of my code? Do I have to name every signal, particularly the ones to the inputs of the logic gates? In other words is: net home1parport.0.pin-10-in and2.0.in0 the same as: net parport.0.pin-10-in and2.0.in0 ? >Len -Original Message- From: Stephen Wille Padnos [mailto:spad...@sover.net] Sent: Friday, April 10, 2009 10:32 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] syncing two motors to one axis Len Shelton wrote: >Jon and Rob, > >You guys obviously know a lot more about the inner working of HAL than I. I >am still no closer to understanding what lines of code I need to put into my >HAL file. > >Can you please translate this simple boolean text notation... > >home_en1 = dir OR NOT home1 >home_en2 = dir OR NOT home2 >step_1 = step AND home_en1 >step_2 = step AND home_en2 >home = ( ( home1 AND home2 ) AND NOT dir ) OR ( ( home 1 OR home2 ) >AND dir ) > >...to actual HAL syntax. > > Well, I'll point you in the right direction anyway :) First off, the manual sections on HAL are quite good - you should (re) read them. I'm not sure your logic is correct. I don't believe that the home signal should depend on the DIR signal. I'm pretty sure that home should just be (home1 AND home2). If both switches are closed, then you're home regardless of which way the DIR line is pointing. Looking at your logic description, these things are apparent: 1) there are four occurrences of the word "OR" 2) there are five occurrences of the word "AND" 3) there are three occurrences of the word "NOT". Luckily, all of the signals that get inverted come from I/O (if you're using my HOME equation), which provides both a normal and inverted output to HAL, so you don't actually need any NOT functions 4) all of the logical operations are operating on exactly two items (ie, there is no "a OR b OR c") 5) This is for only one axis (phew!) 6) Changing the home equation to home=(home1 AND home2) reduces the number of gates to 2x OR, 3x AND, and zero NOT (since you can use the inverted home1 and home2 inputs) Here's how to get 3 AND "gates": loadrt and2 count=3 This will give you 3 two-input AND gates. Each one has a function which needs to be added to your base thread, before the motion controller runs. This will be a little tricky to get right, since you want to read inputs before doing the logic operations, and you want results to propagate through the logic caluclations correctly, you have to think about which "inputs" get connected to which logic elements, and the order in which they are evaluated. I'd suggest drawing this out on paper, using a grid. Start with the inputs on the left, run them towards the right, using columns with only one gate in each logic path. When you add functions to the HAL thread, start at the top left and add the first column of functions from top to bottom. Then move over one column to the right and add those functions from top to bottom. This is the logic I would use, which may make the order the functions need to run mode obvious: step1 = step AND (dir OR home1-invert) step2 = step AND (dir OR home2-invert) home = (home1 AND home2) Sorry for the long-winded and not very specific post. Hope it helps. - Steve -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
Re: [Emc-users] does anyone use synergy?
Leslie Newell wrote: > That sounds similar to VNC. The difference here is that you don't share the display. So, you can move your mouse from your windows desktop/monitor to your emc2 monitor. The keyboard will switch focus from windows to the emc2 system. Dirk -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] does anyone use synergy?
That sounds similar to VNC. VNC has been around for quite some time and allows you to have the desktop of one computer as a window on another computer. I use it regularly to work with my networkl server which has no keyboard, mouse or monitor of it's own. Les bigengineer wrote: > I found it by accident yesterday: > http://synergy2.sourceforge.net/ > With it you can share 1 mouse and keyboard with several computers, works > on windows, OSX and linux. I just installed it and although it isn't > really responsive, if you have to switch a lot between a desktop and the > emc2 system it might be useful. > > Unfortunately development seems to have stalled, but there is a fork: > http://code.google.com/p/synergy-plus/ > > I have installed synergy2. This is already available on ubuntu. Just > apt-get install synergy. > > Dirk > -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users