Re: [Emc-users] Linux question

2013-10-20 Thread Marius Liebenberg
And Ubuntu has a setting that will shut down all open applications 
before shutting down the MB. This way you just push the button for on 
and again for off. If you loaded LCNC in the startup file, it makes it 
very easy.

On 2013/10/20 05:36 AM, Jon Elson wrote:
> Terry Christophersen wrote:
>> Hi all,
>> When I turn on the main power  switch my computer will come on for
>> a couple of seconds then shut off.I wait for this to happen then push the
>> computer on switch.This is how it been since I switched to a 525.
>> Why does the computer come on without me hitting the computer on switch?
>>
>>
> All the modern CPUs have software-controlled power supplies.  there is a
> command
> line from the MB to the power supply telling it when to turn on/off.
> The power
> button goes to the MB, not the power supply, and starts the sequence,
> when you
> have it set for manual on/off.  Most BIOS'es can be set for either last
> power
> status or always come on after power restoration.  I have mine set this
> way, as
> I turn the whole machine on from a power strip.
>
> So, anyway, the PS has to turn the CPU on so the BIOS can look to see what
> its power-on response is set for.  And this is real nice, as a remote
> server you
> want to power up whenever power is restored after an interruption.
>
> Jon
>
> --
> 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=60135031&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): 131019-1, 2013/10/19
Tested on: 2013/10/20 08:58:11 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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] BeagleBone Black LinuxCNC .img

2013-10-20 Thread Condit Alan
Can anyone put up the recent Debian Wheezy (LinuxCNC) for BeagleBone Black as 
an ".img" for SD instead of a ".tar.xz"? I can write a uSD or a USB stick from 
an ".img" or ".iso" on my Mac but I can't get the ".tar.xz" to work. 

I have Ubuntu 12.04 running in VirtualBox on my Mac and I was having trouble 
attaching USB drives to the linux guest OS. Can anyone tell me the type and 
size of partitions I need to create on the uSD for the boot and root 
partitions? I am guessing that the boot partition is DOS and I know it needs to 
be at least 32K but does it need to be larger?

Thanks in advance,
Alan
--
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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Router spindle choices

2013-10-20 Thread Erik Friesen
This is an interesting project -
http://www.kickstarter.com/projects/19659206/cnc-bt15-iso15-atc-spindles-cartridge-and-spindle

Although its unclear to me what a complete system including drive motor
looks like.  Would you end up getting the same amount into it as buying one
of these? -
http://www.automationtechnologiesinc.com/products-page/cnc-spindle/atc-spindle-2


I haven't found anything in between, I would like a quickchange, but most
everything seems built for a mill setting.  My current setup is a bosch
colt with think and tinker collets, but after 100s of hours of use and one
bad bearing, I am ready to move to something quieter.  There is a plethora
of chinese spindles and vfd's, are they to be avoided?
--
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=60135031&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 Black LinuxCNC .img

2013-10-20 Thread andy pugh
On 20 October 2013 21:23, Condit Alan  wrote:
> Can anyone put up the recent Debian Wheezy (LinuxCNC) for BeagleBone Black as 
> an ".img" for SD instead of a ".tar.xz"? I can write a uSD or a USB stick 
> from an ".img" or ".iso" on my Mac but I can't get the ".tar.xz" to work.

Do you have the exact UR: where the file in question lived?

I am on a Mac and don't recall any specific problems. It may be that
you need to untar at the command line

-- 
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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Router spindle choices

2013-10-20 Thread Gregg Eshelman
On 10/20/2013 2:46 PM, Erik Friesen wrote:
> This is an interesting project -
> http://www.kickstarter.com/projects/19659206/cnc-bt15-iso15-atc-spindles-cartridge-and-spindle

"Some of you are already familiar with my BT30 spindle cartridges..." 
Count me among those not familiar. If that could be retrofit to my Acra 
knee mill... ;)


--
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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Router spindle choices

2013-10-20 Thread andy pugh
On 20 October 2013 21:46, Erik Friesen  wrote:
> This is an interesting project -
> http://www.kickstarter.com/projects/19659206/cnc-bt15-iso15-atc-spindles-cartridge-and-spindle

$115 for the petals? Crikey, I gave 2 spare sets I made away!

You can buy an integrated motor/spindle with an ATC for not that much
more than he is asking.
http://www.alibaba.com/trade/search?fsb=y&IndexArea=product_en&CatId=&SearchText=BT30++spindle

(actually, looking, some of those may not be as described).

That was a search for BT30, the Kickstarter was BT15. (I am not at all
sure where you would source those).

Good luck to the guy, but he isn't selling anything for which you
can't already download models.

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=60135031&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 Black LinuxCNC .img

2013-10-20 Thread Charles Steinkuehler
On 10/20/2013 3:23 PM, Condit Alan wrote:
> Can anyone put up the recent Debian Wheezy (LinuxCNC) for BeagleBone
> Black as an ".img" for SD instead of a ".tar.xz"? I can write a uSD
> or a USB stick from an ".img" or ".iso" on my Mac but I can't get the
> ".tar.xz" to work.

Follow the instructions I have for using the BBB itself as a Linux box
for making the SD card:

http://bb-lcnc.blogspot.com/p/create-machinekit-sd-card-with-windows.html

Since you're on a Mac, you should be able to extract the .tar.xz file
natively, but you'll need a "real" Linux install to actually create the
SD card.  That's because it's not just an image, it's a script that
formats and prepares the SD card vs. just copying a pre-installed file
system onto it.

You'll need an SD card reader and a USB stick hooked to your 'Bone,
which means you need a USB hub as well.  Holler if you have any
questions or problems following the instructions.

Alternately, you could use your Ubuntu VM to create a card image on a
loop-back mounted file, then burn that onto an SD card.  But it's
probably easier to just use the 'Bone itself.

> I have Ubuntu 12.04 running in VirtualBox on my Mac and I was having
> trouble attaching USB drives to the linux guest OS. Can anyone tell
> me the type and size of partitions I need to create on the uSD for
> the boot and root partitions? I am guessing that the boot partition
> is DOS and I know it needs to be at least 32K but does it need to be
> larger?

The partitions are created when you run the setup_sdcard.sh script, and
are dynamically sized to the size of the SD card.  You can read through
the script to see exactly what's going on.  Note that the FAT partition
can be particular regarding sizes, location and type flags, since the
MLO code on the FAT Partition is launched by ROM code in the am335x and
isn't exactly heavily protected against user goofs.

On my 16G SD card, the partitions are as follows:

$ sudo fdisk -l

Disk /dev/mmcblk0: 15.9 GB, 15931539456 bytes
4 heads, 16 sectors/track, 486192 cylinders, total 31116288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Device Boot  Start End  Blocks   Id  System
/dev/mmcblk0p1   *2048  133119   65536e  W95 FAT16 (LBA)
/dev/mmcblk0p2  1331203111526315491072   83  Linux

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



signature.asc
Description: OpenPGP digital signature
--
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=60135031&iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Router spindle choices

2013-10-20 Thread Erik Friesen
alibaba... Shudder.


On Sun, Oct 20, 2013 at 7:56 PM, andy pugh  wrote:

> On 20 October 2013 21:46, Erik Friesen  wrote:
> > This is an interesting project -
> >
> http://www.kickstarter.com/projects/19659206/cnc-bt15-iso15-atc-spindles-cartridge-and-spindle
>
> $115 for the petals? Crikey, I gave 2 spare sets I made away!
>
> You can buy an integrated motor/spindle with an ATC for not that much
> more than he is asking.
>
> http://www.alibaba.com/trade/search?fsb=y&IndexArea=product_en&CatId=&SearchText=BT30++spindle
>
> (actually, looking, some of those may not be as described).
>
> That was a search for BT30, the Kickstarter was BT15. (I am not at all
> sure where you would source those).
>
> Good luck to the guy, but he isn't selling anything for which you
> can't already download models.
>
> 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=60135031&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Router spindle choices

2013-10-20 Thread Erik Friesen
I recently sent off rfq's to three places on alibaba for bldc stators.  Not
one replied back.  The company I work for has ordered pumps through
alibaba, its nothing but trouble it seems to us.


On Sun, Oct 20, 2013 at 9:20 PM, Erik Friesen  wrote:

> alibaba... Shudder.
>
>
> On Sun, Oct 20, 2013 at 7:56 PM, andy pugh  wrote:
>
>> On 20 October 2013 21:46, Erik Friesen  wrote:
>> > This is an interesting project -
>> >
>> http://www.kickstarter.com/projects/19659206/cnc-bt15-iso15-atc-spindles-cartridge-and-spindle
>>
>> $115 for the petals? Crikey, I gave 2 spare sets I made away!
>>
>> You can buy an integrated motor/spindle with an ATC for not that much
>> more than he is asking.
>>
>> http://www.alibaba.com/trade/search?fsb=y&IndexArea=product_en&CatId=&SearchText=BT30++spindle
>>
>> (actually, looking, some of those may not be as described).
>>
>> That was a search for BT30, the Kickstarter was BT15. (I am not at all
>> sure where you would source those).
>>
>> Good luck to the guy, but he isn't selling anything for which you
>> can't already download models.
>>
>> 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=60135031&iu=/4140/ostg.clktrk
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
>
--
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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Router spindle choices

2013-10-20 Thread andy pugh
On 21 October 2013 02:20, Erik Friesen  wrote:
> alibaba... Shudder.

Good point, I can't claim to have ever tried buying from there.
However I did find responsive folk responding to emails for quotes and
queries.

-- 
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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Router spindle choices

2013-10-20 Thread Bruce Layne
I bought 10kg of titanium rod via Alibaba, from my Chinese communist 
capitalist friends.  Including shipping and the escrow fee, it was about 
half of the best price I could find in the USA.  The quality seems very 
good.  Next time, I think I'll order 20kg.

Speaking of spindles and the Chinese... I'm still digging my inexpensive 
Chinese water cooled spindles for my two CNC routers, although I have 
zero spindle time on one and little time on the other.  The spindles 
spin unbelievably smoothly - much nicer than very expensive spindles 
I've seen on high end CNC machines, and my Chinese spindle motors make 
the woodworking routers that many people use on hobby CNC routers look 
like they're using gravel for bearings.  The water cooled Chinese 
spindle motors shipped with matching VFDs, and the cost was maybe $300 
or so?  Very low cost for the high quality, and that makes for good 
value.  They run so smoothly that I'm probably getting longer life from 
my carbide tooling, so that would result in even more value.

But back on the thread topic, I am still changing tools by hand. :-(



On 10/20/2013 09:41 PM, andy pugh wrote:
> On 21 October 2013 02:20, Erik Friesen  wrote:
>> alibaba... Shudder.
> Good point, I can't claim to have ever tried buying from there.
> However I did find responsive folk responding to emails for quotes and
> queries.
>


--
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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Router spindle choices

2013-10-20 Thread Sven Wesley
2013/10/21 Bruce Layne 

> I bought 10kg of titanium rod via Alibaba, from my Chinese communist
> capitalist friends.  Including shipping and the escrow fee, it was about
> half of the best price I could find in the USA.  The quality seems very
> good.  Next time, I think I'll order 20kg.
>
> Speaking of spindles and the Chinese... I'm still digging my inexpensive
> Chinese water cooled spindles for my two CNC routers, although I have
> zero spindle time on one and little time on the other.  The spindles
> spin unbelievably smoothly - much nicer than very expensive spindles
> I've seen on high end CNC machines, and my Chinese spindle motors make
> the woodworking routers that many people use on hobby CNC routers look
> like they're using gravel for bearings.  The water cooled Chinese
> spindle motors shipped with matching VFDs, and the cost was maybe $300
> or so?  Very low cost for the high quality, and that makes for good
> value.  They run so smoothly that I'm probably getting longer life from
> my carbide tooling, so that would result in even more value.
>
> But back on the thread topic, I am still changing tools by hand. :-(
>
>
I think you guys don't get the idea with alibaba, that's a trader's place
and if you are quoting items in countable numbers they aren't interested. I
buy from several traders but my volumes are like a joke to them.

You should check  http://www.aliexpress.com/ instead where you can buy
items in eBay style.
There are quite a few ATC spindles like the kickstarter project under 800
bucks. Even better, they are made for BT30.
http://www.aliexpress.com/wholesale?SearchText=atc+spindle&catId=0&initiative_id=SB_20131020205212

/Sven
--
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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Controlling LinuxCNC externally with C++ program

2013-10-20 Thread Walter Cigana
Hi all,

I am still Learning LinuxCNC and I again have a few questions.

I am trying to figure out the best way to "drive" LinuxCNC from a C++
program.

This program would receive general commands from the user, something
like: "execute procedure 1" and translate this into telling LinuxCNC to
open a specific file and run the G-code therein.

I saw that there is a Python interface:
http://www.linuxcnc.org/docs/html/common/python-interface.html#_the_linuxcnc_python_module

The doc states that "Programmatic access to NML is through a C++ API;
however, the most important parts of the NML interface to Linuxcnc are also
available to Python programs through the linxuxcnc module."

I do not really feel like learning Python, but I cannot find the C++ way to
do this.  I have seen some documentation, but nothing specific and I cannot
find any examples.

Ideally, I could just use an API from my program.  Can someone point me in
the right direction???

thanks,
Walter
--
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=60135031&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users