Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Marius Liebenberg

On 2013/10/05 06:54 AM, Chris Morley wrote:
> Thanks for that. Some times I think PNCconf is linuxcnc's red hair
> stepchild. I think most Devs underestimate the importance of what it
> is trying to achieve. But just about when I'm ready to remove it from
> linuxcnc someone mentions it was very helpful :) Chris M

NOOO! never think of that again please. It is very very useful even if 
has some small issues. It is one of the most important pieces of code of 
LCNC. Don't kid yourself, we need it very much.I for one will be very 
lost without that and stepconf for that matter.



-- 
Regards / Groete

Marius D. Liebenberg
MasterCut cc
Cel: +27 82 698 3251
Tel: +27 12 743 6064
Fax: +27 86 551 8029
Skype: marius_d.liebenberg


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 131004-1, 2013/10/04
Tested on: 2013/10/05 08:24:09 AM
avast! - copyright (c) 1988-2013 AVAST Software.
http://www.avast.com




--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Marius Liebenberg
Chris
I don't think it is necessary for a production unit. Meaning a system 
that is running a machine but as in my case where I have several 
installations on the same machine. I use this machine to develop configs 
and test new features and whatever else I have to do with LCNC. Like if 
a person ask me to help with a config, I will copy it to this machine 
and test from here. Or when I start e new conversion, I first write the 
config on this machine and then when I am done, pull the latest LCNC 
from either 2.5.x or from master and then put the config on that machine.
So in my case it is better if I have the config stored in the same 
location as the release that I am using.

To be honest, it would be nice to have but I am sure we can live without 
it. Don't want to make more work for you.

On 2013/10/05 02:51 AM, Chris Morley wrote:
>
>> Date: Fri, 4 Oct 2013 11:25:22 +0200
>> From: mar...@mastercut.co.za
>> To: emc-users@lists.sourceforge.net
>> Subject: Re: [Emc-users] Following Error with Steppers
>>
>> Chris
>> It seems that the erronous lines are gone but I just realized that I
>> cannot change the location where the files are generated to. I was
>> running form a dev RIP and the files where created in the production
>> directory. Would it not be better if one could place the generated
>> config in the RIP directory that you are working in?
>
> The thought is that PNCconf puts them in your personal config location.
> (~/linuxcnc/configs/) is they are relatively safe and in one location.
>
> Aside from developers or power users, I didn't expect anyone to be running
> 2 different versions of linuxcnc on a system.
>
> I am open to ideas about it.
> selectable folder location?
> I am a wondering if it starts to get easy to lose where stuff is...
>
> Chris M
>
>
>   
> --
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

-- 
Regards / Groete

Marius D. Liebenberg
MasterCut cc
Cel: +27 82 698 3251
Tel: +27 12 743 6064
Fax: +27 86 551 8029
Skype: marius_d.liebenberg



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 131004-1, 2013/10/04
Tested on: 2013/10/05 08:12:15 AM
avast! - copyright (c) 1988-2013 AVAST Software.
http://www.avast.com


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Chris Morley

> >Where in the docs did you see this? It is normal but we should mention
> >the problem you have encountered (needing to adjust both)
> 
> Sixth para of:
> 
> http://linuxcnc.org/docs/html/config/pncconf.html
> 
> which I admit doesn't say "just change the INI file" :-)
> 
> I'm sure I've seen the "use {step,pnc}conf to get you going then tinker
> with the generated files" concept in several other places during my
> brief journey with Linuxcnc.  

Yes that is promoted. Maybe I should add a chapter about hand editing
PNCconf files...

> 
> For me as a neophyte, having mucked about with a standard Parallel port
> setup by changing the INI file, it didn't occur to me to examine the HAL
> file for velocity type tweakery when I installed the Mesa card.
> 
> Mea Culpa but I'm sure I won't be the only one (although this faux pas
> has been avoided in the next release anyway).

Yes there maybe more in-file comments that would help if added.
One of the biggest problems I have now is I am so familiar with everything
that writing docs for newcomers is difficult for me.
As a fellow just jumping, in I am interested in your comments concerning
what would help or what was miss leading in the docs or in PNCconf.
Just as you have done.

> 
> 
> 
> PS - Chris:  I'm not complaining about PnCConf in any way.  It's a
> terrific tool to get one off the ground in what is a sometimes steep
> learning curve.  Many thanks for your efforts.
> 

Thanks for that. Some times I think PNCconf is linuxcnc's red hair stepchild.
I think most Devs underestimate the importance of what it is trying to achieve.
But just about when I'm ready to remove it from linuxcnc someone mentions
it was very helpful :)

Chris M
  
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Chris Morley


> Date: Fri, 4 Oct 2013 11:25:22 +0200
> From: mar...@mastercut.co.za
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Following Error with Steppers
> 
> Chris
> It seems that the erronous lines are gone but I just realized that I 
> cannot change the location where the files are generated to. I was 
> running form a dev RIP and the files where created in the production 
> directory. Would it not be better if one could place the generated 
> config in the RIP directory that you are working in?


The thought is that PNCconf puts them in your personal config location.
(~/linuxcnc/configs/) is they are relatively safe and in one location.

Aside from developers or power users, I didn't expect anyone to be running
2 different versions of linuxcnc on a system.

I am open to ideas about it.
selectable folder location?
I am a wondering if it starts to get easy to lose where stuff is...

Chris M


  
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Chris Morley


> From: russ...@lls.lls.com
> To: emc-users@lists.sourceforge.net
> Date: Fri, 4 Oct 2013 13:46:29 +0100
> Subject: Re: [Emc-users] Following Error with Steppers
> 
> Quoth andy pugh.
> >On 4 October 2013 11:19, Russell Brown  wrote:
> >
> >> Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist
> >
> >The pin was added in this commit:
> >http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commit;h=71f6326a9e2585122856a77619dfeae193a61d5d
> >
> >Which isn't in 2.5.3.
> >I think the problem is a miss-match between the pncconf version and
> >the LinuxCNC version. I am not sure if they should be tied quite so
> >closely to each other.
> 
> Ah.  OK as you were.  Yes the generated config doesn't produce an error
> when run with 2.6.0~pre.
> 
> -- 
>  Regards,
>  Russell

Yes as you discovered there are some master-only pins.
I will cherry pick the relevant changes to 2.5.3 soon.

Thanks for testing.
  
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Yet another board possibly suitable for LCNC.

2013-10-04 Thread andy pugh
On 5 October 2013 00:03, Gregg Eshelman  wrote:
> The Intel Galileo, with Mini PCIe slot and Arduino shield pin headers.
> 400Mhz Quark SoC with 256MB RAM etc. Programmable with the standard
> Arduino IDE, is running Yocto Linux so that should be changeable.

I am wondering when my Udoo will arrive.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Yet another board possibly suitable for LCNC.

2013-10-04 Thread Gregg Eshelman
The Intel Galileo, with Mini PCIe slot and Arduino shield pin headers. 
400Mhz Quark SoC with 256MB RAM etc. Programmable with the standard 
Arduino IDE, is running Yocto Linux so that should be changeable.

http://hackaday.com/2013/10/03/the-intel-powered-arduino/

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] What does these do?

2013-10-04 Thread Sven Wesley
2013/10/3 Sven Wesley 

>
> 2013/10/3 Dave Cole 
>
>> Probably braking resistors for the spindle.   The resistors are
>> connected across the 3 phases of the motor to bring the motor to a rapid
>> stop.
>>
>> Looks like they are wired in a Wye or Star connection..One center
>> connection and the three phases which probably connect to a contactor
>> which is connected across the motor during rapid braking.
>>
>> Dave
>
>
> I got an answer from a service company that is specialized on these
machines. They are braking resistors for the servo's, that's why there are
nine of them (three for each motor). You were close Dave. :)
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] server under attack?

2013-10-04 Thread Gene Heskett
On Friday 04 October 2013 10:39:42 Erik Christiansen did opine:

> On 04.10.13 00:00, Gene Heskett wrote:
> > I was just doing an update to my shop machines, running 2.5.3, and
> > noted it was rather slow, as in very slow, 20kb/sec.  Normally I get
> > about 380k/sec from here.
> > 
> > Is the server under attack?
> 
> Gene, what did top and iotop show? When one of my machines gums up, it's
> always been due to the expected disk or cpu thrashing. One culprit was
> firefox hogging cpu insanely on one particular website, another was jpg
> to ps conversion of a document scan using 97% cpu for a remarkable
> amount of time.
> 
> If you're updating a lot of stuff, then the package install scripts
> could hammer the cpu quite a bit before the next package can be
> digested. If hundreds of MB also need to be written to disk, the traffic
> jam just worsens. (OK, you know that ... but top and iotop are good for
> easing paranoia, I've found.)
> 
> One way to remove the concern could be to just fetch the packages
> (apt-get --download-only), then install them after disconnecting the
> outside world. (I tend to use dpkg for that, but that's just habit.)
> 
> Erik

I didn't actually check Erik, only one term open on the shop machines, 
other than a glance at the gkrellm display on this machine, which did not 
show a significant load on any of the 4 cores in this phenom when I did the 
first update-manager run on this machine, finishing about 5 minutes ahead 
of starting it on the other two machines in sequence over ssh -Y 
connections.  It was slow for all 3 machines.  update-manager was reporting 
from 19kb up to an occasional shot above 30kb, but was showing normal 
speeds for the stuff coming from the ubuntu repos, normal here being just 
shy of 400kb.

So, based on the waddle & quack, I called it a duck. ;-)

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

"Are you sure you're not an encyclopedia salesman?"
No, Ma'am.  Just a burglar, come to ransack the flat."
-- Monty Python
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
 law-abiding citizens.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Marius Liebenberg
Unless you are in the /bin directory of your dev/master repository, and 
you invoke pncconf from the terminal, you will actually run the 2.5.3 
production pncconf.
I did run the master pncconf and it does not create the two lines.

On 2013/10/04 02:07 PM, Russell Brown wrote:
> Quoth David Armstrong.
>> On 04/10/13 12:16, Russell Brown wrote:
>>> Quoth David Armstrong.
 On 04/10/13 11:19, Russell Brown wrote:
> The bad news is that the config generated fails to run (in 2.5.3) with:
> Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist
 i believe it's just a typo or a change of name etc
 i think that particular line should be  net spindle-vel-cmd-rps <=
 motion.spindle-speed-out-rps
>> your not use the abs component in your spindle so just comment out
> Sorry there's a misunderstanding here.
>
> The .pncconf is just one that I was playing around with that originally
> generated a HAL file with "loadrt ab names=" that caused a problem.
>
> As Chris requested, I tried his updated PnCConf from master to check
> that the above had been fixed (it had).
>
> However the self same .pncconf and PnCConf from master generated the
> above new issue.
>
> Yes I can comment out the offending line but I thought I'd report it so
> that Chris can fix the problem.
>
> BTW - the .pncconf file in question isn't 'real' (it was generated by
> uninformed clickery in the release PncConf!).  It's just the one I knew
> triggered the original issue in the release PnCConf.
>

-- 
Regards / Groete

Marius D. Liebenberg
MasterCut cc
Cel: +27 82 698 3251
Tel: +27 12 743 6064
Fax: +27 86 551 8029
Skype: marius_d.liebenberg



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 131004-0, 2013/10/04
Tested on: 2013/10/04 04:23:15 PM
avast! - copyright (c) 1988-2013 AVAST Software.
http://www.avast.com


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth andy pugh.
>On 4 October 2013 11:19, Russell Brown  wrote:
>
>> Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist
>
>The pin was added in this commit:
>http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commit;h=71f6326a9e2585122856a77619dfeae193a61d5d
>
>Which isn't in 2.5.3.
>I think the problem is a miss-match between the pncconf version and
>the LinuxCNC version. I am not sure if they should be tied quite so
>closely to each other.

Ah.  OK as you were.  Yes the generated config doesn't produce an error
when run with 2.6.0~pre.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth David Armstrong.
>On 04/10/13 12:16, Russell Brown wrote:
>> Quoth David Armstrong.
>>> On 04/10/13 11:19, Russell Brown wrote:
 The bad news is that the config generated fails to run (in 2.5.3) with:
 Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist
>>> i believe it's just a typo or a change of name etc
>>> i think that particular line should be  net spindle-vel-cmd-rps <=
>>> motion.spindle-speed-out-rps
>>
>your not use the abs component in your spindle so just comment out

Sorry there's a misunderstanding here.

The .pncconf is just one that I was playing around with that originally
generated a HAL file with "loadrt ab names=" that caused a problem.

As Chris requested, I tried his updated PnCConf from master to check
that the above had been fixed (it had).

However the self same .pncconf and PnCConf from master generated the
above new issue.

Yes I can comment out the offending line but I thought I'd report it so
that Chris can fix the problem.

BTW - the .pncconf file in question isn't 'real' (it was generated by
uninformed clickery in the release PncConf!).  It's just the one I knew
triggered the original issue in the release PnCConf.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread andy pugh
On 4 October 2013 11:19, Russell Brown  wrote:

> Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist

The pin was added in this commit:
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commit;h=71f6326a9e2585122856a77619dfeae193a61d5d

Which isn't in 2.5.3.
I think the problem is a miss-match between the pncconf version and
the LinuxCNC version. I am not sure if they should be tied quite so
closely to each other.


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread David Armstrong
On 04/10/13 12:16, Russell Brown wrote:
> Quoth David Armstrong.
>> On 04/10/13 11:19, Russell Brown wrote:
>>> The bad news is that the config generated fails to run (in 2.5.3) with:
>>> Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist
>> i believe it's just a typo or a change of name etc
>> i think that particular line should be  net spindle-vel-cmd-rps <=
>> motion.spindle-speed-out-rps
>>
>> can you post your hal file , that will have more information
> http://ruffle.me.uk/cnc/Mesa_Mill.pncconf
>
> ...used to generate:
>
> http://ruffle.me.uk/cnc/Mesa_Mill.hal
> http://ruffle.me.uk/cnc/Mesa_Mill.ini
>
> using pncconf from master pulled this AM.
>
your not use the abs component in your spindle so just comment out

net spindle-vel-cmd-rps-abs<=  motion.spindle-speed-out-rps-abs
and probably another error will popup being
net spindle-vel-cmd-rpm-abs<=  motion.spindle-speed-out-abs

are you using an encoder on your spindle ?







--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth David Armstrong.
>On 04/10/13 11:19, Russell Brown wrote:
>>
>> The bad news is that the config generated fails to run (in 2.5.3) with:
>> Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist
>
>i believe it's just a typo or a change of name etc
>i think that particular line should be  net spindle-vel-cmd-rps <=  
>motion.spindle-speed-out-rps
>
>can you post your hal file , that will have more information

http://ruffle.me.uk/cnc/Mesa_Mill.pncconf

...used to generate:

http://ruffle.me.uk/cnc/Mesa_Mill.hal
http://ruffle.me.uk/cnc/Mesa_Mill.ini

using pncconf from master pulled this AM.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth Chris Morley.
>
>> From: russ...@lls.lls.com
>> ...  I just changed the INI file as I had with the
>> vanilla parallel port setup and as the docs suggest was normal practise
>> after generating the initial config.
>
>Where in the docs did you see this? It is normal but we should mention
>the problem you have encountered (needing to adjust both)

Sixth para of:

http://linuxcnc.org/docs/html/config/pncconf.html

which I admit doesn't say "just change the INI file" :-)

I'm sure I've seen the "use {step,pnc}conf to get you going then tinker
with the generated files" concept in several other places during my
brief journey with Linuxcnc.  

For me as a neophyte, having mucked about with a standard Parallel port
setup by changing the INI file, it didn't occur to me to examine the HAL
file for velocity type tweakery when I installed the Mesa card.

Mea Culpa but I'm sure I won't be the only one (although this faux pas
has been avoided in the next release anyway).



PS - Chris:  I'm not complaining about PnCConf in any way.  It's a
terrific tool to get one off the ground in what is a sometimes steep
learning curve.  Many thanks for your efforts.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] server under attack?

2013-10-04 Thread Erik Christiansen
On 04.10.13 00:00, Gene Heskett wrote:
> I was just doing an update to my shop machines, running 2.5.3, and noted it 
> was rather slow, as in very slow, 20kb/sec.  Normally I get about 380k/sec 
> from here.
> 
> Is the server under attack?

Gene, what did top and iotop show? When one of my machines gums up, it's
always been due to the expected disk or cpu thrashing. One culprit was
firefox hogging cpu insanely on one particular website, another was jpg
to ps conversion of a document scan using 97% cpu for a remarkable
amount of time.

If you're updating a lot of stuff, then the package install scripts
could hammer the cpu quite a bit before the next package can be
digested. If hundreds of MB also need to be written to disk, the traffic
jam just worsens. (OK, you know that ... but top and iotop are good for
easing paranoia, I've found.)

One way to remove the concern could be to just fetch the packages
(apt-get --download-only), then install them after disconnecting the
outside world. (I tend to use dpkg for that, but that's just habit.)

Erik

-- 
Tecoma's struggle reported on BBC, yesterday.: 
http://www.bbc.co.uk/news/business-24364204
Tecoma's Macca's-striking flash mob: " 
http://www.youtube.com/watch?v=H7-0T1vbnWE
Stop fat food joint opposite Tecoma preschool: www.change.org
Taking democracy (98,000 signatures) from Australia to Chicago:
http://www.abc.net.au/news/2013-09-17/tecoma-residents-take-fight-against-mcdonalds-to-chicago/4963866


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread David Armstrong
On 04/10/13 11:19, Russell Brown wrote:
> Quoth Chris Morley.
> On 2 October 2013 18:26, Russell Brown  wrote:
>
>>   loadrt abs names=
>>   loadrt lowpass names=
>> Ok I think it's really fix this time. seems asking for a gladeVCP sample 
>> panel
>> but without a spindle speed display set it off.
>>
>> Please test if you can and report bugs (this fix is in master)
> I can confirm that when using the Mesa_Mill.pncconf file (that generated
> the problem in previous versions), the current version in master (pulled
> this AM) does not generate the above problem.
>
> That's the good news.
>
> The bad news is that the config generated fails to run (in 2.5.3) with:
>
> Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist
>
> :-(
>
> If it's any help, I've stuck the offending .pncconf file here:
>
> http://ruffle.me.uk/cnc/Mesa_Mill.pncconf
>
>
>
> PS - Might I suggest that the displayed version of PnCConf be
> incremented by a tad?  a modest Beta 1.1 on the title bar or somesuch
> would make sense.
>
Russell
i believe it's just a typo or a change of name etc
i think that particular line should be  net spindle-vel-cmd-rps <=  
motion.spindle-speed-out-rps

can you post your hal file , that will have more information

Dave

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth Chris Morley.
>
>> >> On 2 October 2013 18:26, Russell Brown  wrote:
>> >>
>> >>>  loadrt abs names=
>> >>>  loadrt lowpass names=
>
>Ok I think it's really fix this time. seems asking for a gladeVCP sample panel
>but without a spindle speed display set it off.
>
>Please test if you can and report bugs (this fix is in master)

I can confirm that when using the Mesa_Mill.pncconf file (that generated
the problem in previous versions), the current version in master (pulled
this AM) does not generate the above problem.

That's the good news.

The bad news is that the config generated fails to run (in 2.5.3) with:

Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist

:-(

If it's any help, I've stuck the offending .pncconf file here:

http://ruffle.me.uk/cnc/Mesa_Mill.pncconf



PS - Might I suggest that the displayed version of PnCConf be
incremented by a tad?  a modest Beta 1.1 on the title bar or somesuch
would make sense.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] additional special thread

2013-10-04 Thread andy pugh
On 4 October 2013 08:12, Rudy du Preez  wrote:

> I would like to have two threads: servo-thread at the usual 100 ns
> period and a new thread say sio-thread at 104200 ns. Why does it not want to
> allow it?

I think that the threads have to be created in order fastest to
slowest. And then the slower threads are integer multiples of the
faster.
So, you will need to create your special thread earlier in the HAL
file than the servo thread.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Marius Liebenberg
Chris
It seems that the erronous lines are gone but I just realized that I 
cannot change the location where the files are generated to. I was 
running form a dev RIP and the files where created in the production 
directory. Would it not be better if one could place the generated 
config in the RIP directory that you are working in?
On 2013/10/04 08:06 AM, Chris Morley wrote:
>
>> Date: Thu, 3 Oct 2013 16:20:51 +0200
>> From: mar...@mastercut.co.za
>> To: emc-users@lists.sourceforge.net
>> Subject: Re: [Emc-users] Following Error with Steppers
>>
>> Chris
>> This is a very old bug that has been reported several times. At least
>> once by myself. It is still in all the latest code on master. We just
>> delete these lines each time. :)
>>
>> On 2013/10/03 04:43 AM, Chris Morley wrote:
 From: bodge...@gmail.com
 Date: Wed, 2 Oct 2013 18:47:08 +0100
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Following Error with Steppers

 On 2 October 2013 18:26, Russell Brown  wrote:

>   loadrt abs names=
>   loadrt lowpass names=
 This is a stepfconf bug. I can't recall what prompts it. I thought it
 was fixed. (it tries to load a bunch of components with blank names,
 and then their pin names collide)

>>> Pncconf bug -but is probably fixed. what version was this made with?
>>>
> Ok I think it's really fix this time. seems asking for a gladeVCP sample panel
> but without a spindle speed display set it off.
> Sorry It took so long - I thought I fixed it...musta been busy with Gscreen.
>
> I also did some other work mostly related to spindle command signals.
>
> Please test if you can and report bugs (this fix is in master)
>
> Chris M
>
>   
> --
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

-- 
Regards / Groete

Marius D. Liebenberg
MasterCut cc
Cel: +27 82 698 3251
Tel: +27 12 743 6064
Fax: +27 86 551 8029
Skype: marius_d.liebenberg



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 131003-1, 2013/10/03
Tested on: 2013/10/04 11:25:29 AM
avast! - copyright (c) 1988-2013 AVAST Software.
http://www.avast.com


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] additional special thread

2013-10-04 Thread Rudy du Preez
I have tried in version 2.5.3 to create a special realtime thread using the
threads component with "loadrt threads name1=sio-thread period1=104200" and
am having some problems.
In some cases (depending on the period) linuxcnc wont start up and gives an
error message "not permitted".

I would like to have two threads: servo-thread at the usual 100 ns
period and a new thread say sio-thread at 104200 ns. Why does it not want to
allow it?

Rudy


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users