[Emc-users] Snapshot of backplot

2015-10-11 Thread Gene Heskett
Greetings all; I had asked for an explanation of why the run trace, and the initial trace, do not align in the backplot, and it was suggested that I was using something in the G90 to G92 in my code. So It removed any of that from my code, with no effect detectable in removing them. The first

Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread andy pugh
On 11 October 2015 at 06:23, Willy Snow wrote: > I do lspci -vvv and search for 9900 device. Then I use the first I/O port. > >From below the I/O is e010 so my port is 0e010. Worked great!! It's a bit strange that it moved, the earlier lspci -vv had it at 0xd010. Have you

Re: [Emc-users] Snapshot of backplot

2015-10-11 Thread John Thornton
Gene, Can you attach the G code that you ran? JT On 10/11/2015 3:51 AM, Gene Heskett wrote: > Greetings all; > > I had asked for an explanation of why the run trace, and the initial > trace, do not align in the backplot, and it was suggested that I was > using something in the G90 to G92 in my

Re: [Emc-users] Snapshot of backplot

2015-10-11 Thread Gene Heskett
On Sunday 11 October 2015 07:06:44 John Thornton wrote: > Gene, > > Can you attach the G code that you ran? > > JT > Attached John. It is a mess, a mass of control switches because its intended to do all 4 side parts, and all 4 base parts, just by setting control vars at the top of the file.

Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread andy pugh
On 11 October 2015 at 18:38, Willy Snow wrote: > So it works fine in Stepconf Wizard, but not in LCNC. Is there a reason not to use the HAL file created by Stepconf? > I assume I need to add "loadrt hal_parport cfg="0e010" to my hal file. Does > it matter where it goes?

Re: [Emc-users] Snapshot of backplot

2015-10-11 Thread Gene Heskett
On Sunday 11 October 2015 14:32:08 John Thornton wrote: > Wow that is a mess... You are being too kind.. > the first thing I noticed is your wrapping your > code with % AND using a program end M2. You only use one or the other. > M2 resets a bunch of things (see the manual) and %% does not.

Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread Willy Snow
> > It's a bit strange that it moved, the earlier lspci -vv had it at > 0xd010. Have you changed PCI slots? > > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto Hi Andy, I swapped it out while troubleshooting. So it works fine in Stepconf Wizard, but not in

Re: [Emc-users] Snapshot of backplot

2015-10-11 Thread John Thornton
Wow that is a mess... the first thing I noticed is your wrapping your code with % AND using a program end M2. You only use one or the other. M2 resets a bunch of things (see the manual) and %% does not. I commented out the G38 and corresponding G10 lines and the back plot as viewed from Z is

Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread Willy Snow
>Is there a reason not to use the HAL file created by Stepconf? >> I assume I need to add "loadrt hal_parport cfg="0e010" to my hal file. Does >> it matter where it goes? >It has to go near the top, before any HAL lines that try to addf the >threads and net the pins. I start with my hal file

Re: [Emc-users] Hostmot2 (Use two cards)

2015-10-11 Thread Peter C. Wallace
On Mon, 12 Oct 2015, Karlsson & Wang wrote: > Date: Mon, 12 Oct 2015 00:04:31 +0200 > From: Karlsson & Wang > Reply-To: "Enhanced Machine Controller (EMC)" > > To: emc-users@lists.sourceforge.net > Subject: [Emc-users]

Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread andy pugh
On 11 October 2015 at 20:56, Willy Snow wrote: > loadrt hal_parport cfg="0e010" [**tried adding here and other places > but only get errors] What errors? -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto

Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread andy pugh
On 11 October 2015 at 20:56, Willy Snow wrote: > loadrt hal_parport cfg="0e010" Should be "0xE010" -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto --

Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread Chris Morley
You have SIM config checked on the first page? - Reply message - From: "andy pugh" To: "Enhanced Machine Controller (EMC)" Subject: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port Date: Sun, Oct 11, 2015 2:04 PM On 11

Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread andy pugh
On 11 October 2015 at 22:39, Chris Morley wrote: > You have SIM config checked on the first page? Well spotted! Bill, you need to either un-select "simulator" in stepconf, or swap "sim_parport" for "hal_parport" in your hal. -- atp If you can't fix it, you don't

Re: [Emc-users] Snapshot of backplot

2015-10-11 Thread John Thornton
On 10/11/2015 2:14 PM, Gene Heskett wrote: > On Sunday 11 October 2015 14:32:08 John Thornton wrote: > >> the first thing I noticed is your wrapping your >> code with % AND using a program end M2. You only use one or the other. >> M2 resets a bunch of things (see the manual) and %% does not. >

[Emc-users] Hostmot2 (Use two cards)

2015-10-11 Thread Karlsson & Wang
I am trying to use two ethernet cards at the same time with the hostmot2 driver but get an error message "waitpid failed". I suspect this is because I try to load the low level driver twice, do anybody have an idea if this might be the case? Regards Nicklas Karlsson

Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread Willy Snow
Well spotted! Bill, you need to either un-select "simulator" in stepconf, or swap "sim_parport" for "hal_parport" in your hal. Doh! Got it running. Thanks everyone! https://www.youtube.com/watch?v=BlfAynGyWaU=youtu.be Bill >

[Emc-users] Rookie question - what to get to run LinCNC easily/inexpensively

2015-10-11 Thread Jack Coats
What is a good and usable configuration for a machine to drive my beginner 3-axis CNC router? Is Raspberry Pi or BeagleBone Black an easy solution, or would getting an old desktop still a more bullet proof (and easy to implement) solution? Thanks for your time!

Re: [Emc-users] Rookie question - what to get to run LinCNC easily/inexpensively

2015-10-11 Thread John Dammeyer
Raspberry is out. Not fast enough. The Beagle works because it has two PSUs which are peripheral processors that take care of the stepping for you. Thing is, you'lll need some sort of cape for the Beagle which costs extra. You'll need some sort of Break Out Board (BOB) for the PC and perhaps

Re: [Emc-users] Snapshot of backplot

2015-10-11 Thread Gene Heskett
On Sunday 11 October 2015 16:55:11 John Thornton wrote: > On 10/11/2015 2:14 PM, Gene Heskett wrote: > > On Sunday 11 October 2015 14:32:08 John Thornton wrote: > >> the first thing I noticed is your wrapping your > >> code with % AND using a program end M2. You only use one or the > >> other. M2

Re: [Emc-users] Rookie question - what to get to run LinCNC easily/inexpensively

2015-10-11 Thread Ralph Stirling
One clarification - LinuxCNC is only supported on PC hardware. The MachineKit fork of LinuxCNC supports ARM processors, and many people are using it on BeagleBoneBlacks, particularly for 3D printers. MachineKit is much more "bleeding edge" than LinuxCNC, though, so if you are looking for a

Re: [Emc-users] Rookie question - what to get to run LinCNC easily/inexpensively

2015-10-11 Thread Gregg Eshelman
On 10/11/2015 6:11 PM, John Dammeyer wrote: > Raspberry is out. Not fast enough. The Beagle works because it has two > PSUs which are peripheral processors that take care of the stepping for you. > > Thing is, you'lll need some sort of cape for the Beagle which costs extra. > You'll need some

Re: [Emc-users] Hostmot2 (Use two cards)

2015-10-11 Thread Jeff Epler
The "waitpid" error is a very generic error that indicates some sub-program has failed. So look for other messages that give a more specific indication of the problem. Here is a loadrt line I used when I was testing 3 hostmot2 ethernet boards: loadrt hm2_eth config="num_encoders=1