Re: [Emc-users] gedit tools-external tools-new missing
On Friday 05 September 2014 12:25:07 John Thornton did opine And Gene did reply: Gene, How is Arc Buddy working for you? Do you see any need for any more enchantments? JT On 9/4/2014 1:26 PM, Gene Heskett wrote: On Thursday 04 September 2014 11:39:57 John Thornton did opine And Gene did reply: I added it to the wiki. http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_LinuxCNC_G-Code_Gene rat ors When you download arcbuddy15.py change the name to arcbuddy.py. JT On 9/4/2014 10:16 AM, Gene Heskett wrote: On Thursday 04 September 2014 10:57:49 John Thornton did opine And Gene did reply: Gene, Try Arc Buddy 1.5, I've incorporated the ability to use in Gedit and instructions on how to do so. JT And they work! The only stumbling block was that the 'star' near the help button was actually a missing icon icon. But clicking on it worked as expected. Thank you John. A big improvement in its utility. Cheers, Gene Heskett I used it again last evening John, this time in copy/paste mode as I only needed to make one cut, to a frame rail of this psu box I am building, because I had walked up to the side of it with a stepped bit to make a hole for a fuse holder, and the edge of the last step that allowed the fuse holder to pass disclosed that my SWAG choice of a mounting point did not clear the 3/4 alu corner rail adequately. So I asked it for a .9 diameter half circle for fuse holder nut clearance. With the mill homed to x0.0,y0.0 about 1/8 from the edge of the rail, it worked perfectly. So about the only thing I haven't checked is giving it the co-ordinates from the on-screen dro as the starting XY. When doing free hand work that needs to match up, I can see where it needs another check box, if at the end of a longer cut, one wants to make a turnaround cut, we could use a checkbox that says to offset the start point of the cut to be where its at now, doing that as opposed to using a preliminary move from where its at to the arc start point as it does now. I can visualize it as moving the starting XY we give it, to the midpoint of a chord line drawn from start to finish then doing the g2 or g3 math. That would of course need some trig functions but I don't have enough python knowledge to even guess how that would be done in python. With that checkbox added, I think it would qualify for the swiss army knife designation in code generators. My $0.02. Thank you. Cheers, Gene Heskett -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) Genes Web page http://geneslinuxbox.net:6309/gene US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] gedit tools-external tools-new missing
Gene, I've uploaded version 1.6 of Arc Buddy and used it to create a path from a print. I used the tools Arc Buddy way so it would insert the correct things for me. If you put a feed word in it prepends it to the G code. JT On 9/6/2014 5:22 AM, Gene Heskett wrote: On Friday 05 September 2014 12:25:07 John Thornton did opine And Gene did reply: Gene, How is Arc Buddy working for you? Do you see any need for any more enchantments? JT On 9/4/2014 1:26 PM, Gene Heskett wrote: On Thursday 04 September 2014 11:39:57 John Thornton did opine And Gene did reply: I added it to the wiki. http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_LinuxCNC_G-Code_Gene rat ors When you download arcbuddy15.py change the name to arcbuddy.py. JT On 9/4/2014 10:16 AM, Gene Heskett wrote: On Thursday 04 September 2014 10:57:49 John Thornton did opine And Gene did reply: Gene, Try Arc Buddy 1.5, I've incorporated the ability to use in Gedit and instructions on how to do so. JT And they work! The only stumbling block was that the 'star' near the help button was actually a missing icon icon. But clicking on it worked as expected. Thank you John. A big improvement in its utility. Cheers, Gene Heskett I used it again last evening John, this time in copy/paste mode as I only needed to make one cut, to a frame rail of this psu box I am building, because I had walked up to the side of it with a stepped bit to make a hole for a fuse holder, and the edge of the last step that allowed the fuse holder to pass disclosed that my SWAG choice of a mounting point did not clear the 3/4 alu corner rail adequately. So I asked it for a .9 diameter half circle for fuse holder nut clearance. With the mill homed to x0.0,y0.0 about 1/8 from the edge of the rail, it worked perfectly. So about the only thing I haven't checked is giving it the co-ordinates from the on-screen dro as the starting XY. When doing free hand work that needs to match up, I can see where it needs another check box, if at the end of a longer cut, one wants to make a turnaround cut, we could use a checkbox that says to offset the start point of the cut to be where its at now, doing that as opposed to using a preliminary move from where its at to the arc start point as it does now. I can visualize it as moving the starting XY we give it, to the midpoint of a chord line drawn from start to finish then doing the g2 or g3 math. That would of course need some trig functions but I don't have enough python knowledge to even guess how that would be done in python. With that checkbox added, I think it would qualify for the swiss army knife designation in code generators. My $0.02. Thank you. Cheers, Gene Heskett -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] gedit tools-external tools-new missing
On Saturday 06 September 2014 07:15:11 John Thornton did opine And Gene did reply: Gene, I've uploaded version 1.6 of Arc Buddy and used it to create a path from a print. I used the tools Arc Buddy way so it would insert the correct things for me. If you put a feed word in it prepends it to the G code. That doesn't show in the display although it is exported to gedit with it. Don't enter the leading F, I got two of them when I entered f10. You might change the prompt to say enter feed value. And it would still need to have the XY centerpoint entered after calculating it by hand by moving the centerpoint anchor to a phantom point that results in the start point being exactly where it is according to reading the DRO. For half circle turnarounds in the end of a groove, its fairly easy but it gets needs a sci calculator complex when the start and stop angles are not exactly on a 90 or 180 degree quadrant marker. I would find the geometric center of the arc angle entered, then go up that angle by the radius of the entered diameter, and adjust the center X,Y entered to change that point to the point just calculated, using a sin or cos of the angle times the radius, add those to the entered staring XY, then do the rest of the math. That way you can cut an arc for however many degrees you want that starts exactly where its at. For loops to cut to depth, output the present dro data entry as a restore move to cut the next pass deeper, before or after the g2/3 move. You might display this newly calculated center point found by this method as a mental error check to the user, but it will never need to be seen as a gcode entry. The only reason to save it would be for use as the reset move when incorporated into a loop to depth. Heck, if is a long slot that winds back up at the same point at the end of the loop, even that line of gcode is deletable gingerbread. Am I making any sense here? JT On 9/6/2014 5:22 AM, Gene Heskett wrote: On Friday 05 September 2014 12:25:07 John Thornton did opine And Gene did reply: Gene, How is Arc Buddy working for you? Do you see any need for any more enchantments? JT On 9/4/2014 1:26 PM, Gene Heskett wrote: On Thursday 04 September 2014 11:39:57 John Thornton did opine And Gene did reply: I added it to the wiki. http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_LinuxCNC_G-Code_Ge ne rat ors When you download arcbuddy15.py change the name to arcbuddy.py. JT On 9/4/2014 10:16 AM, Gene Heskett wrote: On Thursday 04 September 2014 10:57:49 John Thornton did opine And Gene did reply: Gene, Try Arc Buddy 1.5, I've incorporated the ability to use in Gedit and instructions on how to do so. JT And they work! The only stumbling block was that the 'star' near the help button was actually a missing icon icon. But clicking on it worked as expected. Thank you John. A big improvement in its utility. Cheers, Gene Heskett I used it again last evening John, this time in copy/paste mode as I only needed to make one cut, to a frame rail of this psu box I am building, because I had walked up to the side of it with a stepped bit to make a hole for a fuse holder, and the edge of the last step that allowed the fuse holder to pass disclosed that my SWAG choice of a mounting point did not clear the 3/4 alu corner rail adequately. So I asked it for a .9 diameter half circle for fuse holder nut clearance. With the mill homed to x0.0,y0.0 about 1/8 from the edge of the rail, it worked perfectly. So about the only thing I haven't checked is giving it the co-ordinates from the on-screen dro as the starting XY. When doing free hand work that needs to match up, I can see where it needs another check box, if at the end of a longer cut, one wants to make a turnaround cut, we could use a checkbox that says to offset the start point of the cut to be where its at now, doing that as opposed to using a preliminary move from where its at to the arc start point as it does now. I can visualize it as moving the starting XY we give it, to the midpoint of a chord line drawn from start to finish then doing the g2 or g3 math. That would of course need some trig functions but I don't have enough python knowledge to even guess how that would be done in python. With that checkbox added, I think it would qualify for the swiss army knife designation in code generators. My $0.02. Thank you. Cheers, Gene Heskett --- --- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett -- There are four boxes to be used in defense of liberty: soap, ballot,
[Emc-users] LinuxCNC 2.6.3 is released
Another month, another LinuxCNC bugfix release. This one's got some fixes for bugs that probably don't affect very many people. The most important ones are: * The XHC-HB04 jog pendant should work out of the box on Wheezy now. * External glade files should work better in gscreen and gmoccapy. (If you don't know what this means, it probably doesn't affect you!) Also several less impactful fixes, and documentation improvements (English and French). A new feature was added: the Axis GUI has a new (optional) .ini option that controls the default starting spindle speed: [DISPLAY]DEFAULT_SPINDLE_SPEED. Documentation for this new option is here: http://www.linuxcnc.org/docs/2.6/html/config/ini_config.html#sub:DISPLAY-section As always, my thanks go to the folks who tested and reported issues with earlier releases, and to the folks who worked to fix those issues. The committers in 2.6.3 were: Chris Morley Chris Radek Dewey Garrett Francis Tisserant Jeff Epler John Thornton Norbert Schechner Sebastian Kuzminsky -- Sebastian Kuzminsky -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Homing and restarting Lcnc problem
Suddenly I have problem with homing my z axis, as it reaches switch it back's off as it supposed to, but then it doesn't stop on programmed home offset instead it runs over it and keeps searching with its delatching velocity... Next problem occurred after update to 2.7.0 pre, as when I restart linuxcnc i'm getting error saying: Debug file information:insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_parport.ko': -1 Device or resource busymy5axis_load.hal:25: exit value: 1my5axis_load.hal:25: insmod failed, returned -1See the output of 'dmesg' for more information.2036 -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Homing and restarting Lcnc problem
Commenting out LP line in modules doesn't help, and also uncommenting install parport_pc /bin/true didn't in /etc/modprobe.d/linuxcnc.conf Next problem occurred after update to 2.7.0 pre, as when I restart linuxcnc i'm getting error saying: Debug file information:insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_parport.ko': -1 Device or resource busymy5axis_load.hal:25: exit value: 1my5axis_load.hal:25: insmod failed, returned -1See the output of 'dmesg' for more information.2036 -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Homing and restarting Lcnc problem
On Sat, Sep 06, 2014 at 03:12:56PM +, Tomaz T. wrote: Next problem occurred after update to 2.7.0 pre, as when I restart linuxcnc i'm getting error saying: Debug file information:insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_parport.ko': -1 Device or resource busymy5axis_load.hal:25: exit value: 1my5axis_load.hal:25: insmod failed, returned -1See the output of 'dmesg' for more information.2036 Thanks for your report. In master branch, I have made some changes regarding parallel port registration in order to support uspace realtime. I will test later today whether my work caused this problem. If so, I'll fix it. Please remember that the master branch is for new and potentially untested work, so instability like this occurs much more frequently than in our stable release branches such as 2.6.x. Jeff -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Homing and restarting Lcnc problem
I tested for the hal_parport device or resource busy problem but was unable to reproduce it. I tested on a debian 7 system recently installed from the hybrid.iso. I tested at a master branch revision which describes as v2.6.3-659-gce43af0 (today's master branch) using a standalone test script in the file pp.hal loadrt hal_parport cfg=0 loadrt threads period1=100 loadrt not net x not.0.out = not.0.in parport.0.pin-01-out addf not.0 thread1 addf parport.0.write thread1 start which I ran multiple times in succession with halrun pp.hal I did not receive any errors in the terminal or in dmesg. On my system, the install parport_pc /bin/true line is commented out in /etc/modprobe.d/linuxcnc.conf, so hal_parport is working in cooperatin with the linux parallel port driver. My parallel port is on a PCI card. If you can, please test with the standalone hal script (modifying cfg= if necessary) to see whether that produces the problem for you. But the most basic explanation (that I completely botched the unregistration process for rtai when adding uspace) seems to be discounted at this point. Jeff -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Homing and restarting Lcnc problem
On Saturday 06 September 2014 12:00:20 Tomaz T. did opine And Gene did reply: Commenting out LP line in modules doesn't help, and also uncommenting install parport_pc /bin/true didn't in /etc/modprobe.d/linuxcnc.conf If the std linux parport driver is available, and udev loads it, the results are similar. So if you have that driver in the /lib/modules/kernel-version tree, nuke it. In the meantime, rmmod it if it shows up in an lsmod listing before you start linuxcnc. This is a rather elderly problem if that is the problem, but it can still bite a new bee. Next problem occurred after update to 2.7.0 pre, as when I restart linuxcnc i'm getting error saying: Debug file information:insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_parport.ko': -1 Device or resource busymy5axis_load.hal:25: exit value: 1my5axis_load.hal:25: insmod failed, returned -1See the output of 'dmesg' for more information.2036 --- --- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) Genes Web page http://geneslinuxbox.net:6309/gene US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Homing and restarting Lcnc problem
On Sat, Sep 06, 2014 at 03:21:01PM -0400, Gene Heskett wrote: On Saturday 06 September 2014 12:00:20 Tomaz T. did opine And Gene did reply: Commenting out LP line in modules doesn't help, and also uncommenting install parport_pc /bin/true didn't in /etc/modprobe.d/linuxcnc.conf If the std linux parport driver is available, and udev loads it, the results are similar. No, that has not been true for a long time now. Since version 2.4.0 (2010), linuxcnc has by default cooperated with the Linux parallel port drivers, so hal_parport and other parport-using drivers generally do not interfere with or experience interference from the kernel parport_pc driver. For that reason, systems installed since that time have the modprobe.d line that would disable parport_pc commented out by default. One great advantage of this, which we have probably not evangelized hard enough (or scrubbed away all documentation to the contrary), is the ability to refer to parports by their linux numbering, not worrying about I/O port addresses: loadrt hal_parport cfg=0 points at the system's default parallel port, if linux detected one. Super easy, and it even worked on my system where the only parport is a PCI-E one! Some people may still feel more comfortable with parport_pc not loaded. This reduces the risk that some linux software (such as the printing system) will touch the port, causing the attached CNC to do something unexpected. Those people can uncomment the line or take more drastic measures if they prefer. (best possible measure to take: a proper physical estop chain so this doesn't happen even when somebody boots windows 98 from cdrom or whatever crazy thing you might imagine) Jeff -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Mixing BLDC and brushed motors
Greetings to anyone who compiles Mesa bitfiles -Original Message- From: Peter C. Wallace [mailto:p...@mesanet.com] On Thu, 4 Sep 2014, John Prentice (FS) wrote: Date: Thu, 4 Sep 2014 22:44:13 +0100 From: John Prentice (FS) j...@castlewd.freeserve.co.uk 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] Mixing BLDC and brushed motors snip Not sure if theres a standard bitfile for that but its easy copy-paste a pinout up and make one I have a spare 7i40 so I think I ought to learn how to do this - I see resources on the web that will start me going. Is ISE Webpack 9.2 still your preferred version for 5i20 and 5i22 (Spartan 2) boards? What OS would you run it on - I feel concerned that it is so old that it will give trouble on my Win 8.1 (64 bit) system. I can run some Linux flavour in a V-Box to provide any environment to best suit the app. I think 10 is the latest that supports Spartan but 9.2 is my preferred version (before they broke the editor) The short question is: What is the best location for downloading Mesa source? The full story is: Following the link on the 5i20 entry on the main website gets me to a source ZIP which seems to have two files missing from the project (irqlogic.vhd and dpll.vhd) and fails to synthesise - the log is in first half of attached PDF. A Google for inputpinspermodule gets me to this post http://tinyurl.com/o3h4lra and Peter's link to http://freeby.mesanet.com/hostmot2.zip gets a source which, while still missing files (see screenshot at end of attachment), will create a bitfile (for an arbitrary version) once one has added InputPinsPerModule.vhd to the library. I want to be sure I am actually starting from the definitive source code before I risk any changes to make a custom combination of features. TIA John Prentice JAP-ISE-troubles.pdf Description: Adobe PDF document -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Rifling machine
First off I don't want to start a shouting war of Tastes Great vrs Less Filling. As a (former) firearms manufacturer I researched barrel manufacturing methods in depth after being ask to reproduce a replacement barrel for a long since out of production item. The Hook and pull (sine method) was developed back in the black powder days when steel was soft and bores were large. Keep in mind that one reason a single groove is cut has to do with chips in the bore. The cutter often takes less than .0002 per pass. Early machines could easily be hand powered, albeit a long monotonous process. Because of the time factor Enfield actual made some barrels with only 2 grooves. As bores got smaller 6.5mm became about the smallest bore that could be produced reliably with current materials. During WWI material science improved. The cutter is often held straight in larger bores and all twist timing is done externally. Button rifling on the other hand relies on the angle of the flutes of the button to control twist rate. Button rifling is like a swaging operation because no cutting takes place. Broach rifling is like button rifling in that the twist is controlled by how the broach was ground, but the grooves are cut, not pressure formed. If this were attempted with LCNC I think it is an application which begs for absolute encoder support. Any loss of position while in process would likely destroy both work piece and the cutter and cutter carrier unless machine was dis-assembled to allow removal of work and cutter assy together so tool could be backed out by hand. The beauty of the original design is that short of taking a chuck key or wrench to the machine it is nearly impossible to get out of sync. Greg Bentzinger -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Mixing BLDC and brushed motors
On Sat, 6 Sep 2014, John Prentice (FS) wrote: Date: Sat, 6 Sep 2014 22:51:51 +0100 From: John Prentice (FS) j...@castlewd.freeserve.co.uk 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] Mixing BLDC and brushed motors Greetings to anyone who compiles Mesa bitfiles -Original Message- From: Peter C. Wallace [mailto:p...@mesanet.com] On Thu, 4 Sep 2014, John Prentice (FS) wrote: Date: Thu, 4 Sep 2014 22:44:13 +0100 From: John Prentice (FS) j...@castlewd.freeserve.co.uk 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] Mixing BLDC and brushed motors snip Not sure if theres a standard bitfile for that but its easy copy-paste a pinout up and make one I have a spare 7i40 so I think I ought to learn how to do this - I see resources on the web that will start me going. Is ISE Webpack 9.2 still your preferred version for 5i20 and 5i22 (Spartan 2) boards? What OS would you run it on - I feel concerned that it is so old that it will give trouble on my Win 8.1 (64 bit) system. I can run some Linux flavour in a V-Box to provide any environment to best suit the app. I think 10 is the latest that supports Spartan but 9.2 is my preferred version (before they broke the editor) The short question is: What is the best location for downloading Mesa source? The full story is: Following the link on the 5i20 entry on the main website gets me to a source ZIP which seems to have two files missing from the project (irqlogic.vhd and dpll.vhd) and fails to synthesise - the log is in first half of attached PDF. The latest source is http://www.mesanet.com/software/parallel/5i20.zip /5i20/CONFIGS/HOSTMOT2/SOURCE/hostmot2.zip (updated last thursday) If there are any bugs with the project file, tell me and I will fix them Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users