Re: [Emc-users] EMC2 typed versus scripted commands
Well, it sounds like I will be pulling the computer back up to the house to get the newer revision. I was just saying it was disabled because of the commented out lines. Thanks for the help from both of you. (And the fellows on IRC) BTW, I checked in on IRC several times last night, and my computer said I was the only one on. Is this true, or did I have another problem? That is unlikely. Even if no-one is talking at the moment, there are at least 15-20 people in the channel at all times. Regards, Alex -- 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] EMC2 typed versus scripted commands
Lurk in IRC and just put a question in and wait usually an answer come, some read the scroll back or log to check for existing questions. IRC and mailing lists are not instant. Dave Caroline -- 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] EMC2 typed versus scripted commands
Well, it sounds like I will be pulling the computer back up to the house to get the newer revision. I was just saying it was disabled because of the commented out lines. Thanks for the help from both of you. (And the fellows on IRC) BTW, I checked in on IRC several times last night, and my computer said I was the only one on. Is this true, or did I have another problem? Date: Tue, 14 Apr 2009 19:34:22 -0700 From: p...@mesanet.com To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] EMC2 typed versus scripted commands On Tue, 14 Apr 2009, Sebastian Kuzminsky wrote: Date: Tue, 14 Apr 2009 20:16:20 -0600 From: Sebastian Kuzminsky s...@highlab.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users] EMC2 typed versus scripted commands Peter C. Wallace wrote: On Wed, 15 Apr 2009, James Reed wrote: I just checked. Watchdog is disabled (commented out) The part that sets the watchdog timeout? Thats what needs to be commented out to disable the watchdog This is unfortunately not true. There is currently no way to disable the watchdog via the hostmot2 driver, so it's always on and biting people who dont pet it. Sorry! I was just going on my understanding of the hardware, if the timeout register is not written, it will never bite (I guess the driver writes it with something even if no timeout init is done) Compounding this problem, in the sample hostmot2 config distributed with 2.2.8 the watchdog stuff is commented out, which means it always bites right away. I dont understand how this ever works for you. Maybe i'm missing something here. The easiest fix might be to upgrade to 2.3.0 beta2, which has a hostmot2 7i43 config that doesnt bite people. If you want to stay with 2.2.8, uncomment (remove the # at the beginning) the line of m7i43_th.hal that says this: #addf hm2_7i43.0.pet_watchdog servo-thread #enable if fw supported -- Sebastian Kuzminsky We need numbers, not adjectives. -- David MacKay http://www.withouthotair.com/ -- 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 Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- 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 _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 -- 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] EMC2 typed versus scripted commands
-Original Message- From: James Reed [mailto:jsr...@hotmail.com] Sent: Wednesday, April 15, 2009 5:25 AM To: EMC USERS LIST LIST Subject: Re: [Emc-users] EMC2 typed versus scripted commands BTW, I checked in on IRC several times last night, and my computer said I was the only one on. Is this true, or did I have another problem? Most likely you connected to the wrong channel or host by mistake. IRC software will creat a channel with only you on it when you misspell the channel name. Steve Stallings -- 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] converting parport to 5i20 config - joint following error
I started converting my EMC2 mill from parport to the Mesa 5i20 hostmot2 stepper and got stuck with a problem. The parport configuration works fine but the hm2_stepper config is having problems. I keep getting joint xxx following errors. I checked the docs but cannot explain this: ferror, min_ferror, max_velocity and mac_acceleration are the same in both cases and - although not necessary - I added the base_period to the hostmot2 configs. A second problem (maybe related ?) is seen during a manual jog. When an axis stops it keeps humming and the digital readout flips between the current position (e.g 2.001) and adjacent positions (e.g. 2.002). This was all done on 2.3.0~beta2 with the hm2_stepper config files from that release. Any ideas? All config files are available at http://www.myvoice.nl/freesmachine/configs/ Regards, Rob -- 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] converting parport to 5i20 config - joint following error
Rob Jansen wrote: I started converting my EMC2 mill from parport to the Mesa 5i20 hostmot2 stepper and got stuck with a problem. Another brave hm2 testing volunteer! Welcome! I keep getting joint xxx following errors. I checked the docs but cannot explain this: ferror, min_ferror, max_velocity and mac_acceleration are the same in both cases and - although not necessary One problem with the configs you linked below is that [TRAJ]MAX_LINEAR_VELOCITY is greater than [AXIS_?]MAX_VELOCITY. That means the hm2 stepgen will fall behind where the trajectory planner wants it to be, leading to following errors if it gets too bad. There's also no [TRAJ] acceleration limits, i'm not sure what it will do in that case. Oops, i see that the hm2 sample configs has the vel and accel settings sort of messed up, i'll fix that for the release. - I added the base_period to the hostmot2 configs. This config has no base thread, so it needs no base period (but it won't hurt to have one). With Hostmot2, the base thread is running in the FPGA. A second problem (maybe related ?) is seen during a manual jog. When an axis stops it keeps humming and the digital readout flips between the current position (e.g 2.001) and adjacent positions (e.g. 2.002). This was all done on 2.3.0~beta2 with the hm2_stepper config files from that release. The humming and dithering across the setpoint is a known bug in 2.3.0~beta2, it's been fixed in CVS and will be in the next release. -- Sebastian Kuzminsky We need numbers, not adjectives. -- David MacKay http://www.withouthotair.com/ -- 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] Lathe Threading Issues
Kirk Wallace wrote: On Tue, 2009-04-14 at 20:57 -0500, Jon Elson wrote: ... snip problem, but I made the final fix at the 2007 EMC-Fest, and the driver fixes were in the July 2007 release of EMC2. So, I wanted to see if anyone else was seeing similar problems. Also, I don't see why the spindle sync would care what thread pitch he is cutting! That makes no sense to me at all. Jon Should I try a test on my machine? If so what would it look like? There is a test file, threading.ngc, in the /usr/share/emc/ncfiles directory. (There may be another version of this file that is MUCH shorter, about 15 lines. But, I have been working with the longer one in the /usr/share dir.) Anyway, in the longer one, about halfway down, is #4=0.05 (thread pitch) which sets up for 20 TPI. I ran it like that first, then changed the value to .08333 to get 12 TPI. You can also twiddle with the lead-in, lead-out scheme and the depth of cut. I left it with a very small increment (#2=) so I'd get a lot of passes, to see if anything went wrong. I had no failures here. I'd greatly appreciate your trying it there, just to see if there is some random problem. I cannot understand how the spindle sync would work prefectly for hundreds of parts at ~20 TPI and fail on roughly 50% (I think he said that in an earlier message) at 12 TPI. The spindle sync function has no way of knowing what the thread pitch will be! Thanks, Jon -- 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] converting parport to 5i20 config - joint following error
Sebastian, Another brave hm2 testing volunteer! Welcome! Yep, slow system, problems with parport and not enough I/O made me buy two 5i20 cards (and a 7i43) card. One 5i20 for the main system, one as a backup/second system at home and the 7i43 to play around with and try some FPGA programming. I set up a 'new' system with EMC2 (Ubuntu 8.0.4 LTS release) from the live CD, updated this to 2.3.0~beta2 and started to play around with it. Both with my existing parport and with the new hm2 config. In my situation (milling a curved surface with a radius around 30 cm in all 1mm long line pieces) the hm2 config is 10% faster than the parport one. One problem with the configs you linked below is that [TRAJ]MAX_LINEAR_VELOCITY is greater than [AXIS_?]MAX_VELOCITY. That means the hm2 stepgen will fall behind where the trajectory planner wants it to be, leading to following errors if it gets too bad. This did the trick. I changed/added the [TRAJ] parameters and now even tort.ngc works almost perfectly! Almost ... the first time I start EMC it still gives a joint following error on axis 0 but if I quit and restart it's OK. There is still a lot to do in cleaning up the configs and making sure that all my other I/O gets in there but this is a promising start. The humming and dithering across the setpoint is a known bug in 2.3.0~beta2, it's been fixed in CVS and will be in the next release. I could not resist; 30 to 45 minutes of downloading and compiling and I have the trunk running. Humming and dithering is fixed. Still works almost perfect. One very small thing is that the splash screen reports 2.4.0~pre and the title bar of axis 2.3.0~beta1 but I think I can live with that ;-) Thanks, Rob -- 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] EMC2 typed versus scripted commands
How big is 2.3.0 Beta 2? Can I load it on a USB stick and transfer it to the computer in the shop (miles away)? From: jsr...@hotmail.com To: emc-users@lists.sourceforge.net Date: Wed, 15 Apr 2009 09:24:57 + Subject: Re: [Emc-users] EMC2 typed versus scripted commands Well, it sounds like I will be pulling the computer back up to the house to get the newer revision. I was just saying it was disabled because of the commented out lines. Thanks for the help from both of you. (And the fellows on IRC) BTW, I checked in on IRC several times last night, and my computer said I was the only one on. Is this true, or did I have another problem? Date: Tue, 14 Apr 2009 19:34:22 -0700 From: p...@mesanet.com To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] EMC2 typed versus scripted commands On Tue, 14 Apr 2009, Sebastian Kuzminsky wrote: Date: Tue, 14 Apr 2009 20:16:20 -0600 From: Sebastian Kuzminsky s...@highlab.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users] EMC2 typed versus scripted commands Peter C. Wallace wrote: On Wed, 15 Apr 2009, James Reed wrote: I just checked. Watchdog is disabled (commented out) The part that sets the watchdog timeout? Thats what needs to be commented out to disable the watchdog This is unfortunately not true. There is currently no way to disable the watchdog via the hostmot2 driver, so it's always on and biting people who dont pet it. Sorry! I was just going on my understanding of the hardware, if the timeout register is not written, it will never bite (I guess the driver writes it with something even if no timeout init is done) Compounding this problem, in the sample hostmot2 config distributed with 2.2.8 the watchdog stuff is commented out, which means it always bites right away. I dont understand how this ever works for you. Maybe i'm missing something here. The easiest fix might be to upgrade to 2.3.0 beta2, which has a hostmot2 7i43 config that doesnt bite people. If you want to stay with 2.2.8, uncomment (remove the # at the beginning) the line of m7i43_th.hal that says this: #addf hm2_7i43.0.pet_watchdog servo-thread #enable if fw supported -- Sebastian Kuzminsky We need numbers, not adjectives. -- David MacKay http://www.withouthotair.com/ -- 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 Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- 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 _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 -- 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 _ Rediscover Hotmail®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009 -- 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] My plans are to use a SheevaPlug to power EMC 20090414 99suspense
Please let me know if I have miscalculated in drawing up my plans. The SheevaPlug supports USB, i2c and serial so this is how I will interface to a stepper controller board. The SheevaPlug is advertised to cost $99 in onesies. http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp It has a 1.2Ghz processor. Since the ShivaPlug supports 1G Ethernet, I planned to send commands to it via ethernet. My next step is to select a suitable stepper controller board. I have some stepper motors already and a cheap mill from Harbor Freight. I will post some photos at http://oh-god.com:5080/dir/emc on Friday. Best Gus Denver, CO -- 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] EMC2 typed versus scripted commands
On Wed, Apr 15, 2009 at 08:20:24PM +, James Reed wrote: How big is 2.3.0 Beta 2? Can I load it on a USB stick and transfer it to the computer in the shop (miles away)? Yes, you can fit the required files on all but the smallest USB sticks. See the Installing off-line section of http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingTo2.3 for a list of files to download. Jeff -- 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] EMC2 typed versus scripted commands
James Reed wrote: How big is 2.3.0 Beta 2? Can I load it on a USB stick and transfer it to the computer in the shop (miles away)? The package is less than 20 MB, so it should fit on a USB stick. You said you're on 2.2.8, did you install from the 8.04 LiveCD? If so you can grab the 2.3.0~beta2 packages here: http://www.linuxcnc.org/hardy/dists/hardy/emc2.3/ I'm not sure what package dependencies have changed from 2.2.8 to 2.3.0~beta2, you might need some additional packages. -- Sebastian Kuzminsky We need numbers, not adjectives. -- David MacKay http://www.withouthotair.com/ -- 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] [OT] Brushless Hall Sensors
Do the Hall commutation sensors, on BLDC motors, output analog or digital signals? Is there overlap in the timing or is there possibly a gap between one Hall output and the next? -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA -- 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] EMC2 typed versus scripted commands
emc2_2.3.0~beta2_i38.. 22-Mar-2009 11:57 15M So yes, you should be able to.http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingTo2.3Regards,Alex- Original Message - From: James Reed jsr...@hotmail.com To: EMC USERS LIST LIST emc-users@lists.sourceforge.net Sent: Wednesday, April 15, 2009 11:20 PM Subject: Re: [Emc-users] EMC2 typed versus scripted commands How big is 2.3.0 Beta 2? Can I load it on a USB stick and transfer it to the computer in the shop (miles away)? From: jsr...@hotmail.com To: emc-users@lists.sourceforge.net Date: Wed, 15 Apr 2009 09:24:57 + Subject: Re: [Emc-users] EMC2 typed versus scripted commands Well, it sounds like I will be pulling the computer back up to the house to get the newer revision. I was just saying it was disabled because of the commented out lines. Thanks for the help from both of you. (And the fellows on IRC) BTW, I checked in on IRC several times last night, and my computer said I was the only one on. Is this true, or did I have another problem? Date: Tue, 14 Apr 2009 19:34:22 -0700 From: p...@mesanet.com To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] EMC2 typed versus scripted commands -- 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] My plans are to use a SheevaPlug to power EMC 20090414 99suspense
As far as I know, rtai (the real-time kernel that emc2 uses on x86 ubuntu systems) does not currently support the Sheeva ARM CPU. Before emc2 can run on a system to control hardware, you have to either port a supported rtos to it, or port rtapi to an rtos that is available for that system. It is not impossible, but it will require a great deal of effort from a programmer familiar with RTOS and low-level operating system details. Jeff -- 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] [OT] Brushless Hall Sensors
On Wed, 2009-04-15 at 13:32 -0700, Kirk Wallace wrote: Do the Hall commutation sensors, on BLDC motors, output analog or digital signals? Is there overlap in the timing or is there possibly a gap between one Hall output and the next? Oops, I think page 9 answers my question: http://www.allegromicro.com/en/Products/Part_Numbers/3932/3932.pdf which is digital and overlap. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA -- 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] [OT] Brushless Hall Sensors
On Wed, 2009-04-15 at 13:40 -0700, Kirk Wallace wrote: On Wed, 2009-04-15 at 13:32 -0700, Kirk Wallace wrote: Do the Hall commutation sensors, on BLDC motors, output analog or digital signals? Is there overlap in the timing or is there possibly a gap between one Hall output and the next? Oops, I think page 9 answers my question: http://www.allegromicro.com/en/Products/Part_Numbers/3932/3932.pdf which is digital and overlap. Also page two here: http://ww1.microchip.com/downloads/en/AppNotes/00857a.pdf -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] NAMES, this weekend (4/18-19, 2009)
This is a reminder that the North American Model Engineering Society Expo (NAMES) is this upcoming weekend (4/18-19, 2009) in Toledo, Ohio. This is a fun show--many model engineers with some very impressive model engines and devices of all kinds. Also new and used tooling, machine tools (manual and CNC), related books, and materials. And free seminars (no CNC seminars this year?). http://www.modelengineeringsoc.com/expo.htm Some EMC supporters will have a booth (B-15, in the back) where we'll be handing out 200 Live-CDs with EMC2, demonstrating EMC2 on a mill, handing out flyers, and in general making folks aware of this excellent software. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2AtNAMES Jon Elson and Steve Stallings will have booths nearby. If you're coming to the show, we're still looking for volunteers to be at the booth. An hour, even half an hour would be helpful and probably even fun. Send me an email. But, it looks like we'll have a cellular internet connection there, so another way to help would be to monitor the EMC IRC channel during Saturday and Sunday (9-6 and 9-4)--if there are questions people have that folks in the booth can't answer, we may try to use IRC for quick answers. (If you'd like to volunteer your phone number as a backup, you can email me personally.) Many thanks to Marty (CDs), Greg (photos), Wayne (banner graphics), Rab (Chips graphic), and Bob (who will be driving my machines down). --Dale -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] compile emc2 in Glade or eclipse
I am a beginner in linux programming. Please tell me how to use the compiler such as Glade or Eclipse to compile emc2 source. -- ThS. Pham Duc An Bo mon GCVL DCCN - Khoa Co Khi - Truong DHBK Ha Noi - Phong 226 - C1 - DHBK Ha Noi - So 1 Dai Co Viet Tel: 04. 38692007 Mobile 0985813097 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ 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
Gentlemen, This works! I have had it running for the past week, but I was hoping to have time to get the rest of the limit/home switches installed before I posted this. hal # Generated by stepconf at Thu Apr 9 23:04:57 2009 # If you make changes to this file, they will be # overwritten when you run stepconf again loadrt trivkins loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD traj_period_nsec=[EMCMOT]SERVO_PERIOD key=[EMCMOT]SHMEM_KEY num_joints=[TRAJ]AXES loadrt probe_parport loadrt hal_parport cfg=0x378 setp parport.0.reset-time 5000 loadrt stepgen step_type=0,0,0 loadrt and2 count=3 loadrt or2 count=3 loadrt not count=1 addf and2.0 base-thread addf and2.1 base-thread addf and2.2 base-thread addf or2.0 base-thread addf or2.1 base-thread addf or2.2 base-thread addf not.0 base-thread addf parport.0.read base-thread addf stepgen.make-pulses base-thread addf parport.0.write base-thread addf parport.0.reset base-thread addf stepgen.capture-position servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf stepgen.update-freq servo-thread setp stepgen.0.position-scale [AXIS_0]SCALE setp stepgen.0.steplen 1 setp stepgen.0.stepspace 0 setp stepgen.0.dirhold 35000 setp stepgen.0.dirsetup 35000 setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL net xpos-cmd axis.0.motor-pos-cmd = stepgen.0.position-cmd net xpos-fb stepgen.0.position-fb = axis.0.motor-pos-fb net xstep = stepgen.0.step net xdir = stepgen.0.dir net xenable axis.0.amp-enable-out = stepgen.0.enable setp stepgen.1.position-scale [AXIS_1]SCALE setp stepgen.1.steplen 1 setp stepgen.1.stepspace 0 setp stepgen.1.dirhold 35000 setp stepgen.1.dirsetup 35000 setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL net ypos-cmd axis.1.motor-pos-cmd = stepgen.1.position-cmd net ypos-fb stepgen.1.position-fb = axis.1.motor-pos-fb net ystep = stepgen.1.step net ydir = stepgen.1.dir net yenable axis.1.amp-enable-out = stepgen.1.enable setp stepgen.2.position-scale [AXIS_2]SCALE setp stepgen.2.steplen 1 setp stepgen.2.stepspace 0 setp stepgen.2.dirhold 35000 setp stepgen.2.dirsetup 35000 setp stepgen.2.maxaccel [AXIS_2]STEPGEN_MAXACCEL net zpos-cmd axis.2.motor-pos-cmd = stepgen.2.position-cmd net zpos-fb stepgen.2.position-fb = axis.2.motor-pos-fb net zstep = stepgen.2.step net zdir = stepgen.2.dir net zenable axis.2.amp-enable-out = stepgen.2.enable setp parport.0.pin-02-out-reset 1 setp parport.0.pin-03-out-invert 1 setp parport.0.pin-04-out-reset 1 setp parport.0.pin-06-out-reset 1 setp parport.0.pin-08-out-reset 1 setp parport.0.pin-09-out-invert 1 net home-y1 = parport.0.pin-15-in net home-y2 = parport.0.pin-10-in net home-y1 and2.0.in0 net home-y2 and2.0.in1 net home-y and2.0.out net home-y = axis.1.home-sw-in net home-y1-inv = parport.0.pin-15-in-not net home-y2-inv = parport.0.pin-10-in-not net ydirnot.0.in net ydir-notnot.0.out net ydir-notor2.0.in0 net home-y1-inv or2.0.in1 net doh1or2.0.out net ydir-notor2.1.in1 net home-y2-inv or2.1.in0 net doh2or2.1.out net ystep and2.1.in0 net doh1and2.1.in1 net ystep1 and2.1.out net ystep and2.2.in0 net doh2and2.2.in1 net ystep2 and2.2.out net xstep = parport.0.pin-04-out net xdir= parport.0.pin-05-out net ystep1 = parport.0.pin-02-out net ystep2 = parport.0.pin-08-out net ydir= parport.0.pin-03-out net ydir= parport.0.pin-09-out net zstep = parport.0.pin-06-out net zdir= parport.0.pin-07-out net home-y1 or2.2.in0 net home-y1 or2.2.in1 net neg-limit-y or2.2.out net neg-limit-y = axis.1.neg-lim-sw-in #net home-y1 = axis.1.pos-lim-sw-in #net home-y2 = axis.1.pos-lim-sw-in net estop-ext = parport.0.pin-13-in-not #net estop-out = iocontrol.0.user-enable-out #net estop-out = iocontrol.0.emc-enable-in net estop-out = iocontrol.0.user-enable-out net estop-ext = iocontrol.0.emc-enable-in loadusr -W hal_manualtoolchange net tool-change iocontrol.0.tool-change = hal_manualtoolchange.change net tool-changed iocontrol.0.tool-changed = hal_manualtoolchange.changed net tool-number iocontrol.0.tool-prep-number = hal_manualtoolchange.number net tool-prepare-loopback iocontrol.0.tool-prepare = iocontrol.0.tool-prepared /hal After taking the time to actually study the HAL manual, I have to say that HAL ROCKS! I had to add an extra OR to the logic you guys suggested because my machine runs in the negative direction with a positive direction signal on the tandem axis. It's really neat to see it in action with an intentionally skewed gantry. I'd like to give back by contributing this to the wiki. Can someone do that, or can I get access to do that? Thanks guys for your help. Len -Original Message- From: John Thornton [mailto:jet1...@semo.net] Sent: Sunday, April 12, 2009 6:35 AM To: Enhanced Machine Controller EEMC Subject: Re:
Re: [Emc-users] NAMES, this weekend (4/18-19, 2009)
And picture boards are _nearly_ complete - just need to make the back leg so they can freely stand on their own if needed. Check 'em out, after the show I'll coordinate with Alex Joni getting the boards posted onto the linuxcnc website, and you'll be able to see the whole layouts clearly and one by one. Here's the link: http://www.distinctperspectives.com/emc2/DSC_3082.JPG Dale Grover wrote: SNIP Some EMC supporters will have a booth (B-15, in the back) where we'll be handing out 200 Live-CDs with EMC2, demonstrating EMC2 on a mill, handing out flyers, and in general making folks aware of this excellent software. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2AtNAMES Jon Elson and Steve Stallings will have booths nearby. If you're coming to the show, we're still looking for volunteers to be at the booth. An hour, even half an hour would be helpful and probably even fun. Send me an email. Please if you're there and aren't running your own booth, please consider taking a short shift at the booth (tell the wife and kids they can go to the mall that's a 15min drive away and spend some money :--) ). As of the last time Dale and I corresponded I was the only other worker and can really only manage one shift a day due to my fibromyalgia. But, it looks like we'll have a cellular internet connection there, so another way to help would be to monitor the EMC IRC channel during Saturday and Sunday (9-6 and 9-4)--if there are questions people have that folks in the booth can't answer, we may try to use IRC for quick answers. (If you'd like to volunteer your phone number as a backup, you can email me personally.) Many thanks to Marty (CDs), Greg (photos), Wayne (banner graphics), No need for thanks. It's my chance to give back to the community (though donating cash to the project would probably be better because all I'm doing is advertising more and making more work for them...). The real thanks go to (aside from the developers who've made this all possible) all the people who graciously donated their pictures and machine information for use in assembling very descriptive representations of their machines and the work the do on them. I know it's cheesy but I will probably bring a turner's cube (not internally separated though) as a display piece. Rab (Chips graphic), and Bob (who will be driving my machines down). --Dale Quick question Dale - Will there be a laptop or other machine available for videos to be played back on? A number of the people who donated also sent me video files. I can do a quick stitch of them which we could have running in a loop at the booth. I'd offer my laptop but I can't be without it for longer than my already volunteered shift (call me greedy/needy - but actually I'll have some real work I need to do this weekend). -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ 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
Oops, I meant that I had to add a NOT because of the inverted direction signal... Also, beware - there is a line with two nets in it that are actually on two separate lines. Not sure why my text editor did that - looked fine when I hit send. Len -Original Message- From: Len Shelton [mailto:l...@probotix.com] Sent: Wednesday, April 15, 2009 10:03 PM To: 'Enhanced Machine Controller (EMC)' Cc: 'Rob Tilton' Subject: Re: [Emc-users] syncing two motors to one axis Gentlemen, This works! I have had it running for the past week, but I was hoping to have time to get the rest of the limit/home switches installed before I posted this. hal # Generated by stepconf at Thu Apr 9 23:04:57 2009 # If you make changes to this file, they will be # overwritten when you run stepconf again loadrt trivkins loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD traj_period_nsec=[EMCMOT]SERVO_PERIOD key=[EMCMOT]SHMEM_KEY num_joints=[TRAJ]AXES loadrt probe_parport loadrt hal_parport cfg=0x378 setp parport.0.reset-time 5000 loadrt stepgen step_type=0,0,0 loadrt and2 count=3 loadrt or2 count=3 loadrt not count=1 addf and2.0 base-thread addf and2.1 base-thread addf and2.2 base-thread addf or2.0 base-thread addf or2.1 base-thread addf or2.2 base-thread addf not.0 base-thread addf parport.0.read base-thread addf stepgen.make-pulses base-thread addf parport.0.write base-thread addf parport.0.reset base-thread addf stepgen.capture-position servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf stepgen.update-freq servo-thread setp stepgen.0.position-scale [AXIS_0]SCALE setp stepgen.0.steplen 1 setp stepgen.0.stepspace 0 setp stepgen.0.dirhold 35000 setp stepgen.0.dirsetup 35000 setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL net xpos-cmd axis.0.motor-pos-cmd = stepgen.0.position-cmd net xpos-fb stepgen.0.position-fb = axis.0.motor-pos-fb net xstep = stepgen.0.step net xdir = stepgen.0.dir net xenable axis.0.amp-enable-out = stepgen.0.enable setp stepgen.1.position-scale [AXIS_1]SCALE setp stepgen.1.steplen 1 setp stepgen.1.stepspace 0 setp stepgen.1.dirhold 35000 setp stepgen.1.dirsetup 35000 setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL net ypos-cmd axis.1.motor-pos-cmd = stepgen.1.position-cmd net ypos-fb stepgen.1.position-fb = axis.1.motor-pos-fb net ystep = stepgen.1.step net ydir = stepgen.1.dir net yenable axis.1.amp-enable-out = stepgen.1.enable setp stepgen.2.position-scale [AXIS_2]SCALE setp stepgen.2.steplen 1 setp stepgen.2.stepspace 0 setp stepgen.2.dirhold 35000 setp stepgen.2.dirsetup 35000 setp stepgen.2.maxaccel [AXIS_2]STEPGEN_MAXACCEL net zpos-cmd axis.2.motor-pos-cmd = stepgen.2.position-cmd net zpos-fb stepgen.2.position-fb = axis.2.motor-pos-fb net zstep = stepgen.2.step net zdir = stepgen.2.dir net zenable axis.2.amp-enable-out = stepgen.2.enable setp parport.0.pin-02-out-reset 1 setp parport.0.pin-03-out-invert 1 setp parport.0.pin-04-out-reset 1 setp parport.0.pin-06-out-reset 1 setp parport.0.pin-08-out-reset 1 setp parport.0.pin-09-out-invert 1 net home-y1 = parport.0.pin-15-in net home-y2 = parport.0.pin-10-in net home-y1 and2.0.in0 net home-y2 and2.0.in1 net home-y and2.0.out net home-y = axis.1.home-sw-in net home-y1-inv = parport.0.pin-15-in-not net home-y2-inv = parport.0.pin-10-in-not net ydirnot.0.in net ydir-notnot.0.out net ydir-notor2.0.in0 net home-y1-inv or2.0.in1 net doh1or2.0.out net ydir-notor2.1.in1 net home-y2-inv or2.1.in0 net doh2or2.1.out net ystep and2.1.in0 net doh1and2.1.in1 net ystep1 and2.1.out net ystep and2.2.in0 net doh2and2.2.in1 net ystep2 and2.2.out net xstep = parport.0.pin-04-out net xdir= parport.0.pin-05-out net ystep1 = parport.0.pin-02-out net ystep2 = parport.0.pin-08-out net ydir= parport.0.pin-03-out net ydir= parport.0.pin-09-out net zstep = parport.0.pin-06-out net zdir= parport.0.pin-07-out net home-y1 or2.2.in0 net home-y1 or2.2.in1 net neg-limit-y or2.2.out net neg-limit-y = axis.1.neg-lim-sw-in #net home-y1 = axis.1.pos-lim-sw-in #net home-y2 = axis.1.pos-lim-sw-in net estop-ext = parport.0.pin-13-in-not #net estop-out = iocontrol.0.user-enable-out #net estop-out = iocontrol.0.emc-enable-in net estop-out = iocontrol.0.user-enable-out net estop-ext = iocontrol.0.emc-enable-in loadusr -W hal_manualtoolchange net tool-change iocontrol.0.tool-change = hal_manualtoolchange.change net tool-changed iocontrol.0.tool-changed = hal_manualtoolchange.changed net tool-number iocontrol.0.tool-prep-number = hal_manualtoolchange.number net tool-prepare-loopback iocontrol.0.tool-prepare = iocontrol.0.tool-prepared /hal After taking the time to actually study the HAL manual, I have to say that HAL ROCKS! I had to add an extra OR to the logic you guys suggested because my
Re: [Emc-users] syncing two motors to one axis
On Wed, Apr 15, 2009 at 10:13:12PM -0600, Len Shelton wrote: After taking the time to actually study the HAL manual, I have to say that HAL ROCKS! It's really neat to see it in action with an intentionally skewed gantry. Can you make a video of this somehow? I would love to see it! I'd like to give back by contributing this to the wiki. Can someone do that, or can I get access to do that? Anyone can edit the wiki - the instructions for editing are here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BasicSteps Chris -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] [OT] Brushless Hall Sensors
Kirk Wallace wrote: Do the Hall commutation sensors, on BLDC motors, output analog or digital signals? Is there overlap in the timing or is there possibly a gap between one Hall output and the next? Generally it is supposed to be a digital signal, but on motors that use bare Hall sensors (rather than really using some sort of encoder) then there may be a less digital nature to them. With 3 Hall signals, there are 8 possible states. The only states consiered invalid are all high, or all low. The way they work, generally, these states would never exist, so it will always have either 1 or 2 signals high, and only one should ever be changing at a time. Jon -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ 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
On Wed, 2009-04-15 at 22:03 -0600, Len Shelton wrote: Gentlemen, This works! I have had it running for the past week, but I was hoping to have time to get the rest of the limit/home switches installed before I posted this. Congratulations Len. I'm glad you persevered. I'm looking forward to pictures or a video. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] [OT] Alegro Driver
Is anyone familiar with using the Alegro A3932 or A3938 chip for a BLDC driver? http://www.allegromicro.com/en/Products/Part_Numbers/3938/3938.pdf http://www.allegromicro.com/en/Products/Part_Numbers/3932/3932.pdf -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users