Re: [Emc-users] MPG pendant
I have the one with BLUE keypad and works OK, you can read about that here: http://www.linuxcnc.org/index.php/english/forum/24-hal-components/26679-xhc-hb04-wireless-mpg-pendant-hal-module?start=10 Till now I didn't noticed any glitches except display going to sleep after ~40sec These look interesting.. I might get one.. Only issue I see is.. all the ones I can find are the 18 key version.. Which hasn't been tested with the driver according to the Wiki. Also, Ebay has several of which that have a different face plate.. Ones with Blue and have Macro.. I like the 16 Key better.. Has Step Mode instead of and says X Y Z 4 Spindle Feed. Looks like the newer one Has X Y Z Spindle Feed and Something Else ? Also like the silver all metal button vs the cheap looking red one.. Can anyone comment on the different ones ? On Ebay http://www.ebay.com/itm/New-NCStudio-CNC-3-4-Axis-Wireless-Handwheel-Manual-Pulse-Generator-MPG-Pendant-/171161089364?pt=BI_Heavy_Equipment_Partshash=item27d9fef554 One with BLUE keypad -- Has the nice silver Button. http://www.ebay.com/itm/2-4G-Wireless-Mach3-MPG-Pendant-Electronic-Handwheel-For-CNC-Mac-Mach-3-4-Axis-/390713482854?pt=LH_DefaultDomain_0hash=item5af8569e66 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] MPG pendant
Billy - I have each of these. The red button one was the first I picked up over a year ago, before a lot of the heavy lifting was being worked on for the HID interface for LCNC; I thought perhaps I would find some time to reverse-engineer it, and worst case, I could give it to a friend of mine who uses Mach3. I couldn't get it to set up with Mach3 at all, neither could my friend, and it refuses to connect with the current HB04 components. Your particular ebay link states Does not work with Mach3 and that should be a warning, although the one I got didn't disclose that. I can't say if it's the same problem, or if the unit was defective, I couldn't even get the HID descriptor to decompile, so perhaps I just received a flaky unit. On the other hand, the silver power button version (actual HB04) I picked up about 6 months ago, worked perfectly right out of the box (profile 2 for the menu layout, I believe), I now have a second one, and both work fine simultaneously, in a shop that has 3 CNC machines, lots of neighboring industrial equipment, and even an RF testing lab a few doors down. I get a very solid 50+ foot range, it's just a matter of ensuring the right remote stays with the right machine. I'm typically the only one using the pendants, so I have an additional level of safety where there is typically only one in use at a time. Plenty of traditional control and estop on each system remains. I have no idea how each pendant is paired to its receiver, whether it's just a factory-side pairing, a serial number or GUID, or just luck from different batches at different times. I agree that a wired pendant is often more appropriate for daily operation because it restricts the operator physically, although a wireless one I've found to be very handy and I believe safer particularly for maintenance or during the building of a machine, to not be hindered by cords, where you can just place the pendant on anything steel (the back is magnetic) and it will stay there, and not accidentally get pulled off by the dreaded coily cord syndrome. (Admittedly, the cabled USB version of this pendant isn't coily, which I consider a good thing). And if you forget it there, the pendant is not likely to be damaged, just perhaps your pride. Kudos to Fred, Seb, Dewey co for great work on that component inclusion. It's clean, stable, and I think just the right amount of thought for using a USB interface for this purpose. Regards, Ted. On 2/7/2014 11:55 AM, emc-users-requ...@lists.sourceforge.net wrote: -- Message: 4 Date: Fri, 07 Feb 2014 11:49:19 -0500 From: Billy Huddlestonbi...@ivdc.com Subject: Re: [Emc-users] MPG pendant To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Message-ID:52f50e8f.2070...@ivdc.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed These look interesting.. I might get one.. Only issue I see is.. all the ones I can find are the 18 key version.. Which hasn't been tested with the driver according to the Wiki. Also, Ebay has several of which that have a different face plate.. Ones with Blue and have Macro.. I like the 16 Key better.. Has Step Mode instead of and says X Y Z 4 Spindle Feed. Looks like the newer one Has X Y Z Spindle Feed and Something Else ? Also like the silver all metal button vs the cheap looking red one.. Can anyone comment on the different ones ? On Ebay http://www.ebay.com/itm/New-NCStudio-CNC-3-4-Axis-Wireless-Handwheel-Manual-Pulse-Generator-MPG-Pendant-/171161089364?pt=BI_Heavy_Equipment_Partshash=item27d9fef554 One with BLUE keypad -- Has the nice silver Button. http://www.ebay.com/itm/2-4G-Wireless-Mach3-MPG-Pendant-Electronic-Handwheel-For-CNC-Mac-Mach-3-4-Axis-/390713482854?pt=LH_DefaultDomain_0hash=item5af8569e66 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
How do i display the current velocity or feedrate in my gui? I have tried creating a label called dro_feedrate in the glade file then putting the following in the handler file:- data = self.status.current.vel text = % 9.4f% (data) self.builder.get_object(dro_feedrate).set_text(text) But when running a program with a feed of f24 the label is showing 10.16. I also tried self.status.feedrate but that just showed 1.0. On 08/02/14 04:28, Chris Morley wrote: Date: Fri, 7 Feb 2014 17:18:28 +0100 From: nie...@web.de To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre I can confirm the very hight CPU Usage of gscreen gaxis! I use an AMD ATHLON X2-4800+ with 2 GB Ram, not optimized, so no isolcpus etc, because I use this one as development PC. Gcsreen Gaxis uses 70 % of CPU 2 and 30 % of CPU 1. Gaxis with or without gremlin? Sounds like with. Do you use software opengl or hardware accelerated Sounds like software. If I startAXIS; It uses aprox the samne amount of CPU Usage. Yes most of that is the graphics plot Original gmoccapy with gscreen background uses 99 % of CPU 1 and 35 % of CPU 2. I am just making gmoccapy stand alone and I try to optimize as much as possible. I can't give values of the CPU usage yezt. Norbert Cutting the update rate of Gremlin helps a lot - I toyed with the idea of making it settable. The source_view widget uses a lot too. We could probably optimize the widgets to use hal_stat rather then their own. Chris M -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
oops Ignore my ramblings the current_vel is per second,so just multiply x 60 On 08/02/14 16:12, Mark Tucker wrote: How do i display the current velocity or feedrate in my gui? I have tried creating a label called dro_feedrate in the glade file then putting the following in the handler file:- data = self.status.current.vel text = % 9.4f% (data) self.builder.get_object(dro_feedrate).set_text(text) But when running a program with a feed of f24 the label is showing 10.16. I also tried self.status.feedrate but that just showed 1.0. On 08/02/14 04:28, Chris Morley wrote: Date: Fri, 7 Feb 2014 17:18:28 +0100 From: nie...@web.de To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre I can confirm the very hight CPU Usage of gscreen gaxis! I use an AMD ATHLON X2-4800+ with 2 GB Ram, not optimized, so no isolcpus etc, because I use this one as development PC. Gcsreen Gaxis uses 70 % of CPU 2 and 30 % of CPU 1. Gaxis with or without gremlin? Sounds like with. Do you use software opengl or hardware accelerated Sounds like software. If I startAXIS; It uses aprox the samne amount of CPU Usage. Yes most of that is the graphics plot Original gmoccapy with gscreen background uses 99 % of CPU 1 and 35 % of CPU 2. I am just making gmoccapy stand alone and I try to optimize as much as possible. I can't give values of the CPU usage yezt. Norbert Cutting the update rate of Gremlin helps a lot - I toyed with the idea of making it settable. The source_view widget uses a lot too. We could probably optimize the widgets to use hal_stat rather then their own. Chris M -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] MPG pendant
Wow, I didn't even notice the fact that it wasn't for Mach3. Now you have me concerned on which one to get. Silver Button, with 18-Keys would be the one I would want.. But, not finding that one.. I see the Red button versions, with BLUE keys.. automationtechnologiesinc has the Red Button 18-Key that looks just like the first ebay link I sent.. but, says it's for Mach3. I'm debating about wired vs wireless... I hate getting stuff from China sometimes.. hard to tell exactly what your going to get.. This is for my little shop, so, restricting me not a issue.. the room does that just fine.. only 7' x 11' :) Thanks, Billy On 02/08/2014 09:31 AM, Ted Hyde wrote: Billy - I have each of these. The red button one was the first I picked up over a year ago, before a lot of the heavy lifting was being worked on for the HID interface for LCNC; I thought perhaps I would find some time to reverse-engineer it, and worst case, I could give it to a friend of mine who uses Mach3. I couldn't get it to set up with Mach3 at all, neither could my friend, and it refuses to connect with the current HB04 components. Your particular ebay link states Does not work with Mach3 and that should be a warning, although the one I got didn't disclose that. I can't say if it's the same problem, or if the unit was defective, I couldn't even get the HID descriptor to decompile, so perhaps I just received a flaky unit. On the other hand, the silver power button version (actual HB04) I picked up about 6 months ago, worked perfectly right out of the box (profile 2 for the menu layout, I believe), I now have a second one, and both work fine simultaneously, in a shop that has 3 CNC machines, lots of neighboring industrial equipment, and even an RF testing lab a few doors down. I get a very solid 50+ foot range, it's just a matter of ensuring the right remote stays with the right machine. I'm typically the only one using the pendants, so I have an additional level of safety where there is typically only one in use at a time. Plenty of traditional control and estop on each system remains. I have no idea how each pendant is paired to its receiver, whether it's just a factory-side pairing, a serial number or GUID, or just luck from different batches at different times. I agree that a wired pendant is often more appropriate for daily operation because it restricts the operator physically, although a wireless one I've found to be very handy and I believe safer particularly for maintenance or during the building of a machine, to not be hindered by cords, where you can just place the pendant on anything steel (the back is magnetic) and it will stay there, and not accidentally get pulled off by the dreaded coily cord syndrome. (Admittedly, the cabled USB version of this pendant isn't coily, which I consider a good thing). And if you forget it there, the pendant is not likely to be damaged, just perhaps your pride. Kudos to Fred, Seb, Dewey co for great work on that component inclusion. It's clean, stable, and I think just the right amount of thought for using a USB interface for this purpose. Regards, Ted. On 2/7/2014 11:55 AM, emc-users-requ...@lists.sourceforge.net wrote: -- Message: 4 Date: Fri, 07 Feb 2014 11:49:19 -0500 From: Billy Huddlestonbi...@ivdc.com Subject: Re: [Emc-users] MPG pendant To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Message-ID:52f50e8f.2070...@ivdc.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed These look interesting.. I might get one.. Only issue I see is.. all the ones I can find are the 18 key version.. Which hasn't been tested with the driver according to the Wiki. Also, Ebay has several of which that have a different face plate.. Ones with Blue and have Macro.. I like the 16 Key better.. Has Step Mode instead of and says X Y Z 4 Spindle Feed. Looks like the newer one Has X Y Z Spindle Feed and Something Else ? Also like the silver all metal button vs the cheap looking red one.. Can anyone comment on the different ones ? On Ebay http://www.ebay.com/itm/New-NCStudio-CNC-3-4-Axis-Wireless-Handwheel-Manual-Pulse-Generator-MPG-Pendant-/171161089364?pt=BI_Heavy_Equipment_Partshash=item27d9fef554 One with BLUE keypad -- Has the nice silver Button. http://www.ebay.com/itm/2-4G-Wireless-Mach3-MPG-Pendant-Electronic-Handwheel-For-CNC-Mac-Mach-3-4-Axis-/390713482854?pt=LH_DefaultDomain_0hash=item5af8569e66 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net
[Emc-users] Feedrate in Gui
Can anyone confirm for me that there is something wrong with the feedrate derived from:- emc.stat.settings[1] I thought this displayed the commanded feedrate but if you run a program with varying feedrates in it,the display shows the highest feedrate in the program and not the current commanded feed Try adding different feedrates on to the ends of lines like in arcspiral.ngc When using something like gscreen industrial and watch the F figure. Is there another instruction that will display the commanded feed? I am trying to display the commanded feed alongside the Current Vel (which does work) -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Feedrate in Gui
IMHO that is caused, because of the read ahead of the interpreter, The feed you get is not the actual one, it is the one the interpreter last got. Norbert Am 08.02.2014 21:30, schrieb Mark Tucker: Can anyone confirm for me that there is something wrong with the feedrate derived from:- emc.stat.settings[1] I thought this displayed the commanded feedrate but if you run a program with varying feedrates in it,the display shows the highest feedrate in the program and not the current commanded feed Try adding different feedrates on to the ends of lines like in arcspiral.ngc When using something like gscreen industrial and watch the F figure. Is there another instruction that will display the commanded feed? I am trying to display the commanded feed alongside the Current Vel (which does work) -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Address in of parrallel port not used in PNCCONF ?
Hi Marius, See the attached file, I don't see anything related to loading the parport driver. It seems that the hm2_7i43 module is trying to use the default address. I get this on the dmesg hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not found! I suspect that I should change the line from: loadrt hm2_7i43 config=firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 to loadrt hm2_7i43 config=ioaddr=0x3bc firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 If it is the case then it's confirmed that PNCConf has a bug because it should generate this kind of configuration when a non default address is specified for the parallel port. Matthieu. On 02/05/2014 12:57 AM, Marius Liebenberg wrote: See if the address that is used when the parport driver is loaded in the HAL file is what you expected it to be. You can also post you HAL file here so we can have look at that for you. On 2014-02-05 10:10, Matthieu Patou wrote: Hello All, I have an atom desktop with a partport at 0x378 and a 7i43 + 7i42 hooked to it and it's working well with LinuxCNC 2.5.3. On a thinkpad laptop I have a PCMCIA parport card at 0x3bc and when I try to run Axis, after configuring this laptop for the same card, I got errors about missing card at address 0x378 even though I configured it to 0x3BC. Did I miss something or is the port specified during PNCConf ignored ? Matthieu. -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users # Generated by PNCconf at Sun Jan 19 14:11:23 2014 # If you make changes to this file, they will be # overwritten when you run PNCconf again loadrt trivkins loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES loadrt probe_parport loadrt hostmot2 loadrt hm2_7i43 config=firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 setp hm2_7i43.0.watchdog.timeout_ns 1000 addf hm2_7i43.0.read servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf hm2_7i43.0.write servo-thread addf hm2_7i43.0.pet_watchdog servo-thread # external output signals # external input signals #*** # AXIS X #*** # Step Gen signals/setup setp hm2_7i43.0.stepgen.00.dirsetup[AXIS_0]DIRSETUP setp hm2_7i43.0.stepgen.00.dirhold [AXIS_0]DIRHOLD setp hm2_7i43.0.stepgen.00.steplen [AXIS_0]STEPLEN setp hm2_7i43.0.stepgen.00.stepspace [AXIS_0]STEPSPACE setp hm2_7i43.0.stepgen.00.position-scale [AXIS_0]STEP_SCALE setp hm2_7i43.0.stepgen.00.step_type0 setp hm2_7i43.0.stepgen.00.control-type 0 setp hm2_7i43.0.stepgen.00.maxaccel 2.5 setp hm2_7i43.0.stepgen.00.maxvel 16.7 net x-pos-fb axis.0.motor-pos-fb = hm2_7i43.0.stepgen.00.position-fb net x-pos-cmdaxis.0.motor-pos-cmd = hm2_7i43.0.stepgen.00.position-cmd net x-enable axis.0.amp-enable-out = hm2_7i43.0.stepgen.00.enable # ---setup home / limit switch signals--- net x-home-sw = axis.0.home-sw-in net x-neg-limit = axis.0.neg-lim-sw-in net x-pos-limit = axis.0.pos-lim-sw-in #*** # AXIS Y #*** # Step Gen signals/setup setp hm2_7i43.0.stepgen.01.dirsetup[AXIS_1]DIRSETUP setp hm2_7i43.0.stepgen.01.dirhold [AXIS_1]DIRHOLD setp hm2_7i43.0.stepgen.01.steplen [AXIS_1]STEPLEN setp hm2_7i43.0.stepgen.01.stepspace [AXIS_1]STEPSPACE setp hm2_7i43.0.stepgen.01.position-scale [AXIS_1]STEP_SCALE setp hm2_7i43.0.stepgen.01.step_type0 setp hm2_7i43.0.stepgen.01.control-type 0 setp hm2_7i43.0.stepgen.01.maxaccel 2.5 setp hm2_7i43.0.stepgen.01.maxvel 16.7 net y-pos-fb axis.1.motor-pos-fb = hm2_7i43.0.stepgen.01.position-fb net y-pos-cmdaxis.1.motor-pos-cmd = hm2_7i43.0.stepgen.01.position-cmd net y-enable axis.1.amp-enable-out = hm2_7i43.0.stepgen.01.enable # ---setup home / limit switch signals--- net y-home-sw = axis.1.home-sw-in net y-neg-limit = axis.1.neg-lim-sw-in net y-pos-limit = axis.1.pos-lim-sw-in #*** # AXIS Z #*** # Step Gen signals/setup setp hm2_7i43.0.stepgen.02.dirsetup[AXIS_2]DIRSETUP setp hm2_7i43.0.stepgen.02.dirhold [AXIS_2]DIRHOLD setp hm2_7i43.0.stepgen.02.steplen [AXIS_2]STEPLEN setp hm2_7i43.0.stepgen.02.stepspace [AXIS_2]STEPSPACE setp hm2_7i43.0.stepgen.02.position-scale