[Emc-users] M,S and T Codes

2007-10-28 Thread David Winter
Dear All, Tried searching for answers on this and found nothing so I will ask this here, if I execute an M code e.g. M25 in MDI or Auto, what happens to EMC2? Is the numerical value of the executed M code available anywhere and is it possible to hold up program execution until

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-28 Thread Geert De Pecker
Chris, On your website, there is a picture of the mod you did to the sherline spindle speed control. It looks like you bypass the max-speed trimpot with an optocoupler. Are you able to get from lowest to full speed with this mod? Is this a regular optocoupler? I understand you drive the

Re: [Emc-users] Emc lathe spindle

2007-10-28 Thread Geert De Pecker
Thanks. This clarifies a lot. One has to get acquinted with the HAL layer. Will need to do some more reading I guess. Kirk Wallace wrote: I haven't done a thorough study of this yet, I believe you only need to satisfy these two signals: ... motion.spindle-index-enable I/O bit For

Re: [Emc-users] Emc lathe spindle

2007-10-28 Thread Geert De Pecker
Is the problem with software encoding related to the speed of the pulses coming in? If so, would a low res encoder (homemade) of eg 20 ppr be a solution? Does it have to be a quadrature encoder (see in the HAL doc that both A and B are used) or is there a solution with 2 signals: one index Z and

Re: [Emc-users] Emc lathe spindle

2007-10-28 Thread Jon Elson
Geert De Pecker wrote: Is the problem with software encoding related to the speed of the pulses coming in? If so, would a low res encoder (homemade) of eg 20 ppr be a solution? Yes, but you don't want it to be too coarse. There is some filtering in the motion of the slaved axis, but if the

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Jon Elson
Kenneth Lerman wrote: Jon, You suggest that the PC would request the registers from the IO board and the IO board would respond with the requested registers. How much delay, jitter, latency,... is acceptable? Darn good question. I know the jitter on when the current parport interface

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Jon Elson
Javid Butler wrote: Jon- The Silicon Labs chip is not a typical 8051. You are correct about a standard 8051, but this chip is more of an 8051 core running at 50 or 100 MHz. They may have a version with an Ethernet MAC and DMA as well. Which ARM7 are you looking at? Atmel has some good

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Jon Elson
Jon Elson wrote: Stephen Wille Padnos wrote: You can't use any old topology with RTNet. RTNet is a TDMA scheme - each device gets a time slot in which it may transmit. This eliminates collisions, which are the main cause of timing jitter on ethernet. Well, after some more reading of the

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Kenneth Lerman
For me, the issue of RTnet is irrelevant. I would, instead, just want to use the Linux driver. If we can get that to generate and receive ethernet frames in real time, we are in business. Then we could let the PC be a master and any peripherals be slaves. In the case of the UPC board, there

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Javid Butler
For me, the issue of RTnet is irrelevant. I would, instead, just want to use the Linux driver. If we can get that to generate and receive ethernet frames in real time, we are in business. Then we could let the PC be a master and any peripherals be slaves. In the case of the UPC board,

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Stephen Wille Padnos
Javid Butler wrote: For me, the issue of RTnet is irrelevant. I would, instead, just want to use the Linux driver. If we can get that to generate and receive ethernet frames in real time, we are in business. Then we could let the PC be a master and any peripherals be slaves. In the case of the

Re: [Emc-users] Threading Hickups

2007-10-28 Thread Javid Butler
If you do use the ferrites in the outputs let us know how much heat they produce. I would guess it will be a function of the quality of the VFD's output stage, but have never tried power ferrites. The filters used in theatrical dimmers can get pretty hot, and those frequencies are low compared

Re: [Emc-users] Threading Hickups

2007-10-28 Thread John Kasunich
Javid Butler wrote: If you do use the ferrites in the outputs let us know how much heat they produce. I would guess it will be a function of the quality of the VFD's output stage, but have never tried power ferrites. The filters used in theatrical dimmers can get pretty hot, and those

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Javid Butler
Could you provide an example of a servo motor with feedback? I will try, but all my machines are stepper driven, so while I think I understand the concept of a servo drive I've never tuned one or worked with it directly. Feel free to correct any misunderstandings. I'm using arbitrary

[Emc-users] Problems Compiling/Running

2007-10-28 Thread Andrew Ayre
Hi! For various reasons I have chosen to build my own kernel and compile EMC2. I'm nearly there but stumbling at the last stage. I have patched a vanilla 2.6.22 kernel with RTAI. My PC boot and runs normally and I can execute all the RTAI scripts in the testsuite. I am using Ubuntu 7.10. I

[Emc-users] Adeos

2007-10-28 Thread Andrew Ayre
Hi, I am using kernel 2.6.22, RTAI 3.6-test1 and EMC 2.1.7 or the CVS HEAD. During the EMC2 configuration phase it checks for Adeos, and it isn't found. However the configuration script says that it was successful and the application can be built. Do I need to patch the kernel with Adeos? If so

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Jon Elson
Kenneth Lerman wrote: For me, the issue of RTnet is irrelevant. I would, instead, just want to use the Linux driver. If we can get that to generate and receive ethernet frames in real time, we are in business. Well, that's the problem, it is NOT real time code. I don't know how far it is

Re: [Emc-users] Threading Hickups

2007-10-28 Thread Jon Elson
Kirk Wallace wrote: Jon gets a gold star. I believe his is line filter suggestion solved my noisy spindle encoder index problem. I got a couple of PREO filters: http://www.eastek-intl.com/images/PreoSeriesER.pdf One for the spindle VFD input (30 A) and another for the coolant VFD input

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Stephen Wille Padnos
Jon Elson wrote: Kenneth Lerman wrote: For me, the issue of RTnet is irrelevant. I would, instead, just want to use the Linux driver. If we can get that to generate and receive ethernet frames in real time, we are in business. Well, that's the problem, it is NOT real time code. I don't

Re: [Emc-users] Ethernet I/O

2007-10-28 Thread Rafael Skodlar
Stephen Wille Padnos wrote: Jon Elson wrote: Kenneth Lerman wrote: For me, the issue of RTnet is irrelevant. I would, instead, just want to use the Linux driver. If we can get that to generate and receive ethernet frames in real time, we are in business. Well,

[Emc-users] Problems Compiling/Running - Update

2007-10-28 Thread Andrew Ayre
Update - I can get EMC2 CVS HEAD to start up with no errors if I start it as root. Otherwise it fails at the insmod stage. I guess regular users don't have permission to do this. So how do I solve this problem? thanks for the help! Andy Original Message Subject: Problems

[Emc-users] LRK Motors

2007-10-28 Thread Kirk Wallace
I am wondering if these motors, if scaled up could work as servo motors. http://www.torcman.de/peterslrk/LRK350-20-15_eng.html http://www.torcman.de/peterslrk/index_eng.html http://groups.yahoo.com/group/lrk-torquemax/ Being able to build my own servo motors is very appealing. -- Kirk Wallace