I want to thank all those who took the time to help. Here's what I did to save 
this very nice Spanish machine tool. Used a plastic stiff putty knife and 
scraped just the surface.... Using a couple of layers of paper towels over the 
table that I'm cleaning, and soaked them with paint thinner for about an hour. 
Came back with the plastic putty knife and most everything came off. Finished 
the job with some well worn green Scotchbrite. Not exactly museum ready, but 
down to the iron, and fully useable. 

----- Original Message -----

From: emc-users-requ...@lists.sourceforge.net 
To: emc-users@lists.sourceforge.net 
Sent: Tuesday, March 31, 2015 11:50:38 AM 
Subject: Emc-users Digest, Vol 107, Issue 88 

Send Emc-users mailing list submissions to 
emc-users@lists.sourceforge.net 

To subscribe or unsubscribe via the World Wide Web, visit 
https://lists.sourceforge.net/lists/listinfo/emc-users 
or, via email, send a message with subject or body 'help' to 
emc-users-requ...@lists.sourceforge.net 

You can reach the person managing the list at 
emc-users-ow...@lists.sourceforge.net 

When replying, please edit your Subject line so it is more specific 
than "Re: Contents of Emc-users digest..." 


Today's Topics: 

1. Re: Custom EMC installation? (Peter C. Wallace) 
2. Re: Custom EMC installation? (Sebastian Kuzminsky) 
3. Pendant help (Juan Posada) 
4. Re: Pendant help (Scott Salrin) 
5. Re: Pendant help (Sebastian Kuzminsky) 
6. Re: Custom EMC installation? -- BINGO! (Neil) 


---------------------------------------------------------------------- 

Message: 1 
Date: Tue, 31 Mar 2015 06:26:50 -0700 (PDT) 
From: "Peter C. Wallace" <p...@mesanet.com> 
Subject: Re: [Emc-users] Custom EMC installation? 
To: emc_d...@narwani.org, "Enhanced Machine Controller (EMC)" 
<emc-users@lists.sourceforge.net> 
Message-ID: <pine.neb.4.64.1503310624150.9...@freeby.mesanet.com> 
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 

On Tue, 31 Mar 2015, Neil wrote: 

> Date: Tue, 31 Mar 2015 09:00:25 -0400 
> From: Neil <emc_d...@narwani.org> 
> To: emc-users@lists.sourceforge.net 
> Subject: Re: [Emc-users] Custom EMC installation? 
> 
> I got past this last night, but still have some issues installing 
> LinuxCNC... 
> 
> Apparently I missed that the ./configure could not find a dependency, so 
> I installed that, then came another and another. So far I've had to 
> install glib, tk, tcl, xinerama, librealtime, bwidget, libboost-python, 
> and others. Also figured out (seemingly randomly from google searches, 
> that I need to add -dev to most of these). Also ended up using 
> --without-libmodbus --disable-gtk --withtclConfig --withtkConfig , 
> because I could not figure out how to install those, so used configure's 
> suggestion to use these flags instead. Is all of this documented 
> somewhere, as I feel like I'm stumbling upon this haphazardly? 

I think this is close to what I needed to do on my 14.04 system: 


sudo apt-get install build-essential autoconf libpth-dev libglib2.0-dev 
libgtk2.0-dev tcl-dev tk-dev bwidget libreadline-dev python-tk python-dev 
libgl1-mesa-dev libglu1-mesa-dev libxmu-dev libudev-dev libmodbus-dev 
libboost-python-dev libboost-serialization-dev libboost-thread-dev 

But I did this a long time ago so probably have forgotten something 
(I do remember some fight with tcl/tk versions) 

> 
> Right now though, I'm getting an error like: 
> checking match between tk and Tkinter versions... Traceback: 
> "<string>", line 1, in <module> 
> Import Error: no module named _tkinter 
> ... 
> 
> But it continues past this and says "it seems configure completed 
> successfully". If I try to "make" from here, it fails with errors: 
> 
> hal/utils/halsh.c:20:17: fatal error: tcl.h: No such file or directory 
> #include <tcl.h> 
> ^ 
> Compilation terminated. 
> 
> I'm not sure what to do from here, but I feel that one of the 
> ./configure issues is causing this. Any pointers what to do now? 
> 
> Thanks. 
> 
> 
> 
> 
> On 3/30/2015 10:25 PM, Neil wrote: 
>> So this has been very helpful so far, but I have run into a couple 
>> snags. Spent most of today on this and got the kernel with PREEMPT-RT 
>> installed successfully. Peter, I did use your config file. Much thanks. 
>> 
>> Now to the linuxcnc part, I've run into a block with "sudo apt-get 
>> build-dep linuxcnc", getting an error "E: Unable to find a source 
>> package for linuxcnc". Tried adding these lines to 
>> /etc/apt/sources.list, but it didn't help... 
>> 
>> deb http://www.linuxcnc.org/ lucid base linuxcnc2.5 
>> deb-src http://www.linuxcnc.org/ lucid base linuxcnc2.5 
>> 
>> Yes it does refer to lucid, but I don't know what to put for ubuntu 
>> 14.04. Section 2.2 does not list that line though, so I thought I'd 
>> proceed without for now. Got further, but when I try to "make" (after 
>> ./configure --with-realtime=uspace ), I get this: 
>> 
>> Makefile:71: Makefile.inc: No such file or directory. 
>> Makefile:82: *** Makefile must specify RTPREFIX and other variables. Stop. 
>> 
>> What am I missing here? Is this related to the "sudo apt-get build-dep 
>> linuxcnc " issue? 
>> 
>> Thanks, 
>> -Neil. 
>> 
>> 
>> 
>> On 3/29/2015 12:20 AM, Peter C. Wallace wrote: 
>>> ... 
>>> has instructions for building a preemt-rt kernel (and heres a script) 
>>> ... 
>>> 
>>> 
>>> and something close to this will build the uspace version of linuxcnc 
>>> (for the preemt-rt real time kernel) from source 
>>> 
>>> cd ~ 
>>> sudo apt-get install git-core gitk git-gui 
>>> sudo apt-get build-dep linuxcnc 
>>> sudo apt-get install libudev-dev 
>>> git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev 
>>> cd linuxcnc-dev 
>>> git checkout 2.7 
>>> git pull 
>>> cd src 
>>> ./autogen.sh 
>>> ./configure --with-realtime=uspace 
>>> make 
>>> sudo make setuid 
>>> cd .. 
>>> . scripts/rip-environment 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> ------------------------------------------------------------------------------
>>>>  
>>>> 
>>>> Dive into the World of Parallel Programming The Go Parallel Website, 
>>>> sponsored 
>>>> by Intel and developed in partnership with Slashdot Media, is your 
>>>> hub for all 
>>>> things parallel software development, from weekly thought leadership 
>>>> blogs to 
>>>> news, videos, case studies, tutorials and more. Take a look and join the 
>>>> conversation now. http://goparallel.sourceforge.net/ 
>>>> _______________________________________________ 
>>>> 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. 
>>> 
>>> 
>>> 
>> 
>> ------------------------------------------------------------------------------
>>  
>> Dive into the World of Parallel Programming The Go Parallel Website, 
>> sponsored 
>> by Intel and developed in partnership with Slashdot Media, is your hub for 
>> all 
>> things parallel software development, from weekly thought leadership blogs 
>> to 
>> news, videos, case studies, tutorials and more. Take a look and join the 
>> conversation now. http://goparallel.sourceforge.net/ 
>> _______________________________________________ 
>> Emc-users mailing list 
>> Emc-users@lists.sourceforge.net 
>> https://lists.sourceforge.net/lists/listinfo/emc-users 
>> 
>> 
> 
> 
> ------------------------------------------------------------------------------
>  
> Dive into the World of Parallel Programming The Go Parallel Website, 
> sponsored 
> by Intel and developed in partnership with Slashdot Media, is your hub for 
> all 
> things parallel software development, from weekly thought leadership blogs to 
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/ 
> _______________________________________________ 
> 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. 




------------------------------ 

Message: 2 
Date: Tue, 31 Mar 2015 07:59:25 -0600 
From: Sebastian Kuzminsky <s...@highlab.com> 
Subject: Re: [Emc-users] Custom EMC installation? 
To: "Enhanced Machine Controller (EMC)" 
<emc-users@lists.sourceforge.net>, emc_d...@narwani.org 
Message-ID: <551aa83d.4070...@highlab.com> 
Content-Type: text/plain; charset=windows-1252 

On 03/31/2015 07:26 AM, Peter C. Wallace wrote: 
> On Tue, 31 Mar 2015, Neil wrote: 
> 
>> Date: Tue, 31 Mar 2015 09:00:25 -0400 
>> From: Neil <emc_d...@narwani.org> 
>> To: emc-users@lists.sourceforge.net 
>> Subject: Re: [Emc-users] Custom EMC installation? 
>> 
>> I got past this last night, but still have some issues installing 
>> LinuxCNC... 
>> 
>> Apparently I missed that the ./configure could not find a dependency, so 
>> I installed that, then came another and another. So far I've had to 
>> install glib, tk, tcl, xinerama, librealtime, bwidget, libboost-python, 
>> and others. Also figured out (seemingly randomly from google searches, 
>> that I need to add -dev to most of these). Also ended up using 
>> --without-libmodbus --disable-gtk --withtclConfig --withtkConfig , 
>> because I could not figure out how to install those, so used configure's 
>> suggestion to use these flags instead. Is all of this documented 
>> somewhere, as I feel like I'm stumbling upon this haphazardly? 
> 
> I think this is close to what I needed to do on my 14.04 system: 
> 
> 
> sudo apt-get install build-essential autoconf libpth-dev libglib2.0-dev 
> libgtk2.0-dev tcl-dev tk-dev bwidget libreadline-dev python-tk python-dev 
> libgl1-mesa-dev libglu1-mesa-dev libxmu-dev libudev-dev libmodbus-dev 
> libboost-python-dev libboost-serialization-dev libboost-thread-dev 
> 
> But I did this a long time ago so probably have forgotten something 
> (I do remember some fight with tcl/tk versions) 

Neil, i think you're building from source on Ubuntu 14.04. If that's 
the case, then the standard build instructions may be a helpful place to 
start: 

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_LinuxCNC#Resolving_outstanding_build_dependencies
 


-- 
Sebastian Kuzminsky 



------------------------------ 

Message: 3 
Date: Tue, 31 Mar 2015 08:22:03 -0700 
From: Juan Posada <juan.pos...@gmail.com> 
Subject: [Emc-users] Pendant help 
To: emc-users@lists.sourceforge.net 
Message-ID: 
<cajz6fn86ezxj6embgb8ub4d2-jvtaqwqxed5jsrjkwwfbc3...@mail.gmail.com> 
Content-Type: text/plain; charset=UTF-8 

Hello everyone. I am a new EMC user moving over from Mach 3. I had been 
using the ShuttleRU <http://cncpendant.ru/en/shuttlerustm32.html> pendant 
which does not come with a linux driver. Is there a way to make it work? I 
am fairly technical, can read and write basic code, and even have access to 
the device's firmware source code, but I am no developer and my familiarity 
with linux is basic. 

Is this something I can even attempt myself? If so can someone point me in 
the right direction to get me started? 

Thanks! 


------------------------------ 

Message: 4 
Date: Tue, 31 Mar 2015 11:10:50 -0500 
From: Scott Salrin <scott.sal...@gmail.com> 
Subject: Re: [Emc-users] Pendant help 
To: "Enhanced Machine Controller (EMC)" 
<emc-users@lists.sourceforge.net> 
Message-ID: 
<cal9+1fpc8mwzkhtbyh-qaxmey1d6vqegrw4dkqtfmdaubvt...@mail.gmail.com> 
Content-Type: text/plain; charset=UTF-8 

Welcome Juan, 

I see a lot of folks migrating from Mach. I've not started yet, but have 
chosen LCNC, primarily due to the manufacturer building my machine will not 
support it using Mach. The ShuttleRU is a nice piece of work. I went with 
the XHC-HB04 because it's known to work in LinuxCNC. I will be watching, 
and wishing you well. I know it can be done, I've yet to see the linuxcnc 
community fail at anyhting. 

I look forward to your success, 
Scott 

On Tue, Mar 31, 2015 at 10:22 AM, Juan Posada <juan.pos...@gmail.com> wrote: 

> Hello everyone. I am a new EMC user moving over from Mach 3. I had been 
> using the ShuttleRU <http://cncpendant.ru/en/shuttlerustm32.html> pendant 
> which does not come with a linux driver. Is there a way to make it work? I 
> am fairly technical, can read and write basic code, and even have access to 
> the device's firmware source code, but I am no developer and my familiarity 
> with linux is basic. 
> 
> Is this something I can even attempt myself? If so can someone point me in 
> the right direction to get me started? 
> 
> Thanks! 
> 
> ------------------------------------------------------------------------------
>  
> Dive into the World of Parallel Programming The Go Parallel Website, 
> sponsored 
> by Intel and developed in partnership with Slashdot Media, is your hub for 
> all 
> things parallel software development, from weekly thought leadership blogs 
> to 
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/ 
> _______________________________________________ 
> Emc-users mailing list 
> Emc-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/emc-users 
> 


------------------------------ 

Message: 5 
Date: Tue, 31 Mar 2015 10:24:47 -0600 
From: Sebastian Kuzminsky <s...@highlab.com> 
Subject: Re: [Emc-users] Pendant help 
To: "Enhanced Machine Controller (EMC)" 
<emc-users@lists.sourceforge.net> 
Message-ID: <551aca4f.10...@highlab.com> 
Content-Type: text/plain; charset=windows-1252; format=flowed 

On 3/31/15 9:22 AM, Juan Posada wrote: 
> Hello everyone. I am a new EMC user moving over from Mach 3. I had been 
> using the ShuttleRU <http://cncpendant.ru/en/shuttlerustm32.html> pendant 
> which does not come with a linux driver. Is there a way to make it work? I 
> am fairly technical, can read and write basic code, and even have access to 
> the device's firmware source code, but I am no developer and my familiarity 
> with linux is basic. 
> 
> Is this something I can even attempt myself? If so can someone point me in 
> the right direction to get me started? 

Hi Juan, welcome! 


Does the pendant show up as a USB HID device? If so, the driver for the 
ShuttleXpress may be a good starting place. It is here: 

src/hal/user_comps/shuttlexpress.c 


Here's basic info on how to check out our git repo and contribute stuff 
back to the project: 

http://linuxcnc.org/docs/devel/html/code/Contributing-to-LinuxCNC.html 


Here is some rough, probably out-of-date info on how to build LinuxCNC 
from source: 

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_LinuxCNC#Resolving_outstanding_build_dependencies
 


Feel free to ask questions on the emc-developers list or on IRC (as 
described in the "Contributing" document linked above). When you get 
the driver written & tested we'd love to include your driver with the 
next version of LinuxCNC. 


-- 
Sebastian Kuzminsky 



------------------------------ 

Message: 6 
Date: Tue, 31 Mar 2015 14:50:30 -0400 
From: Neil <emc_d...@narwani.org> 
Subject: Re: [Emc-users] Custom EMC installation? -- BINGO! 
To: "Enhanced Machine Controller (EMC)" 
<emc-users@lists.sourceforge.net> 
Message-ID: <551aec76.1050...@narwani.org> 
Content-Type: text/plain; charset=windows-1252; format=flowed 

Okay guys, we're there at last... It works! Specifically OpenPnP 
coexists with LinuxCNC on the same machine. 

Now the not-so-great news... I do not like the latency. At first I 
thought I can live with the lower speed, but stepconf only lets me set 
the latency to 50000ns, when I'm seeing test values over 1,xxx,xxx ns, 
and that's causing jerky/intermittent motion. I'm not sure if I can 
manually change it in the config files... can I? The lower speed would 
be fine for now, as long as it's not jerky. 

Another thought would be to try installing RTAI. I see some info on 
doing it on 12.04, so I may try that... <cringe!> 

Much thanks for all the help guys! 

Cheers, 
-Neil. 





------------------------------ 

------------------------------------------------------------------------------ 
Dive into the World of Parallel Programming The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/ 

------------------------------ 

_______________________________________________ 
Emc-users mailing list 
Emc-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/emc-users 


End of Emc-users Digest, Vol 107, Issue 88 
****************************************** 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to