Re: [Emc-users] Converting a Euro placer pick-and-place machine to LinuxCNC
On 08/11/13 22:06, Jean-Michel Pouré - GOOZE wrote: To be more precise, my pick-and-place machine really looks like a CNC. I am quite confident that it can be controlled by LinuxCNC. It has old connectors everywhere. What I am worried about is the overall software framework on top of LinuxCNC. Ideally, I would like to be able to use a high level language. A pick and place script can be very general. During initialization, it needs to list all cartridges, available components, import gerber placement file, etc ... and perform the necessary verifications. Place the main board to be assembled and find edges. Then it will try to pick-up one component and if this does not work, it will retry twice. On some machines, it may be possible to test a component before placement. Then comes alignment using a first camera and then placement using a second camera. Finally verification. Are there attempts already to drive a pick-and-place machine using Linux CNC and a high-level language like Python? Kind regards, Jean-Michel -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users have you taken a look at OpenPnP http://openpnp.org it's written in java and communicates to Linuxcnc -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Something that bugs me
Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Thanks. 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) As Gen. de Gaulle occassionally acknowledges America to be the daughter of Europe, so I am pleased to come to Yale, the daughter of Harvard. -- J. F. Kennedy A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Controlling an infrared reflow oven using LinuxCNC
Le vendredi 08 novembre 2013 à 23:00 +, andy pugh a écrit : It might be the case that the Arduino Mega (16 analogue inputs) is a better choice for the oven controller. Thanks for all answers. I am not aware yet of the temperature sensors. Apparently, they are built-in the infrared heaters or very close to them. I don't know what technology is used. The seller advises me to place heaters along the train and capture 3 termal zones. In his opinion, it would be better to capture the temperature inside oven instead of heater temperature. I will wait to receive the oven and make photos. This oven NEEDS to be upgraded according to seller. Kind regards, JM smime.p7s Description: S/MIME cryptographic signature -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] (no subject)
Hi I am trying to get my head around running a rotary axis on top of a 3 axis router, but I am having problems; The main one is low feed speed. I have tried editing the code and increasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I have tried are almost as slow. Can any one offer some advice? The computer I run Lcnc on is very old an slow, does that have any bearing? Thanx in advance Aaron Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Controlling an infrared reflow oven using LinuxCNC
On 09/11/13 10:46, Jean-Michel Pouré - GOOZE wrote: Le vendredi 08 novembre 2013 à 23:00 +, andy pugh a écrit : It might be the case that the Arduino Mega (16 analogue inputs) is a better choice for the oven controller. Thanks for all answers. I am not aware yet of the temperature sensors. Apparently, they are built-in the infrared heaters or very close to them. I don't know what technology is used. The seller advises me to place heaters along the train and capture 3 termal zones. In his opinion, it would be better to capture the temperature inside oven instead of heater temperature. I will wait to receive the oven and make photos. This oven NEEDS to be upgraded according to seller. Kind regards, JM -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users this application would be more approprate to an Arduino or a similar let us have some more information once you have some pictures and idea of it's design i may have an approprate design , although it may need some small changes regards Dave -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)
Aaron When you cut stuff with a lot of little cuts, especially curved cuts, the speed will always be slow. If you look at the constant velocity parameters of any CNC machine you will find that the machine has to accelerate and then decelerate again at the beginning and end of every cut or move. Unless you have a very light gantry with a huge acceleration, you will have a slow response. When the cuts are very short the machine does not have enough time to get to the requested feed rate before it has to slow down again. It is one of the pains of cutting 3D stuff. On 2013/11/09 12:58 PM, aaron moore wrote: Hi I am trying to get my head around running a rotary axis on top of a 3 axis router, but I am having problems; The main one is low feed speed. I have tried editing the code and increasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I have tried are almost as slow. Can any one offer some advice? The computer I run Lcnc on is very old an slow, does that have any bearing? Thanx in advance Aaron Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Regards / Groete Marius D. Liebenberg MasterCut cc Cel: +27 82 698 3251 Tel: +27 12 743 6064 Fax: +27 86 551 8029 Skype: marius_d.liebenberg --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)
On 9 November 2013 10:58, aaron moore aaronmo...@linuxmail.org wrote: The main one is low feed speed. I have tried editing the code and increasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I have tried are almost as slow. Can any one offer some advice? The lots of tiny moves might be the problem. What is the acceleration on the rotary axis? Is it anywhere near the actual physical maximum? You simply might not have increased the A-axis accel enough. The scaling on rotary axes is such that you can end up with some very big numbers indeed. Consider a direct-coupled 5mm pitch ballscrew, and a direct-coupled rotary axis both coupled to a motor that can accelerate at 25,000 steps/sec/sec. That gives you a linear acceleration of 625mm/s/s or 25 inch/s/s or 45,000 degrees/s/s. Even geared 30:1 with a worm gear your rotary axis acceleration is likely to be twice the linear accel in mm or 60 x in inches. (and that was assuming no gearing between the motors and screws). The reason this matters is that LinuxCNC likes to be able to stop by the end of the next move (this is because it doesn't plan beyond the end of the next move, which is something being actively worked on at the moment). How fast will a simple G1 X500 A7200 run? If that runs good and fast, then that is a sign that it is lookahead related, and lookahead issues are made much worse by low acceleration values. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)
I think LCNC can only execute one Gcode per servo cycle. Does it help to reduce your servo cycle time? -Original Message- From: aaron moore [mailto:aaronmo...@linuxmail.org] Sent: 09 November 2013 12:58 PM To: EMC userslist Subject: [Emc-users] (no subject) Hi I am trying to get my head around running a rotary axis on top of a 3 axis router, but I am having problems; The main one is low feed speed. I have tried editing the code and increasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I have tried are almost as slow. Can any one offer some advice? The computer I run Lcnc on is very old an slow, does that have any bearing? Thanx in advance Aaron Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Controlling an infrared reflow oven using LinuxCNC
On 09.11.13 11:46, Jean-Michel Pouré - GOOZE wrote: Le vendredi 08 novembre 2013 à 23:00 +, andy pugh a écrit : It might be the case that the Arduino Mega (16 analogue inputs) is a better choice for the oven controller. While I haven't used any of the PID algorithms at: http://playground.arduino.cc/Code/PIDLibrary they've possibly had more exposure than some of the others that a quick google throws up. (I'd certainly read their code before considering hacking my own.) The seller advises me to place heaters along the train and capture 3 termal zones. In his opinion, it would be better to capture the temperature inside oven instead of heater temperature. He's right. There would be little point in measuring the heater temperatures when what you need to know is the temperature around the units going through the reflow oven. I will wait to receive the oven and make photos. This oven NEEDS to be upgraded according to seller. Fortunately the temperature in a reflow oven needn't be regulated to within one degree, AIUI, because the A/D converter on an AVR (Arduino) or any other 8 bit MCU that I've come across is only 8 bits, minus offset and gain errors, unless you take the trouble to correct for them. That is well worth doing. Erik -- For those with savings and fixed incomes, deflation is wonderful, but for those with debt, it is catastrophic since the value of the dollar repaid is greater than the dollar borrowed. ... borrowers are ascendant and central banks are working for them, not savers. In fact, savers are being plundered with super low interest in the name of promoting aggregate demand and maintaining inflation. - http://www.abc.net.au/news/2013-11-06/kohler-prices-want-to-fall-but-borrowers-wont-let-them/5072388 -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Controlling an infrared reflow oven using LinuxCNC
On 9 November 2013 11:54, Erik Christiansen dva...@internode.on.net wrote: Fortunately the temperature in a reflow oven needn't be regulated to within one degree, AIUI, because the A/D converter on an AVR (Arduino) or any other 8 bit MCU that I've come across is only 8 bits, minus offset and gain errors, unless you take the trouble to correct for them. The Arduino Analogue inputs are 10 bits. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)
I don't think it will help as the problem is acceleration over distance. I.E. Distance of move to short to reach max feed rate. On 2013/11/09 01:47 PM, Belli Button wrote: I think LCNC can only execute one Gcode per servo cycle. Does it help to reduce your servo cycle time? -Original Message- From: aaron moore [mailto:aaronmo...@linuxmail.org] Sent: 09 November 2013 12:58 PM To: EMC userslist Subject: [Emc-users] (no subject) Hi I am trying to get my head around running a rotary axis on top of a 3 axis router, but I am having problems; The main one is low feed speed. I have tried editing the code and increasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I have tried are almost as slow. Can any one offer some advice? The computer I run Lcnc on is very old an slow, does that have any bearing? Thanx in advance Aaron Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Regards / Groete Marius D. Liebenberg MasterCut cc Cel: +27 82 698 3251 Tel: +27 12 743 6064 Fax: +27 86 551 8029 Skype: marius_d.liebenberg --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Controlling an infrared reflow oven using LinuxCNC
On 09.11.13 12:14, andy pugh wrote: On 9 November 2013 11:54, Erik Christiansen dva...@internode.on.net wrote: Fortunately the temperature in a reflow oven needn't be regulated to within one degree, AIUI, because the A/D converter on an AVR (Arduino) or any other 8 bit MCU that I've come across is only 8 bits, minus offset and gain errors, unless you take the trouble to correct for them. The Arduino Analogue inputs are 10 bits. Rats, you're right. I've mentally derated them twice. When you look at the AVR datasheets¹, the 10 bits becomes about 8 bits after offset, linearity, and gain errors are deducted. So even as is, they'd be fine for the application. And with offset and gain corrections, either analogue or in firmware, I'd just about give credence to 10 bits if you took a bunch of measurements and averaged them. Maybe I shouldn't rely on memory late at night. Erik ¹ Unfortunately, it's some time since I last did. -- Don't believe everything you hear, or anything you say. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)
I have a stepper system and know nothing about servo cycles. - Original Message - From: Belli Button Sent: 11/09/13 11:47 AM To: 'Enhanced Machine Controller \(EMC\)' Subject: Re: [Emc-users] (no subject) I think LCNC can only execute one Gcode per servo cycle. Does it help to reduce your servo cycle time? -Original Message- From: aaron moore [mailto:aaronmo...@linuxmail.org] Sent: 09 November 2013 12:58 PM To: EMC userslist Subject: [Emc-users] (no subject) Hi I am trying to get my head around running a rotary axis on top of a 3 axis router, but I am having problems; The main one is low feed speed. I have tried editing the code and increasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I have tried are almost as slow. Can any one offer some advice? The computer I run Lcnc on is very old an slow, does that have any bearing? Thanx in advance Aaron Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk --- - -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/ 4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)Rotary problems
Marius Thanks for your replymakes sense. Does G64 p# work on rotary files/systems? It didn't seem to when I ran it. Do you have any tips for reducing the numer of moves in a job? Sorry. I forgot to put a subject up top, Aaron - Original Message - From: Marius Liebenberg Sent: 11/09/13 11:17 AM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] (no subject) Aaron When you cut stuff with a lot of little cuts, especially curved cuts, the speed will always be slow. If you look at the constant velocity parameters of any CNC machine you will find that the machine has to accelerate and then decelerate again at the beginning and end of every cut or move. Unless you have a very light gantry with a huge acceleration, you will have a slow response. When the cuts are very short the machine does not have enough time to get to the requested feed rate before it has to slow down again. It is one of the pains of cutting 3D stuff. On 2013/11/09 12:58 PM, aaron moore wrote: Hi I am trying to get my head around running a rotary axis on top of a 3 axis router, but I am having problems; The main one is low feed speed. I have tried editing the code and increasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I hav e tried are almost as slow. Can any one offer some advice? The computer I run Lcnc on is very old an slow, does that have any bearing? Thanx in advance Aaron Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Regards / G roete Marius D. Liebenberg MasterCut cc Cel: +27 82 698 3251 Tel: +27 12 743 6064 Fax: +27 86 551 8029 Skype: marius_d.liebenberg --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Fanuc 420F 6-axis robot
Lol Sent from Yahoo Mail on Android -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)
On Saturday 09 November 2013 10:11:49 Marius Liebenberg did opine: I don't think it will help as the problem is acceleration over distance. I.E. Distance of move to short to reach max feed rate. The other problem no one has mentioned is that his LCNC machine is old slow, however the OP did not mention the base_thread times from his ini file. Or his microstep ratios if he is using steppers. I ran into this while exploring the merits of running my 2M542 drivers at higher microstep ratio's. The atom board, running a base_thread of 23 microseconds, is simply incapable to issuing enough steps per second to be able to hit the motors maximum speed capability when the microstep divisor is more than 8. At 8, and a 2/1 gear between the 425 and the Z screw, I can move Z on the lathe at 60ipm. At 8, its noisy, I think because I may not be on the sweet spot for motor currants so the thou or so gear lash in the 2/1 takes a beating despite the damper on the motor. Some day I may convert it to belt drive just because of that. At 16, it drops to 30ipm regardless of what else I set in the ini file, the 23 u-sec base_thread cycle is tapped out and can't issue the steps fast enough. So my question to the OP is: What is your base_thread period, and your microstep rate? On 2013/11/09 01:47 PM, Belli Button wrote: I think LCNC can only execute one Gcode per servo cycle. Does it help to reduce your servo cycle time? -Original Message- From: aaron moore [mailto:aaronmo...@linuxmail.org] Sent: 09 November 2013 12:58 PM To: EMC userslist Subject: [Emc-users] (no subject) Hi I am trying to get my head around running a rotary axis on top of a 3 axis router, but I am having problems; The main one is low feed speed. I have tried editing the code and increasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I have tried are almost as slow. Can any one offer some advice? The computer I run Lcnc on is very old an slow, does that have any bearing? Thanx in advance Aaron Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- -- -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg. clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg. clktrk ___ 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) BOFH excuse #34: (l)user error A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)Rotary problems
Aaron G64 will have some effect but I cannot say how much. The amount of moves are really determined by you cam software. Some people do an aggressive roughing cycle to use as little time as possible and then they can afford the time spent on the finishing cut. What you can try is to make your acceleration faster. Remember when cutting complex 3D stuff the speed of the move is only as fast as the slowest axis on the machine. On 2013/11/09 03:14 PM, aaron moore wrote: Marius Thanks for your replymakes sense. Does G64 p# work on rotary files/systems? It didn't seem to when I ran it. Do you have any tips for reducing the numer of moves in a job? Sorry. I forgot to put a subject up top, Aaron - Original Message - From: Marius Liebenberg Sent: 11/09/13 11:17 AM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] (no subject) Aaron When you cut stuff with a lot of little cuts, especially curved cuts, the speed will always be slow. If you look at the constant velocity parameters of any CNC machine you will find that the machine has to accelerate and then decelerate again at the beginning and end of every cut or move. Unless you have a very light gantry with a huge acceleration, you will have a slow response. When the cuts are very short the machine does not have enough time to get to the requested feed rate before it has to slow down again. It is one of the pains of cutting 3D stuff. On 2013/11/09 12:58 PM, aaron moore wrote: Hi I am trying to get my head around running a rotary axis on top of a 3 axis router, but I am having problems; The main one is low feed speed. I have tried editing the code and increasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I h ave tried are almost as slow. Can any one offer some advice? The computer I run Lcnc on is very old an slow, does that have any bearing? Thanx in advance Aaron Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Regards / Groete Marius D. Liebenberg MasterCut cc Cel: +27 82 698 3251 Tel: +27 12 743 6064 Fax: +27 86 551 8029 Skype: marius_d.liebenberg --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Re-Form Furniture Aaron Moore Conileigh Skinners Bottom Redruth Cornwall TR16 5DY Tel: 01209 890084 Mob: 07805686188 Email:aaronmo...@linuxmail.org Web: www.re-formfurniture.co.uk -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Regards / Groete Marius D. Liebenberg MasterCut cc Cel: +27 82 698 3251 Tel: +27 12 743 6064 Fax: +27 86 551 8029 Skype: marius_d.liebenberg --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models.
Re: [Emc-users] Something that bugs me
I was recently looking at task, which also looked like it had no source. After poking around a while, it looks like task, and likely halui, are made up from other files brought to gether by the local makefile. I think having a good understanding of the make system, which I don't possess, should reveal the secrets behind these non-source files. This is what I have found on making so far: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MakefileDeMystified On 11/09/2013 01:02 AM, Gene Heskett wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Thanks. Cheers, Gene -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Converting a Euro placer pick-and-place machine to LinuxCNC
David Armstrong wrote: have you taken a look at OpenPnP http://openpnp.org it's written in java and communicates to Linuxcnc Looks interesting, but I can't see much indication of what they've accomplished. I browsed the Google group but couldn't see much there that really showed what they had so far. Jon -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Controlling an infrared reflow oven using LinuxCNC
On 11/08/2013 02:38 PM, Jean-Michel Pouré - GOOZE wrote: Dear all, I need to know to what extend Linux CNC could be used to manage an infrared SMT reflow oven. Any ideas are welcome. Linuxcnc could handle your oven control. In my opinion the advantages would be: -Common, cheap, non-proprietary PC hardware -HAL system to connect hardware and software components -HALscope and HALmeter to monitor and troubleshoot -Possibly HAL mapping to document your configuration -Software and hardware signal generators that integrate well with HAL -Software PLC that integrates well with HAL, if that is your thing -GladeVCP or pyVCP for developing a custom user interface -Python interface if one is not strong in C -Network and remote monitor/control ready -Modbus ready -more that hasn't come to mind yet I would tend to consider what skills one already has and choose a solution that matches. If you know how to use hardware PLCs, then maybe a PLC should be the base of your system, but you might still need to fill in some of the points listed above. I like AVRs, but you would need to develop a system almost from scratch. Just my two bits worth. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On Sat, Nov 9, 2013 at 4:02 AM, Gene Heskett ghesk...@wdtv.com wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Gene: I'm bewildered (nothing new!) so maybe I'll learn something here. The userland component halui is rebuilt from src/emc/usr_intf/halui.cc every time LinuxCNC is rebuilt from sources. Maybe it hasn't been edited recently because it hasn't needed any modification. This source file and the associated man page state in similar ways that halui exports various UI related hal pins and communicates with EMC through NML messages. To quote the man page, halui.mdi-command-XX bit in halui looks for ini variables named [HALUI]MDI_COMMAND, and exports a pin for each command it finds. When the pin is driven TRUE, halui runs the specified MDI command. XX is a two digit number starting at 00. If no [HALUI]MDI_COMMAND variables are set in the ini file, no halui.mdi-command-XX pins will be exported by halui. The docs section on INI Configuration say the same thing about [HALUI] in considerably less detail. What bewilders me is how a camview-emc stanza fits into [HALUI]. Is that described somewhere? Inquiring minds want to know. You see, I've got all these cams sitting around Regards, Kent -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On Saturday 09 November 2013 11:11:40 Kirk Wallace did opine: I was recently looking at task, which also looked like it had no source. After poking around a while, it looks like task, and likely halui, are made up from other files brought to gether by the local makefile. I think having a good understanding of the make system, which I don't possess, should reveal the secrets behind these non-source files. This is what I have found on making so far: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MakefileDeMystified It appears I am barking up the wrong tree, it (halui.c) is in camunits-emc, and it is not currently rebuildable on Lucid, without a lot of fixing I'm not qualified to do. I saw Jon Kasunich mentioned somewhere in that I believe, but the build I'm trying to use was last built in 2008. On Hardy maybe. Perhaps, if that was Jon K., he could be persuaded to revisit that code bring it up to buildable on lucid? Paging Jon K. (pause) Paging Jon K. ;) In the meantime, all this video processing takes way too long, so I have posted to the linux-usb list, asking if its possible, from the lsusb -v output, to determine the cameras native imager resolution and its resultant RGB, BGR, etc format so that it doesn't waste time re-arranging, interpolating and compressing the data before it wraps it in a usb packet stuffs it into the cable. A secondary problem is that libv4lconvert yelps loudly about formats unknown when querying the logitech C920. I haven't tried transplanting a newer version for the default lucid version. Thanks Kent. On 11/09/2013 01:02 AM, Gene Heskett wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Thanks. Cheers, Gene 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) Fatal Error: Found [MS-Windows] System - Repartitioning Disk for Linux... (By cbbr...@io.org, Christopher Browne) A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On 09/11/13 16:45, Gene Heskett wrote: On Saturday 09 November 2013 11:11:40 Kirk Wallace did opine: I was recently looking at task, which also looked like it had no source. After poking around a while, it looks like task, and likely halui, are made up from other files brought to gether by the local makefile. I think having a good understanding of the make system, which I don't possess, should reveal the secrets behind these non-source files. This is what I have found on making so far: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MakefileDeMystified It appears I am barking up the wrong tree, it (halui.c) is in camunits-emc, and it is not currently rebuildable on Lucid, without a lot of fixing I'm not qualified to do. I saw Jon Kasunich mentioned somewhere in that I believe, but the build I'm trying to use was last built in 2008. On Hardy maybe. Perhaps, if that was Jon K., he could be persuaded to revisit that code bring it up to buildable on lucid? Paging Jon K. (pause) Paging Jon K. ;) In the meantime, all this video processing takes way too long, so I have posted to the linux-usb list, asking if its possible, from the lsusb -v output, to determine the cameras native imager resolution and its resultant RGB, BGR, etc format so that it doesn't waste time re-arranging, interpolating and compressing the data before it wraps it in a usb packet stuffs it into the cable. A secondary problem is that libv4lconvert yelps loudly about formats unknown when querying the logitech C920. I haven't tried transplanting a newer version for the default lucid version. Thanks Kent. On 11/09/2013 01:02 AM, Gene Heskett wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Thanks. Cheers, Gene Cheers, Gene Gene, are you using this version of Halio which is fixed for linuxcnc libs etc git://psha.org.ru/psha/emc-camunits -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On 09/11/13 16:45, Gene Heskett wrote: On Saturday 09 November 2013 11:11:40 Kirk Wallace did opine: I was recently looking at task, which also looked like it had no source. After poking around a while, it looks like task, and likely halui, are made up from other files brought to gether by the local makefile. I think having a good understanding of the make system, which I don't possess, should reveal the secrets behind these non-source files. This is what I have found on making so far: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MakefileDeMystified It appears I am barking up the wrong tree, it (halui.c) is in camunits-emc, and it is not currently rebuildable on Lucid, without a lot of fixing I'm not qualified to do. I saw Jon Kasunich mentioned somewhere in that I believe, but the build I'm trying to use was last built in 2008. On Hardy maybe. Perhaps, if that was Jon K., he could be persuaded to revisit that code bring it up to buildable on lucid? Paging Jon K. (pause) Paging Jon K. ;) In the meantime, all this video processing takes way too long, so I have posted to the linux-usb list, asking if its possible, from the lsusb -v output, to determine the cameras native imager resolution and its resultant RGB, BGR, etc format so that it doesn't waste time re-arranging, interpolating and compressing the data before it wraps it in a usb packet stuffs it into the cable. A secondary problem is that libv4lconvert yelps loudly about formats unknown when querying the logitech C920. I haven't tried transplanting a newer version for the default lucid version. Thanks Kent. On 11/09/2013 01:02 AM, Gene Heskett wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Thanks. Cheers, Gene Cheers, Gene also if your using and of the cu-plugins make sure the makefile has been changed to suit linuxcnc as in override CFLAGS += $(shell pkg-config --cflags opencv)-I/usr/include/linuxcnc -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On Saturday 09 November 2013 12:00:34 Kent Reed did opine: On Sat, Nov 9, 2013 at 4:02 AM, Gene Heskett ghesk...@wdtv.com wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Gene: I'm bewildered (nothing new!) so maybe I'll learn something here. The userland component halui is rebuilt from src/emc/usr_intf/halui.cc every time LinuxCNC is rebuilt from sources. Maybe it hasn't been edited recently because it hasn't needed any modification. This source file and the associated man page state in similar ways that halui exports various UI related hal pins and communicates with EMC through NML messages. To quote the man page, halui.mdi-command-XX bit in halui looks for ini variables named [HALUI]MDI_COMMAND, and exports a pin for each command it finds. When the pin is driven TRUE, halui runs the specified MDI command. XX is a two digit number starting at 00. If no [HALUI]MDI_COMMAND variables are set in the ini file, no halui.mdi-command-XX pins will be exported by halui. The docs section on INI Configuration say the same thing about [HALUI] in considerably less detail. What bewilders me is how a camview-emc stanza fits into [HALUI]. Is that described somewhere? Inquiring minds want to know. You see, I've got all these cams sitting around Regards, Kent I have a tarball, called emc-camunits that contains a halui.c dated only a year ago. I have no clue if that is the one LCNC is using. But it its only that old, it should be buildable on lucid. But is not: gene@shop:~/linuxcnc/emc-camunits$ make gcc -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include - I/usr/include/linuxcnc -DULAPI -c -o halio.o halio.c halio.c:7:21: error: GL/glut.h: No such file or directory halio.c: In function ‘_gl_draw_gl’: halio.c:379: error: ‘GLUT_BITMAP_HELVETICA_12’ undeclared (first use in this function) halio.c:379: error: (Each undeclared identifier is reported only once halio.c:379: error: for each function it appears in.) make: *** [halio.o] Error 1 That halio.c is dated: in August when I first unpacked it on this machine and used mc to copy it to the mills box. IOW that date isn't correct, its not the source date, but installed date, much newer. The one I assume I am executing is: -rw-r--r-- 1 root root 13720 2012-06-14 15:39 /usr/lib/camunits/halio.so And that obviously is not part of LCNC since it was updated this morning, to 2.5.3-61-gdf7d2fa. So I am confused when you say it is part of the LinuxCNC build? Me goes off scratching head. :) 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) Row, row, row your bits, gently down the stream... A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On Saturday 09 November 2013 12:36:00 David Armstrong did opine: On 09/11/13 16:45, Gene Heskett wrote: On Saturday 09 November 2013 11:11:40 Kirk Wallace did opine: I was recently looking at task, which also looked like it had no source. After poking around a while, it looks like task, and likely halui, are made up from other files brought to gether by the local makefile. I think having a good understanding of the make system, which I don't possess, should reveal the secrets behind these non-source files. This is what I have found on making so far: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MakefileDeMystified It appears I am barking up the wrong tree, it (halui.c) is in camunits-emc, and it is not currently rebuildable on Lucid, without a lot of fixing I'm not qualified to do. I saw Jon Kasunich mentioned somewhere in that I believe, but the build I'm trying to use was last built in 2008. On Hardy maybe. Perhaps, if that was Jon K., he could be persuaded to revisit that code bring it up to buildable on lucid? Paging Jon K. (pause) Paging Jon K. ;) In the meantime, all this video processing takes way too long, so I have posted to the linux-usb list, asking if its possible, from the lsusb -v output, to determine the cameras native imager resolution and its resultant RGB, BGR, etc format so that it doesn't waste time re-arranging, interpolating and compressing the data before it wraps it in a usb packet stuffs it into the cable. A secondary problem is that libv4lconvert yelps loudly about formats unknown when querying the logitech C920. I haven't tried transplanting a newer version for the default lucid version. Thanks Kent. On 11/09/2013 01:02 AM, Gene Heskett wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Thanks. Cheers, Gene Cheers, Gene Gene, are you using this version of Halio which is fixed for linuxcnc libs etc git://psha.org.ru/psha/emc-camunits This command, issued in a bash shell on that machine, returns gene@shop:~/linuxcnc$ git://psha.org.ru/psha/emc-camunits -bash: git://psha.org.ru/psha/emc-camunits: No such file or directory instantly, no dns query ever exits the ethernet port. and: gene@shop:~/linuxcnc$ sudo git://psha.org.ru/psha/emc-camunits [sudo] password for gene: sudo: git://psha.org.ru/psha/emc-camunits: command not found Fed to a web browser, firefox pleads insanity, and chromium on this machine shows me a directory list of the sites git tree, but nothing in the way of a downloadable package. Puzzled... git-core is installed, do I need a front end of some sort? Thanks David. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.cl ktrk ___ 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) It's not Camelot, but it's not Cleveland, either. -- Kevin White, Mayor of Boston A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On Saturday 09 November 2013 12:42:46 David Armstrong did opine: On 09/11/13 16:45, Gene Heskett wrote: On Saturday 09 November 2013 11:11:40 Kirk Wallace did opine: I was recently looking at task, which also looked like it had no source. After poking around a while, it looks like task, and likely halui, are made up from other files brought to gether by the local makefile. I think having a good understanding of the make system, which I don't possess, should reveal the secrets behind these non-source files. This is what I have found on making so far: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MakefileDeMystified It appears I am barking up the wrong tree, it (halui.c) is in camunits-emc, and it is not currently rebuildable on Lucid, without a lot of fixing I'm not qualified to do. I saw Jon Kasunich mentioned somewhere in that I believe, but the build I'm trying to use was last built in 2008. On Hardy maybe. Perhaps, if that was Jon K., he could be persuaded to revisit that code bring it up to buildable on lucid? Paging Jon K. (pause) Paging Jon K. ;) In the meantime, all this video processing takes way too long, so I have posted to the linux-usb list, asking if its possible, from the lsusb -v output, to determine the cameras native imager resolution and its resultant RGB, BGR, etc format so that it doesn't waste time re-arranging, interpolating and compressing the data before it wraps it in a usb packet stuffs it into the cable. A secondary problem is that libv4lconvert yelps loudly about formats unknown when querying the logitech C920. I haven't tried transplanting a newer version for the default lucid version. Thanks Kent. On 11/09/2013 01:02 AM, Gene Heskett wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Thanks. Cheers, Gene Cheers, Gene also if your using and of the cu-plugins make sure the makefile has been changed to suit linuxcnc as in override CFLAGS += $(shell pkg-config --cflags opencv)-I/usr/include/linuxcnc Which make file?, I have half a dozen of them. Thanks David. 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) Guillotine, n.: A French chopping center. A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On 09/11/13 17:31, Gene Heskett wrote: halio.c:7:21: error: GL/glut.h: No such file or directory you seem to be missing the freeglut3 librarys Dave -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On 09/11/13 17:44, Gene Heskett wrote: On Saturday 09 November 2013 12:42:46 David Armstrong did opine: On 09/11/13 16:45, Gene Heskett wrote: On Saturday 09 November 2013 11:11:40 Kirk Wallace did opine: I was recently looking at task, which also looked like it had no source. After poking around a while, it looks like task, and likely halui, are made up from other files brought to gether by the local makefile. I think having a good understanding of the make system, which I don't possess, should reveal the secrets behind these non-source files. This is what I have found on making so far: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MakefileDeMystified It appears I am barking up the wrong tree, it (halui.c) is in camunits-emc, and it is not currently rebuildable on Lucid, without a lot of fixing I'm not qualified to do. I saw Jon Kasunich mentioned somewhere in that I believe, but the build I'm trying to use was last built in 2008. On Hardy maybe. Perhaps, if that was Jon K., he could be persuaded to revisit that code bring it up to buildable on lucid? Paging Jon K. (pause) Paging Jon K. ;) In the meantime, all this video processing takes way too long, so I have posted to the linux-usb list, asking if its possible, from the lsusb -v output, to determine the cameras native imager resolution and its resultant RGB, BGR, etc format so that it doesn't waste time re-arranging, interpolating and compressing the data before it wraps it in a usb packet stuffs it into the cable. A secondary problem is that libv4lconvert yelps loudly about formats unknown when querying the logitech C920. I haven't tried transplanting a newer version for the default lucid version. Thanks Kent. On 11/09/2013 01:02 AM, Gene Heskett wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Thanks. Cheers, Gene Cheers, Gene also if your using and of the cu-plugins make sure the makefile has been changed to suit linuxcnc as in override CFLAGS += $(shell pkg-config --cflags opencv)-I/usr/include/linuxcnc Which make file?, I have half a dozen of them. Thanks David. Cheers, Gene try http://psha.org.ru/cgit/psha/emc-camunits and http://psha.org.ru/cgit/psha -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On 09/11/13 17:51, David Armstrong wrote: On 09/11/13 17:44, Gene Heskett wrote: On Saturday 09 November 2013 12:42:46 David Armstrong did opine: On 09/11/13 16:45, Gene Heskett wrote: On Saturday 09 November 2013 11:11:40 Kirk Wallace did opine: I was recently looking at task, which also looked like it had no source. After poking around a while, it looks like task, and likely halui, are made up from other files brought to gether by the local makefile. I think having a good understanding of the make system, which I don't possess, should reveal the secrets behind these non-source files. This is what I have found on making so far: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MakefileDeMystified It appears I am barking up the wrong tree, it (halui.c) is in camunits-emc, and it is not currently rebuildable on Lucid, without a lot of fixing I'm not qualified to do. I saw Jon Kasunich mentioned somewhere in that I believe, but the build I'm trying to use was last built in 2008. On Hardy maybe. Perhaps, if that was Jon K., he could be persuaded to revisit that code bring it up to buildable on lucid? Paging Jon K. (pause) Paging Jon K. ;) In the meantime, all this video processing takes way too long, so I have posted to the linux-usb list, asking if its possible, from the lsusb -v output, to determine the cameras native imager resolution and its resultant RGB, BGR, etc format so that it doesn't waste time re-arranging, interpolating and compressing the data before it wraps it in a usb packet stuffs it into the cable. A secondary problem is that libv4lconvert yelps loudly about formats unknown when querying the logitech C920. I haven't tried transplanting a newer version for the default lucid version. Thanks Kent. On 11/09/2013 01:02 AM, Gene Heskett wrote: Greetings; It appears that /usr/bin/halui has never been edited and rebuilt since a long time back. When the camview-emc stanza for [HALUI] is added to the ini file, I am getting a whole raft load of errors because halui can't find stuff it is apparently hard coded for, starting with the use of the emc naming convention. Is there a fix? Or, since I don't know where this file comes from, is it camview-emc's responsibility? Thanks. Cheers, Gene Cheers, Gene also if your using and of the cu-plugins make sure the makefile has been changed to suit linuxcnc as in override CFLAGS += $(shell pkg-config --cflags opencv)-I/usr/include/linuxcnc Which make file?, I have half a dozen of them. Thanks David. Cheers, Gene try http://psha.org.ru/cgit/psha/emc-camunits and http://psha.org.ru/cgit/psha -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users git clone git://psha.org.ru/psha/emc-camunits should do the trick -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On 9 November 2013 17:31, Gene Heskett ghesk...@wdtv.com wrote: So I am confused when you say it is part of the LinuxCNC build? Me goes off scratching head. :) You seem to be using the words halui and halio interchangeably. Computers are a lot less flexible. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] gcmc - v1.1.1
I also think this is a good idea. To test it I have quickly rewritten my g-code wheels program see attached file. It currently works only for paths cut in XY plane using XY movements. I cannot check this but the axis path plot look ok. My setup is a rotary system so I need to convert all cartesian XYZ movements into polar R theta depth movements where rotation is around the Z axis. Instead of move emitting g1 X?? Y?? Z?? I need to emit g1 x?? C?? Z?? . I am not sure how to do this. I havent looked yet in detail at the source code . I would appreciate any help / suggestions you have for creating a polar version of the goto and move functions. Thanks Alan // /* Code to produce wheels paths */ /* Using GCMC Compiler */ /* Author: Alan Battersby */ /* Version: 1.0 */ // // /* Each wheel is a vector of three components */ /* Radius - The radius of the wheel */ /* Speed - The speed of the wheel */ /* Phase - The phase of the wheel */ function Radius(wheel) { return wheel[0]; } function Speed(wheel) { return wheel[1]; } function Phase(wheel) { return wheel[2]; } function CreateWheel(r,s,p) { local w; w = [r,s,p]; return w; } /* Wheels are held in global vector list called wheels */ function CalcPoint (wheels,angle, cdepth) { local a,at, posn,r,s,p; posn= [0,0,cdepth]; a = to_rad(angle); foreach (wheels; w) { r = Radius(w); s = Speed(w); p = to_rad(Phase(w)); at = s * a + p; posn[0] += r * cos(at); posn[1] += r * sin(at); } return posn; } function CutPath (wheels, start,inc,end, cdepth , scale) { local angle, point; angle = start; /* move to first point at safe height */ while (angle = end) { if (angle == start) { /* we should be at safe height */ /* so move to cutting depth*/ point = CalcPoint(wheels,angle,safeheight); point = ScaleBy(scale,point); goto(point); goto([-,-,cdepth]); } else { point = CalcPoint(wheels,angle,cdepth); point = ScaleBy(scale,point); move(point); } angle += inc; } } /*** Library / function GoAtSafeHeight(x,y) { goto([-,-,safeheight]); goto([x,y,safeheight]); } function ScaleBy(sv, v) { return [sv[0] * v[0], sv[1] * v[1], sv[2] * v[2]]; } /*** main program ***/ safeheight = 1mm; cuttingdepth = -1mm; svec = [5,5,1]; wheels = {}; wheels[0] = CreateWheel(10,1,0); wheels[1] = CreateWheel(5,7,0); wheels[2] = CreateWheel(3.333,-17,90); feedrate(60); GoAtSafeHeight(0,0); CutPath(wheels,0,0.01,360,cuttingdepth, svec); GoAtSafeHeight(0,0); -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On Saturday 09 November 2013 13:50:32 David Armstrong did opine: On 09/11/13 17:31, Gene Heskett wrote: halio.c:7:21: error: GL/glut.h: No such file or directory you seem to be missing the freeglut3 librarys Dave I put that in, which ripped out a bunch of x11-mesa stuff. Built it, installed, tried linuxcc -l Camera images, all modes, all out of horizontal synch. Put the mesa glu bits back in, which ripped out the freeglut stuff and now I'm back to a working camera. No clue if the halio is changed or not, but I still get a few screen fulls of debugging info. All the halui pins enabled do show up in a hal config, same as before, but I have the last 2 of those commented out to stop errors, so it stops at -08 in that listing. The last 2 have a use I'm sure, but the buttons may not have been made. But I've no clue which buttons might be missing ATM. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.cl ktrk ___ 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) Fortune's graffito of the week (or maybe even month): Don't Write On Walls! (and underneath) You want I should type? A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] gcmc - v1.1.1
On 11/09/2013 07:40 PM, alan wrote: I also think this is a good idea. To test it I have quickly rewritten my g-code wheels program see attached file. It currently works only for paths cut in XY plane using XY movements. I cannot check this but the axis path plot look ok. Nice pattern. I'll include it, but may alter the formulation of the code a bit (see below). I am really excited that the grammar performs this well :-) My setup is a rotary system so I need to convert all cartesian XYZ movements into polar R theta depth movements where rotation is around the Z axis. Instead of move emitting g1 X?? Y?? Z?? I need to emit g1 x?? C?? Z?? . I am not sure how to do this. I havent looked yet in detail at the source code . I would appreciate any help / suggestions you have for creating a polar version of the goto and move functions. The current gcmc version uses a 6-axis system XYZABC in the vectors to move/goto calls. Arcs only use XYZ. However, there is a bug that fails the output at the moment because the ABC axes are converted to mm and not to degrees. A fix is in git (and pushed to gitorious). To move in a XZC axis system, you have vectors that look like: vec = [x, -, z, -, -, c]; An additional fix is in the pipeline which includes a 9-axis system XYZABCUVW, where XYZ and UVW are distance based and ABC angular based (also pushed to gitorious). A few comments on the code. You write: function CreateWheel(r,s,p) { local w; w = [r,s,p]; return w; } It could be simply written as (faster at runtime): function CreateWheel(r,s,p) { return [r,s,p]; } FWIW, you do not need the function as such... You call it with explicit addressing as: wheels = {}; wheels[0] = CreateWheel(10,1,0); wheels[1] = CreateWheel(5,7,0); wheels[2] = CreateWheel(3.333,-17,90); I would have written: wheels = {}; wheels += { CreateWheel(10,1,0) }; wheels += { CreateWheel(5,7,0) }; wheels += { CreateWheel(3.333,-17,90) }; or wheels = { [10, 1, 0], [5, 7, 0], [3.333, -17, 90] }; Both alternatives have the advantage that you do not need to keep track of the indices yourself. However, the latter may be more difficult to understand. There are more ways to come to the same result. Something not documented correctly (or not extensively enough) is the conversions of sin() arguments and to_XXX() functions. You do explicit radians conversion in CalcPoint() using to_rad(). If you have defined the angles from the start, then the conversions will be implicit in the grammar: wheels = { [10, 1, 0deg], [5, 7, 0deg], [3.333, -17, 90deg] }; ...and... CutPath(wheels, 0deg, 0.01deg, 360deg, cuttingdepth, svec); The sin(), cos() and tan() functions will internally convert from degrees to radians before calling the underlying system sin/cos/tan function. Your example has made it clear that I need to implement a vector slice/combine operator to isolate and combine XYZ, ABC and UVW parts of any vector. Also shift/rotate must be implemented for vectors (I already did that for vectorlists). Such operations would help vector calculations in some instances. Alternative is that a final calculation must do coordinate-system conversion, but that may be quite hard as it depends on the physical setup of the target. Some input on axis conversion and geometry conversion calculations and options is appreciated to find a generalized and easily comprehensible solution. -- Greetings Bertho (disclaimers are disclaimed) -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Something that bugs me
On Saturday 09 November 2013 15:55:25 andy pugh did opine: On 9 November 2013 17:31, Gene Heskett ghesk...@wdtv.com wrote: So I am confused when you say it is part of the LinuxCNC build? Me goes off scratching head. :) You seem to be using the words halui and halio interchangeably. Computers are a lot less flexible. Dam, by golly and shucks, I think you are right, Andy. Right embarrassing is what it is. :( I'll go sit in the corner for a while contemplate the memory of the sins I used to be able to do. :) Thanks. 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) BOFH excuse #251: Processes running slowly due to weak power supply A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Converting a Euro placer pick-and-place machine to LinuxCNC
My impression as well. I found it very difficult to make head or tail out of what is going on there. On 2013/11/09 06:34 PM, Jon Elson wrote: David Armstrong wrote: have you taken a look at OpenPnP http://openpnp.org it's written in java and communicates to Linuxcnc Looks interesting, but I can't see much indication of what they've accomplished. I browsed the Google group but couldn't see much there that really showed what they had so far. Jon -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Regards / Groete Marius D. Liebenberg MasterCut cc Cel: +27 82 698 3251 Tel: +27 12 743 6064 Fax: +27 86 551 8029 Skype: marius_d.liebenberg --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] gcmc - v1.1.1
On 11/09/2013 07:40 PM, alan wrote: To test it I have quickly rewritten my g-code wheels program see attached file. It currently works only for paths cut in XY plane using XY movements. I cannot check this but the axis path plot look ok. I made some small changes to the code. It runs a bit faster than the original version. Please note, gcmc 1.1.1 cannot compile it, you need version 1.1.2 or the git version. Version 1.1.1 lacks the ability to accept function calls as arguments in the creation of vector-lists (dies on an assert()). Get version 1.1.2 at: http://www.vagrearg.org/content/gcmc The documentation is also updated. -- Greetings Bertho (disclaimers are disclaimed) // /* Code to produce wheels paths */ /* Using GCMC Compiler */ /* Author: Alan Battersby */ /* Version: 1.0 */ // // /* Each wheel is a vector of three components */ /* Radius - The radius of the wheel */ /* Speed - The speed of the wheel */ /* Phase - The phase of the wheel */ function Radius(wheel) { return wheel[0]; } function Speed(wheel) { return wheel[1]; } function Phase(wheel) { return wheel[2]; } function CreateWheel(r, s, p) { return [r,s,p]; } /* Wheels are held in global vector list called wheels */ function CalcPoint(wheels, angle) { local at, posn, r, s, p, w; posn = [0, 0]; foreach (wheels; w) { r = Radius(w); s = Speed(w); p = Phase(w); at = s * angle + p; posn += [r * cos(at), r * sin(at) ]; } return posn; } function CutPath(wheels, start, inc, end, cdepth, scale) { local angle, point; /* move to first point at safe height */ for(angle = start; angle = end; angle += inc) { if (angle == start) { /* we should be at safe height */ /* so move to cutting depth*/ point = CalcPoint(wheels, angle); point = ScaleBy(scale, point); goto(point); goto([-,-,cdepth * scale[2]]); } else { point = CalcPoint(wheels, angle); point = ScaleBy(scale, point); move(point); } } } /*** Library / function GoAtSafeHeight(x,y) { goto([-,-,safeheight]); goto([x,y,safeheight]); } function ScaleBy(sv, v) { return [sv[0] * v[0], sv[1] * v[1]]; } /*** main program ***/ safeheight = 1mm; cuttingdepth = -1mm; svec = [5,5,1]; wheels = { CreateWheel(10, 1, 0deg), CreateWheel(5, 7, 0deg), CreateWheel(3.333, -17, 90deg) }; feedrate(60); GoAtSafeHeight(0, 0); CutPath(wheels, 0deg, 0.01deg, 360deg, cuttingdepth, svec); GoAtSafeHeight(0, 0); -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Converting a Euro placer pick-and-place machine to LinuxCNC
Marius Liebenberg wrote: My impression as well. I found it very difficult to make head or tail out of what is going on there. There is a video of a machine placing 0604 parts from tape, and it seems to work, but there was no info, screen shots or other indications of what they were doing. Anyway, my Philips CSM84 works well, but I do miss having the accuracy of a vision system. If it eventually croaks, it might make sense to add cameras and see what I could do in the area of a retrofit with modern technology. Jon -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)Rotary problems
Aaron, Marius L. is right about current LinuxCNC behaviour, but I would not say so about any CNC machine when you can let some amount of error in your toolpath, what G64P..Q.. (BTW, I suggest using Q parameter too) should do, but it does not do much in LinuxCNC and your case actually yet. This is because it is limited to 2 moves of look-ahead only and keeps velocity low to be able to fully stop the machine at your set max accel values after those two lines of G code. This is like driving a car in a dense fog. The car could go much faster, but you can't because you don't see further safe distance you want to be able to stop. (Just a thought: how you could drive it if you would know by 100% there is nothing on your road?..) To be straight, when I started using LinuxCNC (came from industrial machines, then Mach3 world which has big look-ahead capabilities) and I understood LinuxCNC look-ahead limitations, I was really upset. Maybe this is because I deal with 3D free-shape milling tasks mostly, which do have a lot of tiny segments, which make the toolpath and people who run those machines do count time as money.. But LinuxCNC people are trying to solve this problem and there are beta solutions in testing now. Look at thread Tech demo of circular arc blending on devel group. They got impressive results. And I can say this is the thing I am hoping and waiting from LinuxCNC most. And I hope it will not be limited to two or three axes / joints.. Another thing to try is NURBS G command. Marius Alksnys aaron moore aaronmo...@linuxmail.org wrote in message news:20131109131423.172...@gmx.com... Marius Thanks for your replymakes sense. Does G64 p# work on rotary files/systems? It didn't seem to when I ran it. Do you have any tips for reducing the numer of moves in a job? Sorry. I forgot to put a subject up top, Aaron - Original Message - From: Marius Liebenberg Sent: 11/09/13 11:17 AM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] (no subject) Aaron When you cut stuff with a lot of little cuts, especially curved cuts, the speed will always be slow. If you look at the constant velocity parameters of any CNC machine you will find that the machine has to accelerate and then decelerate again at the beginning and end of every cut or move. Unless you have a very light gantry with a huge acceleration, you will have a slow response. When the cuts are very short the machine does not have enough time to get to the requested feed rate before it has to slow down again. It is one of the pains of cutting 3D stuff. On 2013/11/09 12:58 PM, aaron moore wrote: Hi I am trying to get my head around running a rotary axis on top of a 3 axis router, but I am having problems; The main one is low feed speed. I have tried editing the code and inc reasing feed and acceleration in the ini file to increase the speed, but in makes no difference. I am trying to cut a helical final cut, which seems to have lots of tiny moves, but other files I have tried are almost as slow. Can any one offer some advice? The computer I run Lcnc on is very old an slow, does that have any bearing? Thanx in advance Aaron -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Way to control 6 axis robot, jerk limitation. Araisrobo?
Hello Marius, On Thu, Nov 7, 2013 at 9:36 AM, Marius Alksnys marius.alks...@gmail.comwrote: I am using MESA 5i23, 8i20, 7i49 (resolver card). I have 7i43-P (but without USB). Now I have even more questions: Isn't it possible to run some simulation without a hardware? For simulation, run linuxcnc with './configs/sim/axis/axis_mm.ini' Are these S velocity profiles realised in hardware only? If not - how to use them without this usb to 7i43 solution? It is implemented in tp.c ; therefore, it should be able to run with other hardware. Is it possible to use S velocity profile feature in RT linux? If yes - how? Our branch is not verified with RT linux. I wish to merge with Michael's Unified Build work to resolve this issue. Would it be hard to implement other types of outputs from 7i43 to control servo drives, for example, 3pwmgen for direct bridge control for 3 phase permanent magnet synchronous motors (or BLDC)? We control this type of motors with A/B phase pulse train. The PWM for velocity or torque control mode is under development. BTW, there are things to consider / fix in your wiki page: 1. Descibe the base where to start from - a lucid distro, freshly installed from a CD or master branch or precise. If precise - how to make / get one - from generic ubuntu or from linuxcnc + upgrade.. At this time, we support precise (ubuntu 12.04) only. 2. I got error running line git clone https://github.com/araisrobo/linuxcnc.git;, telling me that directory linuxcnc already exists.. Please try this: git clone https://github.com/araisrobo/linuxcnc.git linuxcnc-araisrobo 3. Correct ./autgen.sh to ./autogen.sh Thanks; it has been fixed. 4. Explain how to run linuxcnc every time.. We usually start a terminal, change to corresponding *.ini path, and start linuxcnc with linuxcnc INI-FILE. Thanks for your feedback, Yishin -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users