[Emc-users] Stopping looping confusion

2015-07-13 Thread Marcus Bowman
Being basically lazy, I often assemble programs from skeletons, and add bits 
copied from text files or previously-saved code.
I invariably forget to renumber REPEAT loop references, so I end up with more 
than one loop with the same reference number (like O500 REPEAT  etc in 2 or 3 
places)
When I load the program, LinuxCNC gets stuck in an endless attempt to resolve 
the loop references.

Is there a simple way to halt this? I can't find anything other than shutting 
down LinuxCNC, and its a pain.
Is there a keystroke combination to force the program to stop?

Regards,

Marcus
 
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread andy pugh
On 13 July 2015 at 10:29, Marcus Bowman marcus.bow...@visible.eclipse.co.uk
 wrote:

 When I load the program, LinuxCNC gets stuck in an endless attempt to
 resolve the loop references.

 Is there a simple way to halt this?


if you are stuck in the preview in Axis then Esc seems to work for me. I
think Ctrl-C does too, but the Vandal-proof keyboard I use on the lathe
has no Ctrl key.
Yes,  that is quite inconvenient.



-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Gene Heskett
On Monday 13 July 2015 10:11:40 andy pugh wrote:
 On 13 July 2015 at 10:29, Marcus Bowman
 marcus.bow...@visible.eclipse.co.uk

  wrote:
 
  When I load the program, LinuxCNC gets stuck in an endless attempt
  to resolve the loop references.
 
  Is there a simple way to halt this?

 if you are stuck in the preview in Axis then Esc seems to work for
 me. I think Ctrl-C does too, but the Vandal-proof keyboard I use on
 the lathe has no Ctrl key.

And neither has ever worked for me. Keyboard input sems to be totally 
ignored at that stage of loading the code.

 Yes,  that is quite inconvenient.

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)
Genes Web page http://geneslinuxbox.net:6309/gene

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Gene Heskett
On Monday 13 July 2015 05:29:57 Marcus Bowman wrote:
 Being basically lazy, I often assemble programs from skeletons, and
 add bits copied from text files or previously-saved code. I invariably
 forget to renumber REPEAT loop references, so I end up with more than
 one loop with the same reference number (like O500 REPEAT  etc in 2 or
 3 places) When I load the program, LinuxCNC gets stuck in an endless
 attempt to resolve the loop references.

 Is there a simple way to halt this? I can't find anything other than
 shutting down LinuxCNC, and its a pain. Is there a keystroke
 combination to force the program to stop?

 Regards,

 Marcus

I'll vote +100 on this one.

I too am guilty of that, re-using code snippets that Just Work(TM).  And 
I too would like to see a defined key combo that would stop it instantly 
in such a situation.  So far, the only reliable way seems to be the 
front panel reset button. That works, but loses all the home  offsets 
in use, so that the machines setup to do that code once its fixed, can 
take an hour plus worth of fiddling around relocating the partial work 
on the table to within a fraction of a thou so that work on THAT piece 
can continue.

Some of that can be speeded up if I took the time to rewrite 
tholefinder.ngc to take an arguement as to the expected radii of the 
hole, so it could move rapidly thru whats expected to be air.

Right now, and unrelated to this other than that setup time, my toy mill 
is sitting, powered up, waiting on a couple envelops of 3/64 carbide 
drill bits I bought off fleabay Saturday night, as I seem to have 
lost/misslaid the two I had from a dremel kit, and thats the 75% tap 
drill size for an 0-80 screw.  Estimated delivery is Thursday.  But that 
will give me time to complete the rest of the encoders electronics.

Hopefully, there will not be a weather related power failure to reboot 
that machine while I am waiting. 8-( 
That also might give me the poke in the ribs to rig the toy mill to do 
rigid tapping, but the way its built, it will take the removal of that 
whole 2 speed gearbox housing, and the construction of a new platform to 
hold the motor I took off the lathe, and make a 2 or 3 speed belt drive, 
above, or below which, I can mount an encoder.  Its badly in need of 
additional rpms for engraving or pcb cutting.  I figure the 400 watter 
from the lathe should do that nicely, and that the existing motor 
controller, whose output transistor blew years ago, and was replaced by 
a much better hexfet, can drive that bigger motor ok. Reversing it for 
tapping duty should work well but I'll have to cobble up some hal magic 
to assert a stop for about 1.5 seconds when the direction reversal is 
issued by motion.  The current control setup stops it dead in its tracks 
in a second or less from full speed by dropping a power resistor near 
short (8 ohms IIRC) across it when stopped.

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)
Genes Web page http://geneslinuxbox.net:6309/gene

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Small cnc-controlled chuck

2015-07-13 Thread Viesturs Lācis
2015-07-10 22:06 GMT+03:00 Dave Cole linuxcncro...@gmail.com:
 They use a variety of a 3 jaw chuck that uses some type of scroll
 mechanism which is actuated by an external ring which you hold in place.

 The brand most common around here is Rigid.That setup would not
 work for accurate metal turning but it might be fine for wood rotary
 positioning.

 https://www.ridgid.com/us/en/power-threading-machines

 They are extremely common and if you can find an older unit you might be
 able to pick one up cheaply and adapt it.


Hello, I was away for a few days, so could not respond. Thank you for
the suggestion, I will try to look around for something like this.
John, thank you for the suggestion about automated closing/opening of
usual manual chuck, I will think about that.

Viesturs

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] My HNC Lathe Remap M Codes

2015-07-13 Thread Erik Christiansen
On 12.07.15 08:33, Kirk Wallace wrote:
 It takes a while for the flux in a clutch to collapse after turning the 
 signal off. 
  ...
 I suppose I could improve the clutch driver to short the coil to
 ground or drive it low, but some sort of delay will be needed anyway.

Probably. Is the current flowing after driver turn-off circulating
through a simple flywheel diode? That's great for protecting the driver
against the turn-off back-emf, but makes for a slower field decay than
would occur with a zener diode in series with the flywheel diode. The
higher the clamp voltage (but still well within the driver's ratings),
the more quickly the field decays. A Transorb comes to mind as a beefy
clamping device, available in just about every voltage rating you could
wish for.

There's also the question of the quality of the solenoid clutch winding
insulation. Allowing 100v of back-emf would doubtless be risking
insulation breakdown on a nominally 12v coil, for example.

Erik

-- 
Bertolt Brecht: Grub first, then ethics.

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Gene Heskett
On Monday 13 July 2015 10:04:36 Erik Christiansen wrote:
 On 13.07.15 10:29, Marcus Bowman wrote:
  Being basically lazy, I often assemble programs from skeletons, and
  add bits copied from text files or previously-saved code. I
  invariably forget to renumber REPEAT loop references, so I end up
  with more than one loop with the same reference number (like O500
  REPEAT  etc in 2 or 3 places) When I load the program, LinuxCNC gets
  stuck in an endless attempt to resolve the loop references.
 
  Is there a simple way to halt this? I can't find anything other than
  shutting down LinuxCNC, and its a pain. Is there a keystroke
  combination to force the program to stop?

 In the short term, would a few lines of awk, to scan the program for
 that no-no, be useful? (Or forgotten in the rush to make swarf?)
 It would be nearly as easy to have it change any repetition to another
 number, and ensure that it is unique in the program.

It could be helpfull, but I find that my penchant for doing incrementals 
is often thwarted by using the wrong ge/gt/le/lt statement in a while 
test is an even bigger killer.  I once left such a test loading 
overnight, thinking that it would have overflowed or wrapped by morning.  
No such luck and I regretfully hit the reset button and rebooted.

My stupidity, yes.  But it seems the scanner should detect that and 
upchuck with an error message calling attention to the stupidity.

 In the longer term, what about tweaking the interpreter code to only
 look forwards for the first matching endrepeat? Even if it builds a
 set of pointers to all of them in an initial pass, that process could
 readily save the first following match only, I figure. That way, the
 Oxxx label could be freely re-used on non-nested repeat statements.
 (Anyone using the same label on nested loops deserves whatever
 happens, I suspect.)

 Erik

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)
Genes Web page http://geneslinuxbox.net:6309/gene

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Erik Christiansen
On 13.07.15 10:29, Marcus Bowman wrote:
 Being basically lazy, I often assemble programs from skeletons, and
 add bits copied from text files or previously-saved code. I invariably
 forget to renumber REPEAT loop references, so I end up with more than
 one loop with the same reference number (like O500 REPEAT  etc in 2 or
 3 places) When I load the program, LinuxCNC gets stuck in an endless
 attempt to resolve the loop references.
 
 Is there a simple way to halt this? I can't find anything other than
 shutting down LinuxCNC, and its a pain. Is there a keystroke
 combination to force the program to stop?

In the short term, would a few lines of awk, to scan the program for
that no-no, be useful? (Or forgotten in the rush to make swarf?)
It would be nearly as easy to have it change any repetition to another
number, and ensure that it is unique in the program.

In the longer term, what about tweaking the interpreter code to only
look forwards for the first matching endrepeat? Even if it builds a
set of pointers to all of them in an initial pass, that process could
readily save the first following match only, I figure. That way, the
Oxxx label could be freely re-used on non-nested repeat statements.
(Anyone using the same label on nested loops deserves whatever happens,
I suspect.)

Erik

-- 
Programs must be written for people to read, and only incidentally for
machines to execute.- Abelson and Sussman

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Gene Heskett


On Monday 13 July 2015 10:11:40 andy pugh wrote:
 On 13 July 2015 at 10:29, Marcus Bowman
 marcus.bow...@visible.eclipse.co.uk

  wrote:
 
  When I load the program, LinuxCNC gets stuck in an endless attempt
  to resolve the loop references.
 
  Is there a simple way to halt this?

 if you are stuck in the preview in Axis then Esc seems to work for
 me. I think Ctrl-C does too, but the Vandal-proof keyboard I use on
 the lathe has no Ctrl key.
 Yes,  that is quite inconvenient.

I am not worried about vandals in my shop, but swarf is a major PITA, and 
the only keyboard I have found to be useful in that dirty environment is 
the logitech K360, which has keytops with vertical sides.  All other 
keyboards have the tapered sides because some %$#@()^ genius thinks 
thats cute, but all it serves to do is get a piece of swarf stuck in the 
wedge, holding the key down.  And thats a machinery and cutting tool 
wrecking occurance.

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)
Genes Web page http://geneslinuxbox.net:6309/gene

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread andy pugh
On 13 July 2015 at 15:29, Gene Heskett ghesk...@wdtv.com wrote:

 And neither has ever worked for me. Keyboard input sems to be totally
 ignored at that stage of loading the code


It doesn't work instantly, but it does work eventually.


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Small cnc-controlled chuck

2015-07-13 Thread Jason Burton
If milling between centers would be acceptable, how about using an actuated
tailstock and the type of headstock center with aggressive drive dog points
built in?

Perhaps something like this:
http://www.woodworkingarchive.biz/woodturning-techniques/images/1383_8_21-wood-lathe-chucks-drive-dog.jpg

Best,
Jason


On Fri, Jul 10, 2015 at 10:56 AM, Viesturs Lācis viesturs.la...@gmail.com
wrote:

 Hello!

 I need to build a machine for rotary milling of wood parts. The thing
 is that customer wants the parts in the rotary head to be swapped
 automatically, so some kind of cnc-operated chuck is needed.
 I would appreciate, if somebody could share a link to something like
 that. Total range of parts to be machined is 13 to 40 mm, but I do
 understand that operator would have to set up the jaws for particular
 diameter as the chuck itself would move the jaws for few milimeters
 only.
 Is there any simple way to make some diy version that actually works?
 I was thinking about gripping the part between some rollers, but I do
 not think that there would be no slipping etc.
 Any suggestions or hints will be appreciated :)

 Viesturs


 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Bruce Layne


On 07/13/2015 12:52 PM, Viesturs Lācis wrote:
 What about hardware e-stop button? Would it not work for this case?

I don't know if the E-stop input would be monitored while the G code is 
being loaded.  I think it's a fairly decent assumption that if the 
keyboard is not able to stop a software lockup when there are unresolved 
issues while parsing the G code, then digital inputs on the CNC side 
probably would not be monitored either, although I can't confirm this.  
I've never created this error condition, much less tested it with an 
E-stop input.

I don't consider the E-stop input to be a hardware e-stop button as it 
requires software to monitor and respond to the E-stop condition.  To 
me, that's the opposite of what I mean when I say hardware E-stop.  On 
my simple machines, I'll often wire a true hardware E-stop that halts 
machine motion IN HARDWARE, and I won't even bother wiring a parallel 
E-stop circuit to provide an E-stop input.  There doesn't seem to be any 
point.  The motion is already reliably stopped in hardware, and I'll 
need to re-home the machine after a hardware E-stop anyway.  On more 
elaborate machines, I will wire a second E-Stop circuit through the same 
E-stop switches so LinuxCNC can detect that the E-Stop has been pressed.




--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Bruce Layne

On 07/13/2015 10:27 AM, Gene Heskett wrote:
 I am not worried about vandals in my shop, but swarf is a major PITA, and
 the only keyboard I have found to be useful in that dirty environment is
 the logitech K360, which has keytops with vertical sides.

I use Logitech K400 wireless keyboards with silicone overlays.  They 
aren't coolant proof (at least not flood coolant) but they're swarf 
proof and very convenient.  I use them as keyboards for entering and 
editing G code, but this keyboard is small enough to also use as a 
wireless jog pendant at the machine, and the wireless communications 
seem robust and reliable even in an electrically noisy environment.

http://www.amazon.com/Logitech-Wireless-Keyboard-Multi-Touch-Touchpad/dp/B005DKZTMG

http://www.amazon.com/silicone-keyboard-Logitech-Wireless-Keyboard/dp/B00DE7SHII



 On Monday 13 July 2015 10:11:40 andy pugh wrote:
 the Vandal-proof keyboard I use on the lathe has no Ctrl key.
 Yes,  that is quite inconvenient.

And yes, Andy, the nearly vandal resistant K400 has a Ctrl key.  :-)



As for the original topic, I think it would be great if there was a key 
like the escape key that would always get the attention of LinuxCNC and 
force it to stop whatever it's doing and return to an idle state.  The 
escape key seems to work for me in most/all instances I've tried, but I 
doubt I've ever had two subroutines with the same name to confound the G 
code parser.  I do a lot of cut and paste G code too, but I'm fairly 
fussy about making sure the subroutines are all named uniquely, etc.  
Even though I can't program my way out of a wet paper bag now, I wrote a 
lot of code in my youth, and good habits are as hard to break as bad 
habits.  I try to have a good zoomed out understanding of how the code 
works, and that requires a manual attempt to parse the code to detect 
any problems like subroutines with the same name before I try to run 
it.  I'm even more careful about verifying code that moves machinery.

Nevertheless, I think LinuxCNC would be more robust if it could make a 
first pass through the code looking for this type of obvious error, with 
a controlled exit and an appropriate error message rather than locking 
up, even if I don't plan on ever testing that error checking 
capability.  :-)






--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Viesturs Lācis
2015-07-13 19:37 GMT+03:00 Bruce Layne linux...@thinkingdevices.com:
 As for the original topic, I think it would be great if there was a key
 like the escape key that would always get the attention of LinuxCNC and
 force it to stop whatever it's doing and return to an idle state.

What about hardware e-stop button? Would it not work for this case?

Viesturs

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Gene Heskett


On Monday 13 July 2015 10:40:31 andy pugh wrote:
 On 13 July 2015 at 15:29, Gene Heskett ghesk...@wdtv.com wrote:
  And neither has ever worked for me. Keyboard input sems to be
  totally ignored at that stage of loading the code

 It doesn't work instantly, but it does work eventually.

These are all wireless usb keyboards.  Could that make a difference?0

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)
Genes Web page http://geneslinuxbox.net:6309/gene

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Gene Heskett
On Monday 13 July 2015 12:37:05 Bruce Layne wrote:
 On 07/13/2015 10:27 AM, Gene Heskett wrote:
  I am not worried about vandals in my shop, but swarf is a major
  PITA, and the only keyboard I have found to be useful in that dirty
  environment is the logitech K360, which has keytops with vertical
  sides.

 I use Logitech K400 wireless keyboards with silicone overlays.  They
 aren't coolant proof (at least not flood coolant) but they're swarf
 proof and very convenient.  I use them as keyboards for entering and
 editing G code, but this keyboard is small enough to also use as a
 wireless jog pendant at the machine, and the wireless communications
 seem robust and reliable even in an electrically noisy environment.

 http://www.amazon.com/Logitech-Wireless-Keyboard-Multi-Touch-Touchpad/
dp/B005DKZTMG

 http://www.amazon.com/silicone-keyboard-Logitech-Wireless-Keyboard/dp/
B00DE7SHII

The silicon overlay's are not stocked locally except for Apple Macs, as 
in within 50 miles, and when ordering off the net, you've no faith that 
the overlay they ship actually fits the keyboard in the same order.  I 
haven't done that in a while, perhaps a decade+, but they (Newegg IIRC) 
shipped a 105 key overlay, and a 115 key keyboard.

  On Monday 13 July 2015 10:11:40 andy pugh wrote:
  the Vandal-proof keyboard I use on the lathe has no Ctrl key.
  Yes,  that is quite inconvenient.

 And yes, Andy, the nearly vandal resistant K400 has a Ctrl key.  :-)



 As for the original topic, I think it would be great if there was a
 key like the escape key that would always get the attention of
 LinuxCNC and force it to stop whatever it's doing and return to an
 idle state.  The escape key seems to work for me in most/all instances
 I've tried, but I doubt I've ever had two subroutines with the same
 name to confound the G code parser.  I do a lot of cut and paste G
 code too, but I'm fairly fussy about making sure the subroutines are
 all named uniquely, etc. Even though I can't program my way out of a
 wet paper bag now, I wrote a lot of code in my youth, and good habits
 are as hard to break as bad habits.  I try to have a good zoomed out
 understanding of how the code works, and that requires a manual
 attempt to parse the code to detect any problems like subroutines with
 the same name before I try to run it.  I'm even more careful about
 verifying code that moves machinery.

 Nevertheless, I think LinuxCNC would be more robust if it could make a
 first pass through the code looking for this type of obvious error,
 with a controlled exit and an appropriate error message rather than
 locking up, even if I don't plan on ever testing that error checking
 capability.  :-)






 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 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)
Genes Web page http://geneslinuxbox.net:6309/gene

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Just In Case, Fanuc MPG

2015-07-13 Thread Kirk Wallace
On 07/09/2015 07:53 AM, Eric Keller wrote:
 On Wed, Jul 8, 2015 at 12:25 PM, Kirk Wallace kwall...@wallacecompany.com
 wrote:

 In case it might be of interest, I posted some pictures of a Fanuc MPG I
 got from eBay:



 Kirk, thanks for posting this.  I've always wondered how they got the
 detents to work

One of the three MPGs had flaky detents, so I took it apart. There are 
pictures at the bottom of this page here:
http://www.wallacecompany.com/machine_shop/fanuc_mpg/fanuc_mpg_index.html

I made a Glade VCP application for testing with a PC parallel port:
http://www.wallacecompany.com/machine_shop/fanuc_mpg/gvcpMPG/Screenshot-gvcpMPG-1a.png

http://www.wallacecompany.com/machine_shop/fanuc_mpg/gvcpMPG/


-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping looping confusion

2015-07-13 Thread Bruce Layne


On 07/13/2015 05:19 PM, Gene Heskett wrote:
 The silicon overlay's are not stocked locally except for Apple Macs, as
 in within 50 miles, and when ordering off the net, you've no faith that
 the overlay they ship actually fits the keyboard in the same order.  I
 haven't done that in a while, perhaps a decade+, but they (Newegg IIRC)
 shipped a 105 key overlay, and a 115 key keyboard.

The two links I provided are for a keyboard and a silicone overlay that 
is made exclusively for that keyboard.  The overlay fits perfectly.  
It's spill proof although not submersible.  It's very chip proof.  You 
can pick up the wireless keyboard, flip it upside down, and the chips 
fall off easily.  It's tough, but very flexible.  For serious use, plan 
on replacing the overlay annually. I've never worn one out with 
occasional home shop use.

You don't need to hitch up the mule and pull the wagon over treacherous 
West Virginny mountain passes to get to a Radio Shack that went out of 
business a year ago.  I'm fairly sure that Amazon.com delivers... even 
way up a holler to some poor guy with a perennially flooded basement.

I provided longer descriptive links, but they may have wrapped. Here are 
shorter links.

http://www.amazon.com/dp/B005DKZTMG

http://www.amazon.com/dp/B00DE7SHII

I don't get any referral fees on these links.  I'm just a happy 
customer.  When I buy stuff on Amazon, I use the Amazon Smile program to 
donate a tiny amount (at no cost to me) to the organization of my 
choice.  You can choose from a bazillion and a half charities.  I chose 
Gun Owners of America.  :-)

http://smile.amazon.com

PS - To answer your question to Andy, I doubt the wireless keyboards are 
causing the problem with LinuxCNC locking up when loading G code with 
multiple subroutines with the same name.  The only wireless keyboard 
problem I've ever had with LinuxCNC is when installing a new system.  
The wireless keyboard communications occur after the BIOS startup, so a 
wireless keyboard doesn't work to press a key to enter the BIOS setup... 
for example, to tell the BIOS to boot from the USB drive to install 
Linux and LinuxCNC.  Once the BIOS is running, the wireless keyboard has 
always worked exactly like a wired keyboard for me.  I keep a wired 
keyboard for setting up new LinuxCNC machines.  I don't know why the 
default BIOS boot order isn't USB-CD-FLOPPY-HD, in that order.  Maybe 
Windows administrators don't want guys like me plugging in a Linux boot 
thumb drive and bypassing their silly Windows policies.  :-D



--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users