Re: [Emc-users] Gcode Newbie Question - repetitive part making
On Mon, Dec 15, 2008 at 11:05:08PM -0500, BRIAN GLACKIN wrote: If I wanted to do multiples of a more complex part, could I simply do a coordinate shift in the O100 subroutine, execute lines of code, return to the global coordinate system and end that subroutine? It should reduce the number of passed variables for each of the subroutines. Yes, you could. For this purpose I'd use the G54 fixture offset (settable with the axis touch off button or MDI G10 L2 P1 ...) to set the corner of the usable area as X0 Y0, and then set a G92 coordinate system offset before making each part. (I'm sure there are other ways you could do this, for instance by using the G54 fixture offset for the global system and the G55 fixture offset for the this part system) I modified the original program to do this. Now the O100 sub can assume that X0Y0 is the lower left corner of this part, and is simplified accordingly. You could further simplify by coding the depth, retract, and feeds directly in the O100 sub instead of passing them through all the levels of subroutine. (- CUT HERE --) O100 sub (square [x0] [y0] [z0] [zr] [f1] [f2]) (cut a 1x1 square) (#1 = z0 = depth of cut) (#2 = zr = retract after cut) (#3 = f1 = feed to cutting depth) (#4 = f2 = feed for square) (assumes already at safety height) G0 X0 Y0 G1 Z#1 F#3 G1 X1 F#4 G1 Y1 G1 X0 G1 Y0 G0 Z#2 O100 endsub O200 sub (l2r [x0] [y0] [dx] [count] [z0] [zr] [f1] [f2]) (#1 = x0 = least x coordinate) (#2 = y0 = common y coordinate for all squares) (#3 = dx = increment between x coordinates) (#4 = count = number of squares in row) (#5 = z0 = depth of cut) (#6 = zr = retract after cut) (#7 = f1 = feed to cutting depth) (#8 = f2 = feed for square) (cut squares from left to right at constant Y) (#9 = temporary for count of squares in row) #9=0 O210 while [#9 LT #4] G0 X[#1+#9*#3] Y#2 G92 X0 Y0 O100 call [#5] [#6] [#7] [#8] G92.1 #9=[#9+1] O210 endwhile O200 endsub O300 sub (r2l [x0] [y0] [dx] [count] [z0] [zr] [f1] [f2]) (parameters as for O200 sub) (cut squares from right to left at constant Y) #9=[#4-1] O310 while [#9 GE 0] G0 X[#1+#9*#3] Y#2 G92 X0 Y0 O100 call [#5] [#6] [#7] [#8] G92.1 #9=[#9-1] O310 endwhile O300 endsub O400 sub (squares [x0] [y0] [dx] [dy] [xcount] [ycount] [z0] [zr] [f1] [f2]) (#1 = x0 = least x coordinate) (#2 = y0 = least y coordinate) (#3 = dx = increment between x coordinates) (#4 = dy = increment between y coordinates) (#5 = xcount = number of squares in row) (#6 = ycount = number of rows) (#7 = z0 = depth of cut) (#8 = zr = retract after cut) (#9 = f1 = feed to cutting depth) (#10 = f2 = feed for square) (#11 = temporary for count of rows) #11=0 O410 while [#11 LE #6] O420 if [[#11 MOD 2] EQ 0] O200 call [#1] [#2+#11*#4] [#3] [#5] [#7] [#8] [#9] [#10] O420 else O300 call [#1] [#2+#11*#4] [#3] [#5] [#7] [#8] [#9] [#10] O420 endif #11=[#11+1] O410 endwhile O400 endsub G92.1 G20 M3 S1000 O400 call [0] [0] [1.5] [1.5] [4] [5] [-1] [1] [12] [30] M2 (- CUT HERE --) -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with my spindle encoder?
On Tue, Dec 16, 2008 at 05:57:06AM +, Tom wrote: Sebastian, My machine control computer is not networked and I only have a USB thumbdrive to transfer files. I am going to have to either rip it out of the machine to upgrade it, or jump through hoops to install the build essentials, then recompile ver. 2.2.8 from the source package. Grr Not true. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?InstallingUpdates -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Gcode Newbie Question - repetitive part making
Jim Register wrote: BRIAN GLACKIN wrote: it won't be real quick, but you could order that as a back issue. Jon Jon, Is it fair to say that the investment in this publication is worthwhile? If so, I am not opposed to giving it a try after the 1st of the year. Brian, Village Press usually has a booth at Cabin Fever Expo - they might have a copy of that particular issue. Cabin Fever is Jan 17 18 in York, Pa. http://www.cabinfeverexpo.com/ It's a multi-part article, spread over several issues during 2008. -- Sebastian Kuzminsky Okay, people. Now is the time to start discussing the rules of war for autonomous robots. Now, when it's still theoretical. -- Bruce Schneier -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Changes to hostmot2 in 2.2.8
Eric H. Johnson wrote: Was there any significant change between 2.2.7 and 2.2.8 for the hostmot2 drivers. I just rebuilt a box so I could test away from the machine, and installed from the 2.2.8 binaries. I then ported my working 2.2.7 configurations over to the new box. On loadrt hostmot2, or loadrt hm2_5i20 I am getting an insmod failed. I can pastebin the output from dmesg, but all I am really asking is if there was any change in syntax, paths or file names between the two versions? There should not have been any changes between 2.2.7 and 2.2.8 that required config changes or that would cause a load failure. Please pastebin the dmesg output. -- Sebastian Kuzminsky Okay, people. Now is the time to start discussing the rules of war for autonomous robots. Now, when it's still theoretical. -- Bruce Schneier -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Changes to hostmot2 in 2.2.8
Eric H. Johnson wrote: Was there any significant change between 2.2.7 and 2.2.8 for the hostmot2 drivers. I just rebuilt a box so I could test away from the machine, and installed from the 2.2.8 binaries. I then ported my working 2.2.7 configurations over to the new box. On loadrt hostmot2, or loadrt hm2_5i20 I am getting an insmod failed. I can pastebin the output from dmesg, but all I am really asking is if there was any change in syntax, paths or file names between the two versions? I just reread this... Does your new test computer have a 5i20 card in it? If not, the driver won't load. Or, more correctly, the driver will load but wont export any HAL objects until you hot-plug an AnyIO board. Please make sure your hardware supports hot-plugging before attempting this. ;-) -- Sebastian Kuzminsky Okay, people. Now is the time to start discussing the rules of war for autonomous robots. Now, when it's still theoretical. -- Bruce Schneier -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample, and same error than using EMC 2.2.6 + 7i43 + Ted's sample.... What now?
How did the DOS testing turn out? OK... sorry for the delay, but my work is killing me. Finaly i managed (lack of time not brain) to burn a DOS start cd and put there the files to make the test. When sc7i43p svst4_4b.bit 378, everything went fine. Did sc7i43P report that the 7I43 had a 400K FPGA? When epptest 378 It says something like this: error count 1: loop count :10 error count 2: loop count :20 error count 3: loop count :30 And so on. Well it should say something like: Pass: 1 Error Count: 0 loop count: 10 Pass: 2 Error Count: 0 loop count: 20 Pass: 3 Error Count: 0 loop count: 30 ... A) It this an error on every 10 loops or there is no error at all?. No errors. Each loop does 24 EPP operations (2 32 bit writes and 2 32 bit reads, so it did 7.2 million EPP operations without error B) When i did epptest for the first time WITHOUT sc7i43 svst4_4b.it first, it said something like Error: send ah21 read or so, so i think that A means no error. If there are errors you will get the sent , read messages So, if this means there is nothing wrong with my computer or the card i guess the failure comes from the driver... ??or it means i have to check something? If you can verify that the sc7I43p program reported that the FPGA was 400K it mean that your hardware is fine. At this point its most likely a HAL or startup issue of some kind. It could be a driver issue but that not too likely as others have gotten firmware loading to work without problems Can you post your HAL file to imagebin.ca (again?) so one of the (few) 7I43 HAL gurus can help? Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] end of program
Okay - the errors went away, but M60 only stops the program temporarily. I sill have to hit the stop button in Axis to be able to jog the machine. I want a full stop, like M30, but without resetting my offsets. Any ideas? Len -Original Message- From: Chris Radek [mailto:ch...@timeguy.com] Sent: Monday, December 15, 2008 10:40 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] end of program On Mon, Dec 15, 2008 at 09:34:53AM -0600, Len Shelton wrote: Is there a code to just simply end a program? I have a scenario where I don't want to reset my offsets (M2 or M30) and I don't have a cycle start button (which makes sense with M60), but I want to jog the machine manually between runs. Axis keeps warning me that my program doesn't have a percent sign or end of program, so I thought maybe a percent sign would work, but it does not. This warning is really annoying. You have to start AND end with the % as stated here: http://www.linuxcnc.org/docs/html/gcode_main.html#cha:Language-Overview -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Gcode Newbie Question - repetitive part making
On Tue, Dec 16, 2008 at 12:09 AM, Jim Register jtregis...@triad.rr.comwrote: BRIAN GLACKIN wrote: it won't be real quick, but you could order that as a back issue. Jon Jon, Is it fair to say that the investment in this publication is worthwhile? If so, I am not opposed to giving it a try after the 1st of the year. Brian, Village Press usually has a booth at Cabin Fever Expo - they might have a copy of that particular issue. Cabin Fever is Jan 17 18 in York, Pa. http://www.cabinfeverexpo.com/ Jim Thanks for the heads up on that event. I used to work in York and live just over an hour away now. It would be neat if one of the Hydro turbine manufacturers in the area would set up a demo on how they machine the huge blades. Brian -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] end of program
What kind of offsets are these that you are trying to save? G92 offsets have a procedure for saving and recalling. G54-59.3 are saved. On Tue, 2008-12-16 at 11:10 -0600, Len Shelton wrote: Okay - the errors went away, but M60 only stops the program temporarily. I sill have to hit the stop button in Axis to be able to jog the machine. I want a full stop, like M30, but without resetting my offsets. Any ideas? Len -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Gcode Newbie Question - repetitive part making
BRIAN GLACKIN wrote: it won't be real quick, but you could order that as a back issue. Jon Jon, Is it fair to say that the investment in this publication is worthwhile? If so, I am not opposed to giving it a try after the 1st of the year. I may be a non-typical reader. Village Press has a problem with not enough writers submitting good articles. There are a few totally off-the-wall articles, expecially in Home Shop Machinist. I know, I should write an article on my servo drives and such. I was hoping Roland Freistad was going to do one, but I don't think he will get around to it for a variety of reasons. I also can keep an eye on my competitors who advertise there. I mentioned the mag mostly because of the specific article. I don't know if Ed will be continuing similar articles in the future. I know Roland has been moved over to Digital Machinist. His articles may be awfully specific to the stuff he makes, but are generally quite good. Jon -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Changes to hostmot2 in 2.2.8
Sebastian, The line it is apparently choking on is: Loadrt hm2_5i20 config=firmware=hm2/5i20/SVST8_4.BIT num_stepgens=2 num_pwmgens=1 num_encoders=0 enable raw. I also removed the enable raw and got the same error. The preceding line, loadrt hostmot2 seems to work. Here is the suspicious part. [ 75.324107] hm2: loading Mesa HostMot2 driver version 0.15 [ 75.334101] hm2_5i20: loading Mesa AnyIO HostMot2 driver version 0.4 [ 75.334114] hm2_5i20: *** *** *** *** *** *** *** *** *** *** ** *** *** *** *** *** *** *** *** *** *** *** [ 75.334124] hm2_5i20: *** NOTE: This driver is obsolete, you should use hm2_pci instead, it works better *** [ 75.334133] hm2_5i20: *** *** *** *** *** *** *** *** *** *** ** *** *** *** *** *** *** *** *** *** *** *** [ 75.482406] Unable to handle kernel NULL pointer dereference at virtual address [ 75.482419] printing eip: [ 75.482423] f9013386 [ 75.482426] *pde = [ 75.482434] Oops: [#1] The full dmesg output can be found here: http://pastebin.com/m139d147c Regards, Eric There should not have been any changes between 2.2.7 and 2.2.8 that required config changes or that would cause a load failure. Please pastebin the dmesg output. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with my s pindle encoder?
Chris Radek ch...@... writes: Not true. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?InstallingUpdates -- I stand corrected, Chris. But... the dependencies make a non-networked install/upgrade very difficult. It might be easier to run a network cable 100ft out to the barn. Tom -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Changes to hostmot2 in 2.2.8
Sebastian, Yes, I know. It does have a 5i20 board in it as well. Regards, Eric I just reread this... Does your new test computer have a 5i20 card in it? If not, the driver won't load. Or, more correctly, the driver will load but wont export any HAL objects until you hot-plug an AnyIO board. Please make sure your hardware supports hot-plugging before attempting this. ;-) -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Changes to hostmot2 in 2.2.8
Eric H. Johnson wrote: The full dmesg output can be found here: http://pastebin.com/m139d147c That did it. Embarrasingly, it's the same kind of bug as bit me just recently... You told it to use zero encoders, and it still tried to poke at it. If you can stand turning on one encoder instance (num_encoders=1) it'll work. If not, try Trunk, i'm commiting a fix in the next five minutes. -- Sebastian Kuzminsky Okay, people. Now is the time to start discussing the rules of war for autonomous robots. Now, when it's still theoretical. -- Bruce Schneier -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with my spindle encoder?
Tom wrote: But... the dependencies make a non-networked install/upgrade very difficult. It might be easier to run a network cable 100ft out to the barn. OK, my tact filter is on overload, but so be it. (begin-rant) Free Software comes from the internet. The operating system that Free software runs on comes from the internet. The tools to build Free software come from the internet. If you want to use Free software, either connect your computer to the internet, or deal with the extra steps needed to get Free software from the internet to your disconnected computer. (end-rant) Regards, John Kasunich -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with my spindle encoder?
On Tue, Dec 16, 2008 at 07:02:38PM +, Tom wrote: I stand corrected, Chris. But... the dependencies make a non-networked install/upgrade very difficult. Only if upgrading between major versions. I didn't see whether that's the case for you or not. It might be easier to run a network cable 100ft out to the barn. Yep, that's sure what I'd do, either way. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with m y spindle encoder?
On Tuesday 16 December 2008, Tom wrote: Chris Radek ch...@... writes: Not true. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?InstallingUpdates -- I stand corrected, Chris. But... the dependencies make a non-networked install/upgrade very difficult. It might be easier to run a network cable 100ft out to the barn. Tom For that long a run I would also rig a messenger cable. My 40 or so feet that has been swinging in the breeze from the house to my shop, has probably stretched, or slipped in the cable ties that bind it, about a foot in 5 years, I had to undo the hanger at the house and pull it back tight about a year ago, couldn't carry ladders and things in the yard without hitting it plus it had sagged into the top of the 4' wide swinging doors of the shop. But as near as I can tell, its as good as ever, it matched my dsl bandwidth when I ssh-logged into it just now, issued a sudo reboot, then pinged it till it came back, did an apt-get update, apt-get install emc2, which put the 2.2.8 version on it. A length of real metal electric fence wire, (not plastic unless its real kevlar) with the cat-5 hanging from it via those plastic s-hooks you hang christmas lights on the gutters with should work until the s-hooks go away from the sunlight. I would not tape it directly to the messenger wire if its metalic due to the close proximity of the metal in the messenger wire effecting its impedance. The s-hooks will give about a 3/4 spacing which should be fine. I used that bright blue cat-5 stuff Belden makes, it is apparently surviving the sunshine quite well so far. Far better in fact than I expected it to. When I put it up, I figured on maybe a years service max. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) Innocence ends when one is stripped of the delusion that one likes oneself. -- Joan Didion, On Self Respect -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] end of program
On Tue, Dec 16, 2008 at 11:10:32AM -0600, Len Shelton wrote: Okay - the errors went away, but M60 only stops the program temporarily. I sill have to hit the stop button in Axis to be able to jog the machine. I want a full stop, like M30, but without resetting my offsets. Any ideas? Now you've lost me. M60 (and guessing it was a typo, M6) are not even valid codes. Can you start again at the beginning and say what you're trying to do? What offsets are you talking about? Ray asked this too. We may be trying to answer the wrong question. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Changes to hostmot2 in 2.2.8
Sebastian, Yep, that got it. Regards, Eric That did it. Embarrasingly, it's the same kind of bug as bit me just recently... You told it to use zero encoders, and it still tried to poke at it. If you can stand turning on one encoder instance (num_encoders=1) it'll work. If not, try Trunk, i'm commiting a fix in the next five minutes. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] end of program
I've been using G92. I still haven't wrapped my head around the point of the G54 type coordinate systems. If using a vise with a vise stop or a jig that isn't guaranteed to be in the same place every time you mount it, what's the point? I know I am probably missing something obvious... Len -Original Message- From: Ray Henry [mailto:rehe...@copper.net] Sent: Tuesday, December 16, 2008 11:24 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] end of program What kind of offsets are these that you are trying to save? G92 offsets have a procedure for saving and recalling. G54-59.3 are saved. On Tue, 2008-12-16 at 11:10 -0600, Len Shelton wrote: Okay - the errors went away, but M60 only stops the program temporarily. I sill have to hit the stop button in Axis to be able to jog the machine. I want a full stop, like M30, but without resetting my offsets. Any ideas? Len -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] end of program
On Tue, Dec 16, 2008 at 01:51:10PM -0600, Len Shelton wrote: I've been using G92. I still haven't wrapped my head around the point of the G54 type coordinate systems. If using a vise with a vise stop or a jig that isn't guaranteed to be in the same place every time you mount it, what's the point? I know I am probably missing something obvious... Three things: You can recover an unapplied G92 offset with G92.3 You can keep the G92 from getting unapplied by using % instead of M2/M30 You can use G54 offset just as easily, or more easily, than G92 by using Touch off in AXIS. This is by far the best solution in my opinion. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with my spi ndle encoder?
John Kasunich jmkasun...@... writes: ... If you want to use Free software, either connect your computer to the internet, or deal with the extra steps needed to get Free software from the internet to your disconnected computer. (end-rant) Regards, John Kasunich John, I hang my head in shame... But, nice rant! I completely agree. I already measured and called for the price, going out now to get it. I'm going with teflon covered cat6 cable. I will just lay in on the ground for now. To be honest, a non-networked robot is a very lonely (and less productive) creature... regards, Tom -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] APT and G code
On Tue, 2008-12-16 at 20:33 +0100, Ádám Novák wrote: Gentlemen, We have been using CATIA CAM for APT generation for our CNC milling machines (mainly Fanuc). This works great, however EMC does not seem to understand this type of code. As far as I know RS274NGC is the exact interpreter name EMC2 uses, right? If so, does anyone know of such software that would do the conversion from APT to G code? Regards, Adam Hi Adam What kind of error messages do you get when you try to run one of these. Fanuc made use of an O word as a filename. It is very near the head of a typical fanuc file. I've been able to run some of these files after I removed that reference. HTH Rayh -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with my spindle encoder?
On Tuesday 16 December 2008, John Kasunich wrote: Tom wrote: But... the dependencies make a non-networked install/upgrade very difficult. It might be easier to run a network cable 100ft out to the barn. OK, my tact filter is on overload, but so be it. (begin-rant) Free Software comes from the internet. The operating system that Free software runs on comes from the internet. The tools to build Free software come from the internet. If you want to use Free software, either connect your computer to the internet, or deal with the extra steps needed to get Free software from the internet to your disconnected computer. (end-rant) Regards, John Kasunich I think that is what I was trying to say also, John. With everything else essentially free, surely a nic ($20) for the machine box, some cable and a cheap switch ($40-50 maybe) downstream of the firewall can be bought. Cable connectors are peanuts and often the crimper to install them right can be borrowed. Info on how to install the connectors is just a google search away. Here I have the verizon supplied dsl modem, which is handled by an old x86 box, anything p2/k6 based with 64 Megs of ram is more than good enough, its running dd-wrt (also free) between 3 nics, one facing the internet, the next hard wired to an 8 port netgear switch (it isn't a real switch though, its actually a hub) and the third nic is an atheros card so I don't have to hardwire the lappy when its in use. This machine is plugged into that 8 port switch, as is the cable to the shop, and several other cables here in the house so I can hook up a box I'm working on in case I am. With dd-wrt in the path to the internet, I don't run a firewall on any of the local boxes, dd-wrt stops all that crap. That old x86 box has been stripped, no drives at all, but has a compact flash adapter ($4) on the end of the primary IDE cable, and it boots dd-wrt from the cf card. dd-wrt is the best kept secret in the firewall business. Anything I want to do, works. If someone wants into it from the internet to play their games, they'll have to know a 20 some character password. Not worth their effort. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) Kime's Law for the Reward of Meekness: Turning the other cheek merely ensures two bruised cheeks. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample, and same error than using EMC 2.2.6 + 7i43 + Ted's sample.... What now?
Ok, besides the chip say 400k, when using the prog. it reported 400k chip. I'll post again tonight. Greetings. El 16/12/2008 02:48 p.m., Peter C. Wallace escribió: How did the DOS testing turn out? OK... sorry for the delay, but my work is killing me. Finaly i managed (lack of time not brain) to burn a DOS start cd and put there the files to make the test. When sc7i43p svst4_4b.bit 378, everything went fine. Did sc7i43P report that the 7I43 had a 400K FPGA? When epptest 378 It says something like this: error count 1: loop count :10 error count 2: loop count :20 error count 3: loop count :30 And so on. Well it should say something like: Pass: 1 Error Count: 0 loop count: 10 Pass: 2 Error Count: 0 loop count: 20 Pass: 3 Error Count: 0 loop count: 30 ... A) It this an error on every 10 loops or there is no error at all?. No errors. Each loop does 24 EPP operations (2 32 bit writes and 2 32 bit reads, so it did 7.2 million EPP operations without error B) When i did epptest for the first time WITHOUT sc7i43 svst4_4b.it first, it said something like Error: send ah21 read or so, so i think that A means no error. If there are errors you will get the sent , read messages So, if this means there is nothing wrong with my computer or the card i guess the failure comes from the driver... ??or it means i have to check something? If you can verify that the sc7I43p program reported that the FPGA was 400K it mean that your hardware is fine. At this point its most likely a HAL or startup issue of some kind. It could be a driver issue but that not too likely as others have gotten firmware loading to work without problems Can you post your HAL file to imagebin.ca (again?) so one of the (few) 7I43 HAL gurus can help? Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] APT and G code
Adam, Is it possible to show a little bit of the program you run in the fanuc controls? I would like to see it. thanks Stuart On Tue, Dec 16, 2008 at 1:33 PM, Ádám Novák pleezwr...@gmail.com wrote: Gentlemen, We have been using CATIA CAM for APT generation for our CNC milling machines (mainly Fanuc). This works great, however EMC does not seem to understand this type of code. As far as I know RS274NGC is the exact interpreter name EMC2 uses, right? If so, does anyone know of such software that would do the conversion from APT to G code? Regards, Adam -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample, and same error than using EMC 2.2.6 + 7i43 + Ted's sample.... What now?
Ok, besides the chip say 400k, when using the prog. it reported 400k chip. I'll post again tonight. Greetings. OK thats good! Since the driver wont load (reads wrong FPGA size) my guess is you have the wrong parallel port address somehow Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] A Classicladder Problem in TRUNK
I have a lathe that has an automated tool turret, which I had working with a version of TRUNK several months ago. I cvs updated my copy of TRUNK and recompiled yesterday and I now have a problem in Classicladder. I have one S32 input to Classicladder which is connected to the tool prep number from iocontrol. The tool prep number changes when a Tn block is executed (in MDI), and shows up correctly in the HAL configuration display in Axis, both on iocontrol.0.tool-prep-number, and on classicladder.0.s32in-00. The problem is that the value of %W0 in Classicladder stays equal to 0, not the value of classicladder.0.s32in-00. Relevant files: http://www.mattshaver.com/kc6/kc6.hal http://www.mattshaver.com/kc6/kc6.clp Any ideas? Anyone else using word variables in CL with TRUNK? Thanks, Matt -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Gcode Newbie Question - repetitive par t making
if Ed will be continuing similar articles in the future That's the plan! The Winter 08 column deals with fillets on internal corners: using cutter comp and figuring the arc centers for mostly right-angle corners. Pretty easy once you see it. Next up: finding the centers when the sides aren't at right angles. Time to haul some trig functions out of the closet, blow the dust off, and fire those devils up. So many topics, so few issues... -- Ed -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Following Error Problem Using 5i20 and Stepper Motors
I've been using the 5i20 to generate step pulses for these drives: http://www.mattshaver.com/kc6/DriveYKA2608MG-H.pdf It works great, smooth as oiled Teflon on glass! Relevant config files: http://www.mattshaver.com/kc6/kc6.ini http://www.mattshaver.com/kc6/kc6.hal The problem is, I get following errors at higher speeds. Some halscope plots: http://www.mattshaver.com/kc6/g0z2a50.png http://www.mattshaver.com/kc6/g0z5a25.png http://www.mattshaver.com/kc6/g1z5f10a50.png The file names reflect the command that caused the movement, and the max acceleration value used. Ideas? Thanks, Matt -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A Classicladder Problem in TRUNK
On Tue, Dec 16, 2008 at 03:58:46PM -0500, Matt Shaver wrote: I have a lathe that has an automated tool turret, which I had working with a version of TRUNK several months ago. I cvs updated my copy of TRUNK and recompiled yesterday and I now have a problem in Classicladder. I have one S32 input to Classicladder which is connected to the tool prep number from iocontrol. The tool prep number changes when a Tn block is executed (in MDI), and shows up correctly in the HAL configuration display in Axis, both on iocontrol.0.tool-prep-number, and on classicladder.0.s32in-00. The problem is that the value of %W0 in Classicladder stays equal to 0, not the value of classicladder.0.s32in-00. Date: 2008/11/23 01:44:00 Author: cmorley Branch: HEAD Tag: (none) Log: Created new variables IW and QW to represent S32 in and out pins instead of mapping them to W variables. Defaults to ten of each. Aligns us with mainsteam Classicladder. ladder programs will need to be updated, HAL files will be fine -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with my s pindle encoder?
Gene Heskett gene.hesk...@... writes: A length of real metal electric fence wire, (not plastic unless its real kevlar) with the cat-5 hanging from it via those plastic s-hooks you hang christmas lights on the gutters with should work until the s-hooks go away from the sunlight. I would not tape it directly to the messenger wire if its metalic due to the close proximity of the metal in the messenger wire effecting its impedance. The s-hooks will give about a 3/4 spacing which should be fine. I used that bright blue cat-5 stuff Belden makes, it is apparently surviving the sunshine quite well so far. Far better in fact than I expected it to. When I put it up, I figured on maybe a years service max. Thanks Gene, I am responding to you appropriately enough from my barn. Cool! The very machine controller itself is my window to the EMC2 community. Now I can pastebin my errors for all the world to see. Verrry nice. I had no trouble at all installing the ver 2.2.8 update. Now back to fixing the spindle speed display- regards, Tom -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Following Error Problem Using 5i20 and Stepper Motors
Matt Shaver wrote: I've been using the 5i20 to generate step pulses for these drives: http://www.mattshaver.com/kc6/DriveYKA2608MG-H.pdf It works great, smooth as oiled Teflon on glass! Relevant config files: http://www.mattshaver.com/kc6/kc6.ini http://www.mattshaver.com/kc6/kc6.hal The problem is, I get following errors at higher speeds. Some halscope plots: http://www.mattshaver.com/kc6/g0z2a50.png http://www.mattshaver.com/kc6/g0z5a25.png http://www.mattshaver.com/kc6/g1z5f10a50.png The file names reflect the command that caused the movement, and the max acceleration value used. Ideas? As Matt knows from IRC, this has been reproduced, and we're on it. At first glance it seems to be a problem when the commanded pulse rate is more than half? of the upper limit as determined by the step-space and step-len parameters, but more digging is needed. Regards, John Kasunich -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A Classicladder Problem in TRUNK
On Tue, 2008-12-16 at 15:34 -0600, Chris Radek wrote: Created new variables IW and QW to represent S32 in and out pins instead of mapping them to W variables. Defaults to ten of each. Aligns us with mainsteam Classicladder. ladder programs will need to be updated, HAL files will be fine I didn't see those in the Vars display. I'll look at this again tomorrow. Thanks for pointing this out, I'll admit I don't read the commit list. Thanks, Matt -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] end of program
I pulled M60 from this documentation: http://linuxcnc.org/docs/html/gcode_main.html#sub:M0,-M1,-M2, Where it says: To exchange pallet shuttles and then stop a running program temporarily (regardless of the setting of the optional stop switch), program M60. It indeed does only stop the program temporarily (read pause). After which I have to actually hit the stop button to regain manual control over the machine. Len -Original Message- From: Chris Radek [mailto:ch...@timeguy.com] Sent: Tuesday, December 16, 2008 1:48 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] end of program On Tue, Dec 16, 2008 at 11:10:32AM -0600, Len Shelton wrote: Okay - the errors went away, but M60 only stops the program temporarily. I sill have to hit the stop button in Axis to be able to jog the machine. I want a full stop, like M30, but without resetting my offsets. Any ideas? Now you've lost me. M60 (and guessing it was a typo, M6) are not even valid codes. Can you start again at the beginning and say what you're trying to do? What offsets are you talking about? Ray asked this too. We may be trying to answer the wrong question. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample, and same error than using EMC 2.2.6 + 7i43 + Ted's sample.... What now?
inside linux? (EMC2) i don't think so... anyway i'll check that later. Thanks El 16/12/08 19:11, Peter C. Wallace escribio': Ok, besides the chip say 400k, when using the prog. it reported 400k chip. I'll post again tonight. Greetings. OK thats good! Since the driver wont load (reads wrong FPGA size) my guess is you have the wrong parallel port address somehow Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with m y spindle encoder?
On Tuesday 16 December 2008, Tom wrote: Gene Heskett gene.hesk...@... writes: A length of real metal electric fence wire, (not plastic unless its real kevlar) with the cat-5 hanging from it via those plastic s-hooks you hang christmas lights on the gutters with should work until the s-hooks go away from the sunlight. I would not tape it directly to the messenger wire if its metalic due to the close proximity of the metal in the messenger wire effecting its impedance. The s-hooks will give about a 3/4 spacing which should be fine. I used that bright blue cat-5 stuff Belden makes, it is apparently surviving the sunshine quite well so far. Far better in fact than I expected it to. When I put it up, I figured on maybe a years service max. Thanks Gene, I am responding to you appropriately enough from my barn. Cool! The very machine controller itself is my window to the EMC2 community. Now I can pastebin my errors for all the world to see. Verrry nice. I had no trouble at all installing the ver 2.2.8 update. Now back to fixing the spindle speed display- regards, Tom Chuckle, good to hear, Tom. As for the spindle speed display, I can't help. I can control mine, with a PMDX-106, but have no tach feedback. It would be nice though, since the S commands have a 0-9 (or 10, I forget the upper bound), we had some sort of a display widget progress bar that displayed that setting, and changed color from red for the M stop, to green for the M run. Or is there if one sets up the right hal stuff? I haven't a clue. I have in the axis display at present 3 buttons, a plus for fwd, a - for reverse, and a stop in the middle, speed according to how many times I click the + or - direction button. But no speed indication other than how much noise the spindle is making. Which with that sloppily meshed gear drive on the micromill, can be considerable. At some point, I intend to address both the noise and its limited rpm range. For some things, 2500 rpm is about 1/4 what I need. NDI what 10 grand would do to those spindle bearings though. They seem to be ok yet, and probably have 500 hours at 2 grand plus on them now. Which surprises me since I have to use a hammer on the top of the drawbar bolt to change cutter tools. I use a wooden mallet for that generally. Speed display widget in axis? Any thoughts, suggestions? Thanks. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) Trust everybody, but cut the cards. -- Finlay Peter Dunne, Mr. Dooley's Philosophy -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Gcode Newbie Question - repetitive part making
snip (- CUT HERE --) O100 sub (square [x0] [y0] [z0] [zr] [f1] [f2]) (cut a 1x1 square) (#1 = z0 = depth of cut) (#2 = zr = retract after cut) (#3 = f1 = feed to cutting depth) (#4 = f2 = feed for square) (assumes already at safety height) G0 X0 Y0 G1 Z#1 F#3 G1 X1 F#4 G1 Y1 G1 X0 G1 Y0 G0 Z#2 O100 endsub O200 sub (l2r [x0] [y0] [dx] [count] [z0] [zr] [f1] [f2]) (#1 = x0 = least x coordinate) (#2 = y0 = common y coordinate for all squares) (#3 = dx = increment between x coordinates) (#4 = count = number of squares in row) (#5 = z0 = depth of cut) (#6 = zr = retract after cut) (#7 = f1 = feed to cutting depth) (#8 = f2 = feed for square) (cut squares from left to right at constant Y) (#9 = temporary for count of squares in row) #9=0 O210 while [#9 LT #4] G0 X[#1+#9*#3] Y#2 G92 X0 Y0 O100 call [#5] [#6] [#7] [#8] G92.1 #9=[#9+1] O210 endwhile O200 endsub O300 sub (r2l [x0] [y0] [dx] [count] [z0] [zr] [f1] [f2]) (parameters as for O200 sub) (cut squares from right to left at constant Y) #9=[#4-1] O310 while [#9 GE 0] G0 X[#1+#9*#3] Y#2 G92 X0 Y0 O100 call [#5] [#6] [#7] [#8] G92.1 #9=[#9-1] O310 endwhile O300 endsub O400 sub (squares [x0] [y0] [dx] [dy] [xcount] [ycount] [z0] [zr] [f1] [f2]) (#1 = x0 = least x coordinate) (#2 = y0 = least y coordinate) (#3 = dx = increment between x coordinates) (#4 = dy = increment between y coordinates) (#5 = xcount = number of squares in row) (#6 = ycount = number of rows) (#7 = z0 = depth of cut) (#8 = zr = retract after cut) (#9 = f1 = feed to cutting depth) (#10 = f2 = feed for square) (#11 = temporary for count of rows) #11=0 O410 while [#11 LE #6] O420 if [[#11 MOD 2] EQ 0] O200 call [#1] [#2+#11*#4] [#3] [#5] [#7] [#8] [#9] [#10] O420 else O300 call [#1] [#2+#11*#4] [#3] [#5] [#7] [#8] [#9] [#10] O420 endif #11=[#11+1] O410 endwhile O400 endsub G92.1 G20 M3 S1000 O400 call [0] [0] [1.5] [1.5] [4] [5] [-1] [1] [12] [30] M2 (- CUT HERE --) snip Jeff, My sincere thanks. This code works like a charm. I was able to insert a snippet of code (gingerbread man ornament for the wife) and after a few syntax error corrections (due tu my sneaker net) the parts laid out perfectly. I will add this to the wiki for others in the future. Brian. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Following Error Problem Using 5i20 and Stepper Motors
A bunch of us, including Matt, John K, Peter and Seb worked further on troubleshooting this on irc earlier. This bug specifically affects hostmot2 systems where the step rate is above 60% or so of the maximum step rate given the user specified step length and space. Peter has now identified a bug in the FPGA firmware, and plans to have a fix soon. When this happens, we'll be able to provide instructions and a download link to get an updated firmware if you've been affected by the issue. (and in 2.2.9, but I simply don't see that happening until January) There's a workaround. In Peter's words from the irc chat: For the time being a workaround is to set StepSpace to 0 and limit maximum velocity in software (to 90% or so of hardware limit) If you're interested in boring technical details, and also some discussion about developers' pets and other miscellaneous noise, you can take a look at the whole irc log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2008-12-16.txt starting at 21:13 GMT http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2008-12-17.txt ending around 03:25 GMT Jeff -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] end of program
On Tue, Dec 16, 2008 at 08:23:38PM -0600, Len Shelton wrote: I pulled M60 from this documentation: http://linuxcnc.org/docs/html/gcode_main.html#sub:M0,-M1,-M2, Oh! My mistake - I was trying G60 instead of M60. Have any of the answers given you a solution to the original problem? Chris -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] turbine blades
Brian the blades are forged or cast ( lotsa hollow passages ) then details are milled or edm'd the blades are welded together into rings ( even with the fancy tree locators ) and machined again there some great sites explaining the aero and stationary engines and components this is great http://www.gentz.net/ regards tomp BRIAN GLACKIN wrote: snip... It would be neat if one of the Hydro turbine manufacturers in the area would set up a demo on how they machine the huge blades. and for machining, it does take multi axis or a very very large investment in fixturing. engineers that can design the jigs can demand good bucks! regards tomp -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] APT and G code
Adam yes, EMC understands RS274NGC (thats 'gcode, the Next Generation Code' ) Ádám Novák wrote: Gentlemen, We have been using CATIA CAM for APT generation for our CNC milling machines (mainly Fanuc). This works great, however EMC does not seem to understand this type of code. As far as I know RS274NGC is the exact interpreter name EMC2 uses, right? RS274NGC is slightly special the specific information is available at NIST http://www.isd.mel.nist.gov/personnel/kramer/pubs/RS274NGC_3.web/RS274NGC_3TOC.html it has evolved a bit thru the EMC community http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?AdditionalGCodeFunctionality in general, most readers would think it was 'just gcode' If so, does anyone know of such software that would do the conversion from APT to G code? you might try APT360 a Linux freeware under development http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?AptProgrammingForEMC http://learning.dtpm.unipa.it/emc/it/apt_doc/manual/index.html http://aptos.sourceforge.net/ and listen in at #cam on irc.freenode.net Regards, Adam regards tomp -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] end of program
Thanks, but no. I still want to just end the program where it sets the stop button so to speak, without jacking with my offsets, and restoring manual control. And without me having to save my offsets, and then restore them at the beginning of the file. With the method that Ray described with G92.2 and G92.3, its still several un-necessary steps I think. I mean, what if it is the first time you run the program? Would you have to set the offsets with G92 in MDI and then save with G92.2 in MDI, then place G92.3 at the beginning of every file? It'd be less tedious if I could just end the program, leave my offsets as they were, jog the head out of the way (without having to hit the stop button first), swap the stock, then hit start again. I could write the routine into the postprocessor to do what I need (maybe), but I use the same CAM software for different purposes where the retract vector is different depending on which machine and which operation. Let me also point out I have been a long time user of EMC (love it!), but I just recently started using home switches and I am searching for their usefulness. Previously without home switches, I just zeroed off of a part, and never had to jack with offsets. At this point, they make no sense and are cumbersome to have. I am hoping that there's just some connection I am not making and it will all of a sudden make sense once I get that clue that connects the dots. Len -Original Message- From: Chris Radek [mailto:ch...@timeguy.com] Sent: Tuesday, December 16, 2008 9:52 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] end of program On Tue, Dec 16, 2008 at 08:23:38PM -0600, Len Shelton wrote: I pulled M60 from this documentation: http://linuxcnc.org/docs/html/gcode_main.html#sub:M0,-M1,-M2, Oh! My mistake - I was trying G60 instead of M60. Have any of the answers given you a solution to the original problem? Chris -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] end of program
Len, Take the time to learn G54,G55 etc offsets. Once you learn them you will NEVER want to use anything else. try this assuming your home position the center of your table in XY and the Z up position put this next line on the first line of your program G10 L2 P2 X-1.0 Y-1.0 Z-1.0 put G55 on the second line - it doesn't have to be on the second line - you can put it on the first motion line the G10 line doesn't have to be in the first line - it writes the XYZ values into the parameters for G55 your zero will be the coordinates X-1.0 Y-1.0 Z-1.0 (from home position) home your machine and start your program play with the numbers to see what effect they have on the zero position L3 is G56 L4 is G57 On Tue, Dec 16, 2008 at 10:44 PM, Len Shelton l...@probotix.com wrote: Thanks, but no. I still want to just end the program where it sets the stop button so to speak, without jacking with my offsets, and restoring manual control. And without me having to save my offsets, and then restore them at the beginning of the file. With the method that Ray described with G92.2 and G92.3, its still several un-necessary steps I think. I mean, what if it is the first time you run the program? Would you have to set the offsets with G92 in MDI and then save with G92.2 in MDI, then place G92.3 at the beginning of every file? It'd be less tedious if I could just end the program, leave my offsets as they were, jog the head out of the way (without having to hit the stop button first), swap the stock, then hit start again. I could write the routine into the postprocessor to do what I need (maybe), but I use the same CAM software for different purposes where the retract vector is different depending on which machine and which operation. Let me also point out I have been a long time user of EMC (love it!), but I just recently started using home switches and I am searching for their usefulness. Previously without home switches, I just zeroed off of a part, and never had to jack with offsets. At this point, they make no sense and are cumbersome to have. I am hoping that there's just some connection I am not making and it will all of a sudden make sense once I get that clue that connects the dots. Len -Original Message- From: Chris Radek [mailto:ch...@timeguy.com] Sent: Tuesday, December 16, 2008 9:52 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] end of program On Tue, Dec 16, 2008 at 08:23:38PM -0600, Len Shelton wrote: I pulled M60 from this documentation: http://linuxcnc.org/docs/html/gcode_main.html#sub:M0,-M1,-M2, Oh! My mistake - I was trying G60 instead of M60. Have any of the answers given you a solution to the original problem? Chris -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Am I overloading the servo loop with my s pindle encoder?
Gene Heskett gene.hesk...@... writes: ... Speed display widget in axis? Any thoughts, suggestions? Thanks. Gene, I am using a pyVCP panel in Axis that has a spindle rpm bar, lifted from Anders Wallins generously provided ini and hal files on his web page here: http://www.anderswallin.net/category/cnc/emc/ Thus far, I can display 0 to 4000 rpm in a nice steady green bar, but as the spindle speed increases above that point (my spindle goes up to 6000 rpm), the bar (and the floating point value of the rev-scaled hal pin that it is linked to) starts to bounce between extreme negative and positive integers. My diagnosis was that the frequency of the incoming pulse stream (m5i20.0.enc-03-position) was too great (120kHz) to be scaled accurately in a slow thread. Here is the hal file configuration as provided by Anders: # load ddt for rpm calc loadrt ddt count=1 loadrt scale count=2 addf ddt.0 slow-thread addf scale.0 slow-thread addf scale.1 servo-thread # 500-line encoder gives 2000 pulses per rev setp m5i20.0.enc-03-scale -2000 # RPM = revolutions per minute net ddt-scale scale.0.gain sets ddt-scale 60 net spindle-pos m5i20.0.enc-03-position net spindle-pos ddt.0.in # spindle position to motion-control for threading net spindle-pos motion.spindle-revs net spindle-index-en motion.spindle-index-enable m5i20.0.enc-03-index-enable net rev-count ddt.0.out net rev-count scale.0.in net rev-scaled scale.0.out # 2000 Hz corresponds to 5400 RPM # so scale Hz values by 1/2.7 net rpm-scale scale.1.gain sets rpm-scale 0.37037037 Stephen and Sebastian suggested using a new pin in Hostmot2 (ver.2.2.8) called encoder.03.velocity instead of the m5i20.0.enc-03-position pin used in the example above. That should alleviate having to sample/scale it in a slow thread. I will try that tomorrow. Tom -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users