Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Erik Christiansen
On Fri, Oct 26, 2007 at 08:37:47PM -0500, Javid Butler wrote: The real problem is the endpoint device. There will have to be some way to decode the signals from the ethernet into the actual drives. It will probably be a while before cost effective drives are available with ethernet inputs.

Re: [Emc-users] Problems Compiling/Running - Update

2007-10-29 Thread Jeff Epler
EMC 2.1.x is unlikely to work on Ubuntu 7.10. However, the development version has been improved in various ways for compatability with newer versions of Ubuntu. On Ubuntu 7.10 the default amount of locked memory for regular users is too low. You can fix that problem by adding the line hard

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Kenneth Lerman
What I had in mind is a DEDICATED ethernet segment. There would be no other traffic on it other than our RT traffic. I would NOT use UDP; I would use raw ethernet packets. Ken [EMAIL PROTECTED] Mark Kenny Products Company, LLC 55 Main Street Voice: (888)ISO-SEVO (888)476-7386 Newtown, CT

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Kenneth Lerman
The issue is at the PC end. In the past, parallel ports have been used, but it takes about a microsecond per byte to output to them. Ethernet has the advantage is that the controllers are PCI based and are a lot faster. Ken [EMAIL PROTECTED] Mark Kenny Products Company, LLC 55 Main Street

[Emc-users] zero motion homing in program

2007-10-29 Thread Cecil Thomas
Is there some G command that works like the HOME button in AXIS or TKEMC that simply makes the present position HOME Without storing offsets in the .var file I am trying to do what appears to be a simple operation in g code but it seems to be over my head. here's the setup: I am using

[Emc-users] var file source listing

2007-10-29 Thread Cecil Thomas
I have searched the users and integrators manuals and can't find this but maybe I've missed it. When strange things appear on startup of my axis or tkemc it is usually because there is a value stored in the .var file. If I zero out the strange numbers and save the .var file and restart it

Re: [Emc-users] var file source listing

2007-10-29 Thread sam sokolik
This is a good explaination coordinate systems. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CoordinateSystems The var file info is here http://www.isd.mel.nist.gov/documents/kramer/RS274NGC_3.pdf on page 13. - Original Message - From: Cecil Thomas [EMAIL PROTECTED] To: Enhanced

Re: [Emc-users] Problems Compiling/Running - Update

2007-10-29 Thread Andrew Ayre
Jeff, Thanks - I will give that a try. I think a shared memory error was in the mix. I also need to manually create the application menu entries. /usr/local/bin/emc is obvious. Are there any other executables that users should be able to run from the menu? Once I have this set up I will

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Jon Elson
Stephen Wille Padnos wrote: Jon Elson wrote: As long as you could throttle traffic on that ethernet segment, so a network file transfer, for instance, couldn't bog down the ethernet, then that would work. No, it wouldn't (not necessarily). You'd also have to set the MTU pretty low. A

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Jon Elson
Rafael Skodlar wrote: I would not want to rely on UDP for real time applications unless it's used on an isolated network with a limited number of well behaving nodes. Yes, you would have to do it that way. Gigabit ethernet would be better but then which microcontroller will be able to

Re: [Emc-users] LRK Motors

2007-10-29 Thread Jon Elson
Kirk Wallace wrote: 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

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Dave Engvall
Jon, Rafael, et al IIRC CAN is 1 Mbit/sec. Philosophically I'd opt for KISS. (keep it simple stupid). No more complexity than is necessary to get the job done. To me that sounds a lot like raw packets point to point. Dave On Oct 29, 2007, at 10:33 AM, Jon Elson wrote: Rafael Skodlar wrote:

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Jon Elson
Erik Christiansen wrote: On Fri, Oct 26, 2007 at 08:37:47PM -0500, Javid Butler wrote: The real problem is the endpoint device. There will have to be some way to decode the signals from the ethernet into the actual drives. It will probably be a while before cost effective drives are available

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Andrew Ayre
CAN is indeed a maximum 1Mbps, however about 50% of that is overhead, so the actual data bandwidth is more like a max of 500kbps. This is over a distance of something like 40 meters. CAN only defines the physical connection and message frame format. All the bit stuffing, sync, acknowlegements and

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Peter C. Wallace
On Mon, 29 Oct 2007, Jon Elson wrote: The idea is that 100 mbit/sec ethernet is fast. What other RS485 device do you have that runs that fast? Of course a RS-485 link can have smaller packets, and may actually have much better real time performance. (a single 10 MBps RS-485 link will have

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Alex Joni
I really think all of the thread raised issues have been addressed by Ethercat: 1. it uses Ethernet (100MBps max) raw packages 2. there is an opensource Ethercat Master, which runs under linux/RTAI (http://www.etherlab.org/en/ethercat/index.php) 3. you could command motion and IO devices using

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Peter C. Wallace
I really think all of the thread raised issues have been addressed by Ethercat: Umm, no... As master, no problem but slaves will be expensive: Ethercat slaves require either custom proprietry hardware or proprietary IP You can not use a generic ucontroller with Ethernet as a EtherCat slave.

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Alex Joni
Umm, no... As master, no problem but slaves will be expensive: Ethercat slaves require either custom proprietry hardware or proprietary IP Hmm, unfortunately I can't argue there.. been trying to find some prices for a slave chip. I found some products, but no prices anywhere: - beckhoff

Re: [Emc-users] var file source listing

2007-10-29 Thread Jeff Epler
On Mon, Oct 29, 2007 at 09:58:30AM -0500, Cecil Thomas wrote: I guess I'm looking for the reverse directory for the .var file. Please see: http://www.linuxcnc.org/docview/2.2/html/gcode_main.html#sub:Parameters - This

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Kenneth Lerman
Is 100BaseT ethernet full duplex? (I think it is.) In principle, one could make a hub (not technically a hub) that daisy chained cables. So, the master would output to slave 1 abd input from slave N. Slave 1 would input from the master and output to slave 2. Slave 2 would input from slave 1 and

Re: [Emc-users] Problems Compiling/Running - Update

2007-10-29 Thread Andrew Ayre
I have narrowed the problem down to this: [EMAIL PROTECTED]:~$ /usr/local/bin/halcmd help Segmentation fault [EMAIL PROTECTED]:~$ su Password: [EMAIL PROTECTED]:/home/andy# /usr/local/bin/halcmd help Use 'help command' for more details about each command Available commands: loadrt

Re: [Emc-users] Problems Compiling/Running - Update

2007-10-29 Thread Jeff Epler
A system call trace (produced by using strace) or a backtrace at the time of the segmentation fault (produced using gdb) would be helpful in pinpointing the location of the problem. You can find information how to use these utilities on many pages on the internet. Jeff

Re: [Emc-users] Problems Compiling/Running - Update

2007-10-29 Thread Andrew Ayre
Thanks. It seg faults at line 2350 in hal_lib.c: static int init_hal_data(void) { /* has the block already been initialized? */ if (hal_data-version != 0) { It appears that hal_data is NULL at this point. Here is the call stack: hal/utils/halcmd_main.c:195 (main) hal/utils/halcmd.c:109

Re: [Emc-users] Ethernet I/O

2007-10-29 Thread Jon Elson
Peter C. Wallace wrote: On Mon, 29 Oct 2007, Jon Elson wrote: The idea is that 100 mbit/sec ethernet is fast. What other RS485 device do you have that runs that fast? Of course a RS-485 link can have smaller packets, and may actually have much better real time performance. (a single 10

[Emc-users] Off Topic, Broaching

2007-10-29 Thread Kirk Wallace
Has CNC changed the way keyways are made? I need to make some keyways for my mill conversion, and I have no tooling so far for doing it. Since I will may be buying tooling, I want to explore the options in order to make the best investment. I actually prefer not having keyways and going with set