Re: [Emc-users] Start program with external button

2014-05-15 Thread John Alexander Stewart
Andy - I had forgotten about this. Actually, I could just put a header on the 2nd port of the enclosed 5i25, and use that. Hmmm - the machine is in a small case, but there might be room somewhere there for it... Hmmm - thanks for the creative thoughts. My goal is to create a set of buttons that

Re: [Emc-users] Start program with external button

2014-05-15 Thread Niemand Sonst
Hallo John, have you looked at gmoccapy? It has been designed to be used without mouse and keyboard, just with a touch screen or hardware buttons placed around the screen. Norbert Am 15.05.2014 17:45, schrieb John Alexander Stewart: Andy - I had forgotten about this. Actually, I could just

Re: [Emc-users] Start program with external button

2014-05-15 Thread andy pugh
On 15 May 2014 16:45, John Alexander Stewart ivatt...@gmail.com wrote: Actually, I could just put a header on the 2nd port of the enclosed 5i25, and use that. Which 5i25 config are you using? There are many ways to add more IO to a 5i25, it can support something like 768 IO channels. -- atp

Re: [Emc-users] Start program with external button

2014-05-15 Thread John Alexander Stewart
Hi Norbert, Andy; Norbert - Have most certainly looked at gmoccapy; then went out and priced touch screens with VGA ports, and...(there's a lot of scots blood in me!) I however DO LIKE what you are doing; maybe for my upcoming CNC Lathe. Andy - the mill has the 2xG540 config in there, powering

Re: [Emc-users] Start program with external button

2014-05-15 Thread andy pugh
On 15 May 2014 18:05, John Alexander Stewart ivatt...@gmail.com wrote: Lets see - right now the mill is down because of spindle bearing issues; new parts on their way from Sieg in China. You realise that that way you end up with bearings of the same quality as the current set? Have you looked

Re: [Emc-users] Start program with external button

2014-05-15 Thread John Alexander Stewart
Hi Andy; You realise that that way you end up with bearings of the same quality as the current set? Have you looked on (for example) www.simplybearings.co.uk ? Kind of off-topic, but yes, I realize that I'm getting what was in there again. But, it does give me a spindle to repair as I see

Re: [Emc-users] Start program with external button

2014-05-14 Thread Viesturs Lācis
2014-05-14 0:57 GMT+03:00 Erik Friesen e...@aercon.net: Hmm. Didn't know you could net more than one per line. You can do it in one line or break it up (for me breaking up is easier to understand, when I need to go through HAL file few months later), for example, net run-file

Re: [Emc-users] Start program with external button

2014-05-14 Thread Erik Friesen
I have found myself wishing I could insert c snippets somehow, to me it is would be way easier that manually figuring out the logic. It gets very hard to follow three or more logic items that work together. For example, it takes quite a few to make a run/resume switch. On Wed, May 14, 2014 at

Re: [Emc-users] Start program with external button

2014-05-14 Thread andy pugh
On 14 May 2014 13:10, Erik Friesen e...@aercon.net wrote: I have found myself wishing I could insert c snippets somehow, to me it is would be way easier that manually figuring out the logic. You can write user-defined components in C. The problem with C-snippets is that you would be

Re: [Emc-users] Start program with external button

2014-05-14 Thread Kip Shaffer
Erik, While not exactly what you are looking for, you can use C snippets to create brand new HAL components. I created a couple myself, one to bring 16 inputs and 16 outputs to a set of external shift registers for expanded IO capabilities, and one to generate blink codes for a status LED. I

Re: [Emc-users] Start program with external button

2014-05-14 Thread John Alexander Stewart
I know it's not perfect, but as I have run out of inputs on my mill, I have an Arduino in the mail that will allow me to send keyboard commands with button presses - I have to be running Axis, but from there, I think I can control my mill with this Arduino. Most arduinos do not allow keyboard

Re: [Emc-users] Start program with external button

2014-05-14 Thread andy pugh
On 14 May 2014 17:54, John Alexander Stewart ivatt...@gmail.com wrote: know it's not perfect, but as I have run out of inputs on my mill, You could matrix-wire the buttons, would that help? They don't have to be physically in a matrix, just logically.

Re: [Emc-users] Start program with external button

2014-05-13 Thread Erik Friesen
Maybe this will get it. http://www.linuxcnc.org/emc2/index.php/italian/forum/24-hal-components/6442-problem-to-run-a-program-with-external-cycle-start On Tue, May 13, 2014 at 3:35 PM, Erik Friesen e...@aercon.net wrote: What component do I use to start a program with an external switch?

[Emc-users] Start program with external button

2014-05-13 Thread Erik Friesen
What component do I use to start a program with an external switch? Using halui.program.run just tells me can't do that (EMC_TASK_PLAN_RUN) in manual mode -- Accelerate Dev Cycles with Automated Cross-Browser Testing -

Re: [Emc-users] Start program with external button

2014-05-13 Thread Viesturs Lācis
2014-05-13 22:35 GMT+03:00 Erik Friesen e...@aercon.net: What component do I use to start a program with an external switch? Using halui.program.run just tells me can't do that (EMC_TASK_PLAN_RUN) in manual mode Piece of cake :) In the same line simply tell it to switch to auto mode: net

Re: [Emc-users] Start program with external button

2014-05-13 Thread Erik Friesen
Hmm. Didn't know you could net more than one per line. On Tue, May 13, 2014 at 4:19 PM, Viesturs Lācis viesturs.la...@gmail.comwrote: 2014-05-13 22:35 GMT+03:00 Erik Friesen e...@aercon.net: What component do I use to start a program with an external switch? Using halui.program.run