[Emc-users] CPU clock speed [Was: for PCW?]

2017-04-07 Thread Erik Christiansen
On 07.04.17 13:16, Gene Heskett wrote: > I do not know what the current clock speed is, could be as low as 700 or > as high as 1200 MHz. What I usually do is no more than: $ dmesg | grep MHz [0.00] Detected 1499.981 MHz processor. [0.062078] CPU0: Centaur VIA C7 Processor 1500MHz

Re: [Emc-users] for PCW?

2017-04-07 Thread Jon Elson
On 04/07/2017 11:52 AM, Peter C. Wallace wrote: > Note that these times are all in CPU clocks >> Thanks for pointing that out! (I'd forgotten that). Is there an easy way to convert that to seconds? Is it just the stated clock rate of the CPU in GHz? Jon

[Emc-users] AC Servo ?

2017-04-07 Thread hubert
I have a Servo that has an undocumented feedback encoder. I am interested in trying to decipher it. Is it feasible to run the servo without feedback connected, and put a digital storage scope on its outputs to capture the signal? It is an incremental encoder that has quadrature and

[Emc-users] 7i77 Field Power?

2017-04-07 Thread Todd Zuercher
I was going to start working on putting a tool touch probe on a machine with a Mesa 7i77 setup. (I was just going to try a wire clipped to the tool and a touch plate for a start.) I pulled out the multi-meter and started poking around to try to figure out what exactly I wanted to do and

Re: [Emc-users] 7i77 Field Power?

2017-04-07 Thread Todd Zuercher
This is on a machine that has been working fine for years. (and still is working fine.) I'm just a little baffled by how the 12v+ is floating right at ground, and the 12v- is -12v below ground. I did a little more poking around, and tried to check for current between the DC- and ground and the

[Emc-users] halcompile: support custom cflags

2017-04-07 Thread Trần Ngọc Quân
Hi, In order to run: $ CUSTOM_CFLAGS="-l otherlib" halcompile -c demo.comp I suggest change code like this: $ git diff halcompile.g diff --git a/src/hal/utils/halcompile.g b/src/hal/utils/halcompile.g index 35b8f6903..8f204a8d5 100644 --- a/src/hal/utils/halcompile.g +++

Re: [Emc-users] for PCW?

2017-04-07 Thread Gene Heskett
On Friday 07 April 2017 16:00:04 John Kasunich wrote: > On Fri, Apr 7, 2017, at 11:53 AM, Jon Elson wrote: > > On 04/07/2017 10:29 AM, Gene Heskett wrote: > > > What I want, but don't know if I can get, is to have the > > > servo thread running at the highest priority, fully > > > capable of

Re: [Emc-users] for PCW?

2017-04-07 Thread Jon Elson
On 04/07/2017 11:25 AM, Gene Heskett wrote: > On Friday 07 April 2017 11:53:45 Jon Elson wrote: > >> On 04/07/2017 10:29 AM, Gene Heskett wrote: >>> What I want, but don't know if I can get, is to have the >>> servo thread running at the highest priority, fully >>> capable of interrupting the

Re: [Emc-users] for PCW?

2017-04-07 Thread Peter C. Wallace
>> Note that these times are all in CPU clocks > > from this I can strip out > 561769 jog-thread.tmax, and > 834372 servo-thread.tmax > > I do not know what the current clock speed is, could be as low as 700 or > as high as 1200 MHz. You can get an idea of the CPU clock speed by looking at the

Re: [Emc-users] for PCW?

2017-04-07 Thread Gene Heskett
On Friday 07 April 2017 13:26:57 Peter C. Wallace wrote: > >> Note that these times are all in CPU clocks > > > > from this I can strip out > > 561769 jog-thread.tmax, and > > 834372 servo-thread.tmax > > > > I do not know what the current clock speed is, could be as low as > > 700 or as high

[Emc-users] New Retrofit , using ABS Encoders & Analog or digital servo com

2017-04-07 Thread robert - Innovative-RC
Hi just in the process of planning out a new retrofit on a machine as the old control has fell over and the cost of fixing it is very high long storie short its going to get an upgrade to linuxcnc like the other machines i have now. i am just in the process of picking out the new servo

Re: [Emc-users] for PCW?

2017-04-07 Thread Jon Elson
On 04/07/2017 10:29 AM, Gene Heskett wrote: > What I want, but don't know if I can get, is to have the > servo thread running at the highest priority, fully > capable of interrupting the jog-thread, but the jog-thread > cannot interrupt the servo thread as its not that time > critical. How

Re: [Emc-users] for PCW?

2017-04-07 Thread Peter C. Wallace
On Fri, 7 Apr 2017, Gene Heskett wrote: > > Do we have a latency test that can monitor a running system? I've not had > luck running it on a live, moving system. It seems to be mutually > exclusive. You can use the tmax parameters for each function to see the worst case times, and the

Re: [Emc-users] for PCW?

2017-04-07 Thread Peter C. Wallace
On Fri, 7 Apr 2017, andy pugh wrote: Date: Fri, 7 Apr 2017 19:24:35 +0100 From: andy pugh Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users]

Re: [Emc-users] for PCW?

2017-04-07 Thread Peter C. Wallace
On Fri, 7 Apr 2017, Gene Heskett wrote: > Date: Fri, 7 Apr 2017 12:58:29 -0400 > From: Gene Heskett > Reply-To: "Enhanced Machine Controller (EMC)" > > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] for PCW? > > On

Re: [Emc-users] for PCW?

2017-04-07 Thread Gene Heskett
On Friday 07 April 2017 13:10:44 Peter C. Wallace wrote: > On Fri, 7 Apr 2017, Gene Heskett wrote: > > Date: Fri, 7 Apr 2017 12:58:29 -0400 > > From: Gene Heskett > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To:

Re: [Emc-users] for PCW?

2017-04-07 Thread Gene Heskett
On Friday 07 April 2017 12:52:44 Peter C. Wallace wrote: > On Fri, 7 Apr 2017, Gene Heskett wrote: > > Date: Fri, 7 Apr 2017 12:38:45 -0400 > > From: Gene Heskett > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To:

Re: [Emc-users] for PCW?

2017-04-07 Thread andy pugh
On 7 April 2017 at 17:32, Peter C. Wallace wrote: > > You can use the tmax parameters for each function to see the worst > case times, and the corresponding time pins to get an idea of the average > times. There is an easier way. "halcmd show thread" will show how long each

Re: [Emc-users] for PCW?

2017-04-07 Thread Gene Heskett
On Thursday 06 April 2017 22:19:56 Gene Heskett wrote: > Greetings Peter; > > 1) This config I started out with has a watchdog.reset as a separate > addf'd function which I suspect is in the leftovers that are now past > their use-by date column. Can I nuke that addf entry? > > 2) I'm not that

Re: [Emc-users] for PCW?

2017-04-07 Thread Peter C. Wallace
On Thu, 6 Apr 2017, Gene Heskett wrote: > Date: Thu, 6 Apr 2017 22:19:56 -0400 > From: Gene Heskett > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject:

Re: [Emc-users] for PCW?

2017-04-07 Thread Peter C. Wallace
On Fri, 7 Apr 2017, Gene Heskett wrote: > Date: Fri, 7 Apr 2017 12:38:45 -0400 > From: Gene Heskett > Reply-To: "Enhanced Machine Controller (EMC)" > > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] for PCW? > > On

Re: [Emc-users] for PCW?

2017-04-07 Thread Gene Heskett
On Friday 07 April 2017 12:32:33 Peter C. Wallace wrote: > On Fri, 7 Apr 2017, Gene Heskett wrote: > > Do we have a latency test that can monitor a running system? I've > > not had luck running it on a live, moving system. It seems to be > > mutually exclusive. > > You can use the tmax parameters

Re: [Emc-users] for PCW?

2017-04-07 Thread Gene Heskett
On Friday 07 April 2017 12:15:10 Peter C. Wallace wrote: > On Thu, 6 Apr 2017, Gene Heskett wrote: > > Date: Thu, 6 Apr 2017 22:19:56 -0400 > > From: Gene Heskett > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: "Enhanced

[Emc-users] Beginner Development questions concerning github and git

2017-04-07 Thread Joe Hildreth
Hello all, I am new to using git and github and have run into a problem. I apologise for the length. So first the back story. I created a manpage for the hal_manualtoolchange userspace component and I would like it added to the linuxcnc repo. These are the steps I took. 1) I forked the

Re: [Emc-users] for PCW?

2017-04-07 Thread Gene Heskett
On Friday 07 April 2017 11:53:45 Jon Elson wrote: > On 04/07/2017 10:29 AM, Gene Heskett wrote: > > What I want, but don't know if I can get, is to have the > > servo thread running at the highest priority, fully > > capable of interrupting the jog-thread, but the jog-thread > > cannot interrupt

Re: [Emc-users] for PCW?

2017-04-07 Thread Gene Heskett
On Friday 07 April 2017 14:24:35 andy pugh wrote: > On 7 April 2017 at 17:32, Peter C. Wallace wrote: > > You can use the tmax parameters for each function to see the worst > > case times, and the corresponding time pins to get an idea of the > > average times. > > There is an

Re: [Emc-users] joint-axis question

2017-04-07 Thread Kurt Jacobson
Aha! stat.position must return a tuple of *axis* positions, not joint positions as I thought. I guess that detail did not affect me before because axes were interchangeable with joints in my code. I see that stat has a new attribute called "joint_position", I guess for consistency it might be

Re: [Emc-users] New Retrofit , using ABS Encoders & Analog or digital servo com

2017-04-07 Thread andy pugh
On 7 April 2017 at 20:06, robert - Innovative-RC wrote: > is it fully implemented , ie what about when the encoder bat goes > flat/postion is lost can you still rehome machine normlay I have something similar to this, and the process then is to edit the INI to one

Re: [Emc-users] for PCW?

2017-04-07 Thread John Kasunich
On Fri, Apr 7, 2017, at 11:53 AM, Jon Elson wrote: > On 04/07/2017 10:29 AM, Gene Heskett wrote: > > What I want, but don't know if I can get, is to have the > > servo thread running at the highest priority, fully > > capable of interrupting the jog-thread, but the jog-thread > > cannot

Re: [Emc-users] 7i77 Field Power?

2017-04-07 Thread John Thornton
This should clear it up. http://gnipsel.com/linuxcnc/configs/7i77.html JT On 4/7/2017 3:47 PM, Todd Zuercher wrote: > I was going to start working on putting a tool touch probe on a machine with > a Mesa 7i77 setup. > (I was just going to try a wire clipped to the tool and a touch plate for a

[Emc-users] joint-axis question

2017-04-07 Thread Kurt Jacobson
Greetings all, I am a bit bamboozled at the moment, maybe one of you can help me out. I use a custom LCNC UI and I am trying to convert it over to support joint-axes so I can play with 2.8 pre. I just about got everything working last night for my basic XYZA config, but have hit a road block