[Emc-users] Machine coordinates & offset madness!!
I am trying to get my printer setup with the correct home coordinates and have it read 0 for x,y & z and everytime I start lcnc it shows z having -235.211 something and I have NO IDEA where its getting this from? I zeroed out the .var. If I touch off the z axis it will make it 0 but the -235.xxx moves to the G54 coordinates. If I then zero the g54 offset it goes back to the DRO coordinates.. That number bounces back and forth without every becoming 0!! I don't have limit/home switches hooked up yet and was "hoping" to manually move the Z to the "home" position and have lcnc see it as being at 0. So if I issue a HOME ALL it will just call itself home without moving the machine. Right now if I press HOME ALL it makes the -235.xx as home position. How do I reset everything to 0 in lcnc? Where is it getting this -235.xxx number from anyway?? Bob -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Emc-users Digest, Vol 89, Issue 22
> Can someone please help me understand how the hal_pru_generic driver/comp, > called with a number of stepgens= and pwmgens=, ends up mapping the > generated signals to hardware pins on the BBB headers (or chip)? Similarly > how does the hal_bb_gpio mapping work? > > The hal_pru_generic component is a driver written in C and Assembler that creates the step signals on the hardware pins. The best way to understand all this is to read the HAL and Integrator Manuals on the LinuxCNC wiki pages. I had the same question(s) and this pretty much cleared it up. If you are able to read through the source code you can see exactly what's going on. http://wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNCKnowledgeBase Bob -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&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 Image Available
On Thu, Sep 5, 2013 at 2:55 AM, wrote: > > I bought a BBB card for using on my little MF70 CNC. I am looking for a > while on internet but did not found anything about using a BBB with a > cape or connection to emulate the parallel port by BBB GPIO. I have seen > the BeBoPr or K9 Smorgasboard that emulates the parallel port but > there is not an inexpensive solution ? Only some logic level converters? > > Also it will be nice to have a small touch screen to be used with axis , > some advicez . I am thinking as variant to use a android tablet with an > x11 server app > > Paul > All of the signals needed (xstep, xdir etc..) are present on the BBB's GPIO headers at 3.3v level but are very limited to the amount of current they can drive/source. If are familiar with electronics you could get the prototype cape and wire up some I/O line drivers to them and connect right to your stepper drivers and with Charles' MachineKit image be good to go. The BeBoPr just does the same thing but adds the MOSFET's to control a 3D printer's heated bed etc... Also, the abitlity to connect a touch-screen is there as well. I believe the drivers in linux are availble to read the input from it as well. It would be nice though if there was such a Parallel Port Breakout type board pre-made for those that need that option and provided the connectors ready to be wired up.. Bob -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] lineardeltakins and 'World mode' problems
On Wed, Sep 4, 2013 at 12:57 PM, wrote: > Re: lineardeltakins and 'World mode' problems (Viesturs L?cis) "Are those machine or relative coordinates? Currently it seems that Andy is right - you see relative (workpiece) coordinates so simply do "touch off" for Z axis. Ideally for testing purposes you might want to set workpiece and machine coordinates to be the same. You can switch Axis GUI to show either machine or relative coordinates with Shift+3 combination to see, what is the difference between them. In MDI you can also command a movement in machine coordinate system by adding G53 before G0 word. This is one more thing you can use for testing. It looks to me that there are few things for you to learn about all these various coordinate system things, so here is a link for a start: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?CoordinateSystems " A fter reading t he above link you offered that answered alot of questions in one short page!! I am not sure which coordinates they are to be honest, but since that page said the default coordinates are G54 on startup then I would think that they are relative. I understand how the coordinate systems are working in LCNC now and alot less confused :) I am going touch off the Z axis to 0 to bring it under the machine limit of 200/-200 in the INI file and see if I can move all 3 joints up and down like it's supposed to move. If this works out then I know the kinematics are working as planned and then I can set up the actual machine coordinates and limits to my actual machine boundaries and go from there. Its been so long since I've last used a CNC machine (home built back in 2005/6 using Mach3) and really did everything in machine coordinates on that since I was only cutting wood objects 1 at a time. I can see how powerful LCNC is now and the possibilities are endless with its G/M Codes. Thank you very much for the help! Bob -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] lineardeltakins and 'World mode' problems
On Wed, Sep 4, 2013 at 10:22 AM, wrote: > Re: lineardeltakins and 'World mode' problems (Javier Ros) "Change tour model so it can have an offset for the joint coordinates. Then give an arbitrary value to your offset so that z gets a value inside the working limits." Javier: Thank you for the information! Can I ask you to explain a little more? What do you mean by change model so it can offset for the joint coordinates? Can you give me an example for this? What would I change the INI file settings or in Axis GUI itself? Bob -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] lineardeltakins and 'World mode' problems
Ok, I got it into World mode and my next issue is I tried to issue the command: G0 Z10 and G0 Z-10 and it gives me an error saying the command would put the axis past its postive limit. It said this 3 times for each axis After homeing the machine and switching to World mode it made X and Y 0.0 but changed Z to -278.00 ? Not sure where it got that value from for Z? I was able to do G0 X10 Y10 before the command above and it seemed to move the 3 axis properly to that position. Its just the Z command isn't moving anything? Here is my ini file in case it helps? [TRAJ] AXES = 4 COORDINATES = X Y Z A MAX_ANGULAR_VELOCITY = 90.00 DEFAULT_ANGULAR_VELOCITY = 45.0 LINEAR_UNITS = mm ANGULAR_UNITS = degree CYCLE_TIME =0.010 DEFAULT_VELOCITY = 20.00 POSITION_FILE = position9.txt MAX_LINEAR_VELOCITY = 200.00 [AXIS_0] # # Step timing is 40 us steplen + 40 us stepspace # That gives 80 us step period = 12.5 KHz step freq # TYPE = LINEAR MAX_VELOCITY = 200.0 MAX_ACCELERATION = 3000.0 # Set Stepgen max 20% higher than the axis STEPGEN_MAX_VEL =240.0 STEPGEN_MAX_ACC =3600.0 BACKLASH = 0.000 SCALE = 100 MIN_LIMIT = -200.0 MAX_LIMIT = 200.0 FERROR = 1.0 MIN_FERROR = 0.25 HOME_OFFSET =0.0 #HOME_SEARCH_VEL =0.0 #HOME_LATCH_VEL = 2.0 #HOME_USE_INDEX = NO #HOME_IGNORE_LIMITS = NO HOME_SEQUENCE = 0 # these are in nanoseconds DIRSETUP = 200 DIRHOLD= 200 STEPLEN= 1000 STEPSPACE = 1000 [AXIS_1] TYPE = LINEAR MAX_VELOCITY = 200.0 MAX_ACCELERATION = 3000.0 # Set Stepgen max 20% higher than the axis STEPGEN_MAX_VEL =240.0 STEPGEN_MAX_ACC =3600.0 BACKLASH = 0.000 SCALE = 100 MIN_LIMIT = -200.0 MAX_LIMIT = 200.0 FERROR = 1.0 MIN_FERROR = 0.25 HOME_OFFSET =0.0 #HOME_SEARCH_VEL =0.0 #HOME_LATCH_VEL = 2.0 #HOME_USE_INDEX = NO #HOME_IGNORE_LIMITS = NO HOME_SEQUENCE = 0 # these are in nanoseconds DIRSETUP = 200 DIRHOLD= 200 STEPLEN= 1000 STEPSPACE = 1000 [AXIS_2] TYPE = LINEAR MAX_VELOCITY = 200.0 MAX_ACCELERATION = 3000.0 # Set Stepgen max 20% higher than the axis STEPGEN_MAX_VEL =240.0 STEPGEN_MAX_ACC =3600.0 BACKLASH = 0.000 SCALE = 100 MIN_LIMIT = -200.0 MAX_LIMIT = 200.0 FERROR = 1.0 MIN_FERROR = 0.25 HOME_OFFSET =0.0 #HOME_SEARCH_VEL =0.0 #HOME_LATCH_VEL = 2.0 #HOME_USE_INDEX = NO #HOME_IGNORE_LIMITS = NO HOME_SEQUENCE = 0 # these are in nanoseconds DIRSETUP = 200 DIRHOLD= 200 STEPLEN= 1000 STEPSPACE = 1000 [AXIS_3] TYPE = ANGULAR MAX_VELOCITY = 31.8993189453 MAX_ACCELERATION = 3000.0 # Set Stepgen max 20% higher than the axis STEPGEN_MAX_VEL = 37.0 STEPGEN_MAX_ACC = 3750.0 BACKLASH = 0.000 SCALE = -744.530002058 #SCALE = -732.32 MIN_LIMIT = -.0 MAX_LIMIT = 9.0 FERROR = 1.0 MIN_FERROR = .25 HOME = 0.000 HOME_OFFSET = 0.00 #HOME_SEARCH_VEL = 0.0 #HOME_LATCH_VEL =0.0 #HOME_USE_INDEX =NO #HOME_IGNORE_LIMITS =YES HOME_SEQUENCE = 0 # these are in nanoseconds DIRSETUP = 200 DIRHOLD= 200 STEPLEN= 1000 STEPSPACE = 1000 Thanks, Bob -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] lineardeltakins and 'World mode' problem..
On Tue, Sep 3, 2013 at 3:24 AM, wrote: > Are you switching to "World" mode? > > When you first start a non-trivial kins you are in "Joint mode". With > the Axis GUI that shows the joints as numbers, and each motor jogs > individually. > > When you switch to "World" mode the axes become XYZ etc. You can do > this from the menu, or by using the $ shortcut. > > If you are already doing this, then perhaps try "lsmod | grep kins" at > the command line to see if the system really has loaded > lineardeltakins, rather than trivkins. > I tried to switch to World mode and it gives me an error saying all joints must be hommed before going into teleop mode. I then hommed all axis and 0, 1 & 2 all went to 0 on the MDI with a * next to them all. It still said the same error message when I tried again. It seems like it wants axis(joint) 3 to be hommed also since that one still shows -0.00 with no * next to it. That is the extruder and there is no home for this axis. How can I get around this? I have the search_vel and latch_vel lines for all 3 axis's #out (commented) so technically no home or limits on machine. Axis 3 doesn't have this either. I also tried the "lsmod | grep kins" line at prompt and it just returns back to the command prompt without doing anything or showing anything ?? Did I type it wrong? It won't let me do any MDI commands either while not hommed.. Ideas?? Bob -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Emc-users Digest, Vol 89, Issue 6
"Are you switching to "World" mode?" I didn't even know this existed... I've read through the documentation a few times I must have missed this part... This would be AWESOME if it fixes this.. I know that when Axis did load up the Axis's were numbered 0,1,2,4 instead of X,Y,Z,A . I will give this a try. I needed to walk away for the night and take the wife out and get a fresh look at it.. Thanks Andy for the help.. (and of course Charles :) ) Bob On Tue, Sep 3, 2013 at 3:24 AM, wrote: > Send Emc-users mailing list submissions to > emc-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/emc-users > or, via email, send a message with subject or body 'help' to > emc-users-requ...@lists.sourceforge.net > > You can reach the person managing the list at > emc-users-ow...@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Emc-users digest..." > > > Today's Topics: > >1. Re: Emc-users Digest, Vol 89, Issue 5 (Bob Weiss) >2. Re: Emc-users Digest, Vol 89, Issue 5 (andy pugh) >3. Re: BeagleBone Image Available (Kirk Wallace) >4. Re: BeagleBone Image Available (Charles Steinkuehler) >5. Re: Emc-users Digest, Vol 89, Issue 5 (Charles Steinkuehler) >6. Unified Build/ "new RTOS" work: general availability for > testing (Michael Haberler) >7. Re: Spindle Lubrication (Steve Blackmore) > > > -- > > Message: 1 > Date: Mon, 2 Sep 2013 19:44:57 -0400 > From: Bob Weiss > Subject: Re: [Emc-users] Emc-users Digest, Vol 89, Issue 5 > To: emc-users@lists.sourceforge.net > Message-ID: > < > caef8xqxa5k1urx2_k_+8cezs+fu5mhuzvdael--3qx324tx...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On Mon, Sep 2, 2013 at 7:33 PM, >wrote: > > > [Emc-users] BeagleBone Image Available > > > I would LOVE to give this a try but I am having some issues with getting > my Delta style printer working with LCNC and it wasn't as "easy" as I > thought it would be just using Epler's lineardeltalkin code from his repo. > Even though I specidifed "loadrt lineardeltakin" in the HAL file it still > is moving my printer like a regular gantry type, x axis is x axis and so > forth. I don't have all the time to go through this and spent 2 months > already building the printer that I am about ready to give up here I > don't know that much about the inner-workings of LCNC to debug this > properly on top of coming from the Windows side of things... I am thinking > of moving to the RAMPS/Ardiuno setup just to get something printed at this > point.. Hopefully someone comes up with a working version of LCNC for the > BBB/BeBoPr setup that can do Delta soon.. > > Bob > > > > -- > > Message: 2 > Date: Tue, 3 Sep 2013 01:03:13 +0100 > From: andy pugh > Subject: Re: [Emc-users] Emc-users Digest, Vol 89, Issue 5 > To: "Enhanced Machine Controller (EMC)" > > Message-ID: > < > can1+yzxiosfkhjcgx-fnayjhhfv0pvt1owxvapynaftivvr...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 3 September 2013 00:44, Bob Weiss wrote: > > > Even though I specidifed "loadrt lineardeltakin" in the HAL file it still > > is moving my printer like a regular gantry type, x axis is x axis and so > > forth. > > Are you switching to "World" mode? > > When you first start a non-trivial kins you are in "Joint mode". With > the Axis GUI that shows the joints as numbers, and each motor jogs > individually. > > When you switch to "World" mode the axes become XYZ etc. You can do > this from the menu, or by using the $ shortcut. > > If you are already doing this, then perhaps try "lsmod | grep kins" at > the command line to see if the system really has loaded > lineardeltakins, rather than trivkins. > > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto > > > > -- > > Message: 3 > Date: Mon, 02 Sep 2013 17:14:42 -0700 > From: Kirk Wallace > Subject: Re: [Emc-users] BeagleBone Image Available > To: "Enhanced Machine Controller (EMC)" > > Message-ID: <522529f2.9050...@wallacecompany.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 09/02/2013 03:38 PM, Charles Steinkuehle
Re: [Emc-users] Emc-users Digest, Vol 89, Issue 5
On Mon, Sep 2, 2013 at 7:33 PM, wrote: > [Emc-users] BeagleBone Image Available I would LOVE to give this a try but I am having some issues with getting my Delta style printer working with LCNC and it wasn't as "easy" as I thought it would be just using Epler's lineardeltalkin code from his repo. Even though I specidifed "loadrt lineardeltakin" in the HAL file it still is moving my printer like a regular gantry type, x axis is x axis and so forth. I don't have all the time to go through this and spent 2 months already building the printer that I am about ready to give up here I don't know that much about the inner-workings of LCNC to debug this properly on top of coming from the Windows side of things... I am thinking of moving to the RAMPS/Ardiuno setup just to get something printed at this point.. Hopefully someone comes up with a working version of LCNC for the BBB/BeBoPr setup that can do Delta soon.. Bob -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Emc-users Digest, Vol 87, Issue 56
On Sat, Jul 20, 2013 at 7:50 PM, wrote: > Re: [Emc-users] Old Computer War Stories "MicroVAX? Ha! I had a VAX 11/780 system in my suburban living room. " LOL, That had to be one HOT living roomWe are dismantling the subfloor ac units now in at work server room since we longer need that kind of cooling for "servers"... Man, times have changed quickly -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users