Re: [Emc-users] LinuxCNC shows new, but runs old ngc program

2014-01-12 Thread Chris Radek
On Sun, Jan 12, 2014 at 06:45:33PM -0800, jrmitchellj . wrote:
> Yes, 2.5.3.
> I duplicated the issue again today.

Can you describe a step-by-step procedure that someone else can
follow, that will show the problem occurring?


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC shows new, but runs old ngc program

2014-01-12 Thread jrmitchellj .
Yes, 2.5.3.
I duplicated the issue again today.

Also I noticed on the help/about page, there is not an entry for copywrite
for 2013 (and 2014), so you may want to update that with the next release.

Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com
(818)324-7573


“Normal people ... believe that if it ain’t broke, don’t fix it. Engineers
believe that if it ain’t broke, it doesn’t have enough features yet.”

-- Scott Adams, creator of Dilbert comic strip




On Sun, Jan 12, 2014 at 12:19 PM, Gene Heskett  wrote:

> On Sunday 12 January 2014 15:18:53 Marius Alksnys did opine:
>
> > I think it is 2.5.3, but I am not 100% sure.
> > Axis GUI.
> >
> The top of the window frame tells you what version it it.
>
> > On 2014.01.12 20:04, Sebastian Kuzminsky wrote:
> > > On 01/12/2014 10:27 AM, Marius Alksnys wrote:
> > >> This bug not only annoys, but is very dangerous too. File reload does
> > >> not help.
> > >> Latest stable version.
> > >
> > > Wow, that is a dangerous bug!
> > >
> > > By "latest stable version", do you mean 2.5.3?  Or v2.5.3-91-g5751b1d
> > > or something else?
> > >
> > > Which UI are you using?
> >
> > 
> > -- CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > Critical Workloads, Development Environments & Everything In Between.
> > Get a Quote or Start a Free Trial Today.
> > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.cl
> > ktrk ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> 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)
> Genes Web page 
>
> "Our vision is to speed up time, eventually eliminating it." -- Alex Schure
> A pen in the hand of this president is far more
> dangerous than 200 million guns in the hands of
>  law-abiding citizens.
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fwd: Re: Re: How do you change polarity of Step Pulses in MachineKit stepgen?

2014-01-12 Thread Thomas Studwell
On 1/12/2014 3:57 PM, Charles Steinkuehler wrote:
> On 1/12/2014 2:44 PM, Thomas Studwell wrote:
>> Charles, I didn't see any reference to 'high' being a valid 'direction'
>> using the virtual GPIO pins, so I added these to the end of the setup.sh
>> file.  If I get time later today or tomorrow, I'll update the script to
>> process an optional 'level' parameter to the pin list rather than
>> hardcoding it like this.
>>
>> Included text:
>> sudo -A su -c "echo 1>  /sys/class/gpio/gpio44/value"
>> sudo -A su -c "echo 1>  /sys/class/gpio/gpio46/value"
>> sudo -A su -c "echo 1>  /sys/class/gpio/gpio48/value"
> Making me provide references, eh?  Well, OK:
>
> https://www.kernel.org/doc/Documentation/gpio/gpio-legacy.txt
>
> ...scroll down to "Paths in Sysfs" where you will find:
>
>  /sys/class/gpio/gpioN/
>
>   "direction" ... reads as either "in" or "out".  This value may
>   normally be written.  Writing as "out" defaults to
>   initializing the value as low.  To ensure glitch free
>   operation, values "low" and "high" may be written to
>   configure the GPIO as an output with that initial value.
>
>   Note that this attribute *will not exist* if the kernel
>   doesn't support changing the direction of a GPIO, or
>   it was exported by kernel code that didn't explicitly
>   allow userspace to reconfigure this GPIO's direction.
>
My bad.  Thank you for the reference AND the gentle reminder that the 
GPIO world doesn't revolve around BBB documentation :-)

Tom

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fwd: Re: Re: How do you change polarity of Step Pulses in MachineKit stepgen?

2014-01-12 Thread Charles Steinkuehler
On 1/12/2014 2:44 PM, Thomas Studwell wrote:
> Charles, I didn't see any reference to 'high' being a valid 'direction'
> using the virtual GPIO pins, so I added these to the end of the setup.sh
> file.  If I get time later today or tomorrow, I'll update the script to
> process an optional 'level' parameter to the pin list rather than
> hardcoding it like this.
> 
> Included text:
> sudo -A su -c "echo 1 > /sys/class/gpio/gpio44/value"
> sudo -A su -c "echo 1 > /sys/class/gpio/gpio46/value"
> sudo -A su -c "echo 1 > /sys/class/gpio/gpio48/value"

Making me provide references, eh?  Well, OK:

https://www.kernel.org/doc/Documentation/gpio/gpio-legacy.txt

...scroll down to "Paths in Sysfs" where you will find:

/sys/class/gpio/gpioN/

"direction" ... reads as either "in" or "out".  This value may
normally be written.  Writing as "out" defaults to
initializing the value as low.  To ensure glitch free
operation, values "low" and "high" may be written to
configure the GPIO as an output with that initial value.

Note that this attribute *will not exist* if the kernel
doesn't support changing the direction of a GPIO, or
it was exported by kernel code that didn't explicitly
allow userspace to reconfigure this GPIO's direction.

-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fwd: Re: Re: How do you change polarity of Step Pulses in MachineKit stepgen?

2014-01-12 Thread Thomas Studwell
On 1/12/2014 2:36 PM, Charles Steinkuehler wrote:
> On 1/12/2014 1:19 PM, Thomas Studwell wrote:
>> The only oddity, which doesn't affect the motion but does affect
>> power consumption, is that the signals are not initialized to high
>> (AKA inactive state) on program startup.  The signals do go high and
>> remain there after the first step, however.  The motors are energized
>> at high level when the signal is left low.
> You can fix this by editing the setup*.sh script in your configuration
> directory.  At the end of the file is a list of GPIO pins (using the
> Linux Kernel numbering scheme) and their desired mode (typically out).
>
> The default initial value for output pins is low.  If you replace the
> "out" in setup*.sh with "high" for the appropriate pins, the GPIO pin
> will be initialized to a high value which it will keep until LinuxCNC
> fully starts up and begins to twiddle the pins.  If you need to figure
> out the proper kernel GPIO values to change, you may find the following
> spreadsheet useful:
>
> https://github.com/cdsteinkuehler/beaglebone-black-pinmux/blob/hal_pru_generic/pinmux.ods
>
Charles, I didn't see any reference to 'high' being a valid 'direction' 
using the virtual GPIO pins, so I added these to the end of the setup.sh 
file.  If I get time later today or tomorrow, I'll update the script to 
process an optional 'level' parameter to the pin list rather than 
hardcoding it like this.

Included text:
sudo -A su -c "echo 1 > /sys/class/gpio/gpio44/value"
sudo -A su -c "echo 1 > /sys/class/gpio/gpio46/value"
sudo -A su -c "echo 1 > /sys/class/gpio/gpio48/value"


Tom

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Beaglebone linuxcnc error loading after trying other GUI

2014-01-12 Thread Josiah Morgan
/sys/module/xeno_nucleus/parameters/xenomai_gid was somehow set to -1
resetting it with echo 999 > /sys/module/xeno_nucleus/parameters/xenomai_gid
fixed it


On Sun, Jan 12, 2014 at 2:28 PM, Charles Steinkuehler <
char...@steinkuehler.net> wrote:

> It looks like you're a member of the xenomai group.  The other piece of
> the puzzle is telling the kernel which gid is used for xenomai, which
> happens towards the end of etc/rc.local:
>
> echo 999 > /sys/module/xeno_nucleus/parameters/xenomai_gid
>
> See what's currently in the xenomai_gid file via:
>
> cat /sys/module/xeno_nucleus/parameters/xenomai_gid
>
> ...if it's not 999, that's your problem.  If it is, something is very
> confused.  Have you tried logging off and back on and/or rebooting?
>
> One possible source of trouble is the device tree overlays.  There is
> currently no way to unload a device tree overlay once loaded, and the
> different configurations use different overlays.  If that's your issue,
> you _will_ have to reboot (it's the only safe way to remove an overlay),
> but typically the errors generated from overlay problems are not related
> to xemonai.
>
>
> On 1/12/2014 2:06 PM, Josiah Morgan wrote:
> > this is what I get
> > linuxcnc@arm:~$ id
> > uid=1000(linuxcnc) gid=1001(linuxcnc)
> >
> groups=1001(linuxcnc),4(adm),15(kmem),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),999(xenomai)
> > linuxcnc@arm:~$
> >
> >
> > On Sun, Jan 12, 2014 at 2:02 PM, andy pugh  wrote:
> >
> >> On 12 January 2014 19:50, Josiah Morgan  wrote:
> >>
> >>> cannot determine if this user is a member of group xenomai: Operation
> not
> >>>
> >>
> >> If you type "id" at the command line you will get a string of
> >> information about your user.
> >> You would want to see "xenomai" listed as one of the "groups"
> >>
> >> --
> >> atp
> >> If you can't fix it, you don't own it.
> >> http://www.ifixit.com/Manifesto
> >>
> >>
> >>
> --
> >> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> >> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> >> Critical Workloads, Development Environments & Everything In Between.
> >> Get a Quote or Start a Free Trial Today.
> >>
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >
> >
> >
>
>
> --
> Charles Steinkuehler
> char...@steinkuehler.net
>
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>


-- 
Josiah Morgan, P.E.
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Beaglebone linuxcnc error loading after trying other GUI

2014-01-12 Thread Josiah Morgan
thank you for the help.
that seems to have fixed it.


On Sun, Jan 12, 2014 at 2:28 PM, Charles Steinkuehler <
char...@steinkuehler.net> wrote:

> It looks like you're a member of the xenomai group.  The other piece of
> the puzzle is telling the kernel which gid is used for xenomai, which
> happens towards the end of etc/rc.local:
>
> echo 999 > /sys/module/xeno_nucleus/parameters/xenomai_gid
>
> See what's currently in the xenomai_gid file via:
>
> cat /sys/module/xeno_nucleus/parameters/xenomai_gid
>
> ...if it's not 999, that's your problem.  If it is, something is very
> confused.  Have you tried logging off and back on and/or rebooting?
>
> One possible source of trouble is the device tree overlays.  There is
> currently no way to unload a device tree overlay once loaded, and the
> different configurations use different overlays.  If that's your issue,
> you _will_ have to reboot (it's the only safe way to remove an overlay),
> but typically the errors generated from overlay problems are not related
> to xemonai.
>
>
> On 1/12/2014 2:06 PM, Josiah Morgan wrote:
> > this is what I get
> > linuxcnc@arm:~$ id
> > uid=1000(linuxcnc) gid=1001(linuxcnc)
> >
> groups=1001(linuxcnc),4(adm),15(kmem),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),999(xenomai)
> > linuxcnc@arm:~$
> >
> >
> > On Sun, Jan 12, 2014 at 2:02 PM, andy pugh  wrote:
> >
> >> On 12 January 2014 19:50, Josiah Morgan  wrote:
> >>
> >>> cannot determine if this user is a member of group xenomai: Operation
> not
> >>>
> >>
> >> If you type "id" at the command line you will get a string of
> >> information about your user.
> >> You would want to see "xenomai" listed as one of the "groups"
> >>
> >> --
> >> atp
> >> If you can't fix it, you don't own it.
> >> http://www.ifixit.com/Manifesto
> >>
> >>
> >>
> --
> >> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> >> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> >> Critical Workloads, Development Environments & Everything In Between.
> >> Get a Quote or Start a Free Trial Today.
> >>
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >
> >
> >
>
>
> --
> Charles Steinkuehler
> char...@steinkuehler.net
>
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>


-- 
Josiah Morgan, P.E.
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Beaglebone linuxcnc error loading after trying other GUI

2014-01-12 Thread Charles Steinkuehler
It looks like you're a member of the xenomai group.  The other piece of
the puzzle is telling the kernel which gid is used for xenomai, which
happens towards the end of etc/rc.local:

echo 999 > /sys/module/xeno_nucleus/parameters/xenomai_gid

See what's currently in the xenomai_gid file via:

cat /sys/module/xeno_nucleus/parameters/xenomai_gid

...if it's not 999, that's your problem.  If it is, something is very
confused.  Have you tried logging off and back on and/or rebooting?

One possible source of trouble is the device tree overlays.  There is
currently no way to unload a device tree overlay once loaded, and the
different configurations use different overlays.  If that's your issue,
you _will_ have to reboot (it's the only safe way to remove an overlay),
but typically the errors generated from overlay problems are not related
to xemonai.


On 1/12/2014 2:06 PM, Josiah Morgan wrote:
> this is what I get
> linuxcnc@arm:~$ id
> uid=1000(linuxcnc) gid=1001(linuxcnc)
> groups=1001(linuxcnc),4(adm),15(kmem),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),999(xenomai)
> linuxcnc@arm:~$
> 
> 
> On Sun, Jan 12, 2014 at 2:02 PM, andy pugh  wrote:
> 
>> On 12 January 2014 19:50, Josiah Morgan  wrote:
>>
>>> cannot determine if this user is a member of group xenomai: Operation not
>>>
>>
>> If you type "id" at the command line you will get a string of
>> information about your user.
>> You would want to see "xenomai" listed as one of the "groups"
>>
>> --
>> atp
>> If you can't fix it, you don't own it.
>> http://www.ifixit.com/Manifesto
>>
>>
>> --
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
> 
> 
> 


-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC shows new, but runs old ngc program

2014-01-12 Thread Gene Heskett
On Sunday 12 January 2014 15:18:53 Marius Alksnys did opine:

> I think it is 2.5.3, but I am not 100% sure.
> Axis GUI.
> 
The top of the window frame tells you what version it it.

> On 2014.01.12 20:04, Sebastian Kuzminsky wrote:
> > On 01/12/2014 10:27 AM, Marius Alksnys wrote:
> >> This bug not only annoys, but is very dangerous too. File reload does
> >> not help.
> >> Latest stable version.
> > 
> > Wow, that is a dangerous bug!
> > 
> > By "latest stable version", do you mean 2.5.3?  Or v2.5.3-91-g5751b1d
> > or something else?
> > 
> > Which UI are you using?
> 
> 
> -- CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.cl
> ktrk ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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)
Genes Web page 

"Our vision is to speed up time, eventually eliminating it." -- Alex Schure
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
 law-abiding citizens.

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Beaglebone linuxcnc error loading after trying other GUI

2014-01-12 Thread Josiah Morgan
this is what I get
linuxcnc@arm:~$ id
uid=1000(linuxcnc) gid=1001(linuxcnc)
groups=1001(linuxcnc),4(adm),15(kmem),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),999(xenomai)
linuxcnc@arm:~$


On Sun, Jan 12, 2014 at 2:02 PM, andy pugh  wrote:

> On 12 January 2014 19:50, Josiah Morgan  wrote:
>
> > cannot determine if this user is a member of group xenomai: Operation not
> >
>
> If you type "id" at the command line you will get a string of
> information about your user.
> You would want to see "xenomai" listed as one of the "groups"
>
> --
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Josiah Morgan, P.E.
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error starting EMC

2014-01-12 Thread Gene Heskett
On Sunday 12 January 2014 14:58:59 Kirk Wallace did opine:

> On 01/12/2014 07:14 AM, jrmitchellj . wrote:
> > Looks like it did not find you parallel port.
> > (just my guess by looking at the kernel message)
> 
> Actually, I think the this error message:
> 
> insmod: error inserting
> '/usr/realtime-2.6.32-122-rtai/modules/emc2/hal_ppmc.ko': -1 Operation
> not permitted
> 
> indicates that the Pico-Systems PPMC card was not found, so the module
> wasn't loaded. The card may not have power or is damaged. If you have
> verified that you have power to the board, Pico-Systems has a
> diagnostics utility that may help from there.

Isn't that the error you see if the OS has loaded its own parport driver?  
lsmod might show that, in which case a "sudo modprobe -r parport" might be 
in order.

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)
Genes Web page 

The only two things that motivate me and that matter to me are revenge
and guilt.
-- Elvis Costello
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
 law-abiding citizens.

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Beaglebone linuxcnc error loading after trying other GUI

2014-01-12 Thread andy pugh
On 12 January 2014 19:50, Josiah Morgan  wrote:

> cannot determine if this user is a member of group xenomai: Operation not
>

If you type "id" at the command line you will get a string of
information about your user.
You would want to see "xenomai" listed as one of the "groups"

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

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Beaglebone linuxcnc error loading after trying other GUI

2014-01-12 Thread Josiah Morgan
I posted this a little bit ago but decided to repost adding some helpful
info.
I had my beaglebone-linuxcnc system running smoothly until yesterday it
just completely decided to stop working.
I just realized the series of events that caused it to stop working.
I wanted to see what it would look like loading other GUI's instead of axis.
I may have even tried using the touchy gui.
could this have messed up settings inside of the linuxcnc build that is
keeping it from loading linuxcnc anymore even with the gui set back to axis?

this is what I get when I try to load linuxcnc now.  I have tried loading
all the different ini file configurations to see if anything works and
everything gives me the same error now.


linuxcnc@arm:~$ linuxcnc
LINUXCNC - 2.6.0~pre
Machine configuration directory is
'/home/linuxcnc/linuxcnc/configs/ARM/BeagleBone/K9/Shapeoko'
Machine configuration file is 'GPIO-Driven.ini'
Starting LinuxCNC...
cannot determine if this user is a member of group xenomai: Operation not
permitted
rtapi_msgd startup failed - aborting
rtapi_app startup failed - aborting
io started
Xenomai: binding failed: Operation not permitted.
halcmd loadusr io started
Xenomai: binding failed: Operation not permitted.
Shutting down and cleaning up LinuxCNC...
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
cannot determine if this user is a member of group xenomai: Operation not
permitted
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Cleanup done


linuxcnc_debug.txt shows:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
6904
  PID TTY  STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components


linuxcnc_print.txt shows:
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/linuxcnc/linuxcnc/bin
LINUXCNC_TCL_DIR=/home/linuxcnc/linuxcnc/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/linuxcnc/linuxcnc/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/linuxcnc/linuxcnc/src/objects
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
INIFILE=/home/linuxcnc/linuxcnc/configs/ARM/BeagleBone/K9/Shapeoko/GPIO-Driven.ini
PARAMETER_FILE=pru-stepper.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Killing task linuxcncsvr, PID=6904
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

-- 
Josiah Morgan, P.E.
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fwd: Re: Re: How do you change polarity of Step Pulses in MachineKit stepgen?

2014-01-12 Thread Charles Steinkuehler
On 1/12/2014 1:19 PM, Thomas Studwell wrote:
> The only oddity, which doesn't affect the motion but does affect
> power consumption, is that the signals are not initialized to high
> (AKA inactive state) on program startup.  The signals do go high and
> remain there after the first step, however.  The motors are energized
> at high level when the signal is left low.

You can fix this by editing the setup*.sh script in your configuration
directory.  At the end of the file is a list of GPIO pins (using the
Linux Kernel numbering scheme) and their desired mode (typically out).

The default initial value for output pins is low.  If you replace the
"out" in setup*.sh with "high" for the appropriate pins, the GPIO pin
will be initialized to a high value which it will keep until LinuxCNC
fully starts up and begins to twiddle the pins.  If you need to figure
out the proper kernel GPIO values to change, you may find the following
spreadsheet useful:

https://github.com/cdsteinkuehler/beaglebone-black-pinmux/blob/hal_pru_generic/pinmux.ods

-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] error loading linuxcnc

2014-01-12 Thread Sebastian Kuzminsky
On 01/12/2014 11:37 AM, Josiah Morgan wrote:
> I don't even know what Xenomai is.
> linuxcnc was working great for me on the beaglebone for a week till it
> just to stop opening for me and giving me this message.
> 
> 
> On Sun, Jan 12, 2014 at 12:28 PM, Sebastian Kuzminsky  > wrote:
> 
> On 01/12/2014 10:18 AM, Josiah Morgan wrote:
> >
> > linuxcnc@arm:~$ linuxcnc
> > LINUXCNC - 2.6.0~pre
> > Machine configuration directory is
> > '/home/linuxcnc/linuxcnc/configs/ARM/BeagleBone/K9/Shapeoko'
> > Machine configuration file is 'GPIO-Driven.ini'
> > Starting LinuxCNC...
> > cannot determine if this user is a member of group xenomai:
> Operation not
> > permitted
> > rtapi_msgd startup failed - aborting
> > rtapi_app startup failed - aborting
> > io started
> > Xenomai: binding failed: Operation not permitted.
> > halcmd loadusr io started
> > Xenomai: binding failed: Operation not permitted.
> > Shutting down and cleaning up LinuxCNC...
> 
> I'm no expert in the Xenomai flavor of LinuxCNC, but I think the key
> part of that error message is "cannot determine if this user is a member
> of group xenomai".  Did you add yourself to the xenomai group, log out,
> and log back in?

Charles Steinkuehler might have some more useful help on this.


-- 
Sebastian Kuzminsky

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC shows new, but runs old ngc program

2014-01-12 Thread Marius Alksnys
I think it is 2.5.3, but I am not 100% sure.
Axis GUI.

On 2014.01.12 20:04, Sebastian Kuzminsky wrote:
> On 01/12/2014 10:27 AM, Marius Alksnys wrote:
>> This bug not only annoys, but is very dangerous too. File reload does
>> not help.
>> Latest stable version.
> Wow, that is a dangerous bug!
>
> By "latest stable version", do you mean 2.5.3?  Or v2.5.3-91-g5751b1d or
> something else?
>
> Which UI are you using?
>
>



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fwd: Re: Re: How do you change polarity of Step Pulses in MachineKit stepgen?

2014-01-12 Thread Thomas Studwell

On 1/10/2014 12:33 PM, Charles Steinkuehler wrote:

On 1/10/2014 9:33 AM, Charles Steinkuehler wrote:

On 1/10/2014 7:42 AM, Thomas Studwell wrote:
I can easily modify the PRU assembly and create a version that does
falling-edge step pulses for all step/dir generators.  To use it, you
would simply point to the modified PRU binary in the HAL command that
loads the hal_pru_generic module.  The longest part will be actually
testing the code to make sure it works as expected.

OK, here's the quick and dirty version of the PRU code that just inverts
the step signal.  I've verified it moves motors on my 3D printer and the
default step state is high (the step pulse is a falling edge, followed
very briefly by a return to the default high state).

Just drop it in the linuxcnc/xenomai directory and adjust your ini/hal
file to load the new file (pru_generic_fall.bin).  The debugging files
are included just in case you feel _really_ adventurous!  :)

cc'd directly to the two interested parties in case the list strips the
attachment.  If it does, and someone else is interested in a copy of
this as well, just e-mail me directly.

WARNING:  This is for short-term use ONLY!  I expect to have updated
code that will support setting the step polarity via HAL within a week
or two, along with many other changes that will require significant
modification to any existing configurations (but will make pin numbering
a whole lot more consistent and understandable!).

Charles, sorry it took so long to get back to you on this, apparently 
others found 'better' uses of my time ;-)


The driver works as advertised!  I've attached two scope traces, one 
taken with the original driver (Y_Step_Pos.png) and the second 
(Y_Step_Neg.png) taken with the new driver.  The only oddity, which 
doesn't affect the motion but does affect power consumption, is that the 
signals are not initialized to high (AKA inactive state) on program 
startup.  The signals do go high and remain there after the first step, 
however.  The motors are energized at high level when the signal is left 
low.


Thank you for building this!  I'll use this until your new, improved, 
version is available.


Tom
<><>--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] The d525 performance tweak

2014-01-12 Thread Dave Cole
Excellent.

Thanks!

Dave

On 1/12/2014 12:10 PM, Marius Alksnys wrote:
> Yes, Gigabyte GA-E350N is a good option.
> http://uk.gigabyte.com/search/search.aspx?kw=GA-E350N#pr-1
>
> Their performance is better than Intel d525, latency is good. I am using
> number of them on different setups. I tweak their RAM frequency to 1333
> MHz with 1333 RAM.
>
> It is possible to achieve low latency by changing settings in BIOS or
> even better - by disabling unnecessary functions like audio, usb, lan,
> ports.
>
> GA-E350N and GA-E350N WIN8 are the same. Don't know about USB3 version..
>
> BTW, I was writing about this MB as an option and then your reply came
> out :)
>
> On 2014.01.12 18:39, Dave Cole wrote:
>> Good information..
>>
>> Intel has stopped making most motherboards now, which is apparently
>> ahead of schedule from what they originally announced and the D525MW
>> which last came out in a D525MWE edition (Extended) seems to no longer
>> be available except what is left in stock.
>>
>> Is the Gigabyte 350 MITX board a good substitute?
>> NewEgg has it for $69 :
>> http://www.newegg.com/Product/Product.aspx?Item=N82E16813128597
>>
>> Also, apparently there is a Chinese company making a D525MW clone now or
>> is the board USED as it states..  the add is a little confusing.
>> http://www.dhgate.com/product/replace-motherboard-for-intel-d525mw-mini/161647664.html#s1-1-1|3235310101
>>
>> Dave
>>
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] error loading linuxcnc

2014-01-12 Thread Josiah Morgan
I don't even know what Xenomai is.
linuxcnc was working great for me on the beaglebone for a week till it just
to stop opening for me and giving me this message.


On Sun, Jan 12, 2014 at 12:28 PM, Sebastian Kuzminsky wrote:

> On 01/12/2014 10:18 AM, Josiah Morgan wrote:
> > everything was working great for me till all the sudden it started
> throwing
> > me these errors any time I try to open linuxcnc.. it seems to happen
> > regardless of what ini configuration I choose.
> > has anyone seen this before or have any suggestions?
> > thanks
> >
> > linuxcnc@arm:~$ linuxcnc
> > LINUXCNC - 2.6.0~pre
> > Machine configuration directory is
> > '/home/linuxcnc/linuxcnc/configs/ARM/BeagleBone/K9/Shapeoko'
> > Machine configuration file is 'GPIO-Driven.ini'
> > Starting LinuxCNC...
> > cannot determine if this user is a member of group xenomai: Operation not
> > permitted
> > rtapi_msgd startup failed - aborting
> > rtapi_app startup failed - aborting
> > io started
> > Xenomai: binding failed: Operation not permitted.
> > halcmd loadusr io started
> > Xenomai: binding failed: Operation not permitted.
> > Shutting down and cleaning up LinuxCNC...
>
> I'm no expert in the Xenomai flavor of LinuxCNC, but I think the key
> part of that error message is "cannot determine if this user is a member
> of group xenomai".  Did you add yourself to the xenomai group, log out,
> and log back in?
>
>
> --
> Sebastian Kuzminsky
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Josiah Morgan, P.E.
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC shows new, but runs old ngc program

2014-01-12 Thread jrmitchellj .
I believe it is 2.5.3, but I will check when I get to the school later
today.

Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com
(818)324-7573


“Normal people ... believe that if it ain’t broke, don’t fix it. Engineers
believe that if it ain’t broke, it doesn’t have enough features yet.”

-- Scott Adams, creator of Dilbert comic strip




On Sun, Jan 12, 2014 at 10:04 AM, Sebastian Kuzminsky wrote:

> On 01/12/2014 10:27 AM, Marius Alksnys wrote:
> > This bug not only annoys, but is very dangerous too. File reload does
> > not help.
> > Latest stable version.
>
> Wow, that is a dangerous bug!
>
> By "latest stable version", do you mean 2.5.3?  Or v2.5.3-91-g5751b1d or
> something else?
>
> Which UI are you using?
>
>
> --
> Sebastian Kuzminsky
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] error loading linuxcnc

2014-01-12 Thread Sebastian Kuzminsky
On 01/12/2014 10:18 AM, Josiah Morgan wrote:
> everything was working great for me till all the sudden it started throwing
> me these errors any time I try to open linuxcnc.. it seems to happen
> regardless of what ini configuration I choose.
> has anyone seen this before or have any suggestions?
> thanks
> 
> linuxcnc@arm:~$ linuxcnc
> LINUXCNC - 2.6.0~pre
> Machine configuration directory is
> '/home/linuxcnc/linuxcnc/configs/ARM/BeagleBone/K9/Shapeoko'
> Machine configuration file is 'GPIO-Driven.ini'
> Starting LinuxCNC...
> cannot determine if this user is a member of group xenomai: Operation not
> permitted
> rtapi_msgd startup failed - aborting
> rtapi_app startup failed - aborting
> io started
> Xenomai: binding failed: Operation not permitted.
> halcmd loadusr io started
> Xenomai: binding failed: Operation not permitted.
> Shutting down and cleaning up LinuxCNC...

I'm no expert in the Xenomai flavor of LinuxCNC, but I think the key
part of that error message is "cannot determine if this user is a member
of group xenomai".  Did you add yourself to the xenomai group, log out,
and log back in?


-- 
Sebastian Kuzminsky

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC shows new, but runs old ngc program

2014-01-12 Thread Sebastian Kuzminsky
On 01/12/2014 10:27 AM, Marius Alksnys wrote:
> This bug not only annoys, but is very dangerous too. File reload does 
> not help.
> Latest stable version.

Wow, that is a dangerous bug!

By "latest stable version", do you mean 2.5.3?  Or v2.5.3-91-g5751b1d or
something else?

Which UI are you using?


-- 
Sebastian Kuzminsky

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC shows new, but runs old ngc program

2014-01-12 Thread jrmitchellj .
I ran into this yesterday as well.
I edited the ngc file to remove 4 spot drill operations at the start of the
program, saved it, reloaded it (saw that the operations were gone in the
gui), ran the program, and it started with the spot drill points I removed
from the file.  stopped the program, re-started it, and it ran as expected.
I didn't think much of it at the time.

Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com
(818)324-7573


“Normal people ... believe that if it ain’t broke, don’t fix it. Engineers
believe that if it ain’t broke, it doesn’t have enough features yet.”

-- Scott Adams, creator of Dilbert comic strip




On Sun, Jan 12, 2014 at 9:27 AM, Marius Alksnys wrote:

> This bug not only annoys, but is very dangerous too. File reload does
> not help.
> Latest stable version.
>
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hostmot2, MESA 5i25: pins toggle on startup

2014-01-12 Thread Peter C. Wallace
On Sun, 12 Jan 2014, Marius Alksnys wrote:

> Date: Sun, 12 Jan 2014 19:28:58 +0200
> From: Marius Alksnys 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Hostmot2, MESA 5i25: pins toggle on startup
> 
> Yes, I am using DB25 port for sserial to two 8i20's and encoders and IDC
> port for IO.


What I mean is that if any of the GPIO pins you are using have sserial as a 
secondary function, it must be specifically disabled in the sserial config 
string or the GPIO bit will toggle during device probe

>
> On 2014.01.12 19:22, Peter C. Wallace wrote:
>> What configuration and which pins are you using? (I do know sserial must be
>> specifically disabled in the config line to prevent I/O twiddling at startup)
>
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hostmot2, MESA 5i25: pins toggle on startup

2014-01-12 Thread Marius Alksnys
Yes, I am using DB25 port for sserial to two 8i20's and encoders and IDC 
port for IO.

On 2014.01.12 19:22, Peter C. Wallace wrote:
> What configuration and which pins are you using? (I do know sserial must be
> specifically disabled in the config line to prevent I/O twiddling at startup)



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] LinuxCNC shows new, but runs old ngc program

2014-01-12 Thread Marius Alksnys
This bug not only annoys, but is very dangerous too. File reload does 
not help.
Latest stable version.


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hostmot2, MESA 5i25: pins toggle on startup

2014-01-12 Thread Peter C. Wallace
On Sun, 12 Jan 2014, Marius Alksnys wrote:

> Date: Sun, 12 Jan 2014 18:40:55 +0200
> From: Marius Alksnys 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Hostmot2, MESA 5i25: pins toggle on startup
> 
> I am sure it is so - they are active low. These boards are simple
> opto-isolators with 817. Their "+" inputs are connected to +5V and "-"
> to MESA IO pins.
> There are LED indicators on each of those channels. And they blink at
> LinuxCNC startup for part of a second.
> I didn't try is_opendrain option yet..


What configuration and which pins are you using? (I do know sserial must be 
specifically disabled in the config line to prevent I/O twiddling at startup)

>
> On 2014.01.11 23:34, Peter C. Wallace wrote:
>> You should make sure that you use the outputs in an active low configuration
>> since they will be high at startup.
>
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] error loading linuxcnc

2014-01-12 Thread Josiah Morgan
everything was working great for me till all the sudden it started throwing
me these errors any time I try to open linuxcnc.. it seems to happen
regardless of what ini configuration I choose.
has anyone seen this before or have any suggestions?
thanks

linuxcnc@arm:~$ linuxcnc
LINUXCNC - 2.6.0~pre
Machine configuration directory is
'/home/linuxcnc/linuxcnc/configs/ARM/BeagleBone/K9/Shapeoko'
Machine configuration file is 'GPIO-Driven.ini'
Starting LinuxCNC...
cannot determine if this user is a member of group xenomai: Operation not
permitted
rtapi_msgd startup failed - aborting
rtapi_app startup failed - aborting
io started
Xenomai: binding failed: Operation not permitted.
halcmd loadusr io started
Xenomai: binding failed: Operation not permitted.
Shutting down and cleaning up LinuxCNC...
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
cannot determine if this user is a member of group xenomai: Operation not
permitted
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Xenomai: binding failed: Operation not permitted.
Cleanup done


linuxcnc_debug.txt shows:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
6904
  PID TTY  STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components


linuxcnc_print.txt shows:
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/linuxcnc/linuxcnc/bin
LINUXCNC_TCL_DIR=/home/linuxcnc/linuxcnc/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/linuxcnc/linuxcnc/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/linuxcnc/linuxcnc/src/objects
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
INIFILE=/home/linuxcnc/linuxcnc/configs/ARM/BeagleBone/K9/Shapeoko/GPIO-Driven.ini
PARAMETER_FILE=pru-stepper.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Killing task linuxcncsvr, PID=6904
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments


-- 
Josiah Morgan, P.E.
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error starting EMC

2014-01-12 Thread Viesturs Lācis
2014/1/12 Bruce Klawiter 

> [   42.067913] PPMC: ERROR: no boards found on bus 0, port 0378


I think that this line is what you are looking for. As Kirk mentioned, it
just did not find PPMC board on particular LPT port.

Viesturs
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] The d525 performance tweak

2014-01-12 Thread Marius Alksnys
Yes, Gigabyte GA-E350N is a good option.
http://uk.gigabyte.com/search/search.aspx?kw=GA-E350N#pr-1

Their performance is better than Intel d525, latency is good. I am using 
number of them on different setups. I tweak their RAM frequency to 1333 
MHz with 1333 RAM.

It is possible to achieve low latency by changing settings in BIOS or 
even better - by disabling unnecessary functions like audio, usb, lan, 
ports.

GA-E350N and GA-E350N WIN8 are the same. Don't know about USB3 version..

BTW, I was writing about this MB as an option and then your reply came 
out :)

On 2014.01.12 18:39, Dave Cole wrote:
> Good information..
>
> Intel has stopped making most motherboards now, which is apparently
> ahead of schedule from what they originally announced and the D525MW
> which last came out in a D525MWE edition (Extended) seems to no longer
> be available except what is left in stock.
>
> Is the Gigabyte 350 MITX board a good substitute?
> NewEgg has it for $69 :
> http://www.newegg.com/Product/Product.aspx?Item=N82E16813128597
>
> Also, apparently there is a Chinese company making a D525MW clone now or
> is the board USED as it states..  the add is a little confusing.
> http://www.dhgate.com/product/replace-motherboard-for-intel-d525mw-mini/161647664.html#s1-1-1|3235310101
>
> Dave
>



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hostmot2, MESA 5i25: pins toggle on startup

2014-01-12 Thread Marius Alksnys
I am sure it is so - they are active low. These boards are simple 
opto-isolators with 817. Their "+" inputs are connected to +5V and "-" 
to MESA IO pins.
There are LED indicators on each of those channels. And they blink at 
LinuxCNC startup for part of a second.
I didn't try is_opendrain option yet..

On 2014.01.11 23:34, Peter C. Wallace wrote:
> You should make sure that you use the outputs in an active low configuration
> since they will be high at startup.



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] The d525 performance tweak

2014-01-12 Thread Dave Cole
Good information..

Intel has stopped making most motherboards now, which is apparently 
ahead of schedule from what they originally announced and the D525MW 
which last came out in a D525MWE edition (Extended) seems to no longer 
be available except what is left in stock.

Is the Gigabyte 350 MITX board a good substitute?
NewEgg has it for $69 : 
http://www.newegg.com/Product/Product.aspx?Item=N82E16813128597

Also, apparently there is a Chinese company making a D525MW clone now or 
is the board USED as it states..  the add is a little confusing.
http://www.dhgate.com/product/replace-motherboard-for-intel-d525mw-mini/161647664.html#s1-1-1|3235310101

Dave

On 1/11/2014 1:58 PM, John Alexander Stewart wrote:
> Sven;
>
> Interesting result - somewhere else I had read about USB devices sometimes
> being serial hogs, but to have it affect the latency that much - I'm
> surprised!
>
> Thank you for posting your success and outcome.
>
> John.
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error starting EMC

2014-01-12 Thread Kirk Wallace
On 01/12/2014 07:14 AM, jrmitchellj . wrote:
> Looks like it did not find you parallel port.
> (just my guess by looking at the kernel message)

Actually, I think the this error message:

insmod: error inserting
'/usr/realtime-2.6.32-122-rtai/modules/emc2/hal_ppmc.ko': -1 Operation not
permitted

indicates that the Pico-Systems PPMC card was not found, so the module 
wasn't loaded. The card may not have power or is damaged. If you have 
verified that you have power to the board, Pico-Systems has a 
diagnostics utility that may help from there.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error starting EMC

2014-01-12 Thread jrmitchellj .
Looks like it did not find you parallel port.
(just my guess by looking at the kernel message)


Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com
(818)324-7573


“Normal people ... believe that if it ain’t broke, don’t fix it. Engineers
believe that if it ain’t broke, it doesn’t have enough features yet.”

-- Scott Adams, creator of Dilbert comic strip




On Sat, Jan 11, 2014 at 8:54 PM, Bruce Klawiter  wrote:

> Hello,
>
> The power supply on my PC took a dump, I put in a picoPSU-120 but stupid
> me I cut off the 12volt plug and hook the picoPSU-120 power leads up to 120
> volts, this blew the main power fuse. I then put in a regular PC power
> supply and now after getting the PC up and running I can not start EMC, I
> get the following error.
> Any help on tis would be greatly appreciated,
> Bruce
>
> Print file information:
> RUN_IN_PLACE=no
> EMC2_DIR=
> EMC2_BIN_DIR=/usr/bin
> EMC2_TCL_DIR=/usr/share/emc/tcl
> EMC2_SCRIPT_DIR=
> EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
> EMC2_CONFIG_DIR=
> EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
> INIVAR=inivar
> HALCMD=halcmd
> EMC2_EMCSH=/usr/bin/wish8.5
> EMC2 - 2.4.6
> Machine configuration directory is '/home/cnc/emc2/configs/ppmc inch
> rotary encoder'
> Machine configuration file is 'ppmc.ini'
> INIFILE=/home/cnc/emc2/configs/ppmc inch rotary encoder/ppmc.ini
> PARAMETER_FILE=ppmc.var
> EMCMOT=motmod
> EMCIO=io
> TASK=milltask
> HALUI=
> DISPLAY=axis
> NML_FILE=
> Starting EMC2...
> Starting EMC2 server program: emcsvr
> Loading Real Time OS, RTAPI, and HAL_LIB modules
> Starting EMC2 IO program: io
> Shutting down and cleaning up EMC2...
> Killing task emcsvr, PID=1585
> Removing HAL_LIB, RTAPI, and Real Time OS modules
> Removing NML shared memory segments
> Cleanup done
>
> Debug file information:
> insmod: error inserting
> '/usr/realtime-2.6.32-122-rtai/modules/emc2/hal_ppmc.ko': -1 Operation not
> permitted
> ppmc_load.hal:14: exit value: 1
> ppmc_load.hal:14: insmod failed, returned -1
> See the output of 'dmesg' for more information.
> 1585
>   PID TTY  STAT   TIME COMMAND
> Stopping realtime threads
> Unloading hal components
>
> Kernel message information:
> [   41.637715] I-pipe: Domain RTAI registered.
> [   41.637727] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
> [   41.637730] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu
> 4.4.3-4ubuntu5) .
> [   41.637737] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL
> IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
> [   41.637739] PIPELINE layers:
> [   41.637743] f83b4e20 9ac15d93 RTAI 200
> [   41.637746] c085cb20 0 Linux 100
> [   41.669499] RTAI[malloc]: global heap size = 2097152 bytes, .
> [   41.669699] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE:  OWN KTASKs>, kstacks pool size = 524288 bytes.
> [   41.669706] RTAI[sched]: hard timer type/freq = APIC/8333299(Hz);
> default timing: periodic; linear timed lists.
> [   41.669710] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq =
> 3466407000 hz.
> [   41.669712] RTAI[sched]: timer setup = 999 ns, resched latency = 2943
> ns.
> [   41.669876] RTAI[usi]: enabled.
> [   41.803392] RTAI[math]: loaded.
> [   42.067913] PPMC: ERROR: no boards found on bus 0, port 0378
> [   42.067921] PPMC: shutting down
> [   42.686070] RTAI[math]: unloaded.
> [   42.780216] SCHED releases registered named ALIEN RTGLBH
> [   42.797969] RTAI[malloc]: unloaded.
> [   42.896031] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
> traps 0, syscalls 0).
> [   42.901811] I-pipe: Domain RTAI unregistered.
> [   42.901823] RTAI[hal]: unmounted.
>
>
>
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] The d525 performance tweak

2014-01-12 Thread Marius Liebenberg
Thanks Sven, easy enough.

On 2014-01-12 10:34, Sven Wesley wrote:
> RTAI works better on some boards with the boot option isolcpus=x set in
> Grub, where x is the number of processor cores minus the first one. In the
> case of the d525, which has two cores, it should be isolcpus=1. On a four
> core CPU this will be isolcpus=1,2,3 (specially with hyper threading
> active, which doesn't make sense on an isolated two core CPU).
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RealTime
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Isolcpus_Boot_Parameter_And_GRUB2
>
> I did it this way:
> $ sudo gedit /etc/default/grub
> Add the isolcpus option in the end of the line GRUB_CMDLINE_LINUX_DEFAULT
> Save and exit
> $ sudo update-grub
> This is one of the rare cases of a needed reboot, so reboot.
>
> You can run the command
> $ cat /proc/cmdline
> afterwards to make sure that it took effect. it should be included in the
> output.
>
> /Sven
>
>
>
> 2014/1/12 Marius Liebenberg 
>
>> Sven
>> Can you point us to some information regarding the boot options or could
>> you give some pointers as to what to do. I would like to look at some
>> performance improvements as I use the D525 board a lot.
>>
>> On 2014-01-11 19:43, Sven Wesley wrote:
>>> You might remember that I made tests with the Atom boards and they didn't
>>> work as expected. Back then we came to the conclusion that different
>>> versions of the board where performing differently.
>>>
>>> When the European Integrator's meeting were held one off the German guys
>>> told me he had a lot of experience with these kind of boards and they
>> truly
>>> behave different. But he gave me a quick tip: Use a PS/2 mouse!
>>> So, I just reinstalled one of them with Xubuntu and the 12.04
>> installation
>>> and decided I should try the mouse trick. I tried both a USB and a PS/2
>>> mouse. Hyper threading is disabled, no boot options yet and it went from
>> 25
>>> 000 to 15 000 ns. It was actually holding a pretty stable 9 000 for a
>> long
>>> time with xeyes, downloading files, HQ youtube clip and a Vimeo video
>>> running at the same time. Something made it jump to 15000 and then back
>>> again. Graphics still lags with this setup even though Xubuntu seems much
>>> better.
>>>
>>> I added isolcpus=1 to the boot options and did the latency test again.
>> Ran
>>> it twice (the movies lags like crazy) and got 11400 and 9100 ns.
>>>
>>> >From 28 000 ns to 10 000. That's a difference.
>>>
>>> I'm going to run Mesa cards with these PC's so the timing isn't that
>>> critical any longer. It feels pretty nice though that the boards can
>> behave
>>> a bit better than before with a very small fix.
>>>
>>> /Sven
>>>
>> --
>>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>>> Critical Workloads, Development Environments & Everything In Between.
>>> Get a Quote or Start a Free Trial Today.
>>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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
>> +27 82 698 3251
>> +27 12 743 6064
>>
>>
>>
>> --
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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
+27 82 698 3251
+27 12 743 6064


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk

Re: [Emc-users] Pncconf does not include 5i25

2014-01-12 Thread Sven Wesley
2014/1/12 Sven Wesley 

> I tried that yesterday (the update.zip with the copy script) but it
> blanked out and disabled the select boxes in Pncconf and then I went to
> bed. :)
> Couldn't the xml files be added to the source tree instead?
>
>
Found another source of the XML, in cmorley's sticky thread:
http://www.linuxcnc.org/index.php/english/forum/39-pncconf/21670-5i25-firmware-xml-files-for-pncconf#32198
With this zip file it actually worked.

/Sven
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping program for tool change

2014-01-12 Thread Michael Haberler

Am 12.01.2014 um 10:38 schrieb Mike Eitel :

> Michael Haberler  writes:
> 
>> 
>> John,
>> 
>> Am 11.01.2014 um 19:57 schrieb John Alexander Stewart :
>> 
>>> Hi all;
>>> 
>>> I've got a large bit of steel milling to do, and am changing tools
>>> mid-stream every 1mm or so of depth. (6mm end mills, 12.7mm depth)
>>> 
>>> Is it possible that the "stop program execution" causes loss of position?
>>> 
>>> What I'm doing is, when the end mill is close to a point where not much
>>> milling is being done, I:
>>>   - stop the program;
>>>   - change end mills;
>>>   - zero the Z axis based on this end mill;
>>>   - edit the program so that the tool will start off where I want it;
>>>   - and, go.
>>> 
>>> I know that there's probably a better way of pausing program operation to
>>> do a tool change and Z axis touch off, but I can't think that to do at the
>>> moment.
>>> 
>>> What do *you* do, to change tools mid-stream?
>> 
>> this is exactly what master
>> http://git.linuxcnc.org/gitweb?
> p=linuxcnc.git;a=tree;f=configs/sim/axis/remap/manual-toolchange-with-tool-
> length-
> switch;h=07587d5cc91ed661e0face3b73aa4eadc7ef055b;hb=6eadae4c8ef1f5d614d06626b
> 9e05e056d46c8f8 does
>> 
>> actually it does a bit more - namely jog to a TLO sensor, measure, set 
> offset and continue
>> 
>> give it a try to get the hang of it
>> 
>> - Michael
>> 
> 
> 
> Hi
>   Is it possible to run on 2.5.3 ?

no, master is required - that is the remapping work which has been lingering in 
master for about two years

>   If yes whats to do?

run a master buildbot build, or build yourself from source

-m

> Thx Mike
> 
> 
> 
> 
> 
> 
> 
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stopping program for tool change

2014-01-12 Thread Mike Eitel
Michael Haberler  writes:

> 
> John,
> 
> Am 11.01.2014 um 19:57 schrieb John Alexander Stewart :
> 
> > Hi all;
> > 
> > I've got a large bit of steel milling to do, and am changing tools
> > mid-stream every 1mm or so of depth. (6mm end mills, 12.7mm depth)
> > 
> > Is it possible that the "stop program execution" causes loss of position?
> > 
> > What I'm doing is, when the end mill is close to a point where not much
> > milling is being done, I:
> >- stop the program;
> >- change end mills;
> >- zero the Z axis based on this end mill;
> >- edit the program so that the tool will start off where I want it;
> >- and, go.
> > 
> > I know that there's probably a better way of pausing program operation to
> > do a tool change and Z axis touch off, but I can't think that to do at the
> > moment.
> > 
> > What do *you* do, to change tools mid-stream?
> 
> this is exactly what master
> http://git.linuxcnc.org/gitweb?
p=linuxcnc.git;a=tree;f=configs/sim/axis/remap/manual-toolchange-with-tool-
length-
switch;h=07587d5cc91ed661e0face3b73aa4eadc7ef055b;hb=6eadae4c8ef1f5d614d06626b
9e05e056d46c8f8 does
> 
> actually it does a bit more - namely jog to a TLO sensor, measure, set 
offset and continue
> 
> give it a try to get the hang of it
> 
> - Michael
> 


Hi
   Is it possible to run on 2.5.3 ?
   If yes whats to do?
Thx Mike







--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] The d525 performance tweak

2014-01-12 Thread Sven Wesley
RTAI works better on some boards with the boot option isolcpus=x set in
Grub, where x is the number of processor cores minus the first one. In the
case of the d525, which has two cores, it should be isolcpus=1. On a four
core CPU this will be isolcpus=1,2,3 (specially with hyper threading
active, which doesn't make sense on an isolated two core CPU).
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RealTime
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Isolcpus_Boot_Parameter_And_GRUB2

I did it this way:
$ sudo gedit /etc/default/grub
Add the isolcpus option in the end of the line GRUB_CMDLINE_LINUX_DEFAULT
Save and exit
$ sudo update-grub
This is one of the rare cases of a needed reboot, so reboot.

You can run the command
$ cat /proc/cmdline
afterwards to make sure that it took effect. it should be included in the
output.

/Sven



2014/1/12 Marius Liebenberg 

> Sven
> Can you point us to some information regarding the boot options or could
> you give some pointers as to what to do. I would like to look at some
> performance improvements as I use the D525 board a lot.
>
> On 2014-01-11 19:43, Sven Wesley wrote:
> > You might remember that I made tests with the Atom boards and they didn't
> > work as expected. Back then we came to the conclusion that different
> > versions of the board where performing differently.
> >
> > When the European Integrator's meeting were held one off the German guys
> > told me he had a lot of experience with these kind of boards and they
> truly
> > behave different. But he gave me a quick tip: Use a PS/2 mouse!
> > So, I just reinstalled one of them with Xubuntu and the 12.04
> installation
> > and decided I should try the mouse trick. I tried both a USB and a PS/2
> > mouse. Hyper threading is disabled, no boot options yet and it went from
> 25
> > 000 to 15 000 ns. It was actually holding a pretty stable 9 000 for a
> long
> > time with xeyes, downloading files, HQ youtube clip and a Vimeo video
> > running at the same time. Something made it jump to 15000 and then back
> > again. Graphics still lags with this setup even though Xubuntu seems much
> > better.
> >
> > I added isolcpus=1 to the boot options and did the latency test again.
> Ran
> > it twice (the movies lags like crazy) and got 11400 and 9100 ns.
> >
> > >From 28 000 ns to 10 000. That's a difference.
> >
> > I'm going to run Mesa cards with these PC's so the timing isn't that
> > critical any longer. It feels pretty nice though that the boards can
> behave
> > a bit better than before with a very small fix.
> >
> > /Sven
> >
> --
> > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > Critical Workloads, Development Environments & Everything In Between.
> > Get a Quote or Start a Free Trial Today.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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
> +27 82 698 3251
> +27 12 743 6064
>
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users