Re: [Emc-users] syncing two motors to one axis

2009-04-15 Thread Len Shelton
that? Thanks guys for your help. Len -Original Message- From: John Thornton [mailto:jet1...@semo.net] Sent: Sunday, April 12, 2009 6:35 AM To: Enhanced Machine Controller EEMC Subject: Re: [Emc-users] syncing two motors to one axis On 11 Apr 2009 at 5:45, Len Shelton wrote: I am

Re: [Emc-users] syncing two motors to one axis

2009-04-15 Thread Len Shelton
[mailto:l...@probotix.com] Sent: Wednesday, April 15, 2009 10:03 PM To: 'Enhanced Machine Controller (EMC)' Cc: 'Rob Tilton' Subject: Re: [Emc-users] syncing two motors to one axis Gentlemen, This works! I have had it running for the past week, but I was hoping to have time to get the rest

Re: [Emc-users] syncing two motors to one axis

2009-04-15 Thread Chris Radek
On Wed, Apr 15, 2009 at 10:13:12PM -0600, Len Shelton wrote: After taking the time to actually study the HAL manual, I have to say that HAL ROCKS! It's really neat to see it in action with an intentionally skewed gantry. Can you make a video of this somehow? I would love to see it! I'd

Re: [Emc-users] syncing two motors to one axis

2009-04-15 Thread Kirk Wallace
On Wed, 2009-04-15 at 22:03 -0600, Len Shelton wrote: Gentlemen, This works! I have had it running for the past week, but I was hoping to have time to get the rest of the limit/home switches installed before I posted this. Congratulations Len. I'm glad you persevered. I'm looking

Re: [Emc-users] syncing two motors to one axis

2009-04-12 Thread John Thornton
Message- From: Stephen Wille Padnos [mailto:spad...@sover.net] Sent: Friday, April 10, 2009 10:32 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] syncing two motors to one axis Len Shelton wrote: Jon and Rob, You guys obviously know a lot more about the inner

Re: [Emc-users] syncing two motors to one axis

2009-04-11 Thread Len Shelton
(EMC) Subject: Re: [Emc-users] syncing two motors to one axis Len Shelton wrote: Jon and Rob, You guys obviously know a lot more about the inner working of HAL than I. I am still no closer to understanding what lines of code I need to put into my HAL file. Can you please translate this simple

Re: [Emc-users] syncing two motors to one axis

2009-04-11 Thread Len Shelton
(EMC)' Subject: Re: [Emc-users] syncing two motors to one axis Thanks for the help so far. I did some studying of the manual last night and this is what I have come up with based upon your logic: loadrt and2 count=3 loadrt or2 count=2 addf and2.0 base-thread addf or2.0 base-thread net home1

Re: [Emc-users] syncing two motors to one axis

2009-04-10 Thread Stephen Wille Padnos
Len Shelton wrote: Jon and Rob, You guys obviously know a lot more about the inner working of HAL than I. I am still no closer to understanding what lines of code I need to put into my HAL file. Can you please translate this simple boolean text notation... home_en1 = dir OR NOT home1

Re: [Emc-users] syncing two motors to one axis

2009-04-09 Thread Len Shelton
: Wednesday, April 01, 2009 8:30 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] syncing two motors to one axis Len Shelton wrote: So, are you saying that it can't presently be done because no one has written the hal components to do it? No, actually I do not believe any new HAL

Re: [Emc-users] syncing two motors to one axis

2009-04-09 Thread Rob Jansen
Len, you give me too much credits. I don't know that much about the HAL and to be honest, I am just able to understand the HAL files that I got as samples. Did this all with a bit of standard logic gates since my PC does not have enough I/O to capture all the signals. But my 5i20 and 7i43 Mesa

Re: [Emc-users] syncing two motors to one axis

2009-04-01 Thread Jon Elson
Len Shelton wrote: So let's say you have two drives, two motors, and two home switches on the same axis (gantry type machine). The problem with this arrangement is synchronization. The control needs to be aware of the two motors and needs to home both at the same time. While homing, we need to

Re: [Emc-users] syncing two motors to one axis

2009-04-01 Thread Len Shelton
] Sent: Wednesday, April 01, 2009 11:28 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] syncing two motors to one axis Len Shelton wrote: So let's say you have two drives, two motors, and two home switches on the same axis (gantry type machine). The problem with this arrangement

Re: [Emc-users] syncing two motors to one axis

2009-04-01 Thread Rob Jansen
Len, steppers makes this problem very easy and it has indeed been discussed before. Searching on the term two motors I was able to retrieve a number of my own posts about this. http://article.gmane.org/gmane.linux.distributions.emc.user/8147/match=two+motors is an older post describing a

Re: [Emc-users] syncing two motors to one axis

2009-04-01 Thread Jon Elson
Len Shelton wrote: So, are you saying that it can't presently be done because no one has written the hal components to do it? No, actually I do not believe any new HAL components are needed. You need an and gate to detect when both home switches have been tripped. This AND output sets a