Re: [Emc-users] Beaglebone black latency
Here's a link of the process of setting up the BeagleBone from 7 years ago. And again as usual with a lot of these types of projects. Unfinished. Left hanging. https://machinekit.narkive.com/qsd3ZYMP/hal-vcp-controller-with-beaglebone-g reen-and-lcd-cape ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
On 8/5/23 20:47, John Dammeyer wrote: Three different screens. The Manga screens were for the Replicape which was a 5 axis stepper driver module for 3D printers. One axis driver failed and support for the cape vanished. The two manga touch screens never worked well. I even sent the original back to demonstrate the problem. It was returned with the comment that nothing was wrong with it. Touch still didn't work in the corners so like a fool I bought the large Manga 2. It's really just a converted Cell Phone screen. And the SD systems small board, although it worked, was also discontinued. And some of the pins for the button and display made running LinuxCNC difficult with the cape. And CAN bus was impossible without rewiring the cape. The other problem with the BBB is the HDMI interface is for lower res screens because that was the standard at the time. The 800x480 HDMI is discontinued. https://www.adafruit.com/product/2261 Maybe this one would work. Anyway, the key word is discontinued...discontinued...discontinued. Modern electronics has a lifetime now often less than the development time for a solid product. Not like the milling machine you buy and expect to use for 20 years. John After you throw away the junk electronics and rebuild the controller so it works. When dealing with a 6040, I learned that the school of hard knocks way. But now I have a decent machine. -Original Message- From: John Dammeyer [mailto:jo...@autoartisans.com] Sent: August 5, 2023 3:24 PM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Beaglebone black latency Me too. A closer look at the fine print and selecting the correct button shows the actual CNC controller is $513 or $541 for 3 or 4 axis respectively. The MPG is priced separately at $96. And this is why a BBB with a cape that included a Break Out Board with a few relays etc. for under $100 would be quite the bargain. The question is then what sort of display would be good. And you still need some sort of MPG to go with it for also about $100. For $94 I can get, from amazon.ca a 7inch HDMI LCD (H) 1024x600 Monitor IPS Screen Capacitive Touch Display Supports Raspberry Pi Jetson Nano BeagleBone Black Banana Pi & Microsoft XBOX360, Sony PS4,Nintendo Switch And therein lies the problem. Creating something similar to the $500 Chinese CNC controllers with touch screen will ultimately cost in the same $500 range. But unless the MachineKit or LinuxCNC version is stable with a target life similar to the life of the machine tool no one will spend the energy and time to make that. The market isn't big enough to justify the work required. Which is why so many of the Beagle Capes are no longer available. Next week there's an new ESP32 with more bells and whistles. Won't do what the Beagle does but ... John -Original Message- From: Martin Dobbins [mailto:tu...@hotmail.com] Sent: August 5, 2023 11:44 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Beaglebone black latency It makes me wonder which operating system they put on that Chinese controller, and what motion control system. Martin From: John Dammeyer Sent: Friday, August 4, 2023 7:41 PM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Beaglebone black latency My biggest issue with the Xylotex BBB Cape for CNC was that the logic for ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you wouldn't find out until you tried to save a body part from being injured with the ESTOP. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/> ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
Yeah I caught that after I posted. I think I corrected that in the next posting. Thanks for bringing that to everyone's attention though. So easy nowadays to get snagged. Must be vigilent. John > -Original Message- > From: Groups [mailto:gro...@homanndesigns.com] > Sent: August 6, 2023 6:43 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Beaglebone black latency > > Hi John, > Not really. That $100 is for the pendant only. The 3 axis controller is around > $550. > > A lot of AliExpress sellers now add multiple products to a single listing. > They > have a relatively cheap item there that makes the item you are after appear > cheap. > > That said you can get a similar 2 axis Chinese controller for about 1/3 that > price. > > Cheers > > Peter Homann - (from my mobile) > http://www.homanndesigns.com > > > On 6 Aug 2023, at 5:17 am, gene heskett wrote: > > > > ?On 8/5/23 14:45, Martin Dobbins wrote: > >> It makes me wonder which operating system they put on that Chinese > controller, and what motion control system. > >> Martin > >> > >> From: John Dammeyer > >> Sent: Friday, August 4, 2023 7:41 PM > >> To: 'Enhanced Machine Controller (EMC)' us...@lists.sourceforge.net> > >> Subject: Re: [Emc-users] Beaglebone black latency > >> My biggest issue with the Xylotex BBB Cape for CNC was that the logic for > ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you > wouldn't find out until you tried to save a body part from being injured with > the ESTOP. > >> But back when a BBB was around $50 and a cape around $25 you had a 3 > axis system. Obviously a break out board of some sort was needed but that's > true for MESA or any other type of interface just like motors and switches > are needed too. > >> The nice thing about these small systems with a small HDMI screen is that > they don't overwhelm the space taken by a small lathe like a 7x12 or Unimat > DB200. I don't want a full size screen, mouse and keyboard plus a PC clone > for my DB-200 which looks a lot like this one. > >> > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fi.redd. > it%2F83lxxjam0yj71.jpg&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db > 954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C6382679318 > 83275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi > V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l0 > 4m1ookT8TmrWx%2F8azPP2X2qqAyxgSJbezUEI7EZJM%3D&reserved=0 ps://i.redd.it/83lxxjam0yj71.jpg> > >> For $100 Cdn free shipping I can get a Chinese Controller. > >> > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww. > aliexpress.com%2Fitem%2F1005005195839565.html&data=05%7C01%7C%7C > dec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435aaa > a%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWI > joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3 > 000%7C%7C%7C&sdata=O3eRaBFYdAVqxPxwCTL9JCUiFaYmhWTcGtwJKa%2 > BJFT4%3D&reserved=0<https://www.aliexpress.com/item/100500519583956 > 5.html> > >> But I'd rather have a Linux based system or my ELS. > >> John > >>> -Original Message- > >>> From: Chris Albertson [mailto:albertson.ch...@gmail.com] > >>> Sent: August 4, 2023 5:20 PM > >>> To: Enhanced Machine Controller (EMC) > >>> Subject: Re: [Emc-users] Beaglebone black latency > >>> > >>> I think the BBB was popular because of the twp PRUs. These are > >>> programmable processors that are separate from the CPU. So you can > get > >>> very accurate real-time pulses out even with poor latency under Linux. > >>> > >>> However, this does require programming the PRUs.Machinekit had a > HAL > >>> unit for the PRUs. I don?t know if LinuxCNC has this or not. > >>> > >>> > >>> > >>> > >>>> On Aug 4, 2023, at 11:18 AM, andy pugh > wrote: > >>>> > >>>> On Fri, 4 Aug 2023 at 01:48, alanmthomason--- via Emc-users > >>>> wrote: > >>>>> > >>>>> Hi There.I'm trying to work through setting up linuxcnc on a > beaglebone > >>>>> black. I've run the latency-test, with results that are not looking > >>>>> good.has anyone else run this test with a Beaglebone black? Is there > any > >>>>> way to improve results. > >>>> > >&g
Re: [Emc-users] Beaglebone black latency
Hi John, Not really. That $100 is for the pendant only. The 3 axis controller is around $550. A lot of AliExpress sellers now add multiple products to a single listing. They have a relatively cheap item there that makes the item you are after appear cheap. That said you can get a similar 2 axis Chinese controller for about 1/3 that price. Cheers Peter Homann - (from my mobile) http://www.homanndesigns.com > On 6 Aug 2023, at 5:17 am, gene heskett wrote: > > On 8/5/23 14:45, Martin Dobbins wrote: >> It makes me wonder which operating system they put on that Chinese >> controller, and what motion control system. >> Martin >> >> From: John Dammeyer >> Sent: Friday, August 4, 2023 7:41 PM >> To: 'Enhanced Machine Controller (EMC)' >> Subject: Re: [Emc-users] Beaglebone black latency >> My biggest issue with the Xylotex BBB Cape for CNC was that the logic for >> ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you >> wouldn't find out until you tried to save a body part from being injured >> with the ESTOP. >> But back when a BBB was around $50 and a cape around $25 you had a 3 axis >> system. Obviously a break out board of some sort was needed but that's true >> for MESA or any other type of interface just like motors and switches are >> needed too. >> The nice thing about these small systems with a small HDMI screen is that >> they don't overwhelm the space taken by a small lathe like a 7x12 or Unimat >> DB200. I don't want a full size screen, mouse and keyboard plus a PC clone >> for my DB-200 which looks a lot like this one. >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fi.redd.it%2F83lxxjam0yj71.jpg&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l04m1ookT8TmrWx%2F8azPP2X2qqAyxgSJbezUEI7EZJM%3D&reserved=0<https://i.redd.it/83lxxjam0yj71.jpg> >> For $100 Cdn free shipping I can get a Chinese Controller. >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.aliexpress.com%2Fitem%2F1005005195839565.html&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=O3eRaBFYdAVqxPxwCTL9JCUiFaYmhWTcGtwJKa%2BJFT4%3D&reserved=0<https://www.aliexpress.com/item/1005005195839565.html> >> But I'd rather have a Linux based system or my ELS. >> John >>> -Original Message- >>> From: Chris Albertson [mailto:albertson.ch...@gmail.com] >>> Sent: August 4, 2023 5:20 PM >>> To: Enhanced Machine Controller (EMC) >>> Subject: Re: [Emc-users] Beaglebone black latency >>> >>> I think the BBB was popular because of the twp PRUs. These are >>> programmable processors that are separate from the CPU. So you can get >>> very accurate real-time pulses out even with poor latency under Linux. >>> >>> However, this does require programming the PRUs.Machinekit had a HAL >>> unit for the PRUs. I don�t know if LinuxCNC has this or not. >>> >>> >>> >>> >>>> On Aug 4, 2023, at 11:18 AM, andy pugh wrote: >>>> >>>> On Fri, 4 Aug 2023 at 01:48, alanmthomason--- via Emc-users >>>> wrote: >>>>> >>>>> Hi There.I'm trying to work through setting up linuxcnc on a beaglebone >>>>> black. I've run the latency-test, with results that are not looking >>>>> good.has anyone else run this test with a Beaglebone black? Is there any >>>>> way to improve results. >>>> >>>> I think that when Machinekit were fond of the Beaglebone they tended >>>> to run it headless. I can't recall whether that was just poor graphics >>>> performance in general, or whether it was due to latency issues. >>>> >>>> You could try installing the (old) Machinekit image to see if the >>>> latency with that kernel is better. >>>> >>>> -- >>>> atp >>>> "A motorcycle is a bicycle with a pandemonium attachment and is >>>> designed for the especial use of mechanical geniuses, daredevils and >>>> lunatics." >>>> � George Fitch, Atlanta Constitution Newspaper, 1912 >>>> >>>> >>>>
Re: [Emc-users] Beaglebone black latency
Here's a bit more info with respect to displays for the BBB. (Or Pi for that matter) The Backpack with Touch HDMI from Adafruit is 800x480 (out of stock and is now 800x600) https://www.adafruit.com/product/2407 On my Version the Beagle MachineKit main screen looks nice. http://www.autoartisans.com/beagle/800x480_Display.jpg But run MachineKit and it's clear that the screen really is too small for the AXIS user interface. http://www.autoartisans.com/beagle/800x480_MachineKit.jpg So to use this with MachineKit requires a new user interface design and that means something like the PSNG screen for probing is also not usable without a complete redesign. I did show the phot with the two MANGA screens. They came from Norway, made in China. https://www.iagent.no/product/manga-screen-2-big/ The MANGA2 is a 1080P screen in size and if I could figure out how to boot to turn the display 90 degrees everything would should up but boy are things tiny... http://www.autoartisans.com/beagle/Manga2_MachineKit.jpg I forget the resolution of the MANGA 1 screen but again needs to be rotated and might also be too small. http://www.autoartisans.com/beagle/Manga1_MachineKit.jpg There is a version of the PSNG Probe screen for 1024x768 so I think that would have to be the minimum LCD display in at least 7" but likely better 10" for fat fingers http://www.autoartisans.com/beagle/Screenshot1024x768.png I'm pretty sure this was the latest HAL and INI files for this BBB. http://www.autoartisans.com/beagle/XylotexG3616.hal http://www.autoartisans.com/beagle/XylotexG3616.ini A 1280x800 10" display is available from Amazon.ca for $235 but no touch screen. https://www.amazon.ca/Eyoyo-Monitor-1280x800-Resolution-Security/dp/B072N2YGXN Or 1280x800 with touch screen for $169. https://www.amazon.ca/Raspberry-Inch-Touch-Screen-Touchscreen/dp/B0776VNW9C/ref=sr_1_10 No idea how good this is but if it did work with the Beagle or the PI4+MESA_7i92 it could be a nice small form factor CNC system. Upside with RPI up to date LinuxCNC. Downside with Beagle is old MachineKit but hardware is already here for a small lathe. All of this is relative turnkey and doesn't involve writing a brand new CNC program on an ESP32. John ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
Oh yeah. Happier with LinuxCNC than MACH3 although I must admit MACH3 was an easier entry point and with a few lines of basic code and a clip lead on the tool bit had the zero probing working well. Now for LinuxCNC I took a stab at using a modified m6remap.ngc in the PSNG screen. https://forum.linuxcnc.org/49-basic-configuration/29187-work-with-probe?start=610#275121 This posting here shows how I got around the issue so I could keep testing the code. https://forum.linuxcnc.org/49-basic-configuration/29187-work-with-probe?start=620#275187 And although the one on the left was done with a too high feed rate for a 0.125" cutter the one on the right is much better. So yes, I'm using LinuxCNC https://forum.linuxcnc.org/49-basic-configuration/29187-work-with-probe?start=650#276929 Even have power tapping working. First try into wood instead of metal but I've since done metal. https://youtu.be/l_GkLj942jw John > -Original Message- > From: Sam Sokolik [mailto:samco...@gmail.com] > Sent: August 5, 2023 7:06 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Beaglebone black latency > > OMG - I keep forgetting you are the ELS guy! I am glad you are here. And > trying linuxcnc.. > > You know how much works goes into these things! I have dabbled a bit in > some Arduino and such.. It is painful for me because ever time I seem to > have to relearn it. > > Granted I have a pretty long history with linuxcnc (I really got into it at > the start of emc2 and HAL) but for me it really is a swiss army knife. I > see problems that have a linuxcnc solutions :) > > Just the HAL part is so powerful and flexible.. > > sam > > > On Sat, Aug 5, 2023 at 8:57�PM John Dammeyer > wrote: > > > Sam, > > You are my hero when it comes to this sort of thing. I wanted to link one > > of your RPI youtube videos but for some reason Youtube wasn't helping > with > > my searches. > > > > I too have written CNC software, way back, Z80 Assembler for a laser > > cutter as a demo that the machine was capable of what the end customer > > wanted. At that point emc1 was just getting started. > > > > And my ELS, with reasonable threading using a 1PPR spindle sensor, has > > been stable for many years and I will support it as long as I possibly > > can. And of course it's open source.Although it's been on the back > > burner for a while, since April 2020, I used a MicroChip Automotive > > Networking Board that takes a PIM module (PIC32) and created and > interface > > board to translate 3.3V signals to 5V and put them onto the correct pins of > > a PIC18F4685. This photo is too large to attach so here's a link. > > > > http://www.autoartisans.com/ELS/AdaptorBoard-7.jpg > > > > I then created a project and new init code for a PIC32 instead of the > > PIC18 and with actually very little effort had the 8 bit code running on > > the 32 bit processor including the micro-stepping 3A 50V stepper motor > > driver. The plan, when I get to it and stop breaking touch probes on my > > mill, is a small add on board that plugs into the 40 pin PIC18 socket. The > > board will also have an extra 8 pin connector for a differential quadrature > > encoder and a bit of extra I/O for 0-10V output for spindle VFD. But the > > basic ELS behaviour won't change that much. > > > > But with a 32 bit processor the potential of creating a better trajectory > > planner so that an operator can hand turn the lathe spindle back and forth > > and have the Z axis track might be something I will attempt. With that > > experience behind me I'd love to see someone do it quickly on a different > > 32 bit processor. > > > > At the moment I'm also playing with a dspic33ch128mp508_pim mounted > on an > > Explorer 16 motherboard.It's a dual core 16 bit processor and I've > > taken the basic demo application and modified it to read a quadrature > > encoder. When I select the S3 button it shows encoder displacement in > > degrees to the nearest 100th and velocity in steps every 50mS. > > > > dsPIC33CH128MP508 Demo PIM Version 0.02a > > S3:Main only > > S6:Main+Second > > >q > > Counter = 0 > > Control = 0x8000 > > IOControl= 0x0004 > > Status = 0x0002 > > Position Counter = 0 > > Velocity Counter = 0 > > Position Hold= 0 > > >? > > q : Show QEI Register values > > rx(=x) : Report or Set memory location using hex address=data > > v : Print Version and Build info > > >v > > dsPI
Re: [Emc-users] Beaglebone black latency
OMG - I keep forgetting you are the ELS guy! I am glad you are here. And trying linuxcnc.. You know how much works goes into these things! I have dabbled a bit in some Arduino and such.. It is painful for me because ever time I seem to have to relearn it. Granted I have a pretty long history with linuxcnc (I really got into it at the start of emc2 and HAL) but for me it really is a swiss army knife. I see problems that have a linuxcnc solutions :) Just the HAL part is so powerful and flexible.. sam On Sat, Aug 5, 2023 at 8:57 PM John Dammeyer wrote: > Sam, > You are my hero when it comes to this sort of thing. I wanted to link one > of your RPI youtube videos but for some reason Youtube wasn't helping with > my searches. > > I too have written CNC software, way back, Z80 Assembler for a laser > cutter as a demo that the machine was capable of what the end customer > wanted. At that point emc1 was just getting started. > > And my ELS, with reasonable threading using a 1PPR spindle sensor, has > been stable for many years and I will support it as long as I possibly > can. And of course it's open source.Although it's been on the back > burner for a while, since April 2020, I used a MicroChip Automotive > Networking Board that takes a PIM module (PIC32) and created and interface > board to translate 3.3V signals to 5V and put them onto the correct pins of > a PIC18F4685. This photo is too large to attach so here's a link. > > http://www.autoartisans.com/ELS/AdaptorBoard-7.jpg > > I then created a project and new init code for a PIC32 instead of the > PIC18 and with actually very little effort had the 8 bit code running on > the 32 bit processor including the micro-stepping 3A 50V stepper motor > driver. The plan, when I get to it and stop breaking touch probes on my > mill, is a small add on board that plugs into the 40 pin PIC18 socket. The > board will also have an extra 8 pin connector for a differential quadrature > encoder and a bit of extra I/O for 0-10V output for spindle VFD. But the > basic ELS behaviour won't change that much. > > But with a 32 bit processor the potential of creating a better trajectory > planner so that an operator can hand turn the lathe spindle back and forth > and have the Z axis track might be something I will attempt. With that > experience behind me I'd love to see someone do it quickly on a different > 32 bit processor. > > At the moment I'm also playing with a dspic33ch128mp508_pim mounted on an > Explorer 16 motherboard.It's a dual core 16 bit processor and I've > taken the basic demo application and modified it to read a quadrature > encoder. When I select the S3 button it shows encoder displacement in > degrees to the nearest 100th and velocity in steps every 50mS. > > dsPIC33CH128MP508 Demo PIM Version 0.02a > S3:Main only > S6:Main+Second > >q > Counter = 0 > Control = 0x8000 > IOControl= 0x0004 > Status = 0x0002 > Position Counter = 0 > Velocity Counter = 0 > Position Hold= 0 > >? > q : Show QEI Register values > rx(=x) : Report or Set memory location using hex address=data > v : Print Version and Build info > >v > dsPIC33CH128MP508 Demo PIM Version 0.02a > > I also have a TI Launchpad with dual core and QEI support. It's also 16 > bit but has some pretty impressive math capabilities for doing real time > trajectory planning. > > But each of these projects all suffer from the same issue (as would an > ESP32 module). One still has to build a board, assemble it, test it and > mount it into a box. The Beagle with a cape and Pi4 with a MESA are just > so much easier. > > Even just the adaptor board for my ELS and the software was a few months > of hobby time spent. Doing a full trajectory planner is a huge undertaking. > > John > > > -Original Message- > > From: Sam Sokolik [mailto:samco...@gmail.com] > > Sent: August 5, 2023 5:51 PM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Beaglebone black latency > > > > I agree..It is so easy isn't it? Just use a ESP32! > > > > I tried to write a machine controller when I was in my 20's... This was > > before I found turbocnc (which sucked) and linuxcnc. (emc1) > > > > I also helped test the trajectory planner improvements made when Rob > > added > > n-segment read-ahead. It took months to make something viable that also > > worked as an actual cnc (tool offsets, velocity/acc constraints, cnc > > stuff...) > > > > Someone that comes in and says - you can easily use x and y to make a > great > > cnc c
Re: [Emc-users] Beaglebone black latency
Sam, You are my hero when it comes to this sort of thing. I wanted to link one of your RPI youtube videos but for some reason Youtube wasn't helping with my searches. I too have written CNC software, way back, Z80 Assembler for a laser cutter as a demo that the machine was capable of what the end customer wanted. At that point emc1 was just getting started. And my ELS, with reasonable threading using a 1PPR spindle sensor, has been stable for many years and I will support it as long as I possibly can. And of course it's open source.Although it's been on the back burner for a while, since April 2020, I used a MicroChip Automotive Networking Board that takes a PIM module (PIC32) and created and interface board to translate 3.3V signals to 5V and put them onto the correct pins of a PIC18F4685. This photo is too large to attach so here's a link. http://www.autoartisans.com/ELS/AdaptorBoard-7.jpg I then created a project and new init code for a PIC32 instead of the PIC18 and with actually very little effort had the 8 bit code running on the 32 bit processor including the micro-stepping 3A 50V stepper motor driver. The plan, when I get to it and stop breaking touch probes on my mill, is a small add on board that plugs into the 40 pin PIC18 socket. The board will also have an extra 8 pin connector for a differential quadrature encoder and a bit of extra I/O for 0-10V output for spindle VFD. But the basic ELS behaviour won't change that much. But with a 32 bit processor the potential of creating a better trajectory planner so that an operator can hand turn the lathe spindle back and forth and have the Z axis track might be something I will attempt. With that experience behind me I'd love to see someone do it quickly on a different 32 bit processor. At the moment I'm also playing with a dspic33ch128mp508_pim mounted on an Explorer 16 motherboard.It's a dual core 16 bit processor and I've taken the basic demo application and modified it to read a quadrature encoder. When I select the S3 button it shows encoder displacement in degrees to the nearest 100th and velocity in steps every 50mS. dsPIC33CH128MP508 Demo PIM Version 0.02a S3:Main only S6:Main+Second >q Counter = 0 Control = 0x8000 IOControl= 0x0004 Status = 0x0002 Position Counter = 0 Velocity Counter = 0 Position Hold= 0 >? q : Show QEI Register values rx(=x) : Report or Set memory location using hex address=data v : Print Version and Build info >v dsPIC33CH128MP508 Demo PIM Version 0.02a I also have a TI Launchpad with dual core and QEI support. It's also 16 bit but has some pretty impressive math capabilities for doing real time trajectory planning. But each of these projects all suffer from the same issue (as would an ESP32 module). One still has to build a board, assemble it, test it and mount it into a box. The Beagle with a cape and Pi4 with a MESA are just so much easier. Even just the adaptor board for my ELS and the software was a few months of hobby time spent. Doing a full trajectory planner is a huge undertaking. John > -Original Message- > From: Sam Sokolik [mailto:samco...@gmail.com] > Sent: August 5, 2023 5:51 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Beaglebone black latency > > I agree..It is so easy isn't it? Just use a ESP32! > > I tried to write a machine controller when I was in my 20's... This was > before I found turbocnc (which sucked) and linuxcnc. (emc1) > > I also helped test the trajectory planner improvements made when Rob > added > n-segment read-ahead. It took months to make something viable that also > worked as an actual cnc (tool offsets, velocity/acc constraints, cnc > stuff...) > > Someone that comes in and says - you can easily use x and y to make a great > cnc controller are quite naive... The grbl controller that every one touts > as a great solution is so basic it is scary.. works great for a basic 3 > axis mill - but that is it. > > I have actually been using a rpi4 and mesa to run an actual mill to machine > actual stuff. It works very well - no issues... > > It does some amazing stuff like... (and is an actual cnc controller that > takes actual gcode..) Am I getting my point across? > > https://www.youtube.com/shorts/23bEsKMNJH0 > > sam > > > > On Sat, Aug 5, 2023 at 7:30�PM John Dammeyer > wrote: > > > Chris, > > I must admit I had a bit of a chuckle when I read your answer. It's so > > easy to just do this or use that or add these and then you are good to go. > > > > If it's that easy I expect you'll have that tablet with the wifi > > connection to the ESP32 and be executing G-Code by the end of Aug
Re: [Emc-users] Beaglebone black latency
As I said, this is what I did. It is not a machine tool but a walking dog-robot. The human interface can run on my iPhone. Today we have things like $4 micro controllers (like the RP2020) that can run an RTOS. It makes sense to use them as they are more capable than the IBM PC was when LCNC was new. Would I ever do this for a machine tool? No. For me a machine tool is a tool. I use it to make stuff. > On Aug 5, 2023, at 5:26 PM, John Dammeyer wrote: > > Chris, > I must admit I had a bit of a chuckle when I read your answer. It's so easy > to just do this or use that or add these and then you are good to go. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
I agree..It is so easy isn't it? Just use a ESP32! I tried to write a machine controller when I was in my 20's... This was before I found turbocnc (which sucked) and linuxcnc. (emc1) I also helped test the trajectory planner improvements made when Rob added n-segment read-ahead. It took months to make something viable that also worked as an actual cnc (tool offsets, velocity/acc constraints, cnc stuff...) Someone that comes in and says - you can easily use x and y to make a great cnc controller are quite naive... The grbl controller that every one touts as a great solution is so basic it is scary.. works great for a basic 3 axis mill - but that is it. I have actually been using a rpi4 and mesa to run an actual mill to machine actual stuff. It works very well - no issues... It does some amazing stuff like... (and is an actual cnc controller that takes actual gcode..) Am I getting my point across? https://www.youtube.com/shorts/23bEsKMNJH0 sam On Sat, Aug 5, 2023 at 7:30 PM John Dammeyer wrote: > Chris, > I must admit I had a bit of a chuckle when I read your answer. It's so > easy to just do this or use that or add these and then you are good to go. > > If it's that easy I expect you'll have that tablet with the wifi > connection to the ESP32 and be executing G-Code by the end of August right? > > Other than wiring up motors and all the mechanicals, which has to be done > for any CNC installation the time to get the CNC running was even less time > than from now until the end of August for me. And I likely would have been > using this were it not for the inverted ESTOP. > https://youtu.be/9GF709ZfLRQ > Instead I went the PC route and did a dual boot between LinuxCNC and > WIN-XP for MACH3. After that I bought the MESA 7i92H after also mucking > around with my USB SmoothStepper (MACH3) from my CNC router.I decided > Linux had a better future than WIN-XP so although I still run MACH3 on the > CNC router the mill has LinuxCNC. > > On the workbench I muck around with a Pi4 and MESA 7i92H. Go onto you > tube and search Raspberry Pi and LinuxCNC and there are lots. > Again one like this is much faster to set up than your suggestion and not > any more expensive. > https://youtu.be/qL530kJUmII > > I do look forward to your progress on that novel idea of a tablet, ESP32, > RTOS and all the code to deal with trajectory planning. > Keep us informed. Maybe some videos of the intermediate steps. > Especially since as you imply it's so easy to go that route. > > It would be interesting if you could do it for less than > https://youtu.be/X-DY6iL6NcI > > John > > > > -Original Message- > > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > > Sent: August 5, 2023 4:02 PM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Beaglebone black latency > > > > Why start with a BBB/Pi4 and then add a screen and so on. > > > > A better starting place would be a low-cost Android tablet. Perhaps > like this > > one. For $120 you get the CPU (that runs Linux), a touch screen and > WiFi. > > What is needed is a way to connect it to a machine tool. > > https://www.bestbuy.com/site/samsung-galaxy-tab-a7-lite-8-7-32gb-with- > > wi-fi-dark-gray/6464584.p?skuId=6464584? > > Samsung Galaxy Tab A7 Lite 8.7" 32GB with Wi-Fi Dark Gray SM- > > T220NZAAXAR > > bestbuy.com > > > > I would use something like a small 32-bit micro controller to do the > real-time > > pulses and switch monitoring. If you would choose an ESP32 then the > > interface to the tablet is wireless. But you could use USB as both > devices > > have USB built-in. USB has a built-in asocronus mode where data moves in > > strict real-time. But this might not be needed if 100% of the RT loops > are > > onthe microcontroller. > > > > The ESP32 is a dual-CPU, 32-bit device with more then enough computer > > power to run a CNC controller. I would 100%, for sure run an RTOS > > (FreeRTOS or Mbed) on the ESP32. The tablet is just the user interface > and > > �MPG�. > > > > I am currently using ESP32 to generate PWM control for a 12-axis robot > and > > I�m getting sub microsecond pulse accuracy which is more then my > > application needs. It is very fast and written 100% in Python. > > > > If the user already had an Android tablet or wanted to buy a used tablet > you > > really could under cut the cost of a $500 Chinese device. > > > > LCNC was written to take advantage of �cheap� community hardware. This > > is when a basic 16-bit PC would sell for �only� about $3,500. Today�s > > commodity hardware is cal
Re: [Emc-users] Beaglebone black latency
Three different screens. The Manga screens were for the Replicape which was a 5 axis stepper driver module for 3D printers. One axis driver failed and support for the cape vanished. The two manga touch screens never worked well. I even sent the original back to demonstrate the problem. It was returned with the comment that nothing was wrong with it. Touch still didn't work in the corners so like a fool I bought the large Manga 2. It's really just a converted Cell Phone screen. And the SD systems small board, although it worked, was also discontinued. And some of the pins for the button and display made running LinuxCNC difficult with the cape. And CAN bus was impossible without rewiring the cape. The other problem with the BBB is the HDMI interface is for lower res screens because that was the standard at the time. The 800x480 HDMI is discontinued. https://www.adafruit.com/product/2261 Maybe this one would work. Anyway, the key word is discontinued...discontinued...discontinued. Modern electronics has a lifetime now often less than the development time for a solid product. Not like the milling machine you buy and expect to use for 20 years. John > -Original Message- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: August 5, 2023 3:24 PM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Beaglebone black latency > > Me too. A closer look at the fine print and selecting the correct button shows > the actual CNC controller is $513 or $541 for 3 or 4 axis respectively. The MPG > is priced separately at $96. > > And this is why a BBB with a cape that included a Break Out Board with a few > relays etc. for under $100 would be quite the bargain. The question is then > what sort of display would be good. And you still need some sort of MPG to > go with it for also about $100. > > For $94 I can get, from amazon.ca a 7inch HDMI LCD (H) 1024x600 Monitor > IPS Screen Capacitive Touch Display Supports Raspberry Pi Jetson Nano > BeagleBone Black Banana Pi & Microsoft XBOX360, Sony PS4,Nintendo Switch > > And therein lies the problem. Creating something similar to the $500 Chinese > CNC controllers with touch screen will ultimately cost in the same $500 range. > But unless the MachineKit or LinuxCNC version is stable with a target life > similar to the life of the machine tool no one will spend the energy and time > to make that. > > The market isn't big enough to justify the work required. Which is why so > many of the Beagle Capes are no longer available. Next week there's an new > ESP32 with more bells and whistles. Won't do what the Beagle does but ... > > John > > > > -Original Message- > > From: Martin Dobbins [mailto:tu...@hotmail.com] > > Sent: August 5, 2023 11:44 AM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Beaglebone black latency > > > > It makes me wonder which operating system they put on that Chinese > > controller, and what motion control system. > > > > Martin > > > > ____ > > From: John Dammeyer > > Sent: Friday, August 4, 2023 7:41 PM > > To: 'Enhanced Machine Controller (EMC)' > us...@lists.sourceforge.net> > > Subject: Re: [Emc-users] Beaglebone black latency > > > > My biggest issue with the Xylotex BBB Cape for CNC was that the logic for > > ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you > > wouldn't find out until you tried to save a body part from being injured with > > the ESTOP. > > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
I've attached a photo of one option for the Beagle that I was setting up for my Lathe. The down side is the 800x480 touch screen from Adafruit. Although it's HDMI and has USB for the touch screen I don't think it's made anymore. So that makes writing software for that size screen kind of a waste of time. The parts are: BBB 2GB Xylotex (not made anymore) Proto board with level translator for quadrature encoder for lathe spindle $4 Breakout Board through AliExpress. I've reverse engineered this board and created a schematic. 800x480 LCD Touch Screen. I'll follow up this with another photo of some of the other also discontinued touch screens. John > -Original Message- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: August 5, 2023 3:24 PM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Beaglebone black latency > > Me too. A closer look at the fine print and selecting the correct button shows > the actual CNC controller is $513 or $541 for 3 or 4 axis respectively. The MPG > is priced separately at $96. > > And this is why a BBB with a cape that included a Break Out Board with a few > relays etc. for under $100 would be quite the bargain. The question is then > what sort of display would be good. And you still need some sort of MPG to > go with it for also about $100. > > For $94 I can get, from amazon.ca a 7inch HDMI LCD (H) 1024x600 Monitor > IPS Screen Capacitive Touch Display Supports Raspberry Pi Jetson Nano > BeagleBone Black Banana Pi & Microsoft XBOX360, Sony PS4,Nintendo Switch > > And therein lies the problem. Creating something similar to the $500 Chinese > CNC controllers with touch screen will ultimately cost in the same $500 range. > But unless the MachineKit or LinuxCNC version is stable with a target life > similar to the life of the machine tool no one will spend the energy and time > to make that. > > The market isn't big enough to justify the work required. Which is why so > many of the Beagle Capes are no longer available. Next week there's an new > ESP32 with more bells and whistles. Won't do what the Beagle does but ... > > John > > > > -Original Message----- > > From: Martin Dobbins [mailto:tu...@hotmail.com] > > Sent: August 5, 2023 11:44 AM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Beaglebone black latency > > > > It makes me wonder which operating system they put on that Chinese > > controller, and what motion control system. > > > > Martin > > > > > > From: John Dammeyer > > Sent: Friday, August 4, 2023 7:41 PM > > To: 'Enhanced Machine Controller (EMC)' > us...@lists.sourceforge.net> > > Subject: Re: [Emc-users] Beaglebone black latency > > > > My biggest issue with the Xylotex BBB Cape for CNC was that the logic for > > ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you > > wouldn't find out until you tried to save a body part from being injured with > > the ESTOP. > > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
Chris, I must admit I had a bit of a chuckle when I read your answer. It's so easy to just do this or use that or add these and then you are good to go. If it's that easy I expect you'll have that tablet with the wifi connection to the ESP32 and be executing G-Code by the end of August right? Other than wiring up motors and all the mechanicals, which has to be done for any CNC installation the time to get the CNC running was even less time than from now until the end of August for me. And I likely would have been using this were it not for the inverted ESTOP. https://youtu.be/9GF709ZfLRQ Instead I went the PC route and did a dual boot between LinuxCNC and WIN-XP for MACH3. After that I bought the MESA 7i92H after also mucking around with my USB SmoothStepper (MACH3) from my CNC router.I decided Linux had a better future than WIN-XP so although I still run MACH3 on the CNC router the mill has LinuxCNC. On the workbench I muck around with a Pi4 and MESA 7i92H. Go onto you tube and search Raspberry Pi and LinuxCNC and there are lots. Again one like this is much faster to set up than your suggestion and not any more expensive. https://youtu.be/qL530kJUmII I do look forward to your progress on that novel idea of a tablet, ESP32, RTOS and all the code to deal with trajectory planning. Keep us informed. Maybe some videos of the intermediate steps. Especially since as you imply it's so easy to go that route. It would be interesting if you could do it for less than https://youtu.be/X-DY6iL6NcI John > -Original Message- > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: August 5, 2023 4:02 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Beaglebone black latency > > Why start with a BBB/Pi4 and then add a screen and so on. > > A better starting place would be a low-cost Android tablet. Perhaps like this > one. For $120 you get the CPU (that runs Linux), a touch screen and WiFi. > What is needed is a way to connect it to a machine tool. > https://www.bestbuy.com/site/samsung-galaxy-tab-a7-lite-8-7-32gb-with- > wi-fi-dark-gray/6464584.p?skuId=6464584? > Samsung Galaxy Tab A7 Lite 8.7" 32GB with Wi-Fi Dark Gray SM- > T220NZAAXAR > bestbuy.com > > I would use something like a small 32-bit micro controller to do the > real-time > pulses and switch monitoring. If you would choose an ESP32 then the > interface to the tablet is wireless. But you could use USB as both devices > have USB built-in. USB has a built-in asocronus mode where data moves in > strict real-time. But this might not be needed if 100% of the RT loops are > onthe microcontroller. > > The ESP32 is a dual-CPU, 32-bit device with more then enough computer > power to run a CNC controller. I would 100%, for sure run an RTOS > (FreeRTOS or Mbed) on the ESP32. The tablet is just the user interface and > �MPG�. > > I am currently using ESP32 to generate PWM control for a 12-axis robot and > I�m getting sub microsecond pulse accuracy which is more then my > application needs. It is very fast and written 100% in Python. > > If the user already had an Android tablet or wanted to buy a used tablet you > really could under cut the cost of a $500 Chinese device. > > LCNC was written to take advantage of �cheap� community hardware. This > is when a basic 16-bit PC would sell for �only� about $3,500. Today�s > commodity hardware is called a �cell phone� and they are MUCH more > powerful then the old PC was. > > > > > > > On Aug 5, 2023, at 3:23 PM, John Dammeyer > wrote: > > > > Me too. A closer look at the fine print and selecting the correct button > shows the actual CNC controller is $513 or $541 for 3 or 4 axis respectively. > The MPG is priced separately at $96. > > > > And this is why a BBB with a cape that included a Break Out Board with a > few relays etc. for under $100 would be quite the bargain. The question is > then what sort of display would be good. And you still need some sort of > MPG to go with it for also about $100. > > > > For $94 I can get, from amazon.ca a 7inch HDMI LCD (H) 1024x600 Monitor > IPS Screen Capacitive Touch Display Supports Raspberry Pi Jetson Nano > BeagleBone Black Banana Pi & Microsoft XBOX360, Sony PS4,Nintendo Switch > > > > And therein lies the problem. Creating something similar to the $500 > Chinese CNC controllers with touch screen will ultimately cost in the same > $500 range. But unless the MachineKit or LinuxCNC version is stable with a > target life similar to the life of the machine tool no one will spend the > energy > and time to make that. > > > > The market isn't big enough to justify the work required. Which is why so >
Re: [Emc-users] Beaglebone black latency
Why start with a BBB/Pi4 and then add a screen and so on. A better starting place would be a low-cost Android tablet. Perhaps like this one. For $120 you get the CPU (that runs Linux), a touch screen and WiFi. What is needed is a way to connect it to a machine tool. https://www.bestbuy.com/site/samsung-galaxy-tab-a7-lite-8-7-32gb-with-wi-fi-dark-gray/6464584.p?skuId=6464584 Samsung Galaxy Tab A7 Lite 8.7" 32GB with Wi-Fi Dark Gray SM-T220NZAAXAR bestbuy.com I would use something like a small 32-bit micro controller to do the real-time pulses and switch monitoring. If you would choose an ESP32 then the interface to the tablet is wireless. But you could use USB as both devices have USB built-in. USB has a built-in asocronus mode where data moves in strict real-time. But this might not be needed if 100% of the RT loops are onthe microcontroller. The ESP32 is a dual-CPU, 32-bit device with more then enough computer power to run a CNC controller. I would 100%, for sure run an RTOS (FreeRTOS or Mbed) on the ESP32. The tablet is just the user interface and “MPG”. I am currently using ESP32 to generate PWM control for a 12-axis robot and I’m getting sub microsecond pulse accuracy which is more then my application needs. It is very fast and written 100% in Python. If the user already had an Android tablet or wanted to buy a used tablet you really could under cut the cost of a $500 Chinese device. LCNC was written to take advantage of “cheap” community hardware. This is when a basic 16-bit PC would sell for “only” about $3,500. Today’s commodity hardware is called a “cell phone” and they are MUCH more powerful then the old PC was. > On Aug 5, 2023, at 3:23 PM, John Dammeyer wrote: > > Me too. A closer look at the fine print and selecting the correct button > shows the actual CNC controller is $513 or $541 for 3 or 4 axis respectively. > The MPG is priced separately at $96. > > And this is why a BBB with a cape that included a Break Out Board with a few > relays etc. for under $100 would be quite the bargain. The question is then > what sort of display would be good. And you still need some sort of MPG to > go with it for also about $100. > > For $94 I can get, from amazon.ca a 7inch HDMI LCD (H) 1024x600 Monitor IPS > Screen Capacitive Touch Display Supports Raspberry Pi Jetson Nano BeagleBone > Black Banana Pi & Microsoft XBOX360, Sony PS4,Nintendo Switch > > And therein lies the problem. Creating something similar to the $500 Chinese > CNC controllers with touch screen will ultimately cost in the same $500 > range. But unless the MachineKit or LinuxCNC version is stable with a target > life similar to the life of the machine tool no one will spend the energy and > time to make that. > > The market isn't big enough to justify the work required. Which is why so > many of the Beagle Capes are no longer available. Next week there's an new > ESP32 with more bells and whistles. Won't do what the Beagle does but ... > > John > > >> -Original Message- >> From: Martin Dobbins [mailto:tu...@hotmail.com] >> Sent: August 5, 2023 11:44 AM >> To: Enhanced Machine Controller (EMC) >> Subject: Re: [Emc-users] Beaglebone black latency >> >> It makes me wonder which operating system they put on that Chinese >> controller, and what motion control system. >> >> Martin >> >> ________________ >> From: John Dammeyer >> Sent: Friday, August 4, 2023 7:41 PM >> To: 'Enhanced Machine Controller (EMC)' > us...@lists.sourceforge.net> >> Subject: Re: [Emc-users] Beaglebone black latency >> >> My biggest issue with the Xylotex BBB Cape for CNC was that the logic for >> ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you >> wouldn't find out until you tried to save a body part from being injured with >> the ESTOP. > > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
Me too. A closer look at the fine print and selecting the correct button shows the actual CNC controller is $513 or $541 for 3 or 4 axis respectively. The MPG is priced separately at $96. And this is why a BBB with a cape that included a Break Out Board with a few relays etc. for under $100 would be quite the bargain. The question is then what sort of display would be good. And you still need some sort of MPG to go with it for also about $100. For $94 I can get, from amazon.ca a 7inch HDMI LCD (H) 1024x600 Monitor IPS Screen Capacitive Touch Display Supports Raspberry Pi Jetson Nano BeagleBone Black Banana Pi & Microsoft XBOX360, Sony PS4,Nintendo Switch And therein lies the problem. Creating something similar to the $500 Chinese CNC controllers with touch screen will ultimately cost in the same $500 range. But unless the MachineKit or LinuxCNC version is stable with a target life similar to the life of the machine tool no one will spend the energy and time to make that. The market isn't big enough to justify the work required. Which is why so many of the Beagle Capes are no longer available. Next week there's an new ESP32 with more bells and whistles. Won't do what the Beagle does but ... John > -Original Message- > From: Martin Dobbins [mailto:tu...@hotmail.com] > Sent: August 5, 2023 11:44 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Beaglebone black latency > > It makes me wonder which operating system they put on that Chinese > controller, and what motion control system. > > Martin > > > From: John Dammeyer > Sent: Friday, August 4, 2023 7:41 PM > To: 'Enhanced Machine Controller (EMC)' us...@lists.sourceforge.net> > Subject: Re: [Emc-users] Beaglebone black latency > > My biggest issue with the Xylotex BBB Cape for CNC was that the logic for > ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you > wouldn't find out until you tried to save a body part from being injured with > the ESTOP. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
On 8/5/23 15:16, gene heskett wrote: no, I didn't write this, someones email agent is broken when it attributes this message to me. On 8/5/23 14:45, Martin Dobbins wrote: It makes me wonder which operating system they put on that Chinese controller, and what motion control system. Martin From: John Dammeyer Sent: Friday, August 4, 2023 7:41 PM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Beaglebone black latency My biggest issue with the Xylotex BBB Cape for CNC was that the logic for ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you wouldn't find out until you tried to save a body part from being injured with the ESTOP. But back when a BBB was around $50 and a cape around $25 you had a 3 axis system. Obviously a break out board of some sort was needed but that's true for MESA or any other type of interface just like motors and switches are needed too. The nice thing about these small systems with a small HDMI screen is that they don't overwhelm the space taken by a small lathe like a 7x12 or Unimat DB200. I don't want a full size screen, mouse and keyboard plus a PC clone for my DB-200 which looks a lot like this one. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fi.redd.it%2F83lxxjam0yj71.jpg&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l04m1ookT8TmrWx%2F8azPP2X2qqAyxgSJbezUEI7EZJM%3D&reserved=0<https://i.redd.it/83lxxjam0yj71.jpg> For $100 Cdn free shipping I can get a Chinese Controller. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.aliexpress.com%2Fitem%2F1005005195839565.html&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=O3eRaBFYdAVqxPxwCTL9JCUiFaYmhWTcGtwJKa%2BJFT4%3D&reserved=0<https://www.aliexpress.com/item/1005005195839565.html> But I'd rather have a Linux based system or my ELS. John -Original Message- From: Chris Albertson [mailto:albertson.ch...@gmail.com] Sent: August 4, 2023 5:20 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Beaglebone black latency I think the BBB was popular because of the twp PRUs. These are programmable processors that are separate from the CPU. So you can get very accurate real-time pulses out even with poor latency under Linux. However, this does require programming the PRUs. Machinekit had a HAL unit for the PRUs. I don�t know if LinuxCNC has this or not. On Aug 4, 2023, at 11:18 AM, andy pugh wrote: On Fri, 4 Aug 2023 at 01:48, alanmthomason--- via Emc-users wrote: Hi There.I'm trying to work through setting up linuxcnc on a beaglebone black. I've run the latency-test, with results that are not looking good.has anyone else run this test with a Beaglebone black? Is there any way to improve results. I think that when Machinekit were fond of the Beaglebone they tended to run it headless. I can't recall whether that was just poor graphics performance in general, or whether it was due to latency issues. You could try installing the (old) Machinekit image to see if the latency with that kernel is better. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." � George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qTWdux60ZVNVGu500hGv5nTpLIMlYDdL3Zs26yr6p%2Bc%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/emc-users> ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qTWdux60ZVNVGu500hGv5nTpLIMlYDdL3Zs26yr6p%2Bc%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/emc-users> ___ Emc-
Re: [Emc-users] Beaglebone black latency
On 8/5/23 14:45, Martin Dobbins wrote: It makes me wonder which operating system they put on that Chinese controller, and what motion control system. Martin From: John Dammeyer Sent: Friday, August 4, 2023 7:41 PM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Beaglebone black latency My biggest issue with the Xylotex BBB Cape for CNC was that the logic for ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you wouldn't find out until you tried to save a body part from being injured with the ESTOP. But back when a BBB was around $50 and a cape around $25 you had a 3 axis system. Obviously a break out board of some sort was needed but that's true for MESA or any other type of interface just like motors and switches are needed too. The nice thing about these small systems with a small HDMI screen is that they don't overwhelm the space taken by a small lathe like a 7x12 or Unimat DB200. I don't want a full size screen, mouse and keyboard plus a PC clone for my DB-200 which looks a lot like this one. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fi.redd.it%2F83lxxjam0yj71.jpg&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l04m1ookT8TmrWx%2F8azPP2X2qqAyxgSJbezUEI7EZJM%3D&reserved=0<https://i.redd.it/83lxxjam0yj71.jpg> For $100 Cdn free shipping I can get a Chinese Controller. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.aliexpress.com%2Fitem%2F1005005195839565.html&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=O3eRaBFYdAVqxPxwCTL9JCUiFaYmhWTcGtwJKa%2BJFT4%3D&reserved=0<https://www.aliexpress.com/item/1005005195839565.html> But I'd rather have a Linux based system or my ELS. John -Original Message- From: Chris Albertson [mailto:albertson.ch...@gmail.com] Sent: August 4, 2023 5:20 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Beaglebone black latency I think the BBB was popular because of the twp PRUs. These are programmable processors that are separate from the CPU. So you can get very accurate real-time pulses out even with poor latency under Linux. However, this does require programming the PRUs.Machinekit had a HAL unit for the PRUs. I don�t know if LinuxCNC has this or not. On Aug 4, 2023, at 11:18 AM, andy pugh wrote: On Fri, 4 Aug 2023 at 01:48, alanmthomason--- via Emc-users wrote: Hi There.I'm trying to work through setting up linuxcnc on a beaglebone black. I've run the latency-test, with results that are not looking good.has anyone else run this test with a Beaglebone black? Is there any way to improve results. I think that when Machinekit were fond of the Beaglebone they tended to run it headless. I can't recall whether that was just poor graphics performance in general, or whether it was due to latency issues. You could try installing the (old) Machinekit image to see if the latency with that kernel is better. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." � George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qTWdux60ZVNVGu500hGv5nTpLIMlYDdL3Zs26yr6p%2Bc%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/emc-users> ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qTWdux60ZVNVGu500hGv5nTpLIMlYDdL3Zs26yr6p%2Bc%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/emc-users> ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flis
Re: [Emc-users] Beaglebone black latency
It makes me wonder which operating system they put on that Chinese controller, and what motion control system. Martin From: John Dammeyer Sent: Friday, August 4, 2023 7:41 PM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Beaglebone black latency My biggest issue with the Xylotex BBB Cape for CNC was that the logic for ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you wouldn't find out until you tried to save a body part from being injured with the ESTOP. But back when a BBB was around $50 and a cape around $25 you had a 3 axis system. Obviously a break out board of some sort was needed but that's true for MESA or any other type of interface just like motors and switches are needed too. The nice thing about these small systems with a small HDMI screen is that they don't overwhelm the space taken by a small lathe like a 7x12 or Unimat DB200. I don't want a full size screen, mouse and keyboard plus a PC clone for my DB-200 which looks a lot like this one. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fi.redd.it%2F83lxxjam0yj71.jpg&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l04m1ookT8TmrWx%2F8azPP2X2qqAyxgSJbezUEI7EZJM%3D&reserved=0<https://i.redd.it/83lxxjam0yj71.jpg> For $100 Cdn free shipping I can get a Chinese Controller. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.aliexpress.com%2Fitem%2F1005005195839565.html&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=O3eRaBFYdAVqxPxwCTL9JCUiFaYmhWTcGtwJKa%2BJFT4%3D&reserved=0<https://www.aliexpress.com/item/1005005195839565.html> But I'd rather have a Linux based system or my ELS. John > -Original Message- > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: August 4, 2023 5:20 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Beaglebone black latency > > I think the BBB was popular because of the twp PRUs. These are > programmable processors that are separate from the CPU. So you can get > very accurate real-time pulses out even with poor latency under Linux. > > However, this does require programming the PRUs.Machinekit had a HAL > unit for the PRUs. I don�t know if LinuxCNC has this or not. > > > > > > On Aug 4, 2023, at 11:18 AM, andy pugh wrote: > > > > On Fri, 4 Aug 2023 at 01:48, alanmthomason--- via Emc-users > > wrote: > >> > >> Hi There.I'm trying to work through setting up linuxcnc on a beaglebone > >> black. I've run the latency-test, with results that are not looking > >> good.has anyone else run this test with a Beaglebone black? Is there any > >> way to improve results. > > > > I think that when Machinekit were fond of the Beaglebone they tended > > to run it headless. I can't recall whether that was just poor graphics > > performance in general, or whether it was due to latency issues. > > > > You could try installing the (old) Machinekit image to see if the > > latency with that kernel is better. > > > > -- > > atp > > "A motorcycle is a bicycle with a pandemonium attachment and is > > designed for the especial use of mechanical geniuses, daredevils and > > lunatics." > > � George Fitch, Atlanta Constitution Newspaper, 1912 > > > > > > ___ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qTWdux60ZVNVGu500hGv5nTpLIMlYDdL3Zs26yr6p%2Bc%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/emc-users> > > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7C%7Cdec28113c0d745ae7e5d08db954d6546%7C84df9e7fe9f640afb435%7C1%7C0%7C638267931883275463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3
Re: [Emc-users] Beaglebone black latency
My biggest issue with the Xylotex BBB Cape for CNC was that the logic for ESTOP was inverted. ESTOP was a N/O switch so if a wire was broken you wouldn't find out until you tried to save a body part from being injured with the ESTOP. But back when a BBB was around $50 and a cape around $25 you had a 3 axis system. Obviously a break out board of some sort was needed but that's true for MESA or any other type of interface just like motors and switches are needed too. The nice thing about these small systems with a small HDMI screen is that they don't overwhelm the space taken by a small lathe like a 7x12 or Unimat DB200. I don't want a full size screen, mouse and keyboard plus a PC clone for my DB-200 which looks a lot like this one. https://i.redd.it/83lxxjam0yj71.jpg For $100 Cdn free shipping I can get a Chinese Controller. https://www.aliexpress.com/item/1005005195839565.html But I'd rather have a Linux based system or my ELS. John > -Original Message- > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: August 4, 2023 5:20 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Beaglebone black latency > > I think the BBB was popular because of the twp PRUs. These are > programmable processors that are separate from the CPU. So you can get > very accurate real-time pulses out even with poor latency under Linux. > > However, this does require programming the PRUs.Machinekit had a HAL > unit for the PRUs. I don�t know if LinuxCNC has this or not. > > > > > > On Aug 4, 2023, at 11:18 AM, andy pugh wrote: > > > > On Fri, 4 Aug 2023 at 01:48, alanmthomason--- via Emc-users > > wrote: > >> > >> Hi There.I'm trying to work through setting up linuxcnc on a beaglebone > >> black. I've run the latency-test, with results that are not looking > >> good.has anyone else run this test with a Beaglebone black? Is there any > >> way to improve results. > > > > I think that when Machinekit were fond of the Beaglebone they tended > > to run it headless. I can't recall whether that was just poor graphics > > performance in general, or whether it was due to latency issues. > > > > You could try installing the (old) Machinekit image to see if the > > latency with that kernel is better. > > > > -- > > atp > > "A motorcycle is a bicycle with a pandemonium attachment and is > > designed for the especial use of mechanical geniuses, daredevils and > > lunatics." > > � George Fitch, Atlanta Constitution Newspaper, 1912 > > > > > > ___ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
I think the BBB was popular because of the twp PRUs. These are programmable processors that are separate from the CPU. So you can get very accurate real-time pulses out even with poor latency under Linux. However, this does require programming the PRUs.Machinekit had a HAL unit for the PRUs. I don’t know if LinuxCNC has this or not. > On Aug 4, 2023, at 11:18 AM, andy pugh wrote: > > On Fri, 4 Aug 2023 at 01:48, alanmthomason--- via Emc-users > wrote: >> >> Hi There.I'm trying to work through setting up linuxcnc on a beaglebone >> black. I've run the latency-test, with results that are not looking >> good.has anyone else run this test with a Beaglebone black? Is there any >> way to improve results. > > I think that when Machinekit were fond of the Beaglebone they tended > to run it headless. I can't recall whether that was just poor graphics > performance in general, or whether it was due to latency issues. > > You could try installing the (old) Machinekit image to see if the > latency with that kernel is better. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Beaglebone black latency
On Fri, 4 Aug 2023 at 01:48, alanmthomason--- via Emc-users wrote: > > Hi There.I'm trying to work through setting up linuxcnc on a beaglebone > black. I've run the latency-test, with results that are not looking > good.has anyone else run this test with a Beaglebone black? Is there any > way to improve results. I think that when Machinekit were fond of the Beaglebone they tended to run it headless. I can't recall whether that was just poor graphics performance in general, or whether it was due to latency issues. You could try installing the (old) Machinekit image to see if the latency with that kernel is better. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Beaglebone black latency
Hi There.I'm trying to work through setting up linuxcnc on a beaglebone black. I've run the latency-test, with results that are not looking good.has anyone else run this test with a Beaglebone black? Is there any way to improve results. Thanks very much.Alan debian@BeagleBone:~/linuxcnc-dev/src$ latency-test prog_name = '/home/debian/linuxcnc-dev/bin/rtapi_app'..Waited 3 seconds for master. giving up. .Note: Using POSIX realtime .Unexpected realtime delay on task 0 with period 25000 This Message will only display once per session. Run the Latency Test and resolve before continuing. prog_name = '/home/debian/linuxcnc-dev/bin/rtapi_app'prog_name = 'pyvcp'...***halcmd_commands 1565 Waiting for component 'lat' to become ready... . ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black
Machinekit is available for the Beaglebone. So far I've had it running Z and Y axis on my mill. X axis conversion isn't far enough along yet to try. The PC I set up to use LinuxCNC died this weekend so until I get a replacement MB it's back to MachineKit and the BBB for playing with the mill. I use a Xylotex DB-25/26 Cape to simulate a PC parallel port which then goes to a screw terminal Break Out Board. John > -Original Message- > From: Alexander Rössler [mailto:alexander@roessler.systems] > Sent: November-21-17 2:38 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] beaglebone black > > > andy pugh writes: > > > On 21 November 2017 at 02:57, a k wrote: > >> i am interesting in beaglebone black board BBB and in book > >> --beaglebone for dummies--i found there about desktop five axis cnc mill > >> this book also available for free in PDF format for download. > >> about www.pocketnc.com > >> and > >> http://beagleboard.org/project/pocketnc > >> > >> can linuxcnc run on BBB board? and be so compact? > > > > Yes, PocketNC uses LinuxCNC. > > As far a I know they use Machinekit - which is a fork of LinuxCNC with > special additions for embedded Linux devices such as a HAL driver for > the BBB > > -- > Alexander R�ssler > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black
From what I see on their web site they now have a REV 2 machine and I don't think they use a Beagle anymore. > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: November-21-17 2:06 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] beaglebone black > > On 21 November 2017 at 02:57, a k wrote: > > i am interesting in beaglebone black board BBB and in book > > --beaglebone for dummies--i found there about desktop five axis cnc mill > > this book also available for free in PDF format for download. > > about www.pocketnc.com > > and > > http://beagleboard.org/project/pocketnc > > > > can linuxcnc run on BBB board? and be so compact? > > Yes, PocketNC uses LinuxCNC. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > � George Fitch, Atlanta Constitution Newspaper, 1916 > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black
andy pugh writes: > On 21 November 2017 at 02:57, a k wrote: >> i am interesting in beaglebone black board BBB and in book >> --beaglebone for dummies--i found there about desktop five axis cnc mill >> this book also available for free in PDF format for download. >> about www.pocketnc.com >> and >> http://beagleboard.org/project/pocketnc >> >> can linuxcnc run on BBB board? and be so compact? > > Yes, PocketNC uses LinuxCNC. As far a I know they use Machinekit - which is a fork of LinuxCNC with special additions for embedded Linux devices such as a HAL driver for the BBB -- Alexander Rössler -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black
On 21 November 2017 at 02:57, a k wrote: > i am interesting in beaglebone black board BBB and in book > --beaglebone for dummies--i found there about desktop five axis cnc mill > this book also available for free in PDF format for download. > about www.pocketnc.com > and > http://beagleboard.org/project/pocketnc > > can linuxcnc run on BBB board? and be so compact? Yes, PocketNC uses LinuxCNC. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] beaglebone black
i am interesting in beaglebone black board BBB and in book --beaglebone for dummies--i found there about desktop five axis cnc mill this book also available for free in PDF format for download. about www.pocketnc.com and http://beagleboard.org/project/pocketnc can linuxcnc run on BBB board? and be so compact? and second question--i took out from harbor friegt mig welder unit that push wire out. it has 24V dc motor. what motor drive better to use to drive this motor? i know that it will ask 48 VDC power supply to produce rpm that i need. i want to drive that motor drive with BBB. that it use 3.3 V DC on max. thanks aram -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Sat, Nov 16, 2013 at 3:44 PM, Jon Elson wrote: > Mark Wendt wrote: > > But, yer fergetting one thing. Most of our servers are either headless, > or > > do not use X windows for security reasons, so all we have is the basic > > console. Having a non-gui editor is required. And once you get under > the > > hood enough times with vi, you find it can be a pretty powerful little > > editor. > > > Emacs works quite well in -nw mode (no windows) all it needs is > VT-220 emulation, which most terminal programs can provide. > > Jon > As long as emacs is on one of the partitions that can be mounted on a single user boot, that's ok. vi will generally be available at any boot run level. Mark -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Mark Wendt wrote: > But, yer fergetting one thing. Most of our servers are either headless, or > do not use X windows for security reasons, so all we have is the basic > console. Having a non-gui editor is required. And once you get under the > hood enough times with vi, you find it can be a pretty powerful little > editor. > Emacs works quite well in -nw mode (no windows) all it needs is VT-220 emulation, which most terminal programs can provide. Jon -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Saturday 16 November 2013 09:51:03 Mark Wendt did opine: > On Fri, Nov 15, 2013 at 12:52 PM, Jon Elson wrote: > > Mark Wendt wrote: > > > On Thu, Nov 14, 2013 at 3:27 PM, dave wrote: > > >> A friend of mine simply says "vi is vile". > > >> However, if you happen to think the way it does then it make sense > > >> else go searching for an alternative. > > >> Good luck. ;-) > > >> > > >> Dave > > > > > > Been a Unix/VMS system and network admin for over 20 years now. vi > > > is still my primary editor. The developers seem to like emacs and > > > xemacs. Another old retired sysadmin I know won't use anything > > > other than Jove. Like Kent said, there's no tellin' for taste. ;-) > > > > URRRppp! I have had to struggle with vi occasionally when setting up > > a new system, > > to edit network files so I could download emacs. I can barely make it > > save a file. > > (Just lack of training on it, probably.) > > > > Jon > > It's all in what you're used to I'd guess. I forced myself to learn sed > and awk too. Those two caused much indigestion. I now use them only > when I have to. Much easier to throw a perl script together. > > Mark Chuckle, yeah, them puppies befuddles my ancient brain too unless I'm pasting someone else's script into the cli. I could write one to save my life. 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) You can have peace. Or you can have freedom. Don't ever count on having both at once. -- Lazarus Long A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Fri, Nov 15, 2013 at 10:10 PM, Jon Elson wrote: > Gene Heskett wrote: > > Its a good editor Jon, but it is different, one of the few dual mode > > editors I've used. > > > Well, it still feels to me like it would make a lot more sense > on an ASR-33 than an Xterminal on a PC Linux system. > > Jon > But, yer fergetting one thing. Most of our servers are either headless, or do not use X windows for security reasons, so all we have is the basic console. Having a non-gui editor is required. And once you get under the hood enough times with vi, you find it can be a pretty powerful little editor. Mark -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Fri, Nov 15, 2013 at 12:52 PM, Jon Elson wrote: > Mark Wendt wrote: > > On Thu, Nov 14, 2013 at 3:27 PM, dave wrote: > > > >> A friend of mine simply says "vi is vile". > >> However, if you happen to think the way it does then it make sense else > >> go searching for an alternative. > >> Good luck. ;-) > >> > >> Dave > >> > > > > Been a Unix/VMS system and network admin for over 20 years now. vi is > > still my primary editor. The developers seem to like emacs and xemacs. > > Another old retired sysadmin I know won't use anything other than Jove. > > Like Kent said, there's no tellin' for taste. ;-) > > > URRRppp! I have had to struggle with vi occasionally when setting up a > new system, > to edit network files so I could download emacs. I can barely make it > save a file. > (Just lack of training on it, probably.) > > Jon > It's all in what you're used to I'd guess. I forced myself to learn sed and awk too. Those two caused much indigestion. I now use them only when I have to. Much easier to throw a perl script together. Mark -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Gene Heskett wrote: > Its a good editor Jon, but it is different, one of the few dual mode > editors I've used. > Well, it still feels to me like it would make a lot more sense on an ASR-33 than an Xterminal on a PC Linux system. Jon -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Friday 15 November 2013 14:44:43 Jon Elson did opine: > Mark Wendt wrote: > > On Thu, Nov 14, 2013 at 3:27 PM, dave wrote: > >> A friend of mine simply says "vi is vile". > >> However, if you happen to think the way it does then it make sense > >> else go searching for an alternative. > >> Good luck. ;-) > >> > >> Dave > > > > Been a Unix/VMS system and network admin for over 20 years now. vi is > > still my primary editor. The developers seem to like emacs and > > xemacs. Another old retired sysadmin I know won't use anything other > > than Jove. Like Kent said, there's no tellin' for taste. ;-) > > URRRppp! I have had to struggle with vi occasionally when setting up a > new system, > to edit network files so I could download emacs. I can barely make it > save a file. > (Just lack of training on it, probably.) > > Jon Its a good editor Jon, but it is different, one of the few dual mode editors I've used. 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) > Where in the US is Linus? He was in the "Promise Land". -- David S. Miller A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Mark Wendt wrote: > On Thu, Nov 14, 2013 at 3:27 PM, dave wrote: > >> A friend of mine simply says "vi is vile". >> However, if you happen to think the way it does then it make sense else >> go searching for an alternative. >> Good luck. ;-) >> >> Dave >> > > Been a Unix/VMS system and network admin for over 20 years now. vi is > still my primary editor. The developers seem to like emacs and xemacs. > Another old retired sysadmin I know won't use anything other than Jove. > Like Kent said, there's no tellin' for taste. ;-) > URRRppp! I have had to struggle with vi occasionally when setting up a new system, to edit network files so I could download emacs. I can barely make it save a file. (Just lack of training on it, probably.) Jon -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On 15 November 2013 01:09, Maximiliano Fermín Córdoba wrote: > My actual machine is a completely a microcontroler based system, based in > two main boards. The first board takes care of the user interface (touch > keyboard, graphical lcd, external memorys). The user can run a gcode in an > sd card, or write it manually. Then this board sends the command or file to > execute to the second board. This board is the one who runs the rs274 > interpreter and control the stepper driver boards. This is similar to the arrangement that is typically used with a Mesa or Pico FPGA system, except that the boundaries are drawn in a different place. With a LinuxCNC Mesa-card system (which I am most familiar with) the Linux system handles the UI and RS274 interpretation, and motion planning. The required motor positions are updated in HAL every 1mS. A HAL driver then calculates the step rate required to reach that target position in time for the next update. The FPGA bord then creates step pulses to move the motors to those positions. It sounds like you could use a very similar interface, and the only real question is how you get the step-rate data to your second board. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Thu, Nov 14, 2013 at 3:27 PM, dave wrote: > > > A friend of mine simply says "vi is vile". > However, if you happen to think the way it does then it make sense else > go searching for an alternative. > Good luck. ;-) > > Dave > Been a Unix/VMS system and network admin for over 20 years now. vi is still my primary editor. The developers seem to like emacs and xemacs. Another old retired sysadmin I know won't use anything other than Jove. Like Kent said, there's no tellin' for taste. ;-) Mark -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On 11/14/2013 6:09 PM, Maximiliano Fermín Córdoba wrote: > All of the above is working great, but the user interface is not as > friendly as the one that linuxcnc offers. So we are trying to use the > beagle to basically replace the first board. But when I saw that everybody > was using it directly to run their drivers, I thought that maybe that break > wasnt necesary. Thats why I´m trying to reach the same performance that my > second board can do, so as to be able to compare which hardware option is > the best. If you can make a board with headers for pololu and compatible stepper drivers like StepSticks, that can open up a wide range of options. The pololu and ones based on them typically have a 1.2 amp motor limit, can be pushed to 2 amp by using heatsinks and blowing air on them. There are others which are pin compatible and use higher amperage chips with an improved PCB design to enhance heat removal. To see what can be done with such a design, search for RAMPS. IIRC there's at least two RAMPS to Beagle adapter boards. RAMPS originally being designed for Arduino, those RAMPS adapters also enable using some other Arduino boards on the Beagle. RAMPS = RepRap Arduino Mega Pololu Shield A pure Beagle 'port' would be RepRap Beagle Mega Pololu Cape or RBMPC which just isn't anything pronounceable. ;) -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
The pwm can be used to control the speed of a spindle on a conventional cnc. Date: Thu, 14 Nov 2013 22:12:53 -0600 From: char...@steinkuehler.net To: m.f.cordoba...@gmail.com CC: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] beaglebone black capeless CNC configuration On 11/14/2013 9:44 PM, Maximiliano Fermín Córdoba wrote: > Hi Charles > > I need to drive three axis, so three step/dir generators would be ideal. > That data about the pru_period would be nice! > > What is the main goal of using the PWM signals? The PWM signals are used for the extruder and bed heater of a 3D printer. If you're driving a conventional milling machine they typically aren't necessary. -- Charles Steinkuehler char...@steinkuehler.net -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On 11/14/2013 9:44 PM, Maximiliano Fermín Córdoba wrote: > Hi Charles > > I need to drive three axis, so three step/dir generators would be ideal. > That data about the pru_period would be nice! > > What is the main goal of using the PWM signals? The PWM signals are used for the extruder and bed heater of a 3D printer. If you're driving a conventional milling machine they typically aren't necessary. -- Charles Steinkuehler char...@steinkuehler.net signature.asc Description: OpenPGP digital signature -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Hi Charles I need to drive three axis, so three step/dir generators would be ideal. That data about the pru_period would be nice! What is the main goal of using the PWM signals? Regards Maxi 2013/11/14 Charles Steinkuehler > On 11/14/2013 2:10 PM, Maximiliano Fermín Córdoba wrote: > > > > My main goal is to test the beaglebone with linuxcnc in the worst > escenario > > so as to decide if it is capable of managing the whole system operation. > > Maybe the best option is to use an external stepgenerator and use the > 'bone > > only for the graphical interface and the gcode interpreter. Something > like > > sending through spi (or something like that) the actual movement and the > > external embedded system drive the steppers. > > > > So my actual drivers are driven with 2usec pulses and I was willing to > > generate reliable signals with a max frecuency of 50k. If the jitter is > > like the one Im facing now its useless. > > > > I would really appreciatte your guidance in configuring properly my > system. > > If you really want 2 uS wide pulses, you'll have to get the PRU task > period to be 2 uS or less. That's possible, but I wouldn't run that > fast with the default configuration. You can probably pretty safely > drop to 5 uS without issue (the 10 uS period is *VERY* conservative), > but 2 uS is pushing things without verifying the worst-case PRU task > period time. > > One thing I forgot to ask is how many channels of step/dir you are > trying to generate and if you are using the PWM channels. The fewer > tasks you have the PRU performing, the shorter you can dial the task > period. If you only need 3 step/dir generators, 2 uS is probably > reasonable with the existing PRU code, and it will dramatically improve > the jitter you're observing with 50 KHz steps. > > You can control the number of step/dir and PWM generators via the > hal_pru_generic command options when loading the driver (the parameters > should be fairly self explanatory), and you can add the pru_period= > parameter to set the task period to something shorter than the 10 uS > default. > > Let me know how many step/dir channels you need to run, and I'll try to > verify how long the PRU task takes to execute (and thus a safe > pru_period value). > > -- > Charles Steinkuehler > char...@steinkuehler.net > > -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On 11/14/2013 2:10 PM, Maximiliano Fermín Córdoba wrote: > > My main goal is to test the beaglebone with linuxcnc in the worst escenario > so as to decide if it is capable of managing the whole system operation. > Maybe the best option is to use an external stepgenerator and use the 'bone > only for the graphical interface and the gcode interpreter. Something like > sending through spi (or something like that) the actual movement and the > external embedded system drive the steppers. > > So my actual drivers are driven with 2usec pulses and I was willing to > generate reliable signals with a max frecuency of 50k. If the jitter is > like the one Im facing now its useless. > > I would really appreciatte your guidance in configuring properly my system. If you really want 2 uS wide pulses, you'll have to get the PRU task period to be 2 uS or less. That's possible, but I wouldn't run that fast with the default configuration. You can probably pretty safely drop to 5 uS without issue (the 10 uS period is *VERY* conservative), but 2 uS is pushing things without verifying the worst-case PRU task period time. One thing I forgot to ask is how many channels of step/dir you are trying to generate and if you are using the PWM channels. The fewer tasks you have the PRU performing, the shorter you can dial the task period. If you only need 3 step/dir generators, 2 uS is probably reasonable with the existing PRU code, and it will dramatically improve the jitter you're observing with 50 KHz steps. You can control the number of step/dir and PWM generators via the hal_pru_generic command options when loading the driver (the parameters should be fairly self explanatory), and you can add the pru_period= parameter to set the task period to something shorter than the 10 uS default. Let me know how many step/dir channels you need to run, and I'll try to verify how long the PRU task takes to execute (and thus a safe pru_period value). -- Charles Steinkuehler char...@steinkuehler.net signature.asc Description: OpenPGP digital signature -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Thu, Nov 14, 2013 at 1:10 PM, Kent A. Reed wrote: > On 11/13/2013 9:14 PM, Charles Steinkuehler wrote: > >> On 11/13/13 20:01, Jeff Pollard wrote: >> >>> Hi, >>> >>> I never found a GUI editor available on the BBB Machinekit system >>> through the desktop (doesn't mean it's not there somewhere). >>> <...> >>> >> Yeah, there might not be one. By default, I install the bare minimum to >> get LinuxCNC up and running (I don't even install vim, just the plain vi >> pulled in by the default Debian install).t I figured there might be >> something in the file browser or elsewhere, but it wouldn't shock me if >> there's not. >> >> I'll have to see if I can find a light-weight editor to add to the >> package list... >> >> -- >> Charles >> > > Sorry, my BBB is in service at the moment, but I poked around a virtual > Debian 7.1 (Wheezy) system on which I had previously installed enough > packages to build LinuxCNC. > > From the Debian repo, I installed a number of 'lightweight' gui-based > editors via the usual 'sudo apt-get install xxx'. > > - cream > - geany > - lpe <- different from the rest: a full-page terminal-based editor > - nedit > - x2 > > I'm too lazy to install each to a virgin Debian install just to find out > how much filespace gets used once all the dependencies are loaded. From a > baseline du -ks = 219068, I ended up with du -ks=219204 after installing > all five. > > The smallest executables were lpe (51.8KB) and xe (51.6KB). The largest > were geany (2.36MB) and cream (2.23MB after tracing through a script and > some links). The middling one is nedit (1.19MB). > > I'm trying to post screen captures of each to a public site so y'all can > take a look. I know which I like but I wouldn't think of recommending an > editor to anyone. There's no accounting for taste:-) > Sorry but I got called away for most of the day. I've posted screen captures of the five editors I mentioned at http://www.mediafire.com/folder/1xcg9f3cmrn91/EditorScreenCaps Many of them have features of interest to programmers. Some automatically display line numbers and I enabled that feature for another. And for dave, I use vi/vim for many tasks because it is omnipresent, but the OP was asking about GUI-based editors. There's alway gvim aka vim-gnome but it reminds me of the old saw about motorcycles with sidecars: they combine the disadvantages of motorcycles and cars with none of the advantages of either. Regards, Kent -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
HI Michael Maybe if I explain you about my project you'll understand what is my goal for now. I think that we are trying to do something similar. My actual machine is a completely a microcontroler based system, based in two main boards. The first board takes care of the user interface (touch keyboard, graphical lcd, external memorys). The user can run a gcode in an sd card, or write it manually. Then this board sends the command or file to execute to the second board. This board is the one who runs the rs274 interpreter and control the stepper driver boards. All of the above is working great, but the user interface is not as friendly as the one that linuxcnc offers. So we are trying to use the beagle to basically replace the first board. But when I saw that everybody was using it directly to run their drivers, I thought that maybe that break wasnt necesary. Thats why I´m trying to reach the same performance that my second board can do, so as to be able to compare which hardware option is the best. I hope I could explain myself a little better and I´ll appreciate any recommendation of yours. Thanks again Maxi 2013/11/14 Michael Haberler > > Am 14.11.2013 um 21:10 schrieb Maximiliano Fermín Córdoba < > m.f.cordoba...@gmail.com>: > > > My main goal is to test the beaglebone with linuxcnc in the worst > escenario > > so as to decide if it is capable of managing the whole system operation. > > Maybe the best option is to use an external stepgenerator and use the > 'bone > > only for the graphical interface and the gcode interpreter. Something > like > > sending through spi (or something like that) the actual movement and the > > external embedded system drive the steppers. > > That would be solving the wrong problem IMO. > > Timing with the PRU code is not an issue, as is main CPU load wrt stepgen, > and things likely will get worse if you shift to something like the picnc > which was done only because the Raspberry just doesnt have the bang to do > software stepping. > > You might break even again if you do something in the Mesanet card league > - FPGA's doing the heavy lifting; which is a bit the tail wagging the dog > right now. > > I think the only relevant parameter here is if the jitter (50-70uS on > Xenomai/Beaglebone) has any impact on position accuracy. I think its rather > irrelevant for stepper systems at least. > > But do the math yourself - look at pages 20ff of > http://static.mah.priv.at/public/portable-realtime-API-talk/osadl-rtapi.pdfand > see what this means for the speeds you are looking at. > > -- > > I think overall we're heading in a different direction - (at least my) > plan is to separate UI- and non-RT related tasks from the RT environment > and link those over network, and this effort is making good progress. I > think we'll have something to show end of the year and something testable > in Q1. > > For now you might want to take a lower-overhead UI than Axis which might > go a long way. Hopefully we get OpenGL hardware support going, that's being > worked on and might bring some relief. > > > So my actual drivers are driven with 2usec pulses and I was willing to > > generate reliable signals with a max frecuency of 50k. If the jitter is > > like the one Im facing now its useless. > > I think Peter explained this already - stepgens work as discrete frequency > generators, not continuous, and you will see discontinuities with pretty > much any implementation of this sort, so this is systematic and not an > implemtation artefact > > not sure a scope image is a solid foundation to declare this method useless > > - Michael > > > > > I would really appreciatte your guidance in configuring properly my > system. > > > > Thanks > > > > Maxi > >> -- > >> Charles Steinkuehler > >> char...@steinkuehler.net > >> > >> > > > -- > >> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > >> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > >> Free app hosting. Or install the open source package on any LAMP server. > >> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > >> > > > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > >> ___ > >> Emc-users mailing list > >> Emc-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > -- > > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > > Free app hosting. Or install the open source package on any LAMP server. > > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > > > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > > ___ > > Emc-use
Re: [Emc-users] beaglebone black capeless CNC configuration
Am 14.11.2013 um 21:10 schrieb Maximiliano Fermín Córdoba : > My main goal is to test the beaglebone with linuxcnc in the worst escenario > so as to decide if it is capable of managing the whole system operation. > Maybe the best option is to use an external stepgenerator and use the 'bone > only for the graphical interface and the gcode interpreter. Something like > sending through spi (or something like that) the actual movement and the > external embedded system drive the steppers. That would be solving the wrong problem IMO. Timing with the PRU code is not an issue, as is main CPU load wrt stepgen, and things likely will get worse if you shift to something like the picnc which was done only because the Raspberry just doesnt have the bang to do software stepping. You might break even again if you do something in the Mesanet card league - FPGA's doing the heavy lifting; which is a bit the tail wagging the dog right now. I think the only relevant parameter here is if the jitter (50-70uS on Xenomai/Beaglebone) has any impact on position accuracy. I think its rather irrelevant for stepper systems at least. But do the math yourself - look at pages 20ff of http://static.mah.priv.at/public/portable-realtime-API-talk/osadl-rtapi.pdf and see what this means for the speeds you are looking at. -- I think overall we're heading in a different direction - (at least my) plan is to separate UI- and non-RT related tasks from the RT environment and link those over network, and this effort is making good progress. I think we'll have something to show end of the year and something testable in Q1. For now you might want to take a lower-overhead UI than Axis which might go a long way. Hopefully we get OpenGL hardware support going, that's being worked on and might bring some relief. > So my actual drivers are driven with 2usec pulses and I was willing to > generate reliable signals with a max frecuency of 50k. If the jitter is > like the one Im facing now its useless. I think Peter explained this already - stepgens work as discrete frequency generators, not continuous, and you will see discontinuities with pretty much any implementation of this sort, so this is systematic and not an implemtation artefact not sure a scope image is a solid foundation to declare this method useless - Michael > > I would really appreciatte your guidance in configuring properly my system. > > Thanks > > Maxi >> -- >> Charles Steinkuehler >> char...@steinkuehler.net >> >> > -- >> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps >> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access >> Free app hosting. Or install the open source package on any LAMP server. >> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! >> > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > -- > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Thu, Nov 14, 2013 at 3:10 PM, Maximiliano Fermín Córdoba < m.f.cordoba...@gmail.com> wrote: > If the jitter is > like the one Im facing now its useless. > > Why? Both the mechanical inertia of the motor and the pwm frequency might be well below your step rate. Odds are REALLY high the stepper motor driver's control loop frequency is well below 40kHz. Jitter is a non-issue above any of those frequencies as long as the driver doesn't drop one of the steps you're sending it (which should be no-issue since you're meeting individual setup/hold times.) Stephen -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Thu, 2013-11-14 at 13:10 -0500, Kent A. Reed wrote: > On 11/13/2013 9:14 PM, Charles Steinkuehler wrote: > > On 11/13/13 20:01, Jeff Pollard wrote: > >> Hi, > >> > >> I never found a GUI editor available on the BBB Machinekit system > >> through the desktop (doesn't mean it's not there somewhere). I > >> installed 'gedit' once, but later my system started getting realtime > >> delay errors popping up in Axis. I'm not sure if gedit itself caused > >> the problem, but it started right after I installed it. > > Yeah, there might not be one. By default, I install the bare minimum to > > get LinuxCNC up and running (I don't even install vim, just the plain vi > > pulled in by the default Debian install).t I figured there might be > > something in the file browser or elsewhere, but it wouldn't shock me if > > there's not. > > > > I'll have to see if I can find a light-weight editor to add to the > > package list... > > > > -- > > Charles > > Sorry, my BBB is in service at the moment, but I poked around a virtual > Debian 7.1 (Wheezy) system on which I had previously installed enough > packages to build LinuxCNC. > > From the Debian repo, I installed a number of 'lightweight' gui-based > editors via the usual 'sudo apt-get install xxx'. > > - cream > - geany > - lpe <- different from the rest: a full-page terminal-based editor > - nedit > - x2 > > I'm too lazy to install each to a virgin Debian install just to find out > how much filespace gets used once all the dependencies are loaded. From > a baseline du -ks = 219068, I ended up with du -ks=219204 after > installing all five. > > The smallest executables were lpe (51.8KB) and xe (51.6KB). The largest > were geany (2.36MB) and cream (2.23MB after tracing through a script and > some links). The middling one is nedit (1.19MB). > > I'm trying to post screen captures of each to a public site so y'all can > take a look. I know which I like but I wouldn't think of recommending an > editor to anyone. There's no accounting for taste:-) A friend of mine simply says "vi is vile". However, if you happen to think the way it does then it make sense else go searching for an alternative. Good luck. ;-) Dave > > Regards, > Kent > > > -- > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
El 14/11/2013 13:18, "Charles Steinkuehler" escribió: > > On 11/14/2013 8:11 AM, Maximiliano Fermín Córdoba wrote: > > HI > > > > I´m trying to modify the BeBoPr-Bridge.ini file, but I get stuck when I saw > > that the steps timing config was already OK for me. (I need pulses of 1useg > > and 1useg minimum distance between each other) > > > > The thing is that I´m seeing step pulses of 10usec width, but the config is > > set to 1useg ([...] STEPLEN 1000 in nanoseconds [...]). > > > > Is this an issue of the minimum step pulse possible ? > > By default, the PRU thread is running with a 10 uS period, so that is > the minimum time any pulse can be made high or low. The 1000 nS pulse > width is a *MINIMUM* time, so the pulse length will be at least that > long, but possibly longer. > > > Also, an error come out saying : "hpg: stepgen.00.maxvel is too big for > > current step timings & position-scale, clipping to max possible". Has this > > something to do with my issue? > > This is due to trying to generate too many pulses per second. You > mention a 5000 mm/s feed (which is *VERY* fast), but what is the pulse > rate you are trying to generate (or the steps per mm for your machine)? > I'm trying to move at 5000mm/min not seconds... My steps to mm factor is almost 500.. I mean it takes 500 steps to advance 1mm. So this gives me a rate of 41khz. When I generated this type of movement the signal generated had jitter above 10usec. > With the default 10 uS PRU task period the maximum theoretical pulse > rate is 50 KHz, but I wouldn't recommend going much over 30-40 KHz in > actual use (or even lower, depending on your particular servo drives and > their sensitivity to jitter). The 10 uS period for the PRU is a *VERY* > safe value, it can easily be dialed down if you need faster step rates. > Alternately, it is possible to offload a few very fast dedicated > step/dir generators to the second PRU and get the task period below 1 > uS, but I haven't written code for this yet. > > Let us know what rates you need to hit and I'll advise you on the best > way to get there. > My main goal is to test the beaglebone with linuxcnc in the worst escenario so as to decide if it is capable of managing the whole system operation. Maybe the best option is to use an external stepgenerator and use the 'bone only for the graphical interface and the gcode interpreter. Something like sending through spi (or something like that) the actual movement and the external embedded system drive the steppers. So my actual drivers are driven with 2usec pulses and I was willing to generate reliable signals with a max frecuency of 50k. If the jitter is like the one Im facing now its useless. I would really appreciatte your guidance in configuring properly my system. Thanks Maxi > -- > Charles Steinkuehler > char...@steinkuehler.net > > -- > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On 11/13/2013 9:14 PM, Charles Steinkuehler wrote: > On 11/13/13 20:01, Jeff Pollard wrote: >> Hi, >> >> I never found a GUI editor available on the BBB Machinekit system >> through the desktop (doesn't mean it's not there somewhere). I >> installed 'gedit' once, but later my system started getting realtime >> delay errors popping up in Axis. I'm not sure if gedit itself caused >> the problem, but it started right after I installed it. > Yeah, there might not be one. By default, I install the bare minimum to > get LinuxCNC up and running (I don't even install vim, just the plain vi > pulled in by the default Debian install).t I figured there might be > something in the file browser or elsewhere, but it wouldn't shock me if > there's not. > > I'll have to see if I can find a light-weight editor to add to the > package list... > > -- > Charles Sorry, my BBB is in service at the moment, but I poked around a virtual Debian 7.1 (Wheezy) system on which I had previously installed enough packages to build LinuxCNC. From the Debian repo, I installed a number of 'lightweight' gui-based editors via the usual 'sudo apt-get install xxx'. - cream - geany - lpe <- different from the rest: a full-page terminal-based editor - nedit - x2 I'm too lazy to install each to a virgin Debian install just to find out how much filespace gets used once all the dependencies are loaded. From a baseline du -ks = 219068, I ended up with du -ks=219204 after installing all five. The smallest executables were lpe (51.8KB) and xe (51.6KB). The largest were geany (2.36MB) and cream (2.23MB after tracing through a script and some links). The middling one is nedit (1.19MB). I'm trying to post screen captures of each to a public site so y'all can take a look. I know which I like but I wouldn't think of recommending an editor to anyone. There's no accounting for taste:-) Regards, Kent -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On 11/14/2013 8:11 AM, Maximiliano Fermín Córdoba wrote: > HI > > I´m trying to modify the BeBoPr-Bridge.ini file, but I get stuck when I saw > that the steps timing config was already OK for me. (I need pulses of 1useg > and 1useg minimum distance between each other) > > The thing is that I´m seeing step pulses of 10usec width, but the config is > set to 1useg ([...] STEPLEN 1000 in nanoseconds [...]). > > Is this an issue of the minimum step pulse possible ? By default, the PRU thread is running with a 10 uS period, so that is the minimum time any pulse can be made high or low. The 1000 nS pulse width is a *MINIMUM* time, so the pulse length will be at least that long, but possibly longer. > Also, an error come out saying : "hpg: stepgen.00.maxvel is too big for > current step timings & position-scale, clipping to max possible". Has this > something to do with my issue? This is due to trying to generate too many pulses per second. You mention a 5000 mm/s feed (which is *VERY* fast), but what is the pulse rate you are trying to generate (or the steps per mm for your machine)? With the default 10 uS PRU task period the maximum theoretical pulse rate is 50 KHz, but I wouldn't recommend going much over 30-40 KHz in actual use (or even lower, depending on your particular servo drives and their sensitivity to jitter). The 10 uS period for the PRU is a *VERY* safe value, it can easily be dialed down if you need faster step rates. Alternately, it is possible to offload a few very fast dedicated step/dir generators to the second PRU and get the task period below 1 uS, but I haven't written code for this yet. Let us know what rates you need to hit and I'll advise you on the best way to get there. -- Charles Steinkuehler char...@steinkuehler.net -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On Thu, 14 Nov 2013, Maximiliano Fermín Córdoba wrote: Date: Thu, 14 Nov 2013 13:36:08 -0200 From: "[ISO-8859-1] Maximiliano Fermín Córdoba" Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] beaglebone black capeless CNC configuration Hi Michael Yes... Im running gcode operations manually... I mean g1x0f1000 or g1x100 and so on. I thought that the setting in the .ini file will change the characteristics of the steps generated. So if I set the steplen to be 1000 nanoseconds... Then the steps generated will be like that. Besides ... I realized that the jitter is present above 20khz. Thanks again for trying to help me Maxi Any DDS type stepgenerator will exhibit jitter at step rates that dont set the rate value to an exact submultiple of the accumulator count range. This size of this jitter will be the inverse of the accumulation rate (in the order of 10s of uSec for linuxCNCs software stepgen basethread , probably in the 1 to couple of uSec region for the PRU and the 10s of nS region for hardware stepgens) In addition to this, the servo thread jitter will add velocity modulation to the step rate at the servo thread period. El 14/11/2013 12:23, "Michael Haberler" escribió: Am 14.11.2013 um 16:03 schrieb Maximiliano Fermín Córdoba < m.f.cordoba...@gmail.com>: Hi I´ve made another test, setting feedrate at 5000 mm/min, in my case should ---^ you are obviously running a G-code program then? give me a 41,6khz step rate,, but when I measured it whit the scope, I´m seeing a lot of jitter in the steps. I´ve seen a picture of the performance of the PRU with perfect results at 4 hz, so I thought I should point this out. what are you trying to find out? if you want to find out about the PRU stepgen signal quality, then you should set it up with HAL to run at fixed speed if you are testing via a G-code program, this means jitter by the operating system modulates the commanded position of motion and hence the input of stepgen, in which case you are looking at motion signal quality, not stepgen performance - Michael Thanks everybody Maxi 2013/11/14 Maximiliano Fermín Córdoba HI I´m trying to modify the BeBoPr-Bridge.ini file, but I get stuck when I saw that the steps timing config was already OK for me. (I need pulses of 1useg and 1useg minimum distance between each other) The thing is that I´m seeing step pulses of 10usec width, but the config is set to 1useg ([...] STEPLEN 1000 in nanoseconds [...]). Is this an issue of the minimum step pulse possible ? Also, an error come out saying : "hpg: stepgen.00.maxvel is too big for current step timings & position-scale, clipping to max possible". Has this something to do with my issue? Thanks to all of you 2013/11/13 Charles Steinkuehler On 11/13/13 20:01, Jeff Pollard wrote: Hi, I never found a GUI editor available on the BBB Machinekit system through the desktop (doesn't mean it's not there somewhere). I installed 'gedit' once, but later my system started getting realtime delay errors popping up in Axis. I'm not sure if gedit itself caused the problem, but it started right after I installed it. Yeah, there might not be one. By default, I install the bare minimum to get LinuxCNC up and running (I don't even install vim, just the plain vi pulled in by the default Debian install).t I figured there might be something in the file browser or elsewhere, but it wouldn't shock me if there's not. I'll have to see if I can find a light-weight editor to add to the package list... -- Charles -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourcef
Re: [Emc-users] beaglebone black capeless CNC configuration
Hi Michael Yes... Im running gcode operations manually... I mean g1x0f1000 or g1x100 and so on. I thought that the setting in the .ini file will change the characteristics of the steps generated. So if I set the steplen to be 1000 nanoseconds... Then the steps generated will be like that. Besides ... I realized that the jitter is present above 20khz. Thanks again for trying to help me Maxi El 14/11/2013 12:23, "Michael Haberler" escribió: > > Am 14.11.2013 um 16:03 schrieb Maximiliano Fermín Córdoba < > m.f.cordoba...@gmail.com>: > > > Hi > > > > I´ve made another test, setting feedrate at 5000 mm/min, in my case > should > > ---^ you are obviously running a > G-code program then? > > > give me a 41,6khz step rate,, but when I measured it whit the scope, I´m > > seeing a lot of jitter in the steps. > > > > I´ve seen a picture of the performance of the PRU with perfect results at > > 4 hz, so I thought I should point this out. > > what are you trying to find out? > > if you want to find out about the PRU stepgen signal quality, then you > should set it up with HAL to run at fixed speed > > if you are testing via a G-code program, this means jitter by the > operating system modulates the commanded position of motion and hence the > input of stepgen, in which case you are looking at motion signal quality, > not stepgen performance > > > - Michael > > > > > Thanks everybody > > > > Maxi > > > > > > > > > > > > 2013/11/14 Maximiliano Fermín Córdoba > > > >> HI > >> > >> I´m trying to modify the BeBoPr-Bridge.ini file, but I get stuck when I > >> saw that the steps timing config was already OK for me. (I need pulses > of > >> 1useg and 1useg minimum distance between each other) > >> > >> The thing is that I´m seeing step pulses of 10usec width, but the config > >> is set to 1useg ([...] STEPLEN 1000 in nanoseconds [...]). > >> > >> Is this an issue of the minimum step pulse possible ? > >> > >> Also, an error come out saying : "hpg: stepgen.00.maxvel is too big for > >> current step timings & position-scale, clipping to max possible". Has > this > >> something to do with my issue? > >> > >> > >> Thanks to all of you > >> > >> > >> > >> > >> > >> > >> 2013/11/13 Charles Steinkuehler > >> > >>> On 11/13/13 20:01, Jeff Pollard wrote: > Hi, > > I never found a GUI editor available on the BBB Machinekit system > through the desktop (doesn't mean it's not there somewhere). I > installed 'gedit' once, but later my system started getting realtime > delay errors popping up in Axis. I'm not sure if gedit itself caused > the problem, but it started right after I installed it. > >>> > >>> Yeah, there might not be one. By default, I install the bare minimum > to > >>> get LinuxCNC up and running (I don't even install vim, just the plain > vi > >>> pulled in by the default Debian install).t I figured there might be > >>> something in the file browser or elsewhere, but it wouldn't shock me if > >>> there's not. > >>> > >>> I'll have to see if I can find a light-weight editor to add to the > >>> package list... > >>> > >>> -- > >>> Charles > >>> > >>> > >>> > -- > >>> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > >>> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > >>> Free app hosting. Or install the open source package on any LAMP > server. > >>> Sign up and see examples for AngularJS, jQuery, Sencha Touch and > Native! > >>> > >>> > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > >>> ___ > >>> Emc-users mailing list > >>> Emc-users@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/emc-users > >>> > >> > >> > > > -- > > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > > Free app hosting. Or install the open source package on any LAMP server. > > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > > > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > > ___ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > -- > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _
Re: [Emc-users] beaglebone black capeless CNC configuration
Am 14.11.2013 um 16:03 schrieb Maximiliano Fermín Córdoba : > Hi > > I´ve made another test, setting feedrate at 5000 mm/min, in my case should ---^ you are obviously running a G-code program then? > give me a 41,6khz step rate,, but when I measured it whit the scope, I´m > seeing a lot of jitter in the steps. > > I´ve seen a picture of the performance of the PRU with perfect results at > 4 hz, so I thought I should point this out. what are you trying to find out? if you want to find out about the PRU stepgen signal quality, then you should set it up with HAL to run at fixed speed if you are testing via a G-code program, this means jitter by the operating system modulates the commanded position of motion and hence the input of stepgen, in which case you are looking at motion signal quality, not stepgen performance - Michael > > Thanks everybody > > Maxi > > > > > > 2013/11/14 Maximiliano Fermín Córdoba > >> HI >> >> I´m trying to modify the BeBoPr-Bridge.ini file, but I get stuck when I >> saw that the steps timing config was already OK for me. (I need pulses of >> 1useg and 1useg minimum distance between each other) >> >> The thing is that I´m seeing step pulses of 10usec width, but the config >> is set to 1useg ([...] STEPLEN 1000 in nanoseconds [...]). >> >> Is this an issue of the minimum step pulse possible ? >> >> Also, an error come out saying : "hpg: stepgen.00.maxvel is too big for >> current step timings & position-scale, clipping to max possible". Has this >> something to do with my issue? >> >> >> Thanks to all of you >> >> >> >> >> >> >> 2013/11/13 Charles Steinkuehler >> >>> On 11/13/13 20:01, Jeff Pollard wrote: Hi, I never found a GUI editor available on the BBB Machinekit system through the desktop (doesn't mean it's not there somewhere). I installed 'gedit' once, but later my system started getting realtime delay errors popping up in Axis. I'm not sure if gedit itself caused the problem, but it started right after I installed it. >>> >>> Yeah, there might not be one. By default, I install the bare minimum to >>> get LinuxCNC up and running (I don't even install vim, just the plain vi >>> pulled in by the default Debian install).t I figured there might be >>> something in the file browser or elsewhere, but it wouldn't shock me if >>> there's not. >>> >>> I'll have to see if I can find a light-weight editor to add to the >>> package list... >>> >>> -- >>> Charles >>> >>> >>> -- >>> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps >>> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access >>> Free app hosting. Or install the open source package on any LAMP server. >>> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk >>> ___ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> >> > -- > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Hi I´ve made another test, setting feedrate at 5000 mm/min, in my case should give me a 41,6khz step rate,, but when I measured it whit the scope, I´m seeing a lot of jitter in the steps. I´ve seen a picture of the performance of the PRU with perfect results at 4 hz, so I thought I should point this out. Thanks everybody Maxi 2013/11/14 Maximiliano Fermín Córdoba > HI > > I´m trying to modify the BeBoPr-Bridge.ini file, but I get stuck when I > saw that the steps timing config was already OK for me. (I need pulses of > 1useg and 1useg minimum distance between each other) > > The thing is that I´m seeing step pulses of 10usec width, but the config > is set to 1useg ([...] STEPLEN 1000 in nanoseconds [...]). > > Is this an issue of the minimum step pulse possible ? > > Also, an error come out saying : "hpg: stepgen.00.maxvel is too big for > current step timings & position-scale, clipping to max possible". Has this > something to do with my issue? > > > Thanks to all of you > > > > > > > 2013/11/13 Charles Steinkuehler > >> On 11/13/13 20:01, Jeff Pollard wrote: >> > Hi, >> > >> > I never found a GUI editor available on the BBB Machinekit system >> > through the desktop (doesn't mean it's not there somewhere). I >> > installed 'gedit' once, but later my system started getting realtime >> > delay errors popping up in Axis. I'm not sure if gedit itself caused >> > the problem, but it started right after I installed it. >> >> Yeah, there might not be one. By default, I install the bare minimum to >> get LinuxCNC up and running (I don't even install vim, just the plain vi >> pulled in by the default Debian install).t I figured there might be >> something in the file browser or elsewhere, but it wouldn't shock me if >> there's not. >> >> I'll have to see if I can find a light-weight editor to add to the >> package list... >> >> -- >> Charles >> >> >> -- >> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps >> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access >> Free app hosting. Or install the open source package on any LAMP server. >> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
HI I´m trying to modify the BeBoPr-Bridge.ini file, but I get stuck when I saw that the steps timing config was already OK for me. (I need pulses of 1useg and 1useg minimum distance between each other) The thing is that I´m seeing step pulses of 10usec width, but the config is set to 1useg ([...] STEPLEN 1000 in nanoseconds [...]). Is this an issue of the minimum step pulse possible ? Also, an error come out saying : "hpg: stepgen.00.maxvel is too big for current step timings & position-scale, clipping to max possible". Has this something to do with my issue? Thanks to all of you 2013/11/13 Charles Steinkuehler > On 11/13/13 20:01, Jeff Pollard wrote: > > Hi, > > > > I never found a GUI editor available on the BBB Machinekit system > > through the desktop (doesn't mean it's not there somewhere). I > > installed 'gedit' once, but later my system started getting realtime > > delay errors popping up in Axis. I'm not sure if gedit itself caused > > the problem, but it started right after I installed it. > > Yeah, there might not be one. By default, I install the bare minimum to > get LinuxCNC up and running (I don't even install vim, just the plain vi > pulled in by the default Debian install).t I figured there might be > something in the file browser or elsewhere, but it wouldn't shock me if > there's not. > > I'll have to see if I can find a light-weight editor to add to the > package list... > > -- > Charles > > > -- > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On 11/13/13 20:01, Jeff Pollard wrote: > Hi, > > I never found a GUI editor available on the BBB Machinekit system > through the desktop (doesn't mean it's not there somewhere). I > installed 'gedit' once, but later my system started getting realtime > delay errors popping up in Axis. I'm not sure if gedit itself caused > the problem, but it started right after I installed it. Yeah, there might not be one. By default, I install the bare minimum to get LinuxCNC up and running (I don't even install vim, just the plain vi pulled in by the default Debian install).t I figured there might be something in the file browser or elsewhere, but it wouldn't shock me if there's not. I'll have to see if I can find a light-weight editor to add to the package list... -- Charles -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Thanks Jeff I will try that too. El 13/11/2013 22:59, "Jeff Pollard" escribió: > Hi, > > From a Linux terminal, you can use the 'nano' editor. It takes a little > getting used to, but works fine for small changes. Make a small change to > a file and write it out (test before making a lot of changes). If it > doesn't allow you to write, then exit and use sudo nano. For example: > > sudo nano filename.ini > > Jeff > > > > Date: Wed, 13 Nov 2013 22:12:58 -0200 > > From: m.f.cordoba...@gmail.com > > To: char...@steinkuehler.net > > CC: emc-users@lists.sourceforge.net > > Subject: Re: [Emc-users] beaglebone black capeless CNC configuration > > > > Ok, thanks for the advise! > > > > Are those files the ones located at > > linuxcnc\linuxcnc\configs\ARM\BeagleBone\BeBoPr-Bridge? > > > > Which editor can I use? > > > > Thanks again > > > > PD: sorry I´m not a linux user at all, but trying to do my best ;-) > > > > > > 2013/11/13 Charles Steinkuehler > > > >> The stepconf program does not currently know how to generate > >> configurations for the BeagleBone PRU step generator. > >> > >> You will need to edit the gain settings for the X/Y/Z axis manually in > >> the machine configuration file. > >> > >> On 11/13/2013 5:45 PM, Maximiliano Fermín Córdoba wrote: > >>> Hi, > >>> > >>> Today I´ve run linuxcnc, selected the BeBoPr-Bridge board configuration > >> , and > >>> the AXIS gui come out. Then I run a few gcodes (g0,g1 etc) and measure > >> the > >>> pulses with my osciloscope. So it seems that everything should work if > I > >>> connect this pins to my driver boards. > >>> > >>> Now I want to configure my step drivers properly and configure the > >>> relationship between steps made and distance moved. I thought that this > >>> could be made with the "stepconf" program, but when I tried to execute > it > >>> in my command prompt, it says "No module named gnome.ui". > >>> > >>> Am I doing something wrong? > >>> > >>> Thanks in advance for all your help > >>> > >>> Maximiliano > >>> > >>> > >>> 2013/11/13 Maximiliano Fermín Córdoba > >>> > >>>> Thanks Charles, I´ll try that and keep you updated > >>>> > >>>> > >>>> 2013/11/13 Charles Steinkuehler > >>>> > >>>>> On 11/13/13 06:14, Maximiliano Fermín Córdoba wrote: > >>>>>> HI > >>>>>> > >>>>>> I´m Maximiliano and I´m a new member of this list. > >>>>>> > >>>>>> I am trying to use the LinuxCNC image for the beaglebone black made > by > >>>>>> Charles Steinkueler with my own hardware to drive the steppers. My > >>>>> drivers > >>>>>> accept Enable, Step and Direction Inputs and I need to control three > >> of > >>>>>> them. > >>>>>> > >>>>>> Is there any guide in how to make this? > >>>>> > >>>>> I would recommend the BeBoPr-Bridge pinout, which is becoming > somewhat > >>>>> standard (used on at least a few boards out or in development). You > >> can > >>>>> find the pins you need on the signals or schematic pdf files > available > >>>>> from the project github: > >>>>> > >>>>> https://github.com/modmaker/BeBoPr-Bridge > >>>>> > >>>>> When running LinuxCNC on the 'Bone, just select the existing > >>>>> BeBoPr-Bridge configuration. The software won't care that you have > >>>>> custom hardware connected instead of an actual BeBoPr with a Bridge > >>>>> board, as long as you're tied to the right pins everything should > work. > >>>>> > >>>>> -- > >>>>> Charles > >>>>> > >>>> > >>>> > >>> > >> > >> > >> -- > >> Charles Steinkuehler > >> char...@steinkuehler.net > >> > > > -- > > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > >
Re: [Emc-users] beaglebone black capeless CNC configuration
Hi, I never found a GUI editor available on the BBB Machinekit system through the desktop (doesn't mean it's not there somewhere). I installed 'gedit' once, but later my system started getting realtime delay errors popping up in Axis. I'm not sure if gedit itself caused the problem, but it started right after I installed it. Jeff > Date: Wed, 13 Nov 2013 19:49:38 -0600 > From: char...@steinkuehler.net > To: m.f.cordoba...@gmail.com > CC: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] beaglebone black capeless CNC configuration > > On 11/13/13 18:12, Maximiliano Fermín Córdoba wrote: >> Ok, thanks for the advise! >> >> Are those files the ones located at >> linuxcnc\linuxcnc\configs\ARM\BeagleBone\BeBoPr-Bridge? > > Yes, that's where the files are. You need to edit the *.ini file to > change the axis gains. > >> Which editor can I use? >> >> Thanks again >> >> PD: sorry I´m not a linux user at all, but trying to do my best ;-) > > I typically use vi from the command line, but if you're not a Linux > user, you would want to use pico or nano. > > Even better, there should be a GUI text editor installed as part of the > desktop, which might be the easiest option for you. I don't have access > to a system right now to provide step-by-step directions to edit a file, > but it hopefully isn't too hard to figure out. > > Can anyone with a 'Bone handy check to see what GUI editor might be > installed by default and how to launch it? > > -- > Charles Steinkuehler > > -- > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Thanks Charles for your kind assistance. Ive already checked that file with vi. Tomorrow i'll spend some time trying to set it right. Thanks Maxi El 13/11/2013 22:49, "Charles Steinkuehler" escribió: > On 11/13/13 18:12, Maximiliano Fermín Córdoba wrote: > > Ok, thanks for the advise! > > > > Are those files the ones located at > > linuxcnc\linuxcnc\configs\ARM\BeagleBone\BeBoPr-Bridge? > > Yes, that's where the files are. You need to edit the *.ini file to > change the axis gains. > > > Which editor can I use? > > > > Thanks again > > > > PD: sorry I´m not a linux user at all, but trying to do my best ;-) > > I typically use vi from the command line, but if you're not a Linux > user, you would want to use pico or nano. > > Even better, there should be a GUI text editor installed as part of the > desktop, which might be the easiest option for you. I don't have access > to a system right now to provide step-by-step directions to edit a file, > but it hopefully isn't too hard to figure out. > > Can anyone with a 'Bone handy check to see what GUI editor might be > installed by default and how to launch it? > > -- > Charles Steinkuehler > -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Hi, From a Linux terminal, you can use the 'nano' editor. It takes a little getting used to, but works fine for small changes. Make a small change to a file and write it out (test before making a lot of changes). If it doesn't allow you to write, then exit and use sudo nano. For example: sudo nano filename.ini Jeff > Date: Wed, 13 Nov 2013 22:12:58 -0200 > From: m.f.cordoba...@gmail.com > To: char...@steinkuehler.net > CC: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] beaglebone black capeless CNC configuration > > Ok, thanks for the advise! > > Are those files the ones located at > linuxcnc\linuxcnc\configs\ARM\BeagleBone\BeBoPr-Bridge? > > Which editor can I use? > > Thanks again > > PD: sorry I´m not a linux user at all, but trying to do my best ;-) > > > 2013/11/13 Charles Steinkuehler > >> The stepconf program does not currently know how to generate >> configurations for the BeagleBone PRU step generator. >> >> You will need to edit the gain settings for the X/Y/Z axis manually in >> the machine configuration file. >> >> On 11/13/2013 5:45 PM, Maximiliano Fermín Córdoba wrote: >>> Hi, >>> >>> Today I´ve run linuxcnc, selected the BeBoPr-Bridge board configuration >> , and >>> the AXIS gui come out. Then I run a few gcodes (g0,g1 etc) and measure >> the >>> pulses with my osciloscope. So it seems that everything should work if I >>> connect this pins to my driver boards. >>> >>> Now I want to configure my step drivers properly and configure the >>> relationship between steps made and distance moved. I thought that this >>> could be made with the "stepconf" program, but when I tried to execute it >>> in my command prompt, it says "No module named gnome.ui". >>> >>> Am I doing something wrong? >>> >>> Thanks in advance for all your help >>> >>> Maximiliano >>> >>> >>> 2013/11/13 Maximiliano Fermín Córdoba >>> >>>> Thanks Charles, I´ll try that and keep you updated >>>> >>>> >>>> 2013/11/13 Charles Steinkuehler >>>> >>>>> On 11/13/13 06:14, Maximiliano Fermín Córdoba wrote: >>>>>> HI >>>>>> >>>>>> I´m Maximiliano and I´m a new member of this list. >>>>>> >>>>>> I am trying to use the LinuxCNC image for the beaglebone black made by >>>>>> Charles Steinkueler with my own hardware to drive the steppers. My >>>>> drivers >>>>>> accept Enable, Step and Direction Inputs and I need to control three >> of >>>>>> them. >>>>>> >>>>>> Is there any guide in how to make this? >>>>> >>>>> I would recommend the BeBoPr-Bridge pinout, which is becoming somewhat >>>>> standard (used on at least a few boards out or in development). You >> can >>>>> find the pins you need on the signals or schematic pdf files available >>>>> from the project github: >>>>> >>>>> https://github.com/modmaker/BeBoPr-Bridge >>>>> >>>>> When running LinuxCNC on the 'Bone, just select the existing >>>>> BeBoPr-Bridge configuration. The software won't care that you have >>>>> custom hardware connected instead of an actual BeBoPr with a Bridge >>>>> board, as long as you're tied to the right pins everything should work. >>>>> >>>>> -- >>>>> Charles >>>>> >>>> >>>> >>> >> >> >> -- >> Charles Steinkuehler >> char...@steinkuehler.net >> > -- > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On 11/13/13 18:12, Maximiliano Fermín Córdoba wrote: > Ok, thanks for the advise! > > Are those files the ones located at > linuxcnc\linuxcnc\configs\ARM\BeagleBone\BeBoPr-Bridge? Yes, that's where the files are. You need to edit the *.ini file to change the axis gains. > Which editor can I use? > > Thanks again > > PD: sorry I´m not a linux user at all, but trying to do my best ;-) I typically use vi from the command line, but if you're not a Linux user, you would want to use pico or nano. Even better, there should be a GUI text editor installed as part of the desktop, which might be the easiest option for you. I don't have access to a system right now to provide step-by-step directions to edit a file, but it hopefully isn't too hard to figure out. Can anyone with a 'Bone handy check to see what GUI editor might be installed by default and how to launch it? -- Charles Steinkuehler -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Ok, thanks for the advise! Are those files the ones located at linuxcnc\linuxcnc\configs\ARM\BeagleBone\BeBoPr-Bridge? Which editor can I use? Thanks again PD: sorry I´m not a linux user at all, but trying to do my best ;-) 2013/11/13 Charles Steinkuehler > The stepconf program does not currently know how to generate > configurations for the BeagleBone PRU step generator. > > You will need to edit the gain settings for the X/Y/Z axis manually in > the machine configuration file. > > On 11/13/2013 5:45 PM, Maximiliano Fermín Córdoba wrote: > > Hi, > > > > Today I´ve run linuxcnc, selected the BeBoPr-Bridge board configuration > , and > > the AXIS gui come out. Then I run a few gcodes (g0,g1 etc) and measure > the > > pulses with my osciloscope. So it seems that everything should work if I > > connect this pins to my driver boards. > > > > Now I want to configure my step drivers properly and configure the > > relationship between steps made and distance moved. I thought that this > > could be made with the "stepconf" program, but when I tried to execute it > > in my command prompt, it says "No module named gnome.ui". > > > > Am I doing something wrong? > > > > Thanks in advance for all your help > > > > Maximiliano > > > > > > 2013/11/13 Maximiliano Fermín Córdoba > > > >> Thanks Charles, I´ll try that and keep you updated > >> > >> > >> 2013/11/13 Charles Steinkuehler > >> > >>> On 11/13/13 06:14, Maximiliano Fermín Córdoba wrote: > HI > > I´m Maximiliano and I´m a new member of this list. > > I am trying to use the LinuxCNC image for the beaglebone black made by > Charles Steinkueler with my own hardware to drive the steppers. My > >>> drivers > accept Enable, Step and Direction Inputs and I need to control three > of > them. > > Is there any guide in how to make this? > >>> > >>> I would recommend the BeBoPr-Bridge pinout, which is becoming somewhat > >>> standard (used on at least a few boards out or in development). You > can > >>> find the pins you need on the signals or schematic pdf files available > >>> from the project github: > >>> > >>> https://github.com/modmaker/BeBoPr-Bridge > >>> > >>> When running LinuxCNC on the 'Bone, just select the existing > >>> BeBoPr-Bridge configuration. The software won't care that you have > >>> custom hardware connected instead of an actual BeBoPr with a Bridge > >>> board, as long as you're tied to the right pins everything should work. > >>> > >>> -- > >>> Charles > >>> > >> > >> > > > > > -- > Charles Steinkuehler > char...@steinkuehler.net > -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
The stepconf program does not currently know how to generate configurations for the BeagleBone PRU step generator. You will need to edit the gain settings for the X/Y/Z axis manually in the machine configuration file. On 11/13/2013 5:45 PM, Maximiliano Fermín Córdoba wrote: > Hi, > > Today I´ve run linuxcnc, selected the BeBoPr-Bridge board configuration , and > the AXIS gui come out. Then I run a few gcodes (g0,g1 etc) and measure the > pulses with my osciloscope. So it seems that everything should work if I > connect this pins to my driver boards. > > Now I want to configure my step drivers properly and configure the > relationship between steps made and distance moved. I thought that this > could be made with the "stepconf" program, but when I tried to execute it > in my command prompt, it says "No module named gnome.ui". > > Am I doing something wrong? > > Thanks in advance for all your help > > Maximiliano > > > 2013/11/13 Maximiliano Fermín Córdoba > >> Thanks Charles, I´ll try that and keep you updated >> >> >> 2013/11/13 Charles Steinkuehler >> >>> On 11/13/13 06:14, Maximiliano Fermín Córdoba wrote: HI I´m Maximiliano and I´m a new member of this list. I am trying to use the LinuxCNC image for the beaglebone black made by Charles Steinkueler with my own hardware to drive the steppers. My >>> drivers accept Enable, Step and Direction Inputs and I need to control three of them. Is there any guide in how to make this? >>> >>> I would recommend the BeBoPr-Bridge pinout, which is becoming somewhat >>> standard (used on at least a few boards out or in development). You can >>> find the pins you need on the signals or schematic pdf files available >>> from the project github: >>> >>> https://github.com/modmaker/BeBoPr-Bridge >>> >>> When running LinuxCNC on the 'Bone, just select the existing >>> BeBoPr-Bridge configuration. The software won't care that you have >>> custom hardware connected instead of an actual BeBoPr with a Bridge >>> board, as long as you're tied to the right pins everything should work. >>> >>> -- >>> Charles >>> >> >> > -- Charles Steinkuehler char...@steinkuehler.net -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Hi, Today I´ve run linuxcnc, selected the BeBoPr-Bridge board configuration , and the AXIS gui come out. Then I run a few gcodes (g0,g1 etc) and measure the pulses with my osciloscope. So it seems that everything should work if I connect this pins to my driver boards. Now I want to configure my step drivers properly and configure the relationship between steps made and distance moved. I thought that this could be made with the "stepconf" program, but when I tried to execute it in my command prompt, it says "No module named gnome.ui". Am I doing something wrong? Thanks in advance for all your help Maximiliano 2013/11/13 Maximiliano Fermín Córdoba > Thanks Charles, I´ll try that and keep you updated > > > 2013/11/13 Charles Steinkuehler > >> On 11/13/13 06:14, Maximiliano Fermín Córdoba wrote: >> > HI >> > >> > I´m Maximiliano and I´m a new member of this list. >> > >> > I am trying to use the LinuxCNC image for the beaglebone black made by >> > Charles Steinkueler with my own hardware to drive the steppers. My >> drivers >> > accept Enable, Step and Direction Inputs and I need to control three of >> > them. >> > >> > Is there any guide in how to make this? >> >> I would recommend the BeBoPr-Bridge pinout, which is becoming somewhat >> standard (used on at least a few boards out or in development). You can >> find the pins you need on the signals or schematic pdf files available >> from the project github: >> >> https://github.com/modmaker/BeBoPr-Bridge >> >> When running LinuxCNC on the 'Bone, just select the existing >> BeBoPr-Bridge configuration. The software won't care that you have >> custom hardware connected instead of an actual BeBoPr with a Bridge >> board, as long as you're tied to the right pins everything should work. >> >> -- >> Charles >> > > -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
Thanks Charles, I´ll try that and keep you updated 2013/11/13 Charles Steinkuehler > On 11/13/13 06:14, Maximiliano Fermín Córdoba wrote: > > HI > > > > I´m Maximiliano and I´m a new member of this list. > > > > I am trying to use the LinuxCNC image for the beaglebone black made by > > Charles Steinkueler with my own hardware to drive the steppers. My > drivers > > accept Enable, Step and Direction Inputs and I need to control three of > > them. > > > > Is there any guide in how to make this? > > I would recommend the BeBoPr-Bridge pinout, which is becoming somewhat > standard (used on at least a few boards out or in development). You can > find the pins you need on the signals or schematic pdf files available > from the project github: > > https://github.com/modmaker/BeBoPr-Bridge > > When running LinuxCNC on the 'Bone, just select the existing > BeBoPr-Bridge configuration. The software won't care that you have > custom hardware connected instead of an actual BeBoPr with a Bridge > board, as long as you're tied to the right pins everything should work. > > -- > Charles > -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] beaglebone black capeless CNC configuration
On 11/13/13 06:14, Maximiliano Fermín Córdoba wrote: > HI > > I´m Maximiliano and I´m a new member of this list. > > I am trying to use the LinuxCNC image for the beaglebone black made by > Charles Steinkueler with my own hardware to drive the steppers. My drivers > accept Enable, Step and Direction Inputs and I need to control three of > them. > > Is there any guide in how to make this? I would recommend the BeBoPr-Bridge pinout, which is becoming somewhat standard (used on at least a few boards out or in development). You can find the pins you need on the signals or schematic pdf files available from the project github: https://github.com/modmaker/BeBoPr-Bridge When running LinuxCNC on the 'Bone, just select the existing BeBoPr-Bridge configuration. The software won't care that you have custom hardware connected instead of an actual BeBoPr with a Bridge board, as long as you're tied to the right pins everything should work. -- Charles -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] beaglebone black capeless CNC configuration
HI I´m Maximiliano and I´m a new member of this list. I am trying to use the LinuxCNC image for the beaglebone black made by Charles Steinkueler with my own hardware to drive the steppers. My drivers accept Enable, Step and Direction Inputs and I need to control three of them. Is there any guide in how to make this? Thanks in advance, Maximiliano -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] BeagleBone Black LinuxCNC .img
On 10/20/2013 3:23 PM, Condit Alan wrote: > Can anyone put up the recent Debian Wheezy (LinuxCNC) for BeagleBone > Black as an ".img" for SD instead of a ".tar.xz"? I can write a uSD > or a USB stick from an ".img" or ".iso" on my Mac but I can't get the > ".tar.xz" to work. Follow the instructions I have for using the BBB itself as a Linux box for making the SD card: http://bb-lcnc.blogspot.com/p/create-machinekit-sd-card-with-windows.html Since you're on a Mac, you should be able to extract the .tar.xz file natively, but you'll need a "real" Linux install to actually create the SD card. That's because it's not just an image, it's a script that formats and prepares the SD card vs. just copying a pre-installed file system onto it. You'll need an SD card reader and a USB stick hooked to your 'Bone, which means you need a USB hub as well. Holler if you have any questions or problems following the instructions. Alternately, you could use your Ubuntu VM to create a card image on a loop-back mounted file, then burn that onto an SD card. But it's probably easier to just use the 'Bone itself. > I have Ubuntu 12.04 running in VirtualBox on my Mac and I was having > trouble attaching USB drives to the linux guest OS. Can anyone tell > me the type and size of partitions I need to create on the uSD for > the boot and root partitions? I am guessing that the boot partition > is DOS and I know it needs to be at least 32K but does it need to be > larger? The partitions are created when you run the setup_sdcard.sh script, and are dynamically sized to the size of the SD card. You can read through the script to see exactly what's going on. Note that the FAT partition can be particular regarding sizes, location and type flags, since the MLO code on the FAT Partition is launched by ROM code in the am335x and isn't exactly heavily protected against user goofs. On my 16G SD card, the partitions are as follows: $ sudo fdisk -l Disk /dev/mmcblk0: 15.9 GB, 15931539456 bytes 4 heads, 16 sectors/track, 486192 cylinders, total 31116288 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/mmcblk0p1 *2048 133119 65536e W95 FAT16 (LBA) /dev/mmcblk0p2 1331203111526315491072 83 Linux -- Charles Steinkuehler char...@steinkuehler.net signature.asc Description: OpenPGP digital signature -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] BeagleBone Black LinuxCNC .img
On 20 October 2013 21:23, Condit Alan wrote: > Can anyone put up the recent Debian Wheezy (LinuxCNC) for BeagleBone Black as > an ".img" for SD instead of a ".tar.xz"? I can write a uSD or a USB stick > from an ".img" or ".iso" on my Mac but I can't get the ".tar.xz" to work. Do you have the exact UR: where the file in question lived? I am on a Mac and don't recall any specific problems. It may be that you need to untar at the command line -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] BeagleBone Black LinuxCNC .img
Can anyone put up the recent Debian Wheezy (LinuxCNC) for BeagleBone Black as an ".img" for SD instead of a ".tar.xz"? I can write a uSD or a USB stick from an ".img" or ".iso" on my Mac but I can't get the ".tar.xz" to work. I have Ubuntu 12.04 running in VirtualBox on my Mac and I was having trouble attaching USB drives to the linux guest OS. Can anyone tell me the type and size of partitions I need to create on the uSD for the boot and root partitions? I am guessing that the boot partition is DOS and I know it needs to be at least 32K but does it need to be larger? Thanks in advance, Alan -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] BeagleBone Black image not booting for me
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/27/2013 3:54 PM, Troy Jacobson wrote: > Finally success. Last night I got the linuxcnc ui running on the > bone. The frustrating part is that I did pretty much the same thing > I've been doing all along. I can say the my laptop was > occationally acting weird during this time. I was also led astray > by the two constant LEDs (they were flashing when I was running an > image I could see was working), plus impatience caused by > frustration. > > I'm hoping to get some motors connected up in the next couple of > days. Woot!!! I'm glad you got it working! I've been playing with HDMI output, which seems to be pretty decent. I'm going to make up a test configuration for the K9 that wiggles pins and still supports using the HDMI display, since I realize not everyone has a BeBoPr board (or another cape with conflicting pins) and needs the HDMI port disabled. I'm also looking at mod'ing my BeBoPr to work with HDMI output as well, although that's a lot of pins to relocate. - -- Charles Steinkuehler char...@steinkuehler.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHMzg0ACgkQLywbqEHdNFw+OACfVnlkXIVFgcmLndlaWgncg2CA iYMAniWS9oXXFJxoTtO49QrvJAeCG+59 =3iFf -END PGP SIGNATURE- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] BeagleBone Black image not booting for me
Finally success. Last night I got the linuxcnc ui running on the bone. The frustrating part is that I did pretty much the same thing I've been doing all along. I can say the my laptop was occationally acting weird during this time. I was also led astray by the two constant LEDs (they were flashing when I was running an image I could see was working), plus impatience caused by frustration. I'm hoping to get some motors connected up in the next couple of days. Thanks, Troy On Sat, Jun 22, 2013 at 5:38 PM, Charles Steinkuehler < char...@steinkuehler.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 6/22/2013 3:50 PM, Troy Jacobson wrote: > > Hi, For the last week, I've been trying to boot the machinekit > > image with no success. The plain Debian image works fine, but all > > I get with the machinekit is two blue LEDs. > > Hmm...and two lit LEDs (D5 and D3 glowing, D4 and D2 off) is the > normal state for my image once booted. Note that HDMI and the > on-board eMMC are disabled (since these pins overlap with both the > BeBoPr and the available prototype versions of the Replicape). > > So...what exactly is it that makes you think things are broken? > > Are you unable to ssh into the 'Bone? > > Is there not a login prompt on the serial terminal? > > - -- > Charles Steinkuehler > char...@steinkuehler.net > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.11 (MingW32) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlHGJ1UACgkQLywbqEHdNFwzWQCg2aavTXAqx5blx3XMQIQMsE6g > +tUAn1Omh9961DJMuujWq7G87jE3iY0x > =Xa2J > -END PGP SIGNATURE- > > > -- > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] BeagleBone Black image not booting for me
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/22/2013 3:50 PM, Troy Jacobson wrote: > Hi, For the last week, I've been trying to boot the machinekit > image with no success. The plain Debian image works fine, but all > I get with the machinekit is two blue LEDs. Hmm...and two lit LEDs (D5 and D3 glowing, D4 and D2 off) is the normal state for my image once booted. Note that HDMI and the on-board eMMC are disabled (since these pins overlap with both the BeBoPr and the available prototype versions of the Replicape). So...what exactly is it that makes you think things are broken? Are you unable to ssh into the 'Bone? Is there not a login prompt on the serial terminal? - -- Charles Steinkuehler char...@steinkuehler.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHGJ1UACgkQLywbqEHdNFwzWQCg2aavTXAqx5blx3XMQIQMsE6g +tUAn1Omh9961DJMuujWq7G87jE3iY0x =Xa2J -END PGP SIGNATURE- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] BeagleBone Black image not booting for me
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/22/2013 3:50 PM, Troy Jacobson wrote: > Hi, For the last week, I've been trying to boot the machinekit > image with no success. The plain Debian image works fine, but all > I get with the machinekit is two blue LEDs. > > Even though I've been looking over the relavent web pages and > posts, I'm sure there is something fairly simple that I've missed. > Any suggestions? What are you using to extract the images? Could you be running out of memory (the xz decompression is resource intensive)? You can look at the SD card's partition table and boot partition. The first partition should be a small FAT partition with a uEnv.txt file. Can you see that on an SD card reader in another system? What do you see on the serial console when trying to boot with the MachineKit image? - -- Charles Steinkuehler char...@steinkuehler.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHGF0wACgkQLywbqEHdNFzE2gCdHrqKewF+cf8jjE1EqZH5e5sm 4DkAoNA72preduIjwZA0pmtkv5PIFZQF =FoR9 -END PGP SIGNATURE- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] BeagleBone Black image not booting for me
Hi, For the last week, I've been trying to boot the machinekit image with no success. The plain Debian image works fine, but all I get with the machinekit is two blue LEDs. Even though I've been looking over the relavent web pages and posts, I'm sure there is something fairly simple that I've missed. Any suggestions? Thanks, Troy -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] BeagleBone Black, ready to run a large 3 axis mill?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/17/2013 2:39 AM, Gregg Eshelman wrote: > Is LinuxCNC on a BeagleBone Black ready to run a large 3 axis > milling machine or is there still work to do on hardware and > software? I'd say LinuxCNC is ready, but there are still issues with the platform in general: * There is currently no available I/O cape for the BeagleBone that is targeted at industrial control. Depending on how willing you are to wire up something from scratch, and how complicated you need your I/O protection, this could be a minor issue or a show stopper. Your mill also needs to be using step/dir control. * It depends on what you want to do for a display. The HDMI output on the 'Black has been causing nothing but problems for most folks, and will never run high resolutions like 1080p. If you are OK with oneof the 4" or 7" LCD capes, or are willing to by a specific HDMI monitor know to work with the 'Bone that should get you a display, but LinuxCNC has not been tested with a native display AFAIK. * Even if you do have a working display, you need to choose your interface wisely. I haven't been able to test with a native display, but the 'Bone has no 3D acceleration so I suspect Axis will always be a CPU hog and you'll need to use one of the lighter-weight interfaces. * Finally, you would very definitely be an early adopter. If you're OK with that, I'd say it's ready to try. If you want something you install and it runs without issue for the next few years, the 'Bone isn't there yet. - -- Charles Steinkuehler char...@steinkuehler.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlG+7uAACgkQLywbqEHdNFz/XgCeKU8vVh7sTU5mKL4NLeGWHKZ6 4FUAoPB+5BMaWROTd3kLhkCymZv2tKuU =f7rX -END PGP SIGNATURE- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] BeagleBone Black, ready to run a large 3 axis mill?
Is LinuxCNC on a BeagleBone Black ready to run a large 3 axis milling machine or is there still work to do on hardware and software? -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users