Re: [Emc-users] Stepper configuration

2008-08-09 Thread Eric H. Johnson
Sebastian, Thanks. A couple more questions. 1 I assume I will have to build from source to use hostmot2? 2 On an m5i20, how do you use the general purpose I/O? I don't see, for instance, the equivalents of: addf m5i20.0.misc-update servo-thread 1 addf m5i20.0.digital-in-read servo-thread 1 addf

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Peter C. Wallace
On Sat, 9 Aug 2008, Eric H. Johnson wrote: Date: Sat, 9 Aug 2008 09:19:44 -0400 From: Eric H. Johnson [EMAIL PROTECTED] Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: 'Enhanced Machine Controller (EMC)' emc-users@lists.sourceforge.net Subject: Re:

Re: [Emc-users] Stepper configuration

2008-08-09 Thread John Kasunich
[EMAIL PROTECTED] wrote: For now you have to build from source to get hostmot2. It will be in 2.2.6 when it comes out, which might be as early as this weekend. Hostmot2 treats the board I/O pins differently than previous firmwares drivers. High-level functions like stepgen, pwmgen,

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Sebastian Kuzminsky
John Kasunich wrote: [EMAIL PROTECTED] wrote: For now you have to build from source to get hostmot2. It will be in 2.2.6 when it comes out, which might be as early as this weekend. Hostmot2 treats the board I/O pins differently than previous firmwares drivers. High-level functions like

Re: [Emc-users] Stepper configuration

2008-08-09 Thread John Kasunich
Sebastian Kuzminsky wrote: John Kasunich wrote: [EMAIL PROTECTED] wrote: For now you have to build from source to get hostmot2. It will be in 2.2.6 when it comes out, which might be as early as this weekend. Hostmot2 treats the board I/O pins differently than previous firmwares drivers.

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Sebastian Kuzminsky
John Kasunich wrote: Sebastian Kuzminsky wrote: John Kasunich wrote: What's a use case where it's valuable to read/write the modules separately? Mostly something like the arrangement Kirk Wallace has - software stepping, using the GPIO for the step pulses. You might ask why do software

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Peter C. Wallace
Not true. Threads are interruptable, based on priority. Fast threads are higher priority than slow ones, under the assumption that the code in a 1mS thread might take 200uS to execute, and a 25uS thread might need to interrupt it and run a few uS worth of code several times. Sounds like

Re: [Emc-users] Stepper configuration

2008-08-09 Thread seb
How valuable is it for hostmot2 to have stand-alone gpio access (for the PCI cards only)? It seems like sort of a klunky interface. The differentiating feature of hostmot2 is the flexible firmware, which solves this problem very neatly. So I still think the current interface is the right

Re: [Emc-users] Stepper configuration

2008-08-09 Thread John Kasunich
[EMAIL PROTECTED] wrote: How valuable is it for hostmot2 to have stand-alone gpio access (for the PCI cards only)? It seems like sort of a klunky interface. The differentiating feature of hostmot2 is the flexible firmware, which solves this problem very neatly. So I still think the

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Kirk Wallace
On Sat, 2008-08-09 at 13:17 -0400, John Kasunich wrote: ... snip Mostly something like the arrangement Kirk Wallace has - software stepping, using the GPIO for the step pulses. You might ask why do software stepping when there is hardware stepping available? In many cases that is a darned

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Sebastian Kuzminsky
John Kasunich wrote: [EMAIL PROTECTED] wrote: How valuable is it for hostmot2 to have stand-alone gpio access (for the PCI cards only)? It seems like sort of a klunky interface. The differentiating feature of hostmot2 is the flexible firmware, which solves this problem very neatly. So I

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Peter C. Wallace
On Sat, 9 Aug 2008, Sebastian Kuzminsky wrote: Date: Sat, 09 Aug 2008 15:13:34 -0600 From: Sebastian Kuzminsky [EMAIL PROTECTED] Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re:

[Emc-users] M19C45

2008-08-09 Thread amtb
Hi I am interesting in M19C(0-360) operation or spindle oriented stop. MAZAK has that option because MAZAK should stop spindle oriented to tool changer can taker tool out. I am interesting is any good setting of hardware – motor with driver that can be used with EMC2 that will use M19C(0-360)

[Emc-users] etch-servo pwm output to servo amp's input?

2008-08-09 Thread Jim Coleman
Tonight I hooked up the jogwheel and one of the motor's encoders (100 line and 2500 lines) to the parport, and with turning up the ferror in the ini I can use it like a DRO, turning the encoders moves the axis readings. I was wondering if i could just build an H bridge or similar switching

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Sebastian Kuzminsky
Sebastian Kuzminsky wrote: I could add a threadsafe flag to the board driver struct, which gets set by the board driver if the board I/O hardware is thread safe (PCI), and cleared if it's not (EPP). The high-level hostmot2 driver would examine this and only export the full read()/write()

Re: [Emc-users] etch-servo pwm output to servo amp's input?

2008-08-09 Thread Kirk Wallace
On Sat, 2008-08-09 at 22:34 -0400, Jim Coleman wrote: Tonight I hooked up the jogwheel and one of the motor's encoders (100 line and 2500 lines) to the parport, and with turning up the ferror in the ini I can use it like a DRO, turning the encoders moves the axis readings. I was wondering if

Re: [Emc-users] Stepper configuration

2008-08-09 Thread John Kasunich
Sebastian Kuzminsky wrote: Sebastian Kuzminsky wrote: I could add a threadsafe flag to the board driver struct, which gets set by the board driver if the board I/O hardware is thread safe (PCI), and cleared if it's not (EPP). The high-level hostmot2 driver would examine this and only

Re: [Emc-users] etch-servo pwm output to servo amp's input?

2008-08-09 Thread Kirk Wallace
On Sat, 2008-08-09 at 20:54 -0700, Kirk Wallace wrote: On Sat, 2008-08-09 at 22:34 -0400, Jim Coleman wrote: ... snip I was wondering if i could just build an H bridge or similar switching circuit to run the output between the -12 and +12V rails on an AT or AT power supply, maybe use 7809

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Peter C. Wallace
On Sat, 9 Aug 2008, John Kasunich wrote: Date: Sat, 09 Aug 2008 23:59:48 -0400 From: John Kasunich [EMAIL PROTECTED] Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users]

Re: [Emc-users] etch-servo pwm output to servo amp's input?

2008-08-09 Thread Peter C. Wallace
On Sun, 10 Aug 2008, Jim Coleman wrote: Date: Sun, 10 Aug 2008 00:13:17 -0400 From: Jim Coleman [EMAIL PROTECTED] Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users]

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Matt Shaver
On Sat, 2008-08-09 at 11:50 -0600, Sebastian Kuzminsky wrote: John Kasunich wrote: Sebastian Kuzminsky wrote: John Kasunich wrote: What's a use case where it's valuable to read/write the modules separately? If I get the drift of this conversation (and that's always questionable) I think

Re: [Emc-users] Stepper configuration

2008-08-09 Thread Peter C. Wallace
On Sun, 10 Aug 2008, Matt Shaver wrote: Date: Sun, 10 Aug 2008 01:17:03 -0400 From: Matt Shaver [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Stepper configuration On Sat, 2008-08-09 at 11:50 -0600, Sebastian Kuzminsky

Re: [Emc-users] etch-servo pwm output to servo amp's input?

2008-08-09 Thread Kirk Wallace
On Sun, 2008-08-10 at 00:13 -0400, Jim Coleman wrote: I've hooked the encoders to the parport right now just to see if I could get that feedback working directly from the encoders to the parport. My goal is to get closed loop motion out of my motors without having to buy a card like a mesa.