[Emc-users] converting TO a Mesa 5I25
Hi all; Received my 2x Mesa 5I25 plus 1 7i76 (the stepper interface) One of the 5I25s is going into a sw-stepper to Gecko G540 based box, on a mill with rotary table, touch probe and mpg. Other than starting from scratch with pncconf, is there an easy way to convert the ini files by hand to the 5I25? I do have this mill set up the way I want it to be. The ini files are hand-modified. In case you are wondering: Why go 5I25 for this mill? a) computers for mill and future cnc lathe are then identical, hw/sw wise; b) work through the 5I25 so that I know how it works under the hood before tackling the CNC lathe. I do have pncconf up and mainly running (thanks Chris Morley) but wonder if it might just be really easy to do the conversion by hand. Thanks for any advice you can give this newbie; John A. Stewart. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] converting TO a Mesa 5I25
Basically you just need to change the pin names to match the 7i76 and change to the 5i25. My plasma hal # kinematics loadrt trivkins # motion controller, get name and thread periods from ini file loadrt motmod servo_period_nsec=100 num_joints=[TRAJ]AXES # hostmot2 driver loadrt hostmot2 # load low-level driver loadrt hm2_pci config=num_encoders=1 num_stepgens=5 sserial_port_0=0XXX setp hm2_5i25.0.watchdog.timeout_ns 1000 # THREADS addf hm2_5i25.0.read servo-thread addf motion-command-handler servo-thread addf motion-controllerservo-thread addf hm2_5i25.0.writeservo-thread addf hm2_5i25.0.pet_watchdog servo-thread John On 1/17/2013 9:56 AM, John Stewart wrote: Hi all; Received my 2x Mesa 5I25 plus 1 7i76 (the stepper interface) One of the 5I25s is going into a sw-stepper to Gecko G540 based box, on a mill with rotary table, touch probe and mpg. Other than starting from scratch with pncconf, is there an easy way to convert the ini files by hand to the 5I25? I do have this mill set up the way I want it to be. The ini files are hand-modified. In case you are wondering: Why go 5I25 for this mill? a) computers for mill and future cnc lathe are then identical, hw/sw wise; b) work through the 5I25 so that I know how it works under the hood before tackling the CNC lathe. I do have pncconf up and mainly running (thanks Chris Morley) but wonder if it might just be really easy to do the conversion by hand. Thanks for any advice you can give this newbie; John A. Stewart. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] gladevcp info
Is it possible to write a standalone app such as http://linuxcnc.org/docs/html/hal/pyvcp_examples.html#_port_tester using gladevcp that will run without linuxcnc All the standalone apps I find in the documentation use pyvcp I am sure this is a ridiculous question but I am just trying to learn -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] gladevcp info
On Thu, Jan 17, 2013 at 11:48 AM, kqt4a...@gmail.com wrote: Is it possible to write a standalone app such as http://linuxcnc.org/docs/html/hal/pyvcp_examples.html#_port_tester using gladevcp that will run without linuxcnc All the standalone apps I find in the documentation use pyvcp Of course it is, but you have to handle the port access permission issues yourself. Plenty of information about i/o port programming on the web. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] gladevcp info
On Thu, 2013-01-17 at 10:48 -0600, kqt4a...@gmail.com wrote: Is it possible to write a standalone app such as http://linuxcnc.org/docs/html/hal/pyvcp_examples.html#_port_tester using gladevcp that will run without linuxcnc All the standalone apps I find in the documentation use pyvcp I am sure this is a ridiculous question but I am just trying to learn Yes, you can write a stand alone GladeVCP app. The method would be very similar to the pyVCP examples. For both methods one needs to have a good understanding of HAL. Going through the HAL tutorial might be a good place to start. http://www.linuxcnc.org/docs/html/hal/basic_hal.html Once you get comfortable with using a terminal to load modules, set up threads, run functions and connect pins to nets. You can look into using Glade and GladeVCP's HAL interface to put a face to your HAL back end. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] converting TO a Mesa 5I25
John; On 2013-01-17, at 11:28 AM, John Thornton wrote: Basically you just need to change the pin names to match the 7i76 and change to the 5i25. Hmm - seems simple enough. The mill 5i25 is going to be driving a Gecko G540, so maybe the changes are not that great. I have read before about adding to the servo thread, even for stepper -based machines. I do however seem to remember some issue with step pulse length generation; that should be simple enough to find in the mailing list again. Thanks; wish me luck! John A. Stewart -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Homing?
Greetings all; I just trim to trim the z backlash (its hopeless, wait for new ball screw) and set my auto-zero-cal code up to establish its home position as being the back end of this gage I have made. The code I think, is doing exactly what I wrote it to do, but when I run it, expecting it to set the co-ordinates of g54 properly, I find its setting it relative to whatever it thinks home is. Not at all useful. It appears that I need a method to use this gage twice, once to home the lathe, and then to establish the offset, the touch off IOW, doing both again when I have completed a part and have brought the stock thru the chuck and re-clamped it in preparation for making the next copy of the part. So it appears I will need to do an ini axis homing section, per axis to home it, but this is going to need a switchable home method dependent on the tool mounted since the x home will need to be searched from the outside in for a normal tool, but from the inside out for a boring bar tool. So, is there a way to use the tool number to switch this homing sequence? Or, alternatively, and AFAIAC, the much better way, a method of setting the home position of an axis from gcode? Something like a brute force setting of one of the $5xxx variables? Home as one of those vars, doesn't seem to be assigned in the rather limited list included in the G54-etc section of the gcode. All that covers is the variations of co-ordinate systems. Then, can I 'net' the debounced signal from the probe, into the motion.home tree somehow, but without normal probe activity mucking with motions idea of 'home'? Thanks for any guidance. 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) My web page: http://coyoteden.dyndns-free.com:85/gene is up! My views http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml Seize the day, put no trust in the morrow! -- Quintus Horatius Flaccus (Horace) I was taught to respect my elders, but its getting harder and harder to find any... -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Adjusting Work Coordinates and Offsets?
Is there a simple way to add or subtract a small amount to the offset for an axis. It seems all the G10 commands replace the stored value, What I would like is a comand that adds to the old one regaurdless of machine position . Is there such a thing? How hard would it be to make one? I need this for a wood carving machine. The machine operators often need to make small adjustments to the depth of the carving, bumping it up or down a few thousanths. Using touch off is a bit cumbersum, the operator either has to do the math to figure out what the new offset should be and type it in, or jog the machine from the machine 0 (where the machine parks) to the new part 0 then touch off. I would love to be able to set up a pyvcp panel with buttons like incremental jog buttons that could jog the selected coordinate offsets incrementally. But I don't see an easy way to set this up. -- Todd Zuercher mailto:zuerc...@embarqmail.com -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Servo Tuning
We finally have the test system up and running. We are running servo drives. The drives themselves have some adjustments so the best operation will have to be a combination of drives and PID values. I can't seem to find a Hal pin that I can trace on the Halscope to measure either required value/Actual value or the error between them. I presume that would be the best way to tune the system. Thanks Wallace -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Servo Tuning
On Fri, 18 Jan 2013, Marshland Engineering wrote: Date: Fri, 18 Jan 2013 14:03:05 +1300 From: Marshland Engineering marshl...@marshland.co.nz Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: emc-users@lists.sourceforge.net Subject: [Emc-users] Servo Tuning We finally have the test system up and running. We are running servo drives. The drives themselves have some adjustments so the best operation will have to be a combination of drives and PID values. I can't seem to find a Hal pin that I can trace on the Halscope to measure either required value/Actual value or the error between them. I presume that would be the best way to tune the system. Thanks Wallace pid.0.error is one to look at Triggering from .encoder.00.velocity is helpful as well (replace 0 with 1,2,3 etc for ather axis) -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Adjusting Work Coordinates and Offsets?
This takes some special work for your g code, but I have done something remotely similar. What I did was use the G54-59 offset system and G file subroutines called from pyvcp. If I have this straight in my mind what you are doing, it would be something like this. 1. Home to G54 x,y, and z. 2. Pre-define some variable(for Z offset) that is set using a g subroutine called from a pyvcp button/value combo. 3. Include a subroutine or code in your G code(set up your post processor to include it) that sets up G55 based on G54 + your Z offset, and sets the coordinate system to G55. 4. Include code ending to put back to coordinate G54. One downside to this, is that unless your chosen variable is persistent, it won't show up correctly in the axis preview. One workaround is to use one of the unused persistent variables from something, or the way I did it, I custom built linuxcnc to add some loose persistent variables. On Thu, Jan 17, 2013 at 6:38 PM, Kirk Wallace kwall...@wallacecompany.comwrote: On Thu, 2013-01-17 at 17:19 -0500, Todd Zuercher wrote: Is there a simple way to add or subtract a small amount to the offset for an axis. It seems all the G10 commands replace the stored value, What I would like is a comand that adds to the old one regaurdless of machine position . Is there such a thing? How hard would it be to make one? I seem to recall something like this with the G92 code: http://www.linuxcnc.org/docs/html/gcode/coordinates.html Sorry, if this is a red herring. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Adjusting Work Coordinates and Offsets?
On Thu, Jan 17, 2013 at 09:37:30PM -0500, Erik Friesen wrote: One downside to this, is that unless your chosen variable is persistent, it won't show up correctly in the axis preview. One workaround is to use one of the unused persistent variables from something, or the way I did it, I custom built linuxcnc to add some loose persistent variables. It may not be well documented, but any variable number becomes persistent if you just add it to your var file manually. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users