Re: [Emc-users] Open source CNC architecture

2020-04-03 Thread Jon Elson

On 04/03/2020 02:32 AM, Phill Carter wrote:



On 3 Apr 2020, at 4:00 pm, Chris Albertson  wrote:

The discussion is a little bit like what Henry Ford called "a faster horse".


It looks to me that there are a couple of dudes trying to explain that LinuxCNC 
is wrong and the rest of us just obviously don't get it.

The best way for them to show us we are wrong is for them to "fix" LinuxCNC so 
it is correct.

Please let us know when you have a working example and I will give it a try.

In the meantime I will use it as it is, it works great.


Yes, I'm with you, Phil!  EMC/EMC2/LinuxCNC has been working 
flawlessly in my shop for 22 years now!
I've had a few problems over the years, but ALL were 
eventually tracked down to bad electrical connections.


Jon


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


Re: [Emc-users] Open source CNC architecture

2020-04-03 Thread R C

that's time travel,

you'd get scenarios like this though:

The replacement part you're thinking of since yesterday came in 2 weeks 
ago, we sent it back because


you weren't there to pick it up within a week. You still owe us for 
shipping though.




On 4/2/20 11:13 PM, Bari wrote:
Machining is old tech. I want to get my parts before I even know that 
I want them.


You study old tech while I have to fix the future.

Thanks.

On 4/2/20 10:51 PM, Rafael Skodlar wrote:
I study technologies while you watch sports... 



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



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


Re: [Emc-users] Open source CNC architecture

2020-04-03 Thread Phill Carter



> On 3 Apr 2020, at 4:00 pm, Chris Albertson  wrote:
> 
> The discussion is a little bit like what Henry Ford called "a faster horse".
> 

It looks to me that there are a couple of dudes trying to explain that LinuxCNC 
is wrong and the rest of us just obviously don't get it.

The best way for them to show us we are wrong is for them to "fix" LinuxCNC so 
it is correct.

Please let us know when you have a working example and I will give it a try.

In the meantime I will use it as it is, it works great.


> 
> 
> On Thu, Apr 2, 2020 at 8:54 PM Rafael Skodlar  wrote:
> 
>> On 2020-04-02 07:13, R C wrote:
>>> my 2 cnts;
>>> 
>>> 
>>> I work in/with HPC, and run into that stuff all the time, and it is
>>> unavoidable.
>> 
>> what stuff? It would be much easier to read old thread if related lines
>> were in related place.
>> 
>>> 
>>> Since HPCs run diskless, and boot in/from a network, we simply build a
>>> complete new image, (and keep
>>> 
>>> the older ones around). We never even update an image, we simply build a
>>> new one from scratch, since
>> 
>> And stop services when Saltstack, fabric, or mush could be used to
>> update software without much downtime ... Nonstop rebuilds are not a
>> solution to everything.
>> 
>>> 
>>> an update on an existing system never works and it is easier to rebuild
>>> a repo (at least in RHEL it is).
>>> 
>>> Libraries etc, specific to applications either get relocated, or are
>>> merged with the OS ones on a virtual file system.
>>> 
>>> 
>>> Of course that is pretty much undo-able, impractical, unaffordable to do
>>> at home, so what I do: I use different drives with
>> 
>> That's possible since 1990s when we could buy first removable drives for
>> PCs. Some were IDE, other SCSI based. Same idea as in IBM, DEC, HP, and
>> other mainframe computers.
>> 
>>> 
>>> separate installs (I use these now very inexpensive CRU data trays to
>>> swap drives, and SSDs are really inexpensive now)
>>> 
>>> 
>>> And indeed, let's not even get started on "rolling back" within an image.
>>> 
>>> 
>>> containers; that's one of these things that don't seem to work
>>> consistently yet. I know people (at work) that are working
>>> 
>> 
>> Ever heard of Google? See more bellow
>> 
>>> with it, developing in it, but I have not seen it work reliably/stable
>>> yet. It will definitely go there, but as of yet, at least
>> 
>> ??? It's being used in so many places that would spin your head.
>> 
>> https://www.sdxcentral.com/articles/news/t-mobile-to-slash-30m-in-cloud-costs-with-kubernetes/2020/04/
>> 
>>> 
>>> at scale, it is not working. (there are lots of issues that come down to
>>> latency/timing and rdma issues and we don't
>>> 
>>> even use real time kernels etc. most of what I do is based on RHEL and
>>> application specific RHEL 'flavors')
>>> 
>>> 
>>> as I said, just my 2 cts,
>>> 
>>> 
>>> Ron
>> I study technologies while you watch sports...
>> 
>> --
>> Rafael
>> 
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> 
> -- 
> 
> Chris Albertson
> Redondo Beach, California
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Open source CNC architecture

2020-04-02 Thread Bari
Machining is old tech. I want to get my parts before I even know that I 
want them.


You study old tech while I have to fix the future.

Thanks.

On 4/2/20 10:51 PM, Rafael Skodlar wrote:
I study technologies while you watch sports... 



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


Re: [Emc-users] Open source CNC architecture

2020-04-02 Thread Chris Albertson
The discussion is a little bit like what Henry Ford called "a faster horse".

Henry Ford say that if he had asked his customers what they wanted, they
would have told him "a faster horse".   But what Ford did was give them
something they did not know they coud ask for.   It is common for users to
want only slight incremental changes over what they have.   Almost no one
ever asks for a revolutinaly product.   If you are re-doing this CNC
controller for use this century you cut-out the need for real-time Linux.
Once to can place all of EMC in plain old userspace then you can manage
upgrades using the distributions native pagage system.   You simply click
"upgrade: and type in a password.   How would this work?  You simply
moove all the real-time stuff off of the Linux based system an onto cheap
hardware.



On Thu, Apr 2, 2020 at 8:54 PM Rafael Skodlar  wrote:

> On 2020-04-02 07:13, R C wrote:
> > my 2 cnts;
> >
> >
> > I work in/with HPC, and run into that stuff all the time, and it is
> > unavoidable.
>
> what stuff? It would be much easier to read old thread if related lines
> were in related place.
>
> >
> > Since HPCs run diskless, and boot in/from a network, we simply build a
> > complete new image, (and keep
> >
> > the older ones around). We never even update an image, we simply build a
> > new one from scratch, since
>
> And stop services when Saltstack, fabric, or mush could be used to
> update software without much downtime ... Nonstop rebuilds are not a
> solution to everything.
>
> >
> > an update on an existing system never works and it is easier to rebuild
> > a repo (at least in RHEL it is).
> >
> > Libraries etc, specific to applications either get relocated, or are
> > merged with the OS ones on a virtual file system.
> >
> >
> > Of course that is pretty much undo-able, impractical, unaffordable to do
> > at home, so what I do: I use different drives with
>
> That's possible since 1990s when we could buy first removable drives for
> PCs. Some were IDE, other SCSI based. Same idea as in IBM, DEC, HP, and
> other mainframe computers.
>
> >
> > separate installs (I use these now very inexpensive CRU data trays to
> > swap drives, and SSDs are really inexpensive now)
> >
> >
> > And indeed, let's not even get started on "rolling back" within an image.
> >
> >
> > containers; that's one of these things that don't seem to work
> > consistently yet. I know people (at work) that are working
> >
>
> Ever heard of Google? See more bellow
>
> > with it, developing in it, but I have not seen it work reliably/stable
> > yet. It will definitely go there, but as of yet, at least
>
> ??? It's being used in so many places that would spin your head.
>
> https://www.sdxcentral.com/articles/news/t-mobile-to-slash-30m-in-cloud-costs-with-kubernetes/2020/04/
>
> >
> > at scale, it is not working. (there are lots of issues that come down to
> > latency/timing and rdma issues and we don't
> >
> > even use real time kernels etc. most of what I do is based on RHEL and
> > application specific RHEL 'flavors')
> >
> >
> > as I said, just my 2 cts,
> >
> >
> > Ron
> I study technologies while you watch sports...
>
> --
> Rafael
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Open source CNC architecture

2020-04-02 Thread Rafael Skodlar

On 2020-04-02 03:14, Przemek Klosowski wrote:

On Wed, Feb 19, 2020 at 1:51 AM Rafael Skodlar  wrote:



Think about LinuxCNC and it's packages. Using Slackware method you could
try to use different version of LCNC to see if it's good for your CNC
setup. If the new version fails (breaks your tool?) you could run
"cnc-admin script" to roll back, i.e. relink the app to previous version
and start it.

/opt/linuxcnc-v2.6/bin  <- binaries or scripts
/opt/linuxcnc-v2.6/etc  <- config files
...





/opt/linuxcnc-v2.7/bin
/opt/linuxcnc-v2.7/etc
...


What you suggest is not that simple. For starters, there are cross-package


It's simpler than have a full blown workstation to do the work of what a 
much smaller distribution could do. Now you have to manage much larger 
number of packages.


ls /usr/lib/ | grep python
python2.7
python3
python3.6
python3.7
python3.8

You just tell which one you want to use and all is fine. Same can be 
done with other software.


I believe that LinuxCNC would benefit with using Yocto because you can 
build software for different platforms at the same time. Used widely in 
automobile industry, avionics, and robotics as well.



dependencies, so in general you will have to carry various system libraries
required by each version. Then, modern programs use various forms of IPC,


We already have different versions of libs. Ever looked under */libs*?

Anaconda is the best utility to manage different versions of python in 
user space. Yocto takes it to another level.



so they need version specific versions of those IPC endpoints (things like
DBus, etc). IN the end, you can do it, but you replicate huge parts of the
OS. RedHat/Fedora tried to do Modularity, which is something like what you
propose except it turned out that you could have multi-version availability
but not multiversion installability (it was easy to switch versions, but
you could install only one). They put a lot of effort into making
dependencies work automatically, but in the end it turns out that lifecycle
management (patching/updating) is hard in a multi-version world: multiple
versions of multiple programs lead to combinatorial explosion of
dependencies and unresolvable conflicts when one program depends on ver. X
of something and another one on ver. Y. Currently Modularity is in retreat.



Software written so tight that it works only with a certain library but 
not on a newer one is just bad software. I hear this from other 
engineers developing for large software houses here in Silicon Valley.



The technology to do that exists---containers like Docker or Podman. The
downside is that your system is now a mess of versions, and you need to


What mess??? It's a flexible design that solves dependencies issues. 
When setup right it works automagically.



worry about patching and updating them. Containers provide a partial
solution to the Modularity problems---you can isolate such conflicts to
separate containers, but you still need to worry about lifecycle management.

If you are serious about those issues, read up on containers and
modularity---don't invent your own solutions, as a lot of people tried to
do it right and it's worth to learn from their experiences.


Using your logic nobody would ever invent or improve anything. So what 
if they failed? Somebody with make a difference then others will follow 
as usual.


When you spend as much time using and managing virtualization on servers 
as long as I have, install and setup containers etc. then ... I got 
tired of this kind of responses when you don't read on the subject 
matter before telling me I don't know anything.


The fact is that LinuxCNC is a mess in a sense because too many insist 
on basic real time functionality and top it off with full GUI instead of 
advancing from that original architecture. It helps if you study what 
large commercial manufacturers of CNC machines make. I provided links to 
some already.


How about telling others to go read about going metric and stop using 
STUPID system that is based on hundreds years dead British king butt or 
finger size?


G-code is archaic also. It's like programing PCs in assembly language in 
1980s. Some bad things just never die.


--
Rafael
Linux specialist since 1994


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


Re: [Emc-users] Open source CNC architecture

2020-04-02 Thread Rafael Skodlar

On 2020-04-02 07:13, R C wrote:

my 2 cnts;


I work in/with HPC, and run into that stuff all the time, and it is 
unavoidable.


what stuff? It would be much easier to read old thread if related lines 
were in related place.




Since HPCs run diskless, and boot in/from a network, we simply build a 
complete new image, (and keep


the older ones around). We never even update an image, we simply build a 
new one from scratch, since


And stop services when Saltstack, fabric, or mush could be used to 
update software without much downtime ... Nonstop rebuilds are not a 
solution to everything.




an update on an existing system never works and it is easier to rebuild 
a repo (at least in RHEL it is).


Libraries etc, specific to applications either get relocated, or are 
merged with the OS ones on a virtual file system.



Of course that is pretty much undo-able, impractical, unaffordable to do 
at home, so what I do: I use different drives with


That's possible since 1990s when we could buy first removable drives for 
PCs. Some were IDE, other SCSI based. Same idea as in IBM, DEC, HP, and 
other mainframe computers.




separate installs (I use these now very inexpensive CRU data trays to 
swap drives, and SSDs are really inexpensive now)



And indeed, let's not even get started on "rolling back" within an image.


containers; that's one of these things that don't seem to work 
consistently yet. I know people (at work) that are working




Ever heard of Google? See more bellow

with it, developing in it, but I have not seen it work reliably/stable 
yet. It will definitely go there, but as of yet, at least


??? It's being used in so many places that would spin your head.
https://www.sdxcentral.com/articles/news/t-mobile-to-slash-30m-in-cloud-costs-with-kubernetes/2020/04/



at scale, it is not working. (there are lots of issues that come down to 
latency/timing and rdma issues and we don't


even use real time kernels etc. most of what I do is based on RHEL and 
application specific RHEL 'flavors')



as I said, just my 2 cts,


Ron

I study technologies while you watch sports...

--
Rafael


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


Re: [Emc-users] Open source CNC architecture

2020-04-02 Thread R C

my 2 cnts;


I work in/with HPC, and run into that stuff all the time, and it is 
unavoidable.


Since HPCs run diskless, and boot in/from a network, we simply build a 
complete new image, (and keep


the older ones around). We never even update an image, we simply build a 
new one from scratch, since


an update on an existing system never works and it is easier to rebuild 
a repo (at least in RHEL it is).


Libraries etc, specific to applications either get relocated, or are 
merged with the OS ones on a virtual file system.



Of course that is pretty much undo-able, impractical, unaffordable to do 
at home, so what I do: I use different drives with


separate installs (I use these now very inexpensive CRU data trays to 
swap drives, and SSDs are really inexpensive now)



And indeed, let's not even get started on "rolling back" within an image.


containers; that's one of these things that don't seem to work 
consistently yet. I know people (at work) that are working


with it, developing in it, but I have not seen it work reliably/stable 
yet. It will definitely go there, but as of yet, at least


at scale, it is not working. (there are lots of issues that come down to 
latency/timing and rdma issues and we don't


even use real time kernels etc. most of what I do is based on RHEL and 
application specific RHEL 'flavors')



as I said, just my 2 cts,


Ron

On 4/2/20 4:14 AM, Przemek Klosowski wrote:

On Wed, Feb 19, 2020 at 1:51 AM Rafael Skodlar  wrote:


Think about LinuxCNC and it's packages. Using Slackware method you could
try to use different version of LCNC to see if it's good for your CNC
setup. If the new version fails (breaks your tool?) you could run
"cnc-admin script" to roll back, i.e. relink the app to previous version
and start it.

/opt/linuxcnc-v2.6/bin  <- binaries or scripts
/opt/linuxcnc-v2.6/etc  <- config files
...




/opt/linuxcnc-v2.7/bin
/opt/linuxcnc-v2.7/etc
...


What you suggest is not that simple. For starters, there are cross-package
dependencies, so in general you will have to carry various system libraries
required by each version. Then, modern programs use various forms of IPC,
so they need version specific versions of those IPC endpoints (things like
DBus, etc). IN the end, you can do it, but you replicate huge parts of the
OS. RedHat/Fedora tried to do Modularity, which is something like what you
propose except it turned out that you could have multi-version availability
but not multiversion installability (it was easy to switch versions, but
you could install only one). They put a lot of effort into making
dependencies work automatically, but in the end it turns out that lifecycle
management (patching/updating) is hard in a multi-version world: multiple
versions of multiple programs lead to combinatorial explosion of
dependencies and unresolvable conflicts when one program depends on ver. X
of something and another one on ver. Y. Currently Modularity is in retreat.

The technology to do that exists---containers like Docker or Podman. The
downside is that your system is now a mess of versions, and you need to
worry about patching and updating them. Containers provide a partial
solution to the Modularity problems---you can isolate such conflicts to
separate containers, but you still need to worry about lifecycle management.

If you are serious about those issues, read up on containers and
modularity---don't invent your own solutions, as a lot of people tried to
do it right and it's worth to learn from their experiences.

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



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


Re: [Emc-users] Open source CNC architecture

2020-04-02 Thread Przemek Klosowski
On Wed, Feb 19, 2020 at 1:51 AM Rafael Skodlar  wrote:

>
> Think about LinuxCNC and it's packages. Using Slackware method you could
> try to use different version of LCNC to see if it's good for your CNC
> setup. If the new version fails (breaks your tool?) you could run
> "cnc-admin script" to roll back, i.e. relink the app to previous version
> and start it.
>
> /opt/linuxcnc-v2.6/bin  <- binaries or scripts
> /opt/linuxcnc-v2.6/etc  <- config files
> ...
>


> /opt/linuxcnc-v2.7/bin
> /opt/linuxcnc-v2.7/etc
> ...
>
What you suggest is not that simple. For starters, there are cross-package
dependencies, so in general you will have to carry various system libraries
required by each version. Then, modern programs use various forms of IPC,
so they need version specific versions of those IPC endpoints (things like
DBus, etc). IN the end, you can do it, but you replicate huge parts of the
OS. RedHat/Fedora tried to do Modularity, which is something like what you
propose except it turned out that you could have multi-version availability
but not multiversion installability (it was easy to switch versions, but
you could install only one). They put a lot of effort into making
dependencies work automatically, but in the end it turns out that lifecycle
management (patching/updating) is hard in a multi-version world: multiple
versions of multiple programs lead to combinatorial explosion of
dependencies and unresolvable conflicts when one program depends on ver. X
of something and another one on ver. Y. Currently Modularity is in retreat.

The technology to do that exists---containers like Docker or Podman. The
downside is that your system is now a mess of versions, and you need to
worry about patching and updating them. Containers provide a partial
solution to the Modularity problems---you can isolate such conflicts to
separate containers, but you still need to worry about lifecycle management.

If you are serious about those issues, read up on containers and
modularity---don't invent your own solutions, as a lot of people tried to
do it right and it's worth to learn from their experiences.

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


Re: [Emc-users] Open source CNC architecture --> good power plug

2020-03-18 Thread Nicklas Karlsson
Yes these power plugs look good. Have some XLR they are cheap and good.

> The best power plugs are those round "powerCON" plugs.  But getting people
> to use them will take time.  Their good feature is that both genders have
> only plastic parts exposed when unplugged and they can't be put in wrong.
> The white version is locking.
> https://www.neutrik.com/en/neutrik/products/powercon/powercon-20-a
> 
> These were invented by the same people who make the "speakON" speaker
> jacks.These are the industry standard for pro audio.
> 
> 
> On Tue, Mar 17, 2020 at 5:28 PM Gene Heskett  wrote:
> 
> > On Tuesday 17 March 2020 16:55:56 Gregg Eshelman via Emc-users wrote:
> >
> > > As big as the UK plugs are, with the beefy prongs, I'm surprised they
> > > haven't been classified as weapons and banned. ;) One could bean
> > > another person real good with one of your extension cords...
> > >
> > > On Tuesday, March 17, 2020, 10:34:44 AM MDT, andy pugh
> > >  wrote:
> > >
> > >  On Tue, 17 Mar 2020 at 16:18, Rafael Skodlar  wrote:
> > > > American standard for power plugs is way better but I don't
> > > > recommend to use N for an antenna
> > >
> > > There are unpolarised olugs in the US.
> >
> > Yes, and the quicker they go away, the better off we'd be. But we've been
> > stuck with the SOB's since the REA came thru in late '45. But I expect
> > it will take at least 200 years since that is the plug most lamps come
> > with yet.
> > >
> > > If you want to be super careful use the UK BS1363 plug. You can't put
> > > them in the wrong way round. Even if you remove the earth pin from the
> > > plug (as the shutters are opened by the earth pin).
> > >
> > > Of course the UK plug introduces a different danger, they hurt like
> > > hell to stand on in the dark.
> > >
> > > https://www.youtube.com/watch?v=UEfP1OKKz_Q
> >
> > Not available on this side of the pond.
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> > Cheers, Gene Heskett
> > --
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author)
> > If we desire respect for the law, we must first make the law respectable.
> >  - Louis D. Brandeis
> > Genes Web page 
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> 
> -- 
> 
> Chris Albertson
> Redondo Beach, California
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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


Re: [Emc-users] Open source CNC architecture

2020-03-17 Thread Chris Albertson
The best power plugs are those round "powerCON" plugs.  But getting people
to use them will take time.  Their good feature is that both genders have
only plastic parts exposed when unplugged and they can't be put in wrong.
The white version is locking.
https://www.neutrik.com/en/neutrik/products/powercon/powercon-20-a

These were invented by the same people who make the "speakON" speaker
jacks.These are the industry standard for pro audio.


On Tue, Mar 17, 2020 at 5:28 PM Gene Heskett  wrote:

> On Tuesday 17 March 2020 16:55:56 Gregg Eshelman via Emc-users wrote:
>
> > As big as the UK plugs are, with the beefy prongs, I'm surprised they
> > haven't been classified as weapons and banned. ;) One could bean
> > another person real good with one of your extension cords...
> >
> > On Tuesday, March 17, 2020, 10:34:44 AM MDT, andy pugh
> >  wrote:
> >
> >  On Tue, 17 Mar 2020 at 16:18, Rafael Skodlar  wrote:
> > > American standard for power plugs is way better but I don't
> > > recommend to use N for an antenna
> >
> > There are unpolarised olugs in the US.
>
> Yes, and the quicker they go away, the better off we'd be. But we've been
> stuck with the SOB's since the REA came thru in late '45. But I expect
> it will take at least 200 years since that is the plug most lamps come
> with yet.
> >
> > If you want to be super careful use the UK BS1363 plug. You can't put
> > them in the wrong way round. Even if you remove the earth pin from the
> > plug (as the shutters are opened by the earth pin).
> >
> > Of course the UK plug introduces a different danger, they hurt like
> > hell to stand on in the dark.
> >
> > https://www.youtube.com/watch?v=UEfP1OKKz_Q
>
> Not available on this side of the pond.
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Open source CNC architecture

2020-03-17 Thread Gene Heskett
On Tuesday 17 March 2020 20:25:30 Gene Heskett wrote:

> On Tuesday 17 March 2020 16:55:56 Gregg Eshelman via Emc-users wrote:
> > As big as the UK plugs are, with the beefy prongs, I'm surprised
> > they haven't been classified as weapons and banned. ;) One could
> > bean another person real good with one of your extension cords...
> >
> > On Tuesday, March 17, 2020, 10:34:44 AM MDT, andy pugh
> >  wrote:
> >
> >  On Tue, 17 Mar 2020 at 16:18, Rafael Skodlar  
wrote:
> > > American standard for power plugs is way better but I don't
> > > recommend to use N for an antenna
> >
> > There are unpolarised olugs in the US.
>
> Yes, and the quicker they go away, the better off we'd be. But we've
> been stuck with the SOB's since the REA came thru in late '45. But I
> expect it will take at least 200 years since that is the plug most
> lamps come with yet.
>
> > If you want to be super careful use the UK BS1363 plug. You can't
> > put them in the wrong way round. Even if you remove the earth pin
> > from the plug (as the shutters are opened by the earth pin).
> >
> > Of course the UK plug introduces a different danger, they hurt like
> > hell to stand on in the dark.
> >
> > https://www.youtube.com/watch?v=UEfP1OKKz_Q
>
> Not available on this side of the pond.
>
Not quite true. plays ok in firefox, but not in konqueror.
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> Cheers, Gene Heskett


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Open source CNC architecture

2020-03-17 Thread Gene Heskett
On Tuesday 17 March 2020 16:55:56 Gregg Eshelman via Emc-users wrote:

> As big as the UK plugs are, with the beefy prongs, I'm surprised they
> haven't been classified as weapons and banned. ;) One could bean
> another person real good with one of your extension cords...
>
> On Tuesday, March 17, 2020, 10:34:44 AM MDT, andy pugh
>  wrote:
>
>  On Tue, 17 Mar 2020 at 16:18, Rafael Skodlar  wrote:
> > American standard for power plugs is way better but I don't
> > recommend to use N for an antenna
>
> There are unpolarised olugs in the US.

Yes, and the quicker they go away, the better off we'd be. But we've been 
stuck with the SOB's since the REA came thru in late '45. But I expect 
it will take at least 200 years since that is the plug most lamps come 
with yet.
>
> If you want to be super careful use the UK BS1363 plug. You can't put
> them in the wrong way round. Even if you remove the earth pin from the
> plug (as the shutters are opened by the earth pin).
>
> Of course the UK plug introduces a different danger, they hurt like
> hell to stand on in the dark.
>
> https://www.youtube.com/watch?v=UEfP1OKKz_Q

Not available on this side of the pond.
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Open source CNC architecture

2020-03-17 Thread Gregg Eshelman via Emc-users
As big as the UK plugs are, with the beefy prongs, I'm surprised they haven't 
been classified as weapons and banned. ;) One could bean another person real 
good with one of your extension cords...

On Tuesday, March 17, 2020, 10:34:44 AM MDT, andy pugh  
wrote:  
 
 On Tue, 17 Mar 2020 at 16:18, Rafael Skodlar  wrote:

> American standard for power plugs is way better but I don't recommend to
> use N for an antenna

There are unpolarised olugs in the US.

If you want to be super careful use the UK BS1363 plug. You can't put
them in the wrong way round. Even if you remove the earth pin from the
plug (as the shutters are opened by the earth pin).

Of course the UK plug introduces a different danger, they hurt like
hell to stand on in the dark.

https://www.youtube.com/watch?v=UEfP1OKKz_Q

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


Re: [Emc-users] Open source CNC architecture

2020-03-17 Thread Robert Murphy
Go away you are dangerous and educated above and beyond your ability for 
rational thought.
I’m no longer going to respond to your BS.
Find another place to pretend you have any kind of common sense.
I’m done.

Composed with my Crayons 

>> On 18 Mar 2020, at 03:15, Rafael Skodlar  wrote:
>> 
>> On 2020-03-17 01:30, Robert Murphy wrote:
>> Raf,
>> Get a 7i76e and you are done.
>> Don't scratch your head and touch sensitive components.
> 
> That's just one possibility which depends on how much hair and size you have. 
> Just walking around certain kind of floors you generate static electricity 
> that can kill modern electronics very fast. I have yet to see technicians in 
> IT using anti-static wrist strap.I keep two in my toolbox.
> 
>> What you have said is technically and correct and in all the books,it's
>> even what the teach in tertiary educations when you're working towards
>> your certs.  it's not exactly what I've seen in the field. That's was
>> day in and day out repair EFTPOS terminals, mainboards of pokies and
>> other sundry products by a certain large supplier of EFTPOS equipment.
> 
> When you use a not so common (?) acronym it's nice to spell it out.
> 
>> Even with the latest exercise equipment with all the bells & whistles
>> the biggest issues are failure of output drivers due to lack of
>> mechanical maintenance by owners.
>> Not that I'm advocating working with electronic equipment in a vinyl one
>> piece jump suit with balloons attached.
>> I'm not too sure of the certification status of the RPi for industrial
>> use. Where as there is a variant of the BBB that is.
> 
> It depends on what temperature range components you use and how you build the 
> boards.
> 
> https://thepihut.com/products/italtronic-din-rail-raspberry-pi-model-b-plus-case
> 
> https://revolution.kunbus.com/revolution-pi-series/  pay attention to the 
> diagram on the sides. 12-24V DC. And QR code to find additional information 
> easily. It looks to be very good product IMO, all based on open source. [1]
> 
> [1] And I was told earlier to get lost after I commented on LinuxCNC 
> architecture issues.
> 
> DIN is a German standard I'm aware of since I mixed neutral power line with 
> hot 220V. I built a simple one transistor receiver and used a neutral wire as 
> an antenna. That idea (?) came from something I was reading in the 70s if I 
> remember correctly. One day I connected my detector to "antenna" on the wrong 
> side ;-(
> 
> Anybody used oscilloscope to troubleshoot switching power supplies? Not 
> modern battery powered scope mind you. That was fun.
> 
> Since then I touch unknown circuits with one hand but only if I have good 
> shoes on. We have protective gloves now but that was not available in commie 
> paradise.
> 
> Building radio detector was one step in my way to learn electronics trade. 
> Problem is that stupid plug standards in continental EU allow you to plug 
> single phase power cord two ways.
> 
> American standard for power plugs is way better but I don't recommend to use 
> N for an antenna unless it's an emergency and the whole nation is in kernel 
> panic mode. Oh wait, we are.
> 
> 
> -- 
> Rafael Skodlar
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Open source CNC architecture

2020-03-17 Thread andy pugh
On Tue, 17 Mar 2020 at 16:18, Rafael Skodlar  wrote:

> American standard for power plugs is way better but I don't recommend to
> use N for an antenna

There are unpolarised olugs in the US.

If you want to be super careful use the UK BS1363 plug. You can't put
them in the wrong way round. Even if you remove the earth pin from the
plug (as the shutters are opened by the earth pin).

Of course the UK plug introduces a different danger, they hurt like
hell to stand on in the dark.

https://www.youtube.com/watch?v=UEfP1OKKz_Q

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


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


Re: [Emc-users] Open source CNC architecture

2020-03-17 Thread Rafael Skodlar

On 2020-03-17 01:30, Robert Murphy wrote:

Raf,

Get a 7i76e and you are done.

Don't scratch your head and touch sensitive components.


That's just one possibility which depends on how much hair and size you 
have. Just walking around certain kind of floors you generate static 
electricity that can kill modern electronics very fast. I have yet to 
see technicians in IT using anti-static wrist strap.I keep two in my 
toolbox.




What you have said is technically and correct and in all the books,it's
even what the teach in tertiary educations when you're working towards
your certs.  it's not exactly what I've seen in the field. That's was
day in and day out repair EFTPOS terminals, mainboards of pokies and
other sundry products by a certain large supplier of EFTPOS equipment.


When you use a not so common (?) acronym it's nice to spell it out.


Even with the latest exercise equipment with all the bells & whistles
the biggest issues are failure of output drivers due to lack of
mechanical maintenance by owners.

Not that I'm advocating working with electronic equipment in a vinyl one
piece jump suit with balloons attached.

I'm not too sure of the certification status of the RPi for industrial
use. Where as there is a variant of the BBB that is.


It depends on what temperature range components you use and how you 
build the boards.


https://thepihut.com/products/italtronic-din-rail-raspberry-pi-model-b-plus-case

https://revolution.kunbus.com/revolution-pi-series/  pay attention to 
the diagram on the sides. 12-24V DC. And QR code to find additional 
information easily. It looks to be very good product IMO, all based on 
open source. [1]


[1] And I was told earlier to get lost after I commented on LinuxCNC 
architecture issues.


DIN is a German standard I'm aware of since I mixed neutral power line 
with hot 220V. I built a simple one transistor receiver and used a 
neutral wire as an antenna. That idea (?) came from something I was 
reading in the 70s if I remember correctly. One day I connected my 
detector to "antenna" on the wrong side ;-(


Anybody used oscilloscope to troubleshoot switching power supplies? Not 
modern battery powered scope mind you. That was fun.


Since then I touch unknown circuits with one hand but only if I have 
good shoes on. We have protective gloves now but that was not available 
in commie paradise.


Building radio detector was one step in my way to learn electronics 
trade. Problem is that stupid plug standards in continental EU allow you 
to plug single phase power cord two ways.


American standard for power plugs is way better but I don't recommend to 
use N for an antenna unless it's an emergency and the whole nation is in 
kernel panic mode. Oh wait, we are.



--
Rafael Skodlar


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


Re: [Emc-users] Open source CNC architecture

2020-03-17 Thread Robert Murphy

Raf,

Get a 7i76e and you are done.

Don't scratch your head and touch sensitive components.

What you have said is technically and correct and in all the books,it's
even what the teach in tertiary educations when you're working towards
your certs.  it's not exactly what I've seen in the field. That's was
day in and day out repair EFTPOS terminals, mainboards of pokies and
other sundry products by a certain large supplier of EFTPOS equipment.
Even with the latest exercise equipment with all the bells & whistles
the biggest issues are failure of output drivers due to lack of
mechanical maintenance by owners.

Not that I'm advocating working with electronic equipment in a vinyl one
piece jump suit with balloons attached.

I'm not too sure of the certification status of the RPi for industrial
use. Where as there is a variant of the BBB that is.

On 17/3/20 5:44 pm, Rafael Skodlar wrote:

Hi Peter,

On 2020-03-15 20:19, Peter C. Wallace wrote:

On Sun, 15 Mar 2020, Rafael Skodlar wrote:


"... The outputs are push pull CMOS  that will drive to the output
supply rail of 3.3V. This is sufficient for TTL compatibility but
may cause problems with some types of loads.  For  example  when 
driving an  LED  that  has  its anode  connected  to  5V,  in  such
devices  as
 OPTO  isolators  and  I/O  module  rack  SSRs,    the  3.3V high
level  may  not completely  turn  the  LED  off"


You left off a bit of the manual text:

"To  avoid  this  problem, either  drive  loads  that  are ground
referred, Use 3.3V as the VCC for VCC referred loads, or use open
drain mode."

Peter Wallace
Mesa Electronics


I did see that but did not want to repeat too much here. It would be
nice to have a block diagram though. I prefer diagrams over long
descriptions. If nothing else, it's easier for international users to
see how to connect that board to PC, SBCs, or RPi, etc. than reading a
description in another language.

What I'm concerned about is that noise on power and some other lines
can be bigger than 3.3V which can result in totally unexpected side
effects.

Scratch your head on a dry hot day and you can generate more than 3V
of static electricity that can kill LVD chip if you touch it.

I would rather see a board that's designed for 5V and above. 6, 9, 12V
IO for driving relays, motor drivers, or other things. That would be
more robust than adding yet another board just to convert voltages
especially if IO pinouts are not standard.

Thanks for responding,




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


Re: [Emc-users] Open source CNC architecture

2020-03-16 Thread Rafael Skodlar

Hi Peter,

On 2020-03-15 20:19, Peter C. Wallace wrote:

On Sun, 15 Mar 2020, Rafael Skodlar wrote:


"... The outputs are push pull CMOS  that will drive to the output 
supply rail of 3.3V. This is sufficient for TTL compatibility but may 
cause problems with some types of loads.  For  example  when  driving 
an  LED  that  has  its  anode  connected  to  5V,  in  such devices  as
 OPTO  isolators  and  I/O  module  rack  SSRs,    the  3.3V  high 
level  may  not completely  turn  the  LED  off"


You left off a bit of the manual text:

"To  avoid  this  problem, either  drive  loads  that  are  ground
referred, Use 3.3V as the VCC for VCC referred loads, or use open
drain mode."

Peter Wallace
Mesa Electronics


I did see that but did not want to repeat too much here. It would be 
nice to have a block diagram though. I prefer diagrams over long 
descriptions. If nothing else, it's easier for international users to 
see how to connect that board to PC, SBCs, or RPi, etc. than reading a 
description in another language.


What I'm concerned about is that noise on power and some other lines can 
be bigger than 3.3V which can result in totally unexpected side effects.


Scratch your head on a dry hot day and you can generate more than 3V of 
static electricity that can kill LVD chip if you touch it.


I would rather see a board that's designed for 5V and above. 6, 9, 12V 
IO for driving relays, motor drivers, or other things. That would be 
more robust than adding yet another board just to convert voltages 
especially if IO pinouts are not standard.


Thanks for responding,

--
Rafael Skodlar


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


Re: [Emc-users] Open source CNC architecture

2020-03-16 Thread Robert Murphy
Bashrc could be a way, adjusting the path based on the kernel, a string could 
be added to the kernel command line and by parsing it through 
/proc/somethingicantrememberatm, it’s in the early am here, but I know it exists


Composed with my Crayons 

> On 17 Mar 2020, at 00:48, andy pugh  wrote:
> 
>> On Sun, 15 Mar 2020 at 23:32, Robert Murphy  wrote:
>> 
>> I have been thinking of a way to have one Livecd with RTAI & RT_PREEMPT
>> kernels and matching Linuxcnc editions.
> 
> Grub will let you choose kernels.
> 
> When configuring the linuxcnc build LinuxCNC you can choose the
> install destination. ./configure --prefix=~/linuxcnc-uspace or
> --prefix=~/linuxcnc-rtai
> I am not sure how you would automatically choose the right one based
> on kernel, but I bet there is a way.
> 
> -- 
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Open source CNC architecture

2020-03-16 Thread andy pugh
On Sun, 15 Mar 2020 at 23:32, Robert Murphy  wrote:

> I have been thinking of a way to have one Livecd with RTAI & RT_PREEMPT
> kernels and matching Linuxcnc editions.

Grub will let you choose kernels.

When configuring the linuxcnc build LinuxCNC you can choose the
install destination. ./configure --prefix=~/linuxcnc-uspace or
--prefix=~/linuxcnc-rtai
I am not sure how you would automatically choose the right one based
on kernel, but I bet there is a way.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


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


Re: [Emc-users] Open source CNC architecture

2020-03-16 Thread Gene Heskett
On Sunday 15 March 2020 23:19:17 Peter C. Wallace wrote:

> On Sun, 15 Mar 2020, Rafael Skodlar wrote:
> > "... The outputs are push pull CMOS  that will drive to the output
> > supply rail of 3.3V. This is sufficient for TTL compatibility but
> > may cause problems with some types of loads.  For  example  when 
> > driving an  LED  that  has  its  anode  connected  to  5V,  in  such
> > devices  as OPTO  isolators  and  I/O  module  rack  SSRs,the 
> > 3.3V  high level  may  not completely  turn  the  LED  off"
>
> You left off a bit of the manual text:
>
> "To  avoid  this  problem, either  drive  loads  that  are  ground
> referred, Use 3.3V as the VCC for VCC referred loads, or use open
> drain mode."
>
To further discuss/clarify this, while open drain seems ok in stepper 
systems. I am very reliably controlling big 40 amp ssr's with open drain 
outputs, to the - terminal, same for stepper drivers applying open drain 
to the -input of the stepper drivers while bussing a solid 5 volts to 
the + terminals. No 3.3 volts exists in the control stuff that isn't 
internal to the pi's. But I have a drawer full of that stuff, so a 
conversiion would be fairly easy. Using 3.3 volts and open drain would 
seem to be a belt and suspenders approach if its enough drive.

So, should I stick a buck supply set at 3.3 volts to drive the + rail to 
that stuff? Is that sufficient drive for a stepper driver such as a 
DM542 or its ilk?  Ditto the SSR's? And the + rail of the 7i42TA's, they 
are getting +4.87 volts for a logic high when the ATS667's are off. Ack 
their specs, they won't work at 3.3 volts. And it makes a certain amount 
of sense to restrict the 7i42TA + rail to 3.3 volts if it would help 
clip the noise etc.

Thanks Peter.

> Peter Wallace
> Mesa Electronics

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Open source CNC architecture

2020-03-16 Thread TJoseph Powderly
niggley bits,

"To  avoid  this  problem, either  drive  loads  that  are  ground
referred, Use 3.3V as the VCC for VCC referred loads, or use open
drain mode."

Please change that capital U to u,
Also, beef up the a || b ||  c   logic with 'or use'.

"To  avoid  this  problem, either  drive  loads  that  are  ground
referred, or use 3.3V as the VCC for VCC referred loads,\ or use open
drain mode."

U makes readers think previous char was a period.
A period would destroy the meaning. it becomes an unfinished thought.

I had to copy the line into a text editor, not believing what I thought I saw.

Npotebooks with tiny characters make . and , damn similar.

and good luck on the Chinese translation.
I'm glad to see international cooperation at this time in history.

tomp

On Mon, Mar 16, 2020 at 10:22 AM Peter C. Wallace  wrote:
>
> On Sun, 15 Mar 2020, Rafael Skodlar wrote:
> >
> > "... The outputs are push pull CMOS  that will drive to the output
> > supply rail of 3.3V. This is sufficient for TTL compatibility but may
> > cause problems with some types of loads.  For  example  when  driving
> > an  LED  that  has  its  anode  connected  to  5V,  in  such devices  as
> >  OPTO  isolators  and  I/O  module  rack  SSRs,the  3.3V  high
> > level  may  not completely  turn  the  LED  off"
>
> You left off a bit of the manual text:
>
> "To  avoid  this  problem, either  drive  loads  that  are  ground
> referred, Use 3.3V as the VCC for VCC referred loads, or use open
> drain mode."
>
> Peter Wallace
> Mesa Electronics
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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


Re: [Emc-users] Open source CNC architecture

2020-03-15 Thread Peter C. Wallace

On Sun, 15 Mar 2020, Rafael Skodlar wrote:


"... The outputs are push pull CMOS  that will drive to the output 
supply rail of 3.3V. This is sufficient for TTL compatibility but may 
cause problems with some types of loads.  For  example  when  driving 
an  LED  that  has  its  anode  connected  to  5V,  in  such devices  as
 OPTO  isolators  and  I/O  module  rack  SSRs,the  3.3V  high 
level  may  not completely  turn  the  LED  off"


You left off a bit of the manual text:

"To  avoid  this  problem, either  drive  loads  that  are  ground
referred, Use 3.3V as the VCC for VCC referred loads, or use open
drain mode."

Peter Wallace
Mesa Electronics



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


Re: [Emc-users] Open source CNC architecture

2020-03-15 Thread Bari

On 3/15/20 6:15 PM, Rafael Skodlar wrote:

Before coming back with another attack please read Embedded-computing 
or other professional publications that describe systems suitable for 
industrial or CNC use.


I think we have given you enough info for you to mastermind your own 
fork or project. Let us know how that goes.



We live in hard times; no sense of humor, no interests to make things 
better, no interest to learn,... 


Get out of the house more (with social distance), exercise and eat 
healthy foods. Find something that you like doing and do it. Read some 
books in the history section. Think for yourself. Let us know how that goes.





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


Re: [Emc-users] Open source CNC architecture

2020-03-15 Thread Robert Murphy

Hi Raff,

With Linuxcnc you have the ability to get the sources from git and build
a "Run In Place" setup, doesn't affect your main install and lets you
try out a new version.

I have been thinking of a way to have one Livecd with RTAI & RT_PREEMPT
kernels and matching Linuxcnc editions. A plugin overlay similar to
Salix or Puppy Linux is what I've been thinking of,

but would require creating boot scripts and I feel new user trying it
out may get confused. This is despite how much information is
given.Users tend to gloss over READMEs and instructions.

Luckily running Linuxcnc is not as complicated as a cloud service and
The Management from Above doesn't get involved. If you read the forums
you'd get an idea of some of the things.

Anyways Mate whilst we may not agree on some things there'll will be
some areas where we may.

On 16/3/20 10:15 am, Rafael Skodlar wrote:

On 2020-02-19 00:11, Robert Murphy wrote:


On 19/2/20 5:47 pm, Rafael Skodlar wrote:

. snip

examples of embedded system customization:
https://wiki.st.com/stm32mpu/wiki/OpenEmbedded
http://wiki.openmoko.org/wiki/OpenEmbedded

To naysayers; there's gold in those hills:
https://www.crunchbase.com/hub/hardware-companies#section-recent-activities


One more comment on application distribution. It's based on my
experience from few years ago where "cloud service" was designed on
Centos distribution. Programs, libraries, and configuration files were
packed as RPMs and installed as such. I proposed much simpler and more
flexible packaging, tar files as in Slackware. The advantage would be
in architecture where more than one version of service could be
installed in parallel without interfering with another one.

Active service would be a link 'from the top directory'. Switching
from one version to another one would be simple:
- service  stop,
- relink top directory,
- service  start.

What we were doing was order pizza, stop services, install RPMs on top
of old ones, start services. That process took about 3 hours on all
servers in the evenings when the network traffic was low across the
USA.

In some instances QA requested we roll back. Argghhh! Obviously, same
install process that lasted another 3 hours or so ... My proposed
architecture would be done in less than 15 minutes in my estimation.

Think about LinuxCNC and it's packages. Using Slackware method you
could try to use different version of LCNC to see if it's good for
your CNC setup. If the new version fails (breaks your tool?) you could
run "cnc-admin script" to roll back, i.e. relink the app to previous
version and start it.

/opt/linuxcnc-v2.6/bin  <- binaries or scripts
/opt/linuxcnc-v2.6/etc  <- config files
/opt/linuxcnc-v2.6/lib  <- libraries
/opt/linuxcnc-v2.6/man  <- manual pages
/opt/linuxcnc-v2.8/log  <- log files

/opt/linuxcnc-v2.7/bin
/opt/linuxcnc-v2.7/etc
/opt/linuxcnc-v2.7/lib
/opt/linuxcnc-v2.7/man
/opt/linuxcnc-v2.7/log

/opt/linuxcnc-v2.8/bin
/opt/linuxcnc-v2.8/etc
/opt/linuxcnc-v2.8/lib
/opt/linuxcnc-v2.8/man
/opt/linuxcnc-v2.8/log

Latest release would be:
/opt/linuxcnc -> link to /opt/linuxcnc-v2.8.
Your path to LinuxCNC binaries or scripts would always be
/opt/linuxcnc/bin etc.



Dunno why you are calling that the "Slackware Method" and I've been
running a 24/7 Slackware server for years. Never in all my years I have
seen that method used in Slackware or mentioned in the docs. Actually I

Really?
http://docs.slackware.com/slackware:package_management
" Slackware packages can be found with any of the following extensions:

    tbz - Slackware package archive compressed using bzip2
    tlz - Slackware package archive compressed using lzip
    tgz - Slackware package archive compressed using gzip
    txz - Slackware package archive compressed using xz

... Slackware does not automatically track dependencies and install
dependencies when you install a file"

What's simpler than that???


can't recall any official Slackware packages installing into /opt and
linking as you say. Have you used Slackware ?


Slackware is the first one I used in 1994. Before Ygdrasil, Redhat,
Mandrake, and Debian.

Don't take everything so literally. I was just giving an example for
files locations and a method to switch versions without major changes.
See above.

Ubuntu uses /srv a lot. Put LinuxCNC wherever you want, /cnc,
/usr/local/cnc for what I care. What I wanted to point out is the
simplicity in managing multiple versions of the same application or
service on the same system if tar was used rather than other packaging
system. Dependencies will always be an issue as it was pointed out in
other threads a lot recently.



Puppy Linux and Salix use a "Plug in" file system for apps. But usually
a squashfs file system that can be loaded on boot.

If you read the Linuxcnc docs you'd be aware of a Run In Place install.
Which is the recommended method before a full upgrade.

try this one:
emc2-dev/src/emc/motion/teleop-notes points to
http://jmkasunich.com/pics/emc2-motion-dataflow.

Re: [Emc-users] Open source CNC architecture

2020-03-15 Thread Rafael Skodlar

On 2020-02-19 00:11, Robert Murphy wrote:


On 19/2/20 5:47 pm, Rafael Skodlar wrote:

. snip

examples of embedded system customization:
https://wiki.st.com/stm32mpu/wiki/OpenEmbedded
http://wiki.openmoko.org/wiki/OpenEmbedded

To naysayers; there's gold in those hills:
https://www.crunchbase.com/hub/hardware-companies#section-recent-activities 



One more comment on application distribution. It's based on my
experience from few years ago where "cloud service" was designed on
Centos distribution. Programs, libraries, and configuration files were
packed as RPMs and installed as such. I proposed much simpler and more
flexible packaging, tar files as in Slackware. The advantage would be
in architecture where more than one version of service could be
installed in parallel without interfering with another one.

Active service would be a link 'from the top directory'. Switching
from one version to another one would be simple:
- service  stop,
- relink top directory,
- service  start.

What we were doing was order pizza, stop services, install RPMs on top
of old ones, start services. That process took about 3 hours on all
servers in the evenings when the network traffic was low across the USA.

In some instances QA requested we roll back. Argghhh! Obviously, same
install process that lasted another 3 hours or so ... My proposed
architecture would be done in less than 15 minutes in my estimation.

Think about LinuxCNC and it's packages. Using Slackware method you
could try to use different version of LCNC to see if it's good for
your CNC setup. If the new version fails (breaks your tool?) you could
run "cnc-admin script" to roll back, i.e. relink the app to previous
version and start it.

/opt/linuxcnc-v2.6/bin  <- binaries or scripts
/opt/linuxcnc-v2.6/etc  <- config files
/opt/linuxcnc-v2.6/lib  <- libraries
/opt/linuxcnc-v2.6/man  <- manual pages
/opt/linuxcnc-v2.8/log  <- log files

/opt/linuxcnc-v2.7/bin
/opt/linuxcnc-v2.7/etc
/opt/linuxcnc-v2.7/lib
/opt/linuxcnc-v2.7/man
/opt/linuxcnc-v2.7/log

/opt/linuxcnc-v2.8/bin
/opt/linuxcnc-v2.8/etc
/opt/linuxcnc-v2.8/lib
/opt/linuxcnc-v2.8/man
/opt/linuxcnc-v2.8/log

Latest release would be:
/opt/linuxcnc -> link to /opt/linuxcnc-v2.8.
Your path to LinuxCNC binaries or scripts would always be
/opt/linuxcnc/bin etc.



Dunno why you are calling that the "Slackware Method" and I've been
running a 24/7 Slackware server for years. Never in all my years I have
seen that method used in Slackware or mentioned in the docs. Actually I

Really?
http://docs.slackware.com/slackware:package_management
" Slackware packages can be found with any of the following extensions:

tbz - Slackware package archive compressed using bzip2
tlz - Slackware package archive compressed using lzip
tgz - Slackware package archive compressed using gzip
txz - Slackware package archive compressed using xz

... Slackware does not automatically track dependencies and install 
dependencies when you install a file"


What's simpler than that???


can't recall any official Slackware packages installing into /opt and
linking as you say. Have you used Slackware ?


Slackware is the first one I used in 1994. Before Ygdrasil, Redhat, 
Mandrake, and Debian.


Don't take everything so literally. I was just giving an example for 
files locations and a method to switch versions without major changes. 
See above.


Ubuntu uses /srv a lot. Put LinuxCNC wherever you want, /cnc, 
/usr/local/cnc for what I care. What I wanted to point out is the 
simplicity in managing multiple versions of the same application or 
service on the same system if tar was used rather than other packaging 
system. Dependencies will always be an issue as it was pointed out in 
other threads a lot recently.




Puppy Linux and Salix use a "Plug in" file system for apps. But usually
a squashfs file system that can be loaded on boot.

If you read the Linuxcnc docs you'd be aware of a Run In Place install.
Which is the recommended method before a full upgrade.

try this one:
emc2-dev/src/emc/motion/teleop-notes points to
http://jmkasunich.com/pics/emc2-motion-dataflow.pdf show me that file.



I'm beginning to think you don't know too much about Linuxcnc and are
trying a push it something that suits your needs or business model.


Keep thinking. I can't read. I'm glad to see you know _everything_ and 
how things should be. I observe trends in the industry and point them 
out to PC parallel port zealots that suggest using motherboard with 
multicore GHz CPUs, and EPP PCI adapter to push 8 bits at a time. So far 
I haven't pushed any business model.




Why not do your own crowd funding, fork Linuxcnc and pay for someone to
break it up and rearrange it to suit your needs.


That's because I don't have your permission to fork from PPC or as much 
money as you do.


Why did I decide to resurrect this thread? My first response did not go 
through a few weeks ago, and because RaspberryPi came up again recently. 
Mixing 3.3V devi

Re: [Emc-users] Open source CNC architecture

2020-02-19 Thread N
> ...
> >> I guess what I am suggesting is that it's time for LinuxCNC to be 
> >> broken apart and a standardized interface for Ethernet control be 
> >> developed.  Once that could talk to dumb FPGA devices like the 7i92H 
> >> or to full blown standalone CNC controllers that can act as simple 
> >> DRO/Power Feed or even simple G-Code like the 3D printers.  Or be 
> >> connected to the much more powerful LinuxCNC to add, in addition to 
> >> G-Code the fancy tool changing apparatus along with robotic cells that 
> >> load and unload the parts.
> > 
> > You are completely missing the point. You don't need to 'break apart' 
> > LinuxCNC. It is designed from the ground up to be modular.

Yes as is now there is NML between the parts.

> 'break apart' is architectural change just like it happened to so many 
> GNU-Linux services or programs. Robotics is one of the closest functions 
> to CNC. Some robots depend on RT kernel but do not have or need GUI on 
> top of it.

Have some robots and thought maybe Linuxcnc could be used for these. Then one 
of these small boards would be nice if running without a GUI but for 
programming connect via TCP/IP which in practice almost certainly will be 
Ethernet or maybe WiFi from an ordinary computer with a GUI I would guess is 
the choice.


Regards Nicklas Karlsson


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


Re: [Emc-users] Open source CNC architecture

2020-02-19 Thread N
> > Go for it. If you design the board the LinuxCNC developers would be very
> > willing to help you integrate it with LinuxCNC. Of course you'll have to
> > be able to produce it at a price that makes it attractive to buyers.
> >
> 
> No.  do not produce yet another board.   You want to use an existing one.
> There are so many in the under $20 range and even under $5.

Tried to provide the best help I had time for to someone yesterday working with 
NML. You could start there, once it is split so that it works over the network 
it should possible to put on one of these readily available cards. Tried to 
split once and think old TK worked but not new axis. Agree, use an existing 
board.

You have looked at how the different parts in Linuxcnc communicate?


> Any STM32 based development board can connect to a Linux PC using USB, SPI
> I2C or whatever then the board will have a dozen or two or more pins.  It
> will also have some useful hardware for making pulses and such.

They are really good and might work as is. Also use a lot less space than an 
old PC/laptop and are most probably also cheaper though in a lot of cases space 
for a computer is not an issue.


Regards Nicklas Karlsson


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


Re: [Emc-users] Open source CNC architecture --> printer driver postscript <-> g-code

2020-02-19 Thread N
> On Sat, 15 Feb 2020, 19:41 N,  wrote:
> 
> > Printers talk postscript while CNC machines talk g-code, well not always
> > but quite often.
> >
> 
> And just as some folk hand-write G-code, I know a chap who habitually
> creates graphics in raw postscript.

Metoo almost, sometimes use LaTeX for documents then they have measurement data 
so that I do not have to add this manually. For G-code I thought the CAM module 
in the CAD was the choice unless maybe if it is something simple.


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


Re: [Emc-users] Open source CNC architecture --> printer driver postscript <-> g-code

2020-02-19 Thread dave engvall
postscript isn't a bad language for 2D. ... and yes years ago I did 
exactly that.


Dave

On 2/19/20 7:52 AM, andy pugh wrote:

On Sat, 15 Feb 2020, 19:41 N,  wrote:


Printers talk postscript while CNC machines talk g-code, well not always
but quite often.


And just as some folk hand-write G-code, I know a chap who habitually
creates graphics in raw postscript.

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



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


Re: [Emc-users] Open source CNC architecture --> printer driver postscript <-> g-code

2020-02-19 Thread andy pugh
On Sat, 15 Feb 2020, 19:41 N,  wrote:

> Printers talk postscript while CNC machines talk g-code, well not always
> but quite often.
>

And just as some folk hand-write G-code, I know a chap who habitually
creates graphics in raw postscript.

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


Re: [Emc-users] Open source CNC architecture

2020-02-19 Thread Les Newell




No.  do not produce yet another board.   You want to use an existing one.
There are so many in the under $20 range and even under $5.


John was talking about a controller with a dedicated keypad and LCD as 
well as the buffering components you need for a breakout board. 
Basically a souped up ELS that can optionally talk to LinuxCNC. Nothing 
currently on the market has that. If you are going to that amount of 
work, having the CPU on board make sense. If you just need a brain in a 
box then I agree with you. Go with one of the really common boards such 
as Arduino.


Les



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


Re: [Emc-users] Open source CNC architecture

2020-02-19 Thread Chris Albertson
On Mon, Feb 17, 2020 at 4:51 AM Les Newell 
wrote:

>
> Go for it. If you design the board the LinuxCNC developers would be very
> willing to help you integrate it with LinuxCNC. Of course you'll have to
> be able to produce it at a price that makes it attractive to buyers.
>

No.  do not produce yet another board.   You want to use an existing one.
There are so many in the under $20 range and even under $5.

Any STM32 based development board can connect to a Linux PC using USB, SPI
I2C or whatever then the board will have a dozen or two or more pins.  It
will also have some useful hardware for making pulses and such.

Don't make a board "adopt" one.

Here is a compromise 1/2 way approach I made for controlling a LIDAR from a
Linux PC.The design "adopts" a $3 STM board (it is blue in the drawing)
and there is a green PCB I made to conectorize it so the wiring is neat.
   Making these green boards is easy.For a CNC you would put connectors
on for the motors, encoders, limit switchesand power supply and do all the
interconnect on the PCB avoiding the typical rat's nest.The PCB cost
more to ship then to manufacture.

So at most made one of these green boards with just small passive parts and
connectors on it.   It takes just hours and it low risk then you "plug-in"
a STM32 based development board that acts as the brain.
https://github.com/chrisalbertson/NeatoLidarInterfacePCB
-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Open source CNC architecture

2020-02-19 Thread Robert Murphy


On 19/2/20 5:47 pm, Rafael Skodlar wrote:

On 2020-02-17 04:49, Les Newell wrote:



  One issue jumps to mind that is different.  The tiny shop I have
doesn't have room for a Keyboard, Mouse and Display by the lathe.  I
currently have a nice work triangle set up for the lathe toolbench
and tool cabinet.  It would require a lot of work to change that at
a cost of space lost somewhere else.


Monitor on the wall behind the lathe? Support arm bolted to the wall
for the keyboard? If you wanted these things you'd make room. As you
don't want them you won't make the room. I'm not saying that's a bad
thing. We just have different requirements.



And that's really, from my perspective all I am talking about.   If
have to add an external intelligence of some sort to do faster
stepping or PWM then the sky's the limit on what is added because
that 3GHz 1GB PC isn't fast enough to do what can be done with a
small 32 bit ARM if the dedicated $250 CNC boxes from China are to
be believed.


Go for it. If you design the board the LinuxCNC developers would be
very willing to help you integrate it with LinuxCNC. Of course you'll
have to be able to produce it at a price that makes it attractive to
buyers.


This is not "start from scratch" situation! We don't live in a vacuum!
SBCs are popping up all over the place:
http://linuxgizmos.com/category/boards/

One sysadmin motto I learned long time ago: "Be a lazy sysadmin. Do
whatever it takes to simplify or minimize your tasks. Just don't tell
to your boss or you'll get even more work to do" ;-)



If you can do it for the right price and if it has the I/O capability
I need I'll buy one for my next machine. The display stuff is of no
interest to me but keypads are always handy. I use modbus for my
keypads at the moment.


First thing to look for is what others are doing using with embedded
systems. Most COTS manufacturers support their products for 5 or even
10 years. And there are alternative HW sources. That should be good
for CNC also.


I guess what I am suggesting is that it's time for LinuxCNC to be
broken apart and a standardized interface for Ethernet control be
developed.  Once that could talk to dumb FPGA devices like the 7i92H
or to full blown standalone CNC controllers that can act as simple
DRO/Power Feed or even simple G-Code like the 3D printers.  Or be
connected to the much more powerful LinuxCNC to add, in addition to
G-Code the fancy tool changing apparatus along with robotic cells
that load and unload the parts.


You are completely missing the point. You don't need to 'break apart'
LinuxCNC. It is designed from the ground up to be modular. The


'break apart' is architectural change just like it happened to so many
GNU-Linux services or programs. Robotics is one of the closest
functions to CNC. Some robots depend on RT kernel but do not have or
need GUI on top of it.

Medical robotics is the most critical example of a device that needs
to work as planned and programmed. What do they use to write programs
or configure the OS? According to one job posting, INTUITIVE SURGICAL
uses something like:
https://www.openembedded.org/wiki/Main_Page
https://www.yoctoproject.org/

Yocto Project works on any architecture. "...You are not locked down
to any one supplier as Yocto Project is both open source and supports
many architectures" except freaky old parallel port!

"...More and more, these types of devices are prototyped (and
sometimes implemented) with easily available consumer hardware devices
such as the Raspberry Pi or the BeagleBone, or MinnowBoard"


trajectory planner is just another module. Want to run an external
box with it's own TP and I/O? No problem. Write a module to replace
it that talks to your TP and you're off to the races. If you have the
knowledge to write your own 6 axis TP on an external board, writing
the HAL module to talk to it will be a piece of cake.

Les


examples of embedded system customization:
https://wiki.st.com/stm32mpu/wiki/OpenEmbedded
http://wiki.openmoko.org/wiki/OpenEmbedded

To naysayers; there's gold in those hills:
https://www.crunchbase.com/hub/hardware-companies#section-recent-activities

One more comment on application distribution. It's based on my
experience from few years ago where "cloud service" was designed on
Centos distribution. Programs, libraries, and configuration files were
packed as RPMs and installed as such. I proposed much simpler and more
flexible packaging, tar files as in Slackware. The advantage would be
in architecture where more than one version of service could be
installed in parallel without interfering with another one.

Active service would be a link 'from the top directory'. Switching
from one version to another one would be simple:
- service  stop,
- relink top directory,
- service  start.

What we were doing was order pizza, stop services, install RPMs on top
of old ones, start services. That process took about 3 hours on all
servers in the evenings when the network traffic was low acros

Re: [Emc-users] Open source CNC architecture

2020-02-18 Thread Rafael Skodlar

On 2020-02-17 04:49, Les Newell wrote:


  One issue jumps to mind that is different.  The tiny shop I have 
doesn't have room for a Keyboard, Mouse and Display by the lathe.  I 
currently have a nice work triangle set up for the lathe toolbench and 
tool cabinet.  It would require a lot of work to change that at a cost 
of space lost somewhere else.


Monitor on the wall behind the lathe? Support arm bolted to the wall for 
the keyboard? If you wanted these things you'd make room. As you don't 
want them you won't make the room. I'm not saying that's a bad thing. We 
just have different requirements.



And that's really, from my perspective all I am talking about.   If 
have to add an external intelligence of some sort to do faster 
stepping or PWM then the sky's the limit on what is added because that 
3GHz 1GB PC isn't fast enough to do what can be done with a small 32 
bit ARM if the dedicated $250 CNC boxes from China are to be believed.


Go for it. If you design the board the LinuxCNC developers would be very 
willing to help you integrate it with LinuxCNC. Of course you'll have to 
be able to produce it at a price that makes it attractive to buyers.


This is not "start from scratch" situation! We don't live in a vacuum! 
SBCs are popping up all over the place:

http://linuxgizmos.com/category/boards/

One sysadmin motto I learned long time ago: "Be a lazy sysadmin. Do 
whatever it takes to simplify or minimize your tasks. Just don't tell to 
your boss or you'll get even more work to do" ;-)




If you can do it for the right price and if it has the I/O capability I 
need I'll buy one for my next machine. The display stuff is of no 
interest to me but keypads are always handy. I use modbus for my keypads 
at the moment.


First thing to look for is what others are doing using with embedded 
systems. Most COTS manufacturers support their products for 5 or even 10 
years. And there are alternative HW sources. That should be good for CNC 
also.


I guess what I am suggesting is that it's time for LinuxCNC to be 
broken apart and a standardized interface for Ethernet control be 
developed.  Once that could talk to dumb FPGA devices like the 7i92H 
or to full blown standalone CNC controllers that can act as simple 
DRO/Power Feed or even simple G-Code like the 3D printers.  Or be 
connected to the much more powerful LinuxCNC to add, in addition to 
G-Code the fancy tool changing apparatus along with robotic cells that 
load and unload the parts.


You are completely missing the point. You don't need to 'break apart' 
LinuxCNC. It is designed from the ground up to be modular. The 


'break apart' is architectural change just like it happened to so many 
GNU-Linux services or programs. Robotics is one of the closest functions 
to CNC. Some robots depend on RT kernel but do not have or need GUI on 
top of it.


Medical robotics is the most critical example of a device that needs to 
work as planned and programmed. What do they use to write programs or 
configure the OS? According to one job posting, INTUITIVE SURGICAL uses 
something like:

https://www.openembedded.org/wiki/Main_Page
https://www.yoctoproject.org/

Yocto Project works on any architecture. "...You are not locked down to 
any one supplier as Yocto Project is both open source and supports many 
architectures" except freaky old parallel port!


"...More and more, these types of devices are prototyped (and sometimes 
implemented) with easily available consumer hardware devices such as the 
Raspberry Pi or the BeagleBone, or MinnowBoard"


trajectory planner is just another module. Want to run an external box 
with it's own TP and I/O? No problem. Write a module to replace it that 
talks to your TP and you're off to the races. If you have the knowledge 
to write your own 6 axis TP on an external board, writing the HAL module 
to talk to it will be a piece of cake.


Les


examples of embedded system customization:
https://wiki.st.com/stm32mpu/wiki/OpenEmbedded
http://wiki.openmoko.org/wiki/OpenEmbedded

To naysayers; there's gold in those hills: 
https://www.crunchbase.com/hub/hardware-companies#section-recent-activities


One more comment on application distribution. It's based on my 
experience from few years ago where "cloud service" was designed on 
Centos distribution. Programs, libraries, and configuration files were 
packed as RPMs and installed as such. I proposed much simpler and more 
flexible packaging, tar files as in Slackware. The advantage would be in 
architecture where more than one version of service could be installed 
in parallel without interfering with another one.


Active service would be a link 'from the top directory'. Switching from 
one version to another one would be simple:

- service  stop,
- relink top directory,
- service  start.

What we were doing was order pizza, stop services, install RPMs on top 
of old ones, start services. That process took about 3 hours on all 
servers in the evenings when the network tr

Re: [Emc-users] Open source CNC architecture - open source complexity OT, more off it

2020-02-17 Thread N
> Some colleges and universities offer many online courses for free or very low 
> cost. The online course materials are identical to what's used in the classes 
> at the schools, and lectures are either recorded from actual classes or are 
> the same material the professors present to a class. For some of them the 
> professors will answer questions e-mailed to them.

It is common course page are publically available on Internet with a list of 
litterature used. Lectures recorded from actual classes are probably a very 
good for economical reasons, it is one way communication anyway so money or 
time of professor could be better spent answering questions for example via 
E-mail. Classes are more useful as you could discuss with others, help each 
other and ask questions to the teacher provided teacher do not speak to much of 
the time.

> What you don't get is a diploma or a degree. For the free or low cost you get 
> a "Certificate of Completion". If you want a degree or diploma then that 
> costs more and there are specific sets of classes one has to take, but it's 
> still far less costly than attending the classes in person.

Have taken courses more less by studying for myself and attend the written 
exam. In my last exam they had been able to span the course very well in just a 
few questions, I passed but did not get good grade, this is partly because I 
had other priorities work full time, fix a few things at my home, spent quite 
much time on night clubs as I live alone.

A written exam you have to take in person, sometimes there is a given task you 
have to do in group and I guess this might be harder to check as some members 
could get away with very little effort spent on it.

>MIT was one of the first to do this, and still does. 
> https://ocw.mit.edu/index.htm

Think they had or have some kind of cooperation with University there I studied.


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


Re: [Emc-users] Open source CNC architecture

2020-02-17 Thread Les Newell




  One issue jumps to mind that is different.  The tiny shop I have doesn't have 
room for a Keyboard, Mouse and Display by the lathe.  I currently have a nice 
work triangle set up for the lathe toolbench and tool cabinet.  It would 
require a lot of work to change that at a cost of space lost somewhere else.


Monitor on the wall behind the lathe? Support arm bolted to the wall for 
the keyboard? If you wanted these things you'd make room. As you don't 
want them you won't make the room. I'm not saying that's a bad thing. We 
just have different requirements.




And that's really, from my perspective all I am talking about.   If have to add 
an external intelligence of some sort to do faster stepping or PWM then the 
sky's the limit on what is added because that 3GHz 1GB PC isn't fast enough to 
do what can be done with a small 32 bit ARM if the dedicated $250 CNC boxes 
from China are to be believed.


Go for it. If you design the board the LinuxCNC developers would be very 
willing to help you integrate it with LinuxCNC. Of course you'll have to 
be able to produce it at a price that makes it attractive to buyers.


If you can do it for the right price and if it has the I/O capability I 
need I'll buy one for my next machine. The display stuff is of no 
interest to me but keypads are always handy. I use modbus for my keypads 
at the moment.



I guess what I am suggesting is that it's time for LinuxCNC to be broken apart 
and a standardized interface for Ethernet control be developed.  Once that 
could talk to dumb FPGA devices like the 7i92H or to full blown standalone CNC 
controllers that can act as simple DRO/Power Feed or even simple G-Code like 
the 3D printers.  Or be connected to the much more powerful LinuxCNC to add, in 
addition to G-Code the fancy tool changing apparatus along with robotic cells 
that load and unload the parts.


You are completely missing the point. You don't need to 'break apart' 
LinuxCNC. It is designed from the ground up to be modular. The 
trajectory planner is just another module. Want to run an external box 
with it's own TP and I/O? No problem. Write a module to replace it that 
talks to your TP and you're off to the races. If you have the knowledge 
to write your own 6 axis TP on an external board, writing the HAL module 
to talk to it will be a piece of cake.


Les


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


Re: [Emc-users] Open source CNC architecture - open source complexity OT, more off it

2020-02-16 Thread Gregg Eshelman via Emc-users
Some colleges and universities offer many online courses for free or very low 
cost. The online course materials are identical to what's used in the classes 
at the schools, and lectures are either recorded from actual classes or are the 
same material the professors present to a class. For some of them the 
professors will answer questions e-mailed to them.

What you don't get is a diploma or a degree. For the free or low cost you get a 
"Certificate of Completion". If you want a degree or diploma then that costs 
more and there are specific sets of classes one has to take, but it's still far 
less costly than attending the classes in person. 

   MIT was one of the first to do this, and still does. 
https://ocw.mit.edu/index.htm 

On Sunday, February 16, 2020, 11:23:53 AM MST, N  
wrote:  
 > > There are plenty and quite many scientific articles available for free on 
 > > Internet. Universities at least have some check, quite often a written 
 > > Exam before course could be passed, a little hard to check what kind of 
 > > books/articles someone have read and even more so what they might have 
 > > learned.
> 
> There is a difference between knowing something and passing exams. Who 
> would you trust more? Someone who is self taught and has recent 
> experience or someone who passed the exam 10 years ago and has never 
> touched the subject since?

Depends if they have read the necessary literature, even a welder or carpenter 
need to read some literature (read a little bit about welding), if they still 
have books they might learn fast again. In Sweden I think it is possible to get 
into university using proven knowledge/competence but it seldom or never happen.

> If you need proof of someone's competence then test results are indeed a 
> reasonable indicator, as long as those results are relatively recent. In 
> that case there is nothing stopping the self taught person from taking 
> the tests. Anyone who passes the test has the required knowledge to pass 
> the test, no matter how they learned it. Of course you are relying on 
> the test asking the right questions.

If you learned once it will be must faster next time. Used Java in programming 
course at University, read books about C/C++ and used it professionally then 
needed for 10 years, many of the concepts are similar but I had not been able 
to learn without reading the books.

> > Met this attitude then working, "it will all be fine if we just get the 
> > project".
> 
> No, that's just putting your head in the sand and hoping for the best.

Major problem is ass sticking out in comfortable height.  
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Open source CNC architecture

2020-02-16 Thread John Dammeyer
That little mill is such a sweet example of what you can do to use a variety of 
parts to make up a CNC controlled mill.
John


> -Original Message-
> From: Jon Elson [mailto:el...@pico-systems.com]
> Sent: February-16-20 9:30 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Open source CNC architecture
> 
> On 02/15/2020 08:04 PM, Phill Carter wrote:
> >> I understand that if you are using a +/-10V with encoder feedback directly
> back into LinuxCNC that this concept would not work for you.  But since you
> say you need LinuxCNC can you tell us what you do have?
> >>
> >> How is your LinuxCNC connected to your milling machine lead (ball?)
> screws and spindle motor?
> >>
> Well, in my case, I have a portable machine for demos at
> shows and such, that uses my PWM controller and PWM servo amps.
> See http://pico-systems.com/minimill.html  for some old
> pictures of this machine.
> 
> And, for real machining, I have an ancient Bridgeport
> (1938-41 vintage) converted to CNC with ballscrews and DC
> motors.
> http://pico-systems.com/bridgeport.html
> This uses my PPMC board set for analog servo amp control,
> and my own analog velocity servo amps.  I started using this
> in 1996 with an ancient Allen-Bradley CNC control, then
> moved to the original EMC in 1997 with a Servo to Go card.
> In about 2005 I started using my own PPMC motion control
> interface, but otherwise the same servo amps and encoders.
> Since then, I have added rigid tapping and a Blum touch probe.
> 
> Jon
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Open source CNC architecture - open source complexity OT, more off it

2020-02-16 Thread N
> > There are plenty and quite many scientific articles available for free on 
> > Internet. Universities at least have some check, quite often a written Exam 
> > before course could be passed, a little hard to check what kind of 
> > books/articles someone have read and even more so what they might have 
> > learned.
> 
> There is a difference between knowing something and passing exams. Who 
> would you trust more? Someone who is self taught and has recent 
> experience or someone who passed the exam 10 years ago and has never 
> touched the subject since?

Depends if they have read the necessary literature, even a welder or carpenter 
need to read some literature (read a little bit about welding), if they still 
have books they might learn fast again. In Sweden I think it is possible to get 
into university using proven knowledge/competence but it seldom or never happen.

> If you need proof of someone's competence then test results are indeed a 
> reasonable indicator, as long as those results are relatively recent. In 
> that case there is nothing stopping the self taught person from taking 
> the tests. Anyone who passes the test has the required knowledge to pass 
> the test, no matter how they learned it. Of course you are relying on 
> the test asking the right questions.

If you learned once it will be must faster next time. Used Java in programming 
course at University, read books about C/C++ and used it professionally then 
needed for 10 years, many of the concepts are similar but I had not been able 
to learn without reading the books.

> > Met this attitude then working, "it will all be fine if we just get the 
> > project".
> 
> No, that's just putting your head in the sand and hoping for the best.

Major problem is ass sticking out in comfortable height.


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


Re: [Emc-users] Open source CNC architecture

2020-02-16 Thread Jon Elson

On 02/15/2020 08:04 PM, Phill Carter wrote:

I understand that if you are using a +/-10V with encoder feedback directly back 
into LinuxCNC that this concept would not work for you.  But since you say you 
need LinuxCNC can you tell us what you do have?

How is your LinuxCNC connected to your milling machine lead (ball?) screws and 
spindle motor?

Well, in my case, I have a portable machine for demos at 
shows and such, that uses my PWM controller and PWM servo amps.
See http://pico-systems.com/minimill.html  for some old 
pictures of this machine.


And, for real machining, I have an ancient Bridgeport 
(1938-41 vintage) converted to CNC with ballscrews and DC 
motors.

http://pico-systems.com/bridgeport.html
This uses my PPMC board set for analog servo amp control, 
and my own analog velocity servo amps.  I started using this
in 1996 with an ancient Allen-Bradley CNC control, then 
moved to the original EMC in 1997 with a Servo to Go card.  
In about 2005 I started using my own PPMC motion control 
interface, but otherwise the same servo amps and encoders.

Since then, I have added rigid tapping and a Blum touch probe.

Jon


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


Re: [Emc-users] Open source CNC architecture - open source complexity OT, more off it

2020-02-16 Thread Les Newell




There are plenty and quite many scientific articles available for free on 
Internet. Universities at least have some check, quite often a written Exam 
before course could be passed, a little hard to check what kind of 
books/articles someone have read and even more so what they might have learned.


There is a difference between knowing something and passing exams. Who 
would you trust more? Someone who is self taught and has recent 
experience or someone who passed the exam 10 years ago and has never 
touched the subject since?


If you need proof of someone's competence then test results are indeed a 
reasonable indicator, as long as those results are relatively recent. In 
that case there is nothing stopping the self taught person from taking 
the tests. Anyone who passes the test has the required knowledge to pass 
the test, no matter how they learned it. Of course you are relying on 
the test asking the right questions.




Met this attitude then working, "it will all be fine if we just get the 
project".


No, that's just putting your head in the sand and hoping for the best.



  Quite often try even though I do not think I can do it or good enough.


The point is that you try, and in many cases probably succeed. Too many 
people don't try.




It must help to know something about the connection between the stick and the 
rudders.


For the passengers? Not really. It's a big metal tube that flies. That's 
all they need to know.



For motion control using an electric motor it is really good to know the 
equation of a DC motor. It's not that complex get thing moving but to make it 
perfect is and require knowledge in mechanics, electronics, mathematics and to 
some degree software.


True if you are building the machine. If you are the operator you don't 
even have to know what a servo is, let alone the theory of how it works. 
The required level of knowledge depends on what you want to do. As with 
any subject, the harder you look the more there is to know.


Les



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


Re: [Emc-users] Open source CNC architecture

2020-02-16 Thread Les Newell




I do know I switch on the lathe.  I chuck in the piece I'm turning and move to 
the point where I manually turn in the cross slide since I don't have an X 
motor set up on the South Bend yet.


For me that would be turn on the machine the go get the piece I want to 
turn. By the time I get back I can hit 'home all'. Chuck in the piece 
and manually move to the face using the electronic handwheels. Assuming 
you walked into the shop with the workpiece in your hand you're slightly 
ahead here.



So say I face off the piece.  I then set zero.  MACH and LinuxCNC have a button 
for that.


Evenly matched here, assuming your ELS is in the correct menu to zero. 
To keep our descriptions similar I'll assume I manually faced off using 
the hand wheels (which is what I would normally do).


You don't mention selecting your spindle speed. Depending on your 
machine you're either operating levers or moving a belt. For me F5 to 
enter MDI mode, S1500. Takes about the same time it would take to 
look up what gear change lever positions you need for your desired 
speed. Now press the spindle on button. Spindle on is a physical button 
on the carriage so it's just like having a spindle on lever on a manual.




Move to the right a bit with a jog button and tap the BEGIN button.  ENTER and 
then TURN again.  Tap the END button and key in a negative distance towards the 
chuck which is the distance from the freshly cut face.  ENTER, TURN buttons.  
Dial the X handle to roughly where I want my first pass and START.
Now the display tells me to insert the tool into the work since it knows I 
don't have an X motor.  ENTER to confirm and away it goes.  When it stops, it 
tells me to retract the tool.  I do that and press START.


Move to the start position with the hand wheels. I'm already in MDI mode 
from setting the spindle speed so type: G1Z-50F100. While it's 
cutting type: G0Z1 I didn't bother retracting 'cos this is only a 
roughing cut. I could also have spun the Z handwheel to return to the 
start of the cut instead of the G0 move.



At this point I'd stop the spindle and measure.

Ditto.

Figure out total depth of cut to get to my target diameter.
Zero the X scale on the handle.  Dial in depth of cut and press START.


Switch to manual mode and enter the measured diameter. This involves 
using the mouse so it's a bit slower than manually zeroing the handle. 
However the machine now does the math for me. I never was that great at 
mental arithmetic. G0X15. Hit the spindle on button, up arrow 
3 times to recall my previous Z cut and hit enter. Rinse and repeat.


Assuming both systems are used by operators who have roughly equivalent 
experience the overall job time with CNC should be slightly less but for 
a very simple job like this the time not enough to make any practical 
difference. My point is that with CNC you can do the simple stuff easily 
while also being able do stuff that would be extremely difficult or even 
pretty much impossible by hand.



Now if this fancy Break Out Board c/w display and buttons cost around $200 and 
had an Ethernet connection that accepted messages as if it were a clone of a 
$200+ MESA Break Out Board what is the difference?


None at all, apart from the fact that the Mesa hardware exists and this 
fancy breakout board doesn't. If it had all of the versatility of the 
Mesa system and cost less I'd probably use it myself, as long as I can 
remap those buttons do do whatever I want and I can lose the poky little 
lcd display in favor of a decent sized monitor.



 And if this fancy Break Out Board had a few extra buttons like my 
Shumatech DRO has for finding center of a hole or edge or doing bolt circles.  
Or may a few other operations that MACH3/4 call wizards, all from that front 
panel


And you're going to access these functions though a little LCD? You are 
headed into menu hell. At this level of sophistication you are so close 
to having a full CNC that you might as well go full CNC with all of it's 
associated advantages.




If you are repairing something that you clamp in the vise and doesn't start off 
as a block of aluminium, the manual or power assisted manual method might be 
more useful.


On my mill roughly 50% of what I do falls into this scenario. That is 
why I use CNC machines with electronic handwheels and an easy to use MDI 
box. I now have the best of both worlds.


Les




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


Re: [Emc-users] Open source CNC architecture - open source complexity OT, more off it

2020-02-16 Thread Nicklas Karlsson
> > If it were true then Universities and schools wouldn't exist. After all 
> > everything taught in school is a "Google search away".
> 
> There are a lot of extremely knowledgeable people out there with little 
> formal education.

Had a cheap farmer as project leader at my workplace, that's the only thing I 
know about him though I guess hopefully someone checked he had some kind of 
formal education.

> Universities and schools  are not the only way to 
> learn. They make learning easier because they present the information in 
> a carefully organized way.

There are plenty and quite many scientific articles available for free on 
Internet. Universities at least have some check, quite often a written Exam 
before course could be passed, a little hard to check what kind of 
books/articles someone have read and even more so what they might have learned.

> It's all about attitude. If you attack a problem with the 'I can do 
> this' attitude you probably can. Will you make mistakes? Of course. Will 
> you always succeed? Probably not. Will it be hard work? Yes. However if 
> you start off thinking this is too hard you are pretty much guaranteed 
> to fail. Unfortunately fewer and fewer people these days are willing to try.

Met this attitude then working, "it will all be fine if we just get the 
project". Quite often try even though I do not think I can do it or good enough.

> So is a 747. You don't have to know what hydraulic system 2 in a 747 
> does to fly in one, though if you are interested a quick search will get 
> you a diagram that shows you.

It must help to know something about the connection between the stick and the 
rudders.

> Motion control is complicated. Making a very versatile extensible motion 
> control system is even more so. If you want LinuxCNC's versatility you 
> have to accept it is going to be complex. Unless you are doing pretty 
> sophisticated stuff you don't need to know how it works internally. If 
> you do need to work on it you just concentrate on the area you need to 
> work on.

For motion control using an electric motor it is really good to know the 
equation of a DC motor. It's not that complex get thing moving but to make it 
perfect is and require knowledge in mechanics, electronics, mathematics and to 
some degree software.


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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Bari

On 2/15/20 12:20 PM, Rafael Skodlar wrote:

And you? You think that doing things the same old way is better? Steam 
engine driving machines with pulley transmission in your work shop?


When I was little, we had to pull the weeds by bare hands on a small 
farm. Our family would prefer doing it this way:

https://agerris.com/
https://farmwise.io/
https://www.deepfield-robotics.com/en/

Only people who think differently in a positive way make a positive 
difference. Have you heard about little automobile company Tesla that 
happens to be a bike ride from my home?


Some people can see down the road and can tell if a new or different 
idea will improve things or just be different with no improvement and 
some can not.


New or different does not automatically make it better.




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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Phill Carter



> On 16 Feb 2020, at 2:08 pm, John Dammeyer  wrote:
> 
> 
 
 It is for a plasma cutter configuration, stepper motors for the axes and
 LinuxCNC doing the torch height control.
 
>>> Totally get that.  Wouldn't want a tool like I'm proposing on a 3D printer
>> either.
>>> John
>> 
>> This is just one instance where LinuxCNC with it's flexibility really shines.
>> 
> Recall I've never said anything about getting rid of LinuxCNC as a trajectory 
> planner nor user interface with tool path display etc. 
> 
> But isn't a plasma cutter a lot like a 3D printer?  Especially one that uses 
> a touch probe to map the surface and tweaks the Z axis so the plastic ends up 
> flat.  I use OctoPi to interface to mine.  But that's only as something that 
> pulls serial data from the USB port and repackages it as a web page on my 
> laptop in another room.
No, the torch voltage is read every servo period then if the voltage is outside 
the defined voltage then the Z axis is adjusted until the torch voltage is back 
to the target voltage

> 
> And when it comes to 3D printing where's the push to replace all those 
> Arduino's and Pi interfaces with a PC and a full keyboard, mouse and screen?  
> After all wouldn't they work so much better if they were running LinuxCNC?
I don't recall anyone saying that LinuxCNC would be "better" at running a 3D 
printer than anything else. I used to use Octopi for my 3D printer but now I 
use DuetWiFi. I still communicate with the DuetWiFi from a PC and a full 
keyboard, mouse and screen

> 
> So although in the case of the lights out behaviour of my 3D printer I could 
> (and have) put the laptop right beside the printer and used OctoPi to do 
> other setup or control stuff.  But for the most part I'm not near it.  The 
> camera on the Pi2 provides the feedback I need.  And I'm not suggesting this 
> for a milling machine or a lathe.
I wouldn't leave a 3D print going without me being in the same room, that is 
just a personal preference. I am paranoid about a runaway heater...
>  
> 
> But my point is I use the stupid little 5 button array to navigate through a 
> set of annoying menus to turn on the heater bed, heater, load filament, home 
> it, calibrate on the corners etc.  And then I could load the G-Code file from 
> the SD card and start printing.  But I prefer the the OctoPi interface which 
> is really in some ways like the AXIS Interface for LinuxCNC.
I have no controls on my 3D printer, I used to have a stupid little 5 button 
array to navigate through a set of annoying menus to turn on the heater bed, 
heater, load filament, home it, calibrate on the corners etc. but as you say 
that is stupid.
> 
> 
> I just think that when we talk about LinuxCNC nowadays we're not really 
> talking about LinuxCNC anymore.  We're talking about A PC with the LinuxCNC 
> software connected to some sort of sophisticated FPGA/Processor board which 
> has things like the stepping engine off loaded to it.  And this external card 
> may or may not also be the BoB.
I would hardly call a parallel port sophisticated, that is what runs my mill 
and one of my lathes.

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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread John Dammeyer


> >>
> >> It is for a plasma cutter configuration, stepper motors for the axes and
> >> LinuxCNC doing the torch height control.
> >>
> > Totally get that.  Wouldn't want a tool like I'm proposing on a 3D printer
> either.
> > John
> 
> This is just one instance where LinuxCNC with it's flexibility really shines.
> 
Recall I've never said anything about getting rid of LinuxCNC as a trajectory 
planner nor user interface with tool path display etc. 

But isn't a plasma cutter a lot like a 3D printer?  Especially one that uses a 
touch probe to map the surface and tweaks the Z axis so the plastic ends up 
flat.  I use OctoPi to interface to mine.  But that's only as something that 
pulls serial data from the USB port and repackages it as a web page on my 
laptop in another room.

And when it comes to 3D printing where's the push to replace all those 
Arduino's and Pi interfaces with a PC and a full keyboard, mouse and screen?  
After all wouldn't they work so much better if they were running LinuxCNC?

So although in the case of the lights out behaviour of my 3D printer I could 
(and have) put the laptop right beside the printer and used OctoPi to do other 
setup or control stuff.  But for the most part I'm not near it.  The camera on 
the Pi2 provides the feedback I need.  And I'm not suggesting this for a 
milling machine or a lathe.  

But my point is I use the stupid little 5 button array to navigate through a 
set of annoying menus to turn on the heater bed, heater, load filament, home 
it, calibrate on the corners etc.  And then I could load the G-Code file from 
the SD card and start printing.  But I prefer the the OctoPi interface which is 
really in some ways like the AXIS Interface for LinuxCNC.

I just think that when we talk about LinuxCNC nowadays we're not really talking 
about LinuxCNC anymore.  We're talking about A PC with the LinuxCNC software 
connected to some sort of sophisticated FPGA/Processor board which has things 
like the stepping engine off loaded to it.  And this external card may or may 
not also be the BoB.

John


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



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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Phill Carter



> On 16 Feb 2020, at 1:18 pm, John Dammeyer  wrote:
> 
> 
> 
>> -Original Message-
>> From: Phill Carter [mailto:phillcarte...@gmail.com]
>> Sent: February-15-20 6:04 PM
>> To: linuxcnc-users
>> Subject: Re: [Emc-users] Open source CNC architecture
>> 
>>> I understand that if you are using a +/-10V with encoder feedback directly
>> back into LinuxCNC that this concept would not work for you.  But since you
>> say you need LinuxCNC can you tell us what you do have?
>>> 
>>> How is your LinuxCNC connected to your milling machine lead (ball?) screws
>> and spindle motor?
>>> John
>> 
>> It is for a plasma cutter configuration, stepper motors for the axes and
>> LinuxCNC doing the torch height control.
>> 
> Totally get that.  Wouldn't want a tool like I'm proposing on a 3D printer 
> either.
> John

This is just one instance where LinuxCNC with it's flexibility really shines.



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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread John Dammeyer



> -Original Message-
> From: Phill Carter [mailto:phillcarte...@gmail.com]
> Sent: February-15-20 6:04 PM
> To: linuxcnc-users
> Subject: Re: [Emc-users] Open source CNC architecture
> 
> > I understand that if you are using a +/-10V with encoder feedback directly
> back into LinuxCNC that this concept would not work for you.  But since you
> say you need LinuxCNC can you tell us what you do have?
> >
> > How is your LinuxCNC connected to your milling machine lead (ball?) screws
> and spindle motor?
> > John
> 
> It is for a plasma cutter configuration, stepper motors for the axes and
> LinuxCNC doing the torch height control.
> 
Totally get that.  Wouldn't want a tool like I'm proposing on a 3D printer 
either.
John



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



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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Phill Carter
> I understand that if you are using a +/-10V with encoder feedback directly 
> back into LinuxCNC that this concept would not work for you.  But since you 
> say you need LinuxCNC can you tell us what you do have?
> 
> How is your LinuxCNC connected to your milling machine lead (ball?) screws 
> and spindle motor?
> John

It is for a plasma cutter configuration, stepper motors for the axes and 
LinuxCNC doing the torch height control.

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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread John Dammeyer



> -Original Message-
> From: Phill Carter [mailto:phillcarte...@gmail.com]
> Sent: February-15-20 5:25 PM
> To: linuxcnc-users
> Subject: Re: [Emc-users] Open source CNC architecture
> 
> 
> 
> > On 16 Feb 2020, at 11:14 am, John Dammeyer 
> wrote:
> 
> > But let me ask a question.   If you buy a Break Out Board with an LCD 
> > display
> large enough to show 5 Axis DRO, Spindle Speed and Feed rate.  And it has
> buttons that let you do what my Lathe ELS does for jogging and using the
> MPG to move the axis.  If it can operate stand-alone like that.  Essentially a
> manual mill where the motors and encoders (or open loop if you trust
> steppers) serve as the DRO feedback but each axis has power feed is it not
> still just a manual mill with power feed and DROs?  Along with electronic
> speed control of the spindle.  No more stepped pulleys.
> >
> > Now if this fancy Break Out Board c/w display and buttons cost around $200
> and had an Ethernet connection that accepted messages as if it were a clone
> of a $200+ MESA Break Out Board what is the difference?And if this fancy
> Break Out Board had a few extra buttons like my Shumatech DRO has for
> finding center of a hole or edge or doing bolt circles.  Or may a few other
> operations that MACH3/4 call wizards, all from that front panel, then
> depending on what you do, how often you do it, when do you need
> LinuxCNC?
> 
> Personally I would need LinuxCNC because what you have described does
> not do what I want but if that is what you want then you should build it.

I understand that if you are using a +/-10V with encoder feedback directly back 
into LinuxCNC that this concept would not work for you.  But since you say you 
need LinuxCNC can you tell us what you do have?

How is your LinuxCNC connected to your milling machine lead (ball?) screws and 
spindle motor?
John


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



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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Gene Heskett
On Saturday 15 February 2020 15:07:11 Stuart Stevenson wrote:

> Rafael,
>
>  If you think an embedded system would be the best and used more than
> any other then - Feel free to do it and release it. Make your newer
> and better truly newer and better. That is the beauty and hindrance of
> LinuxCNC. It is open to whatever YOU want to do with it. If you want
> to take LinuxCNC and develop it for your own use and not release any
> of 'your' system you are free to do that as well. I would happily try
> out your embedded version. The hindrance is if you will not or can not
> develop the system you want you will need to wait until someone with
> the will and the way does it. That can be frustrating.
>  A third way is paying someone to develop it for you.
>
> I will have to agree with you on the metric system. But alas, you and
> I are not the only ones here.
>
> On Sat, Feb 15, 2020 at 12:23 PM Rafael Skodlar  
wrote:
> > On 2020-02-15 01:05, Bari wrote:
> > > On 2/15/20 1:42 AM, David Berndt wrote:
> > >> How did we get to the point where we decided that the goal is a
> > >> "relatively simple embedded system"? I for one am not looking to
> > >> trade off the current gui and it's features for what you
> > >> describe.
> > >>
> > >> It seems like a lot of this thread seems to steer itself in the
> > >> machinekit direction in terms of apparent goals/ideals, so I
> > >> guess I'd ask, why not start there?
> > >
> > > We haven't. Someone just thinks new or different is better.
> > > Someone that
> >
> > And you? You think that doing things the same old way is better?
> > Steam engine driving machines with pulley transmission in your work
> > shop?
> >
> > When I was little, we had to pull the weeds by bare hands on a small
> > farm. Our family would prefer doing it this way:
> > https://agerris.com/
> > https://farmwise.io/
> > https://www.deepfield-robotics.com/en/
> >
> > Only people who think differently in a positive way make a positive
> > difference. Have you heard about little automobile company Tesla
> > that happens to be a bike ride from my home?
> >
> > > has not really worked much with CNC machines but does have an idea
> > > that they think would make things better. It would be newer
> > > without
> >
> > In my case, true. However I see what others with lots of $$$ in the
> > industry are doing. It would be beneficial for small shops or
> > hobbyists to use similar things on a smaller scale. No need for
> > running test on the motherboard to ensure RT kernel will work as
> > expected.
> >
> > That's how PC industry started in the 1970s. People started copying
> > SW and HW ideas from mainframes. I'm not inventing anything here.
> > Just pointing to possibility to simplify LinuxCNC and expand it's
> > use.
> >
> > > explaining why it would be better, only telling us that it will be
> > > better. So they think newer is better just because it is newer. I
> > > hope I have cleared this up.  :)
> >
> > Explanation or hints were given by others and myself. For some it's
> > obvious, for others it's not. History is full of naysayers to
> > everything new.
> >
> > > Newer is better. Look into my eyes and repeat "newer is better".
> >
> > Looking into your anonymous eyes:
> > Metric system is 200 years old. Some of us know it's better since my
> > grandma told me so long ago. Yet whole North American Continent is
> > stuck on archaic system that is based on dead British king finger,
> > foot, and butt size. So "newer is better".
> >
> > "Make America Metric" I say.

Way past due imnsho. Because of my background of lassoing electrons and 
making them do usefull work for us humans, at least half of what I do on 
these machines is done in the metric mode. Twouldn't bither me a bot if 
it all changed tomorrow.

Where they really screwed the moose back then was in playing with gas 
pumps first and not posting the gallon equ.  They made everybody carry a 
pocket calc to find out what the price in gallons was.  BIG MISTAKE, 
John and Jane Doe just drove around the corner to a station that still 
sold gallons. Eventually the metric pumps wound up in the landfill 
because the stations that bought into that BS were starving. I 
personally think it was designed to fail.  How quick was the real 
question.

> > Need explanation?
> >
> > --
> > Rafael
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Open source CNC architecture - open source complexity

2020-02-15 Thread Gene Heskett
On Saturday 15 February 2020 15:07:00 Les Newell wrote:

[...]

We pretty muh agree to here, Les.

> > So open source is truly open source but I'll bet 95% of the members
> > on this forum haven't a clue what Gene or Thomas means when they
> > post how they are rebuilding the kernel for a Raspberry Pi.

I know that makes me an 85 year old geek, but I was a girlfriendless geek 
long before the word was invented.
>
> If you really want to know the information is a Google search away.

Sometimes Les. I am on a slow 10mbit cable modem, and on SS so I can't 
see getting a gigabit hookup. But when I first put that info and the 
files up on my web page, they were found in minutes by the herd of bots 
that service the search engines like google etc. But the offshore bots 
tend to ignore your robots.txt and want to mirror your site, and since 
theres at least 100 such offshore bots I had to block with iptables 
rules, which because they bounce around in the same D block weekly 
trying to get around iptables type guard dogs to steal ever more data, I 
use /24 masking in my rules to kill that whole class D. Google was one 
of the first to ignore robots.txt so they fell to the block quite early. 
Its taken nearly 50 rules to get enough peace so folks that do want 
something don't have to share my nominally 300kb upload bandwidth with 3 
other bots.  But that means the any data that google, bing or sembot etc 
has aged out, and no longer available to the search engines. It has that 
cost, but a 300kb upload of my whole site will take about a week per 
bot, so allowing that access is simply not compatible with the size of 
my pipe.

> If 
> you put in the time to learn this stuff you will end up knowing how to
> do it. Gene is not an experienced Linux kernel developer. He started
> off knowing little about what was needed but was willing to put in the
> time to learn.

Thanks for the flowers Les. :)

> Les

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Phill Carter



> On 16 Feb 2020, at 11:14 am, John Dammeyer  wrote:

> But let me ask a question.   If you buy a Break Out Board with an LCD display 
> large enough to show 5 Axis DRO, Spindle Speed and Feed rate.  And it has 
> buttons that let you do what my Lathe ELS does for jogging and using the MPG 
> to move the axis.  If it can operate stand-alone like that.  Essentially a 
> manual mill where the motors and encoders (or open loop if you trust 
> steppers) serve as the DRO feedback but each axis has power feed is it not 
> still just a manual mill with power feed and DROs?  Along with electronic 
> speed control of the spindle.  No more stepped pulleys.
> 
> Now if this fancy Break Out Board c/w display and buttons cost around $200 
> and had an Ethernet connection that accepted messages as if it were a clone 
> of a $200+ MESA Break Out Board what is the difference?And if this fancy 
> Break Out Board had a few extra buttons like my Shumatech DRO has for finding 
> center of a hole or edge or doing bolt circles.  Or may a few other 
> operations that MACH3/4 call wizards, all from that front panel, then 
> depending on what you do, how often you do it, when do you need LinuxCNC?

Personally I would need LinuxCNC because what you have described does not do 
what I want but if that is what you want then you should build it.

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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread John Dammeyer
> > And that is the misconception voiced all the time by frequent users of
> > CNC systems. Perhaps you remember how to do all that stuff. I don't.
> > So CNC is a leap harder to learn.
> 
> If as you say you use the machine that seldom then even using the ELS is
> probably a re-learning curve. I think most hobbyists who are willing to
> invest the time and effort to convert a machine or the money to buy one
> are likely to use it more often than that.
> 
You'd have to ask users of my ELS as to how often they refer to the manual to 
use it.  Since I wrote the software it's not fair for me to say it's easy when 
for others it might not be.

I do know I switch on the lathe.  I chuck in the piece I'm turning and move to 
the point where I manually turn in the cross slide since I don't have an X 
motor set up on the South Bend yet.
So say I face off the piece.  I then set zero.  MACH and LinuxCNC have a button 
for that.
Move to the right a bit with a jog button and tap the BEGIN button.  ENTER and 
then TURN again.  Tap the END button and key in a negative distance towards the 
chuck which is the distance from the freshly cut face.  ENTER, TURN buttons.  
Dial the X handle to roughly where I want my first pass and START.  
Now the display tells me to insert the tool into the work since it knows I 
don't have an X motor.  ENTER to confirm and away it goes.  When it stops, it 
tells me to retract the tool.  I do that and press START.
At this point I'd stop the spindle and measure.  Figure out total depth of cut 
to get to my target diameter. 
Zero the X scale on the handle.  Dial in depth of cut and press START.
Rinse and repeat until depth of cut matches.  
Just like using a manual lathe except that instead of engaging the half nut and 
sitting poised to flip it off and then turning the big handle until the 
carriage bumps against a stop.
With only one axis powered the ELS was designed to augment a manual lathe.  Not 
be CNC.  Not present itself like CNC.
If I was doing it on the Gingery lathe which has a powered X then I'd do the 
same thing but select SCREW instead of TURN, set the pitch to the feed I want, 
Set the depth of thread and the depth per pass and press START.  And wait for 
it to finish.  But that's more CNC like.
Once at the right diameter I'd maybe swap in the threading tool.  Touch off to 
find the surface.  Set the parameters for Pitch, Depth etc (although it can 
calculate that automatically for you) and because it's a different tool 
probably tweak the BEGIN/END positions.  And since it's an old South Bend and 
I'm cutting metric I just press START and it does it.

And again, if I don't have an X motor it prompts me to insert and remove the 
tool.  If I do, it does it all automatically.  That's about it for what it does 
other than taper turning if you have a powered X.  So it's not CNC.  Not meant 
to be CNC.

But let me ask a question.   If you buy a Break Out Board with an LCD display 
large enough to show 5 Axis DRO, Spindle Speed and Feed rate.  And it has 
buttons that let you do what my Lathe ELS does for jogging and using the MPG to 
move the axis.  If it can operate stand-alone like that.  Essentially a manual 
mill where the motors and encoders (or open loop if you trust steppers) serve 
as the DRO feedback but each axis has power feed is it not still just a manual 
mill with power feed and DROs?  Along with electronic speed control of the 
spindle.  No more stepped pulleys.

Now if this fancy Break Out Board c/w display and buttons cost around $200 and 
had an Ethernet connection that accepted messages as if it were a clone of a 
$200+ MESA Break Out Board what is the difference?And if this fancy Break 
Out Board had a few extra buttons like my Shumatech DRO has for finding center 
of a hole or edge or doing bolt circles.  Or may a few other operations that 
MACH3/4 call wizards, all from that front panel, then depending on what you do, 
how often you do it, when do you need LinuxCNC?

And I think fundamentally that's the real questions.   A module that accepts 
say Ethernet in on one end and outputs motor control out the other is a black 
box.  A black box just like buying an AC Servo Drive that accepts step/dir 
RS422 up to 500kHZ and 0-3000 RPM.   When you need CNC you use CNC.  If you are 
repairing something that you clamp in the vise and doesn't start off as a block 
of aluminium, the manual or power assisted manual method might be more useful.

I think that's the future of the CNC home/small business model.  And when you 
look at the 32bit ARM based CNC boxes available from China, all it would take 
is that Ethernet or USB connection and the firmware to interpret the protocol 
originally destined for a MESA or some other FPFA based BoB.



> Les
> 
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



___
E

Re: [Emc-users] Open source CNC architecture - open source complexity

2020-02-15 Thread Les Newell



If it were true then Universities and schools wouldn't exist. After all everything taught 
in school is a "Google search away".


There are a lot of extremely knowledgeable people out there with little 
formal education. Universities and schools  are not the only way to 
learn. They make learning easier because they present the information in 
a carefully organized way. Again, how do you want to pay? You can either 
pay the educational establishment to organize that information for you 
or you can invest the time to find it yourself.


It's all about attitude. If you attack a problem with the 'I can do 
this' attitude you probably can. Will you make mistakes? Of course. Will 
you always succeed? Probably not. Will it be hard work? Yes. However if 
you start off thinking this is too hard you are pretty much guaranteed 
to fail. Unfortunately fewer and fewer people these days are willing to try.




The reality is if you already know, then you know what to discard and what to 
use.And when you don't know what you don't know, the google approach is 
incredibly difficult.


Start with the basics and work from there. Taking the Linux kernel 
example. Type 'What is the Linux kernel' into Google. The first hit is 
Wikipedia. This is the first sentence in the Wikipedia description: "The 
*Linux kernel* is a free and open-source 
, monolithic 
, Unix-like 
 operating system 
 kernel 
." Ok, but I 
don't know what a kernel is. Click on the kernel link and you get a 
description that starts with a good overview then goes into more detail 
if you need it (which you don't).


Of course none of this tells you anything about how to build the kernel, 
but at least you have more of an understanding of what it does and why 
you would need to modify it. Instructions for building the kernel are 
out there. It can be a pretty deep rabbit hole but this is advanced 
stuff that few people need to do. An evening on Google isn't going to be 
nearly enough. It's a learning process and learning takes time. Even 
learning how to use online searches efficiently takes time. Are you 
willing to invest the time?



And none of that addresses that a LinuxCNC system is an incredibly complex 
system


So is a 747. You don't have to know what hydraulic system 2 in a 747 
does to fly in one, though if you are interested a quick search will get 
you a diagram that shows you.


Motion control is complicated. Making a very versatile extensible motion 
control system is even more so. If you want LinuxCNC's versatility you 
have to accept it is going to be complex. Unless you are doing pretty 
sophisticated stuff you don't need to know how it works internally. If 
you do need to work on it you just concentrate on the area you need to 
work on.


Les

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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Les Newell




But having used both but with sometimes 6 to 8 months or even a year between 
uses, I can tell you that a slightly automated manual lathe with an ELS is a 
leap forward in ease of use compared to booting up a PC, running the CNC 
application and then trying to remember what G-Code/M-Code did what.


I don't find boot up time to be an issue. I walk in the workshop and 
turn the machine on. By the time I've picked out the stock I'm going to 
use and decided on what cutter to use the machine's up and running.


As far as remembering the codes, a cheat sheet taped to the machine does 
wonders. For basic stuff you only need to remember half a dozen G-codes 
and a few M codes. The sheet can be pretty short. For instance I don't 
thread that often in the lathe so I have a cheat sheet for thread cutting.


If you want to mix manual/CNC operation you need to know g-code but if 
you are willing to go purely CAD/CAM you don't need to know g-code at 
all. A fairly big chunk of my customers only vaguely understand what 
g-code is. They just load their drawing into SheetCam, set up the paths, 
load the resultant code into their machine and run it. I very seldom 
bother manually writing code for the router or plasma.



And that is the misconception voiced all the time by frequent users of 
CNC systems. Perhaps you remember how to do all that stuff. I don't. 
So CNC is a leap harder to learn.


If as you say you use the machine that seldom then even using the ELS is 
probably a re-learning curve. I think most hobbyists who are willing to 
invest the time and effort to convert a machine or the money to buy one 
are likely to use it more often than that.


Les



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


Re: [Emc-users] Open source CNC architecture - open source complexity

2020-02-15 Thread John Dammeyer
> If you really want to know the information is a Google search away. If
> you put in the time to learn this stuff you will end up knowing how to
> do it. Gene is not an experienced Linux kernel developer. He started off
> knowing little about what was needed but was willing to put in the time
> to learn.

If it were true then Universities and schools wouldn't exist. After all 
everything taught in school is a "Google search away".  The reality is if you 
already know, then you know what to discard and what to use.And when you 
don't know what you don't know, the google approach is incredibly difficult.

And none of that addresses that a LinuxCNC system is an incredibly complex 
system
John

> 
> Les
> 
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread John Dammeyer
> > When I designed the E-Leadscrew Electronic Lead Screw controller the
> feedback from the non-CNC people was that they wanted something more
> than just electronic gearing (now commonly also called an ELS) but not
> something as extensive as full CNC.
> I am afraid I never really understood that mindset. ELS has some
> advantages over manual but where going from full manual to ELS is a step
> forward, going from ELS to CNC is a leap forward in capability, for not
> much difference in cost. You already have the drivers, motors,
> mechanical parts etc. 

I totally agree about the leap forward.  Which is why my ELS had a parallel 
port cable that connected to the BoB and all those drivers,motors.  I often 
moved it back and forth between MACH2 and then MACH3.

But having used both but with sometimes 6 to 8 months or even a year between 
uses, I can tell you that a slightly automated manual lathe with an ELS is a 
leap forward in ease of use compared to booting up a PC, running the CNC 
application and then trying to remember what G-Code/M-Code did what.

Now if you use your system every day then an ELS is not for you and that type 
of usage was never the target market.
>Is CNC harder to learn than ELS? Yes, but not that much.

And that is the misconception voiced all the time by frequent users of CNC 
systems.  Perhaps you remember how to do all that stuff.   I don't.  So CNC is 
a leap harder to learn.
John Dammeyer

> Les
> 
> 



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


Re: [Emc-users] Open source CNC architecture - open source complexity

2020-02-15 Thread Les Newell

What exactly is open source?  In a way it's LinuxCNC but only a few guru's 
really understand what is happening under the covers because it's so incredibly 
powerful.The MESA cards can be modified since much of the FPGA information 
is published.  But unlike MACH3 where a simple checkbox changes the spindle 
step pin into a pwm pin the FPGA world requires knowledge of the entire FPGA 
programming environment and it can't just be changed with a check box on a set 
up dialog box.


This is an unrelated discussion but there ain't no such thing as a free 
lunch. Open source is not without cost. This is a common misconception. 
The open source community is very vocal about the software being free 
but that is misleading. The software itself may be free but you need to 
invest a significant amount of effort into actually using it. Closed 
source developers have a strong incentive to make their software as easy 
to use as possible. If their software is hard to use nobody will buy it 
and they don't get to eat at the end of the day. Open source relies on 
the willingness of developers to donate their time. Pretty front ends 
and ease of use take a back seat compared to functionality. Both models 
have their place. It's your decision at the end of the day. Do you want 
to invest money or time?



And in the LinuxCNC world one has to be very careful when asking a question in 
fear of being chastised for not doing their own research and memorizing all the 
command line options of a 1970's based serial non-graphical terminal interface.


That's not my experience. Generally any questions I have asked on this 
forum have been answered pretty quickly with minimal snark. If you ask 
something that has been asked a thousand times before you could get a 
short reply but you have to remember everyone is donating their time. It 
gets tedious answering the same questions repeatedly when a quick Google 
search could have found the answer. Again going back to paid software, 
you are paying someone to be patient with you.  It is up to you to make 
the decision how you pay. You can pay by doing the research and helping 
others or you can pay someone directly to help you.



So open source is truly open source but I'll bet 95% of the members on this 
forum haven't a clue what Gene or Thomas means when they post how they are 
rebuilding the kernel for a Raspberry Pi.
If you really want to know the information is a Google search away. If 
you put in the time to learn this stuff you will end up knowing how to 
do it. Gene is not an experienced Linux kernel developer. He started off 
knowing little about what was needed but was willing to put in the time 
to learn.


Les



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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Stuart Stevenson
Rafael,

 If you think an embedded system would be the best and used more than any
other then - Feel free to do it and release it. Make your newer and better
truly newer and better. That is the beauty and hindrance of LinuxCNC. It is
open to whatever YOU want to do with it. If you want to take LinuxCNC and
develop it for your own use and not release any of 'your' system you are
free to do that as well. I would happily try out your embedded version.
 The hindrance is if you will not or can not develop the system you want
you will need to wait until someone with the will and the way does it. That
can be frustrating.
 A third way is paying someone to develop it for you.

I will have to agree with you on the metric system. But alas, you and I are
not the only ones here.

On Sat, Feb 15, 2020 at 12:23 PM Rafael Skodlar  wrote:

> On 2020-02-15 01:05, Bari wrote:
> > On 2/15/20 1:42 AM, David Berndt wrote:
> >
> >> How did we get to the point where we decided that the goal is a
> >> "relatively simple embedded system"? I for one am not looking to trade
> >> off the current gui and it's features for what you describe.
> >>
> >> It seems like a lot of this thread seems to steer itself in the
> >> machinekit direction in terms of apparent goals/ideals, so I guess I'd
> >> ask, why not start there?
> >
> >
> > We haven't. Someone just thinks new or different is better. Someone that
>
> And you? You think that doing things the same old way is better? Steam
> engine driving machines with pulley transmission in your work shop?
>
> When I was little, we had to pull the weeds by bare hands on a small
> farm. Our family would prefer doing it this way:
> https://agerris.com/
> https://farmwise.io/
> https://www.deepfield-robotics.com/en/
>
> Only people who think differently in a positive way make a positive
> difference. Have you heard about little automobile company Tesla that
> happens to be a bike ride from my home?
>
> > has not really worked much with CNC machines but does have an idea that
> > they think would make things better. It would be newer without
>
> In my case, true. However I see what others with lots of $$$ in the
> industry are doing. It would be beneficial for small shops or hobbyists
> to use similar things on a smaller scale. No need for running test on
> the motherboard to ensure RT kernel will work as expected.
>
> That's how PC industry started in the 1970s. People started copying SW
> and HW ideas from mainframes. I'm not inventing anything here. Just
> pointing to possibility to simplify LinuxCNC and expand it's use.
>
> > explaining why it would be better, only telling us that it will be
> > better. So they think newer is better just because it is newer. I hope I
> > have cleared this up.  :)
> >
>
> Explanation or hints were given by others and myself. For some it's
> obvious, for others it's not. History is full of naysayers to everything
> new.
>
> > Newer is better. Look into my eyes and repeat "newer is better".
>
> Looking into your anonymous eyes:
> Metric system is 200 years old. Some of us know it's better since my
> grandma told me so long ago. Yet whole North American Continent is stuck
> on archaic system that is based on dead British king finger, foot, and
> butt size. So "newer is better".
>
> "Make America Metric" I say.
>
> Need explanation?
>
> --
> Rafael
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.

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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Les Newell



Yes, you do need a special PC.   This means a PC you use for Linux CNC and
not the one already on your desk.


Why would I want to run them from my main desktop machine? My CNC 
machines are out in the workshop where they belong. They are big, dirty, 
smelly and noisy. I don't want them in them same room with me when I'm 
doing other stuff. If I really want to monitor what they are doing VNC 
does a good job. I personally don't bother because I very seldom run 
multi-hour programs.


Linux is comes with the normal productivity tools so there is no reason 
why you can't run them on your LinuxCNC computer. For example my mill 
and plasma both have CAD, CAM, browser etc. Basically all of the 
functionality I need to go from thoughts in my head to finished parts. 
If I wanted to I could build a desktop PC with full office functionality 
and use it to run a desktop CNC router as well. Of course to fit on a 
desktop that router would be too small and light for nearly all of the 
work I do so it would just sit gathering dust. Speaking of dust, a 
machine that spews wood dust into the work space is a very bad idea. 
I've been exposed to wood dust in the work place for many years and am 
now paying the price. Yes, I could add extraction to the router but that 
adds to the noise and sucks the heat outside. My nice quiet warm office 
now becomes a noisy freezer.



  Again think of the normal ink-jet
printer.   Do you connect it to a special "printer PC" that is only used to
drive inkjet printers?  No.  In most cases, the inkjet (or laser)
printer is just on WiFi and can print from any iPhone of PC that is also on
the same WiFi.


What market are you aiming at? Machine shops want a machine that they 
can start up in the morning and just keeps spitting out parts until it 
runs out of stock. They /really /don't want just anyone being able to 
send files to it and mess with it. Nearly all machining centers have 
network connectivity so loading in a new job is just a case of pulling 
the files from a shared drive. The operator looks at his job sheet, sets 
the machine up with the appropriate fixtures, cutters etc then loads the 
code from a local or shared drive and presses go. There's no point being 
able to push the programs to the machine if you still have to be there 
in person to set it up.


A hobbyist just starting out may want something they can 'just print' to 
but realistically that is only practical for something like a laser or 
maybe very basic work on a small format desktop router. For anything 
else you are never going to get to something like a printer where you 
conceive a design and the machine cuts it out with next to no user 
input. There are just too many variables. To print a page pretty much 
the only options you have are orientation, page size and maybe selecting 
color or black and white. With machining there are millions of possible 
variations of what you can do. Are you starting from a blank, raw stock 
or maybe a pre-machined part? What cutters are you using? What outlines 
do you actually want to machine? What fixturing do you need? CAM has 
improved a lot over the years and will get better but if you really want 
a 'feed raw stock in one end and any part you want comes out the other' 
the only way you'll get it is with 3D printing. 3D printing has a very 
long way to go before it becomes practical for general production parts.



This is a common thing.  Users typically get used to what they have and ask
for only tiny, incremental changes.


Over time, tiny incremental changes have a big effect. Lets' face it the 
only difference between humans and fish is a series of incremental 
changes over time. CNC machines have been around for quite some time and 
have ended up looking as they do now for very good reasons.



That said, disruptive change is really hard to do as it takes a change of
mind-set.  You have to kick the problem around for a long time before you
see a completely different solution.


You also need to have a deep understanding of the problem. Look at the 
thousands of startups out there that have 'revolutionary' ideas that 
fail spectacularly because they didn't really understand the problem. 
How much experience do you have with operating CNC machines?


In any case, that CNC machine does not have or need a PC computer with 
modern GUI interface connected directly to run it. That's why I 
started this discussion. X-windows is waste of resources, it's another 
thing that needs to be maintained and updated in some instances. Too 
many things to go bad in what's supposed to be a relatively simple 
embedded system.


Look at any modern machining center. They have a honking big display 
that lets you know at a glance if everything is working correctly and 
lets you set the machine up quickly and efficiently. I've used machines 
with 2 line LCD displays and the menus are painful to use. The only time 
they work is if you are doing really simple stuff that needs little 
s

Re: [Emc-users] Open source CNC architecture --> steam engine no, pyrolis yes, OT!

2020-02-15 Thread N
> And you? You think that doing things the same old way is better? Steam 
> engine driving machines with pulley transmission in your work shop?

As I understand it steam engine does not have the best efficiency, pyrolysis 
and compression ignition is probably better, maybe some steam in a compbined 
cycle. Swirl chamber to keep formation of Nox pollution to a low level.

> When I was little, we had to pull the weeds by bare hands on a small 
> farm. Our family would prefer doing it this way:
> https://agerris.com/
> https://farmwise.io/
> https://www.deepfield-robotics.com/en/

Think this and car driving itself home from pub might be really good uses of 
artificial intelligence.

> Rafael


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


Re: [Emc-users] Open source CNC architecture --> printer driver postscript <-> g-code

2020-02-15 Thread N
Printers talk postscript while CNC machines talk g-code, well not always but 
quite often.


> As an example look at the two articles in December and February Circuit 
> Cellar Magazine by Raul Alverez-Torrico on building a 4-DOF robotic arm.
> https://circuitcellar.com/
>  
> He uses Matlab to do the kinematics (described in the Feb issue) but uses his 
> own serial protocol for moving each motor through an angle.  (Figure 1)
> 
> He uses Matlab to do the kinematics (described in the Feb issue) but uses his 
> own serial protocol for moving each motor through an angle.  Figure 5.
> It could just as easily have been G-Code.Or he could have used a program 
> to interpret his special commands and translate them into G-Code and then run 
> an arm via LinuxCNC.  

Used Simulink/Matlab and what's good with Simulink is it show signal flow but 
it's a delusional target. Get feeling it is all easy but to understand how the 
to set the gain in feedback or other calculations there is no other choice than 
read the theories behind. Basic operations are more or less algebra unless you 
have blocks someone else already wrote and I find most often equations are 
easier to read in textual form especially if they have nice typesetting, would 
be interesting with a programming language allowing variable named formatted 
with LaTeX typesetting.

Simscape or Modelica might provide more help as you could draw ordinary 
schematics instead of manually entering equations as is done in Simulink. To 
calculate feedback gains transformation of these schematic to state space form 
which may be linearised to linear state space form if needed is very useful. 
There are plenty of literature available for linear state space form which is a 
more or less standard form to model dynamic systems so it is very useful.

> The point is that he's using a small UNO for the embedded controller and a PC 
> for the trajectory planning.
> John Dammeyer

Real time in UNO and others in PC?


Regards Nicklas Karlsson


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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Rafael Skodlar

On 2020-02-15 01:05, Bari wrote:

On 2/15/20 1:42 AM, David Berndt wrote:

How did we get to the point where we decided that the goal is a 
"relatively simple embedded system"? I for one am not looking to trade 
off the current gui and it's features for what you describe.


It seems like a lot of this thread seems to steer itself in the 
machinekit direction in terms of apparent goals/ideals, so I guess I'd 
ask, why not start there?



We haven't. Someone just thinks new or different is better. Someone that 


And you? You think that doing things the same old way is better? Steam 
engine driving machines with pulley transmission in your work shop?


When I was little, we had to pull the weeds by bare hands on a small 
farm. Our family would prefer doing it this way:

https://agerris.com/
https://farmwise.io/
https://www.deepfield-robotics.com/en/

Only people who think differently in a positive way make a positive 
difference. Have you heard about little automobile company Tesla that 
happens to be a bike ride from my home?


has not really worked much with CNC machines but does have an idea that 
they think would make things better. It would be newer without 


In my case, true. However I see what others with lots of $$$ in the 
industry are doing. It would be beneficial for small shops or hobbyists 
to use similar things on a smaller scale. No need for running test on 
the motherboard to ensure RT kernel will work as expected.


That's how PC industry started in the 1970s. People started copying SW 
and HW ideas from mainframes. I'm not inventing anything here. Just 
pointing to possibility to simplify LinuxCNC and expand it's use.


explaining why it would be better, only telling us that it will be 
better. So they think newer is better just because it is newer. I hope I 
have cleared this up.  :)




Explanation or hints were given by others and myself. For some it's 
obvious, for others it's not. History is full of naysayers to everything 
new.



Newer is better. Look into my eyes and repeat "newer is better".


Looking into your anonymous eyes:
Metric system is 200 years old. Some of us know it's better since my 
grandma told me so long ago. Yet whole North American Continent is stuck 
on archaic system that is based on dead British king finger, foot, and 
butt size. So "newer is better".


"Make America Metric" I say.

Need explanation?

--
Rafael


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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread John Dammeyer
As an example look at the two articles in December and February Circuit Cellar 
Magazine by Raul Alverez-Torrico on building a 4-DOF robotic arm.
https://circuitcellar.com/
 
He uses Matlab to do the kinematics (described in the Feb issue) but uses his 
own serial protocol for moving each motor through an angle.  (Figure 1)

He uses Matlab to do the kinematics (described in the Feb issue) but uses his 
own serial protocol for moving each motor through an angle.  Figure 5.
It could just as easily have been G-Code.Or he could have used a program to 
interpret his special commands and translate them into G-Code and then run an 
arm via LinuxCNC.  

The point is that he's using a small UNO for the embedded controller and a PC 
for the trajectory planning.
John Dammeyer
 
> 
> For Machine control we have:
> CAD -> CAM -> G-Code -> Trajectory Planning and implementation ->
> Ethernet OR Parallel Port OR PCI bus -> Step/Dir OR Smart Serial OR CAN bus
> or Ethernet. -> Hardware motion.
> 
> Ask then which parts require a large PC with graphical interface?  Which
> require pseudo real time?  Which require hard real time?
> 
> At the moment a PC compatible with a parallel port can do it all.  Up to the
> latency measurement and then it can't reliably create the high speed
> stepping pulses.  The OS is not important.  LinuxCNC or MACH3 on WIN-XP/7.
> On both systems the CAD->CAM can also be hosted although it appears most
> LinuxCNC people still tend to use Windows for the CAD side.
> 
> Now exceed the capabilities of the PC compatible and you are into the
> netherworld of FPGA/RealTimeProcessors to do the next step.  And those
> aren't all public domain and certainly, like a PC wth a parallel port, totally
> interchangeable.
> 
> My two cents.
> John Dammeyer
> 
> 
> 
> 
> ___
> Emc-users mailing list
>   Emc-users@lists.sourceforge.net
>   
> https://lists.sourceforge.net/lists/listinfo/emc-users
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Stuart Stevenson
On Fri, Feb 14, 2020 at 2:56 PM Chris Albertson 
wrote:

> On Thu, Feb 13, 2020 at 11:43 AM Gene Heskett 
> wrote:
>
> No.  You should not need to know anything.  The fact that you do need to is
> a sign that the technology is immature.Back when cars were a new and
> immature technology drivers had to know what a "spark advance" was and also
> understand the effect of the mixture controls and how to use a clutch and
> shift gears.  In 20 years a small child will be able to operate a car
> by sitting in the back seat and saying "Take me the gramma's house"
>
> All tech works that way.   At first, it is usable by experts then it gets
> easy.   Hobby level CNC has a LONG way to go before it gets easy.
>
> As I pointed out before a good example to follow is "cleanflight". It
> lets anyone with minimal tech background configure the software inside a
> multi-copter drone and download it onto the chip.They do not need to
> even know the system uses an RTOS.  http://cleanflight.com   It is all
> open
> source and is easy to use
>
> There is no good technical reason a CNC machine can't connect to a normal
> desktop computer or phone over WiFi and "just work".
>
> --
>
> Chris Albertson
> Redondo Beach, California
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



It seems to me the conversation should be about creating a "printer driver"
for the machine tool instead of burdening the development of LinuxCNC with
the attempt to integrate functions beyond controlling the machine tool.
Almost any CAM system I have used will do that already if you have a
restricted set of parameters to generate the symbolic code to send to the
machine ie.

printer
machine tool

defined paper source and size   defined raw stock
source and size
defined product (2d printed page)  defined product
(something fitting the available tools and raw stock)
etc.

I have had sets of product with defined parameters and a program in my CAM
system to take the input (a very restricted geometry set) and output the
code to run the machine. This was done 30 years ago and was very
successful. My customer would send me geometry for his product. I would
then input the geometry into my system in much the same manner as creating
a flyer to print. This would take at most 5 minutes from receipt to final
machine code. I would then send it to the machine tool. Load the raw stock
(analogous to loading the paper size into the printer). Load the cutter
(analogous to loading the ink pens/cartridges). The only thing I didn't do
was have a grid on the machine tool table to allow me to press cycle start
without setting an origin point for the program. This whole process could
have been automated to be exactly like sending a print job to the printer.
That level of automation was deemed by me to be not worth the time it would
take. When each and every step of your process is repeatable it is easy
(but not always financially realistic) to automate in a complete fashion.

3D printing is much the same fashion as 2D printing. The code generation
driver can be (but not always is) embedded into the 3D printer controller.

I remember being told NC programmers would soon be a thing of the past as
IGES and programming system would soon be integrated to allow manufacturing
almost without human interference. This was in the late 70's/early 80's.
Heh not quite there yet but almost. :)

StepNC started with one of their goals to automate symbolic code generation
for controlling machine tools without human interference. If I remember
correct this was in the early/middle 90's. We are almost there but StepNC
seems to have a slightly different goal.

The original laptop computer (the abacus) was able to compute much faster
than the human mind. I wonder if people thought then it would only be a
matter of time until man had to not think anymore.

The manufacturing process remains a moving target for the the CAM systems.

The removal of human interference is the goal of many projects not only in
manufacturing. Supposedly a worthy goal but this goal comes with the
necessary reduction in complexity of the project. The reduction of
complexity is a worthy goal but it remains a very fast moving target.

I also remember the propaganda statement "NC/CNC will allow the use of
monkeys off the street successfully running the machine tools making
parts." This hasn't worked out very well either.

The insistence machine tools should be as easy to operate as a printer has
been a success for a few decades now, when all the necessary parameters are
defined and repeatable.

Symbolic code generation (of which g code is a subset) would be a worthy
focus. I don't know what is sent to a printer to cause the printer to
output a printed page. It seems driver development is what allows printers
to evolve in function and capability. Printers have

Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Gregg Eshelman via Emc-users
Also known as a TUI or Text User Interface. Often used on "graphical" menu 
shells for DOS.
 

On Saturday, February 15, 2020, 1:43:23 AM MST, andy pugh 
 wrote:  
 
 On Sat, 15 Feb 2020 at 06:59, Rafael Skodlar  wrote:

The tiniest user interface would be possible using extended ASCII
> characters as in old DOS. We used to play with that in old email
> signatures. My fun with ASCII art in the 1990s:


You might want to play around with:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/emclcd.cc

Except that the same developments that have made £2 µProcesssors available
has also made high-res colour screens cost about the same as a 4-line
character LCD.  
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread N
On Fri, 14 Feb 2020 22:04:51 +
Todd Zuercher  wrote:

> Retrofitting  a CNC machine is comparable to retrofitting the drive train of 
> an automobile (or even just it's control systems).  Doing so in a modern car 
> requires quite a lot more technical knowledge than doing so with a vehicle 
> from 50 years ago. ...

Just thru out all junk and connect pedal to motor velocity control.


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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Gene Heskett
On Saturday 15 February 2020 01:56:44 Rafael Skodlar wrote:

> On 2020-02-11 01:04, Chris Albertson wrote:
> >I said people *want* to use CNC like a laser printer. Most
> > setups are not that good.  It is a goal and if designing a new
> > system.  It is good to set the bar high and try to do what can't be
> > done today.What I really meant was that with a printer, all the
> > critical timing happens in the printer.  There are no servo-loops on
> > the PC and you don't need a real-time OS to print to paper. I
> > think people want CNC to work this way.
>
> That's how some CNC machines work. I came across a small woodwork
> business owner with very nicely garage that was converted into
> workshop. Win PC in the corner for designing parts in CAD, large Axiom
> CNC machine with a pendant to control it. Tiny LCD is all that's
> needed to select the job, i.e. file from a USB stick.
>
> The owner did not know what's inside the CNC machine itself and he
> doesn't care. That's what you say Chris I think and I agree with.
>
> I don't know if there's an option for connecting that CNC machine to
> LAN. I would not use wireless connections for such as it's security
> issue due to hacking possibility in the neighborhood. Another
> possibility is noise on WhyFy frequencies from appliances, bad power
> lines, etc.
>
> In any case, that CNC machine does not have or need a PC computer with
> modern GUI interface connected directly to run it. That's why I
> started this discussion. X-windows is waste of resources, it's another
> thing that needs to be maintained and updated in some instances. Too
> many things to go bad in what's supposed to be a relatively simple
> embedded system.
>
> The tiniest user interface would be possible using extended ASCII
> characters as in old DOS. We used to play with that in old email
> signatures. My fun with ASCII art in the 1990s:
>
>  . ..   .  . . . . o o o o O o
>___   ___   _  O
>
>   |  Rafael Skodlar| |   LINUX   |   ]OO|_n_n__][.
>   | ra...@mydomain.com |=|  Support  |=||=[]_|__|)<
>
>oo~~oo~   ~~oo~~~oo~~  oooo  'oo -| oo\_
> +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
>
> Add colors, lines, and block characters and ... you see the picture
> that's taking extremely little memory by today standards.
> Simple ASCII DRO + G-code scroll window and 4x4 keypad would be enough
> for most work. No need for keyboard, mouse and X-windows on large
> monitor.
>
> > On Mon, Feb 10, 2020 at 3:06 PM Bari  wrote:
> >>> A laser printer is a good example of how people really want a CNC
> >>> mill to work.  You design you document on the computer then press
> >>> "print" and the printer creates it.   After the last of the data
> >>> is moved to the printer you can turn the PC off it you like.
> >>
> >> Why it's not that simple:
> >>
> >>
> >> https://www.machinedesign.com/3d-printing-cad/article/21122653/top-
> >>11-myths-of-cnc-machining
>
> the article states:
> Myth #4: G/M Code is a Thing of the Past
>
> That's true too. It amazes me that the industry did not go away from
> primitive code by today standards. G-code was only modified or updated
> by some CNC machines manufacturers as far as I know but most of G-code
> is still the same. Compare that to computer/software advancements
> since 1980s. Perl, php, python, Go, html, etc.
>
> Using G-code is like writing computer programs in assembly language!

Maybe so, but that is precisely here the power of LCNC shines because it 
a piece of cake to write an incremental loop for a specific operation.  
I don't have a fawncy cam to write my gcode so I have written most of 
the gcode I use, and buried in the midden heap of my nc_files directory 
is a 90 line piece of gcode that made me the sharpest, longest lasting 
ATBF carbide tipped blade my table saw was ever blessed with. That 90 
line file takes over 3 days to run and puts about 85 hours on the cable 
from a Dremel to its handpiece fixed to bottom of the head on one of my 
mills. And I need to do it again, while that blade was getting dulled 
cutting 1/8" alu panel & box pieces, they quit selling that tooth style 
so I need to resharpen it again.

Am I unusual, writeing my own gcode?  I don't think so, lots of it is 
done by folks that know how to exploit LCNC's power.  But it sure is 
frowned on by folks that use autocad to generate the unrolled file to 
cut a simple bearing race pocket while I've already cut it and fitted 
the bearing with 30 lines of hand written code. I haven't a lot of 
respect for the cad/cam programs that generate 10 megs worth of unrolled 
code to do an easy job that can be done with a while loop or 5 in 100 
total lines of code.

> It time to upgrade it to something like HP-GL with addition for Z and
> other axis obviously. Such a language would make it much easier for
> human(e) use. 4 to 6 let

Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Phill Carter



> On 15 Feb 2020, at 8:17 pm, Robert Murphy  wrote:
> 
> 
> On 15/2/20 8:05 pm, Bari wrote:
>> On 2/15/20 1:42 AM, David Berndt wrote:
>> 
>>> How did we get to the point where we decided that the goal is a
>>> "relatively simple embedded system"? I for one am not looking to
>>> trade off the current gui and it's features for what you describe.
>>> 
>>> It seems like a lot of this thread seems to steer itself in the
>>> machinekit direction in terms of apparent goals/ideals, so I guess
>>> I'd ask, why not start there?
>> 
>> 
>> We haven't. Someone just thinks new or different is better. Someone
>> that has not really worked much with CNC machines but does have an
>> idea that they think would make things better. It would be newer
>> without explaining why it would be better, only telling us that it
>> will be better. So they think newer is better just because it is
>> newer. I hope I have cleared this up.  :)
>> 
>> 
>> 
>> Newer is better. Look into my eyes and repeat "newer is better".
>> 
> Nailed it hahahaha
> 
> Come to the Newer is Better side, we have gluten free, sugar free, vegan
> soy based cookies.

Delivered by a drone which is controlled by the new embedded LinuxCNC


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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Robert Murphy


On 15/2/20 8:05 pm, Bari wrote:

On 2/15/20 1:42 AM, David Berndt wrote:


How did we get to the point where we decided that the goal is a
"relatively simple embedded system"? I for one am not looking to
trade off the current gui and it's features for what you describe.

It seems like a lot of this thread seems to steer itself in the
machinekit direction in terms of apparent goals/ideals, so I guess
I'd ask, why not start there?



We haven't. Someone just thinks new or different is better. Someone
that has not really worked much with CNC machines but does have an
idea that they think would make things better. It would be newer
without explaining why it would be better, only telling us that it
will be better. So they think newer is better just because it is
newer. I hope I have cleared this up.  :)



Newer is better. Look into my eyes and repeat "newer is better".


Nailed it hahahaha

Come to the Newer is Better side, we have gluten free, sugar free, vegan
soy based cookies.



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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Robert Murphy

I've seen mention of the Axis interface being "old fashioned", geesh
what would happen with an extended ASCII interface ?

Maybe cnc routers could be a "plug n play" usually the setups are
relatively easy, materials are more or less flat sheets.

When one starts to delve into milling, well that's a different kettle of
fish. How much time is spent thinking about a setup, then implementing
the setup. In some jobs the actual machining time can seem trivial
compared to the setup. This is where the real skill comes into play,
something I'm still learning and very much in the novice corner in that
respect.

Now what will be the reaction of a user who wants a "plug n play"
solution when they find out about the time spent in setups ?

As much as the Arduino is a great product, it has taken the focus away
from discrete components and to focus on "everything can be done in
software". There are quite a few projects that seem to use an arduino
when it's not really required.

Linuxcnc is somewhat easy to customise by the use of hal comps, would an
embedded system aid in that ?

But I guess the "hipster maker fanbase" wouldn't care, as long as they
can post their latest gizmo on social media.

In relation to Open Source, it's the people who use the software
produced by the project that are creating it. Not some programmer
grinding out code for a day job, that needs an a middle man to be
between the end user & programmer. If that relationship isn't great well
then..

It's seems that this thread is turning more towards an embedded solution
rather than the PC solution Linuxcnc is.

As someone mentioned some of the ideas expressed seem to be more in the
realm of the Machinekit project.

On 15/2/20 5:56 pm, Rafael Skodlar wrote:

On 2020-02-11 01:04, Chris Albertson wrote:

   I said people *want* to use CNC like a laser printer. Most
setups are
not that good.  It is a goal and if designing a new system.  It is
good to
set the bar high and try to do what can't be done today.    What I
really
meant was that with a printer, all the critical timing happens in the
printer.  There are no servo-loops on the PC and you don't need a
real-time
OS to print to paper. I think people want CNC to work this way.



That's how some CNC machines work. I came across a small woodwork
business owner with very nicely garage that was converted into
workshop. Win PC in the corner for designing parts in CAD, large Axiom
CNC machine with a pendant to control it. Tiny LCD is all that's
needed to select the job, i.e. file from a USB stick.

The owner did not know what's inside the CNC machine itself and he
doesn't care. That's what you say Chris I think and I agree with.

I don't know if there's an option for connecting that CNC machine to
LAN. I would not use wireless connections for such as it's security
issue due to hacking possibility in the neighborhood. Another
possibility is noise on WhyFy frequencies from appliances, bad power
lines, etc.

In any case, that CNC machine does not have or need a PC computer with
modern GUI interface connected directly to run it. That's why I
started this discussion. X-windows is waste of resources, it's another
thing that needs to be maintained and updated in some instances. Too
many things to go bad in what's supposed to be a relatively simple
embedded system.

The tiniest user interface would be possible using extended ASCII
characters as in old DOS. We used to play with that in old email
signatures. My fun with ASCII art in the 1990s:

    . .    .   .  . . . . o o o o O o
  ___   ___   _  O
 |  Rafael Skodlar    | |   LINUX   |   ]OO|_n_n__][.
 | ra...@mydomain.com |=|  Support |=||=[]_|__|)<
  oo~~oo~   ~~oo~~~oo~~  oo    oo  'oo -| oo\_
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Add colors, lines, and block characters and ... you see the picture
that's taking extremely little memory by today standards.
Simple ASCII DRO + G-code scroll window and 4x4 keypad would be enough
for most work. No need for keyboard, mouse and X-windows on large
monitor.


On Mon, Feb 10, 2020 at 3:06 PM Bari  wrote:


A laser printer is a good example of how people really want a CNC
mill to
work.  You design you document on the computer then press "print"
and the
printer creates it.   After the last of the data is moved to the
printer
you can turn the PC off it you like.



Why it's not that simple:


https://www.machinedesign.com/3d-printing-cad/article/21122653/top-11-myths-of-cnc-machining



the article states:
Myth #4: G/M Code is a Thing of the Past

That's true too. It amazes me that the industry did not go away from
primitive code by today standards. G-code was only modified or updated
by some CNC machines manufacturers as far as I know but most of G-code
is still the same. Compare that to computer/software advancements
since 1980s. Perl, php, python, Go, html, etc.

Using

Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread John Dammeyer
Oh I just can't resist.  

> -Original Message-
> From: Rafael Skodlar [mailto:ra...@linwin.com]
> On 2020-02-11 01:04, Chris Albertson wrote:
> >I said people *want* to use CNC like a laser printer. Most setups are
> > not that good.  It is a goal and if designing a new system.  It is good to
> > set the bar high and try to do what can't be done today.What I really
> > meant was that with a printer, all the critical timing happens in the
> > printer.  There are no servo-loops on the PC and you don't need a real-time
> > OS to print to paper. I think people want CNC to work this way.
> >
> 
> That's how some CNC machines work. I came across a small woodwork
> business owner with very nicely garage that was converted into workshop.
> Win PC in the corner for designing parts in CAD, large Axiom CNC machine
> with a pendant to control it. Tiny LCD is all that's needed to select
> the job, i.e. file from a USB stick.
> 
> The owner did not know what's inside the CNC machine itself and he
> doesn't care. That's what you say Chris I think and I agree with.
> >>
> >> https://www.machinedesign.com/3d-printing-cad/article/21122653/top-
> 11-myths-of-cnc-machining
> 
> the article states:
> Myth #4: G/M Code is a Thing of the Past
> 
> That's true too. It amazes me that the industry did not go away from
> primitive code by today standards. G-code was only modified or updated
> by some CNC machines manufacturers as far as I know but most of G-code
> is still the same. Compare that to computer/software advancements since
> 1980s. Perl, php, python, Go, html, etc.

I don't think I'm on the same page with you.  If you want to compare the 1980's 
with your list of high level languages please compare mechanical drawings done 
with pencil and drafting table against Fusion360, SolidWorks, AlibreCAD/CAM and 
some of the other dedicated software that CNC shops use.

In one of my products I use a M9S12XDP512 processor.  What is that you ask?  
It's really not a lot different from a M6809 which isn't that different from an 
M6800 or even a 6502 which was the original processor in the Apple-II or the 
Comodore 64.  The 9S12 is more advanced with a 16 bit register and paging so it 
can deal with 512K of flash memory and 32K of ram not to mention 5 CAN ports.   
I write the applications in C and when needed take a look at the assembler 
generated by the compiler.

I do the same with the dsPIC30F series from Microchip.  Sometimes you just have 
to look at the assembler output to make sure the compiler is doing what you 
expect.  A slight change in the C language makes a world of difference in what 
the compiler generates and affects the speed or memory size.  It's what I don't 
like about the Arduino or Python for that matter.  Short of trying some 
benchmarks you have no idea if what you write is optimal.  You can't look under 
the covers.

With the high speed of processors now there's an approach that has become more 
common.  The programming language compiler doesn't generate code for the host 
processor.  It generates it for a pseudo machine.  Then each processor or 
microcomputer has a program that simulates that pseudo machine in their own 
machine code.   You only need one compiler like Python that generates that 
intermediate code, which is then interpreted by the implementation hardware.

That's what is happening in the CNC world.  We do our drawing in our favourite 
CAD package.  We submit it to the CAM package.  The CAM package generates the 
pseudo code (G and M codes).  The processor interprets these codes turning them 
into physical operations.

Even if you decided to generate a different pseudo code that was theoretically 
more 'modern' the reality is that eventually they have to be interpreted into 
physical operations.  Create a large number of pseudo code languages and you're 
right back into the Intel/Motorola wars between the 80386 and 68000 families.  
Eventually Intel won since MACs now no longer use the 68000 etc.  

What I mean is if you have a command line and you type in Add 5 + 3 it spits 
out 8.  That it's done with a 6809 or 68000 or 80386 or Pentium 66 doesn't 
matter.  The CNC mill cuts from point A to point B at a specific velocity with 
the spindle turning a requested speed while the coolant floods the work.  When 
done the spindle retracts and turns off, the coolant is turned off.

So the idea that G/M codes are archaic is wrong.  It's just the low level 
language interpreted by the controller.  That controller then creates yet 
another level of messages or signals that make motors turn. And even that can 
have a layer of abstraction.

But, and it's a big but, the actual discussion is really more about what part 
of the picture belongs where.  Under Linux there are a number of different X 
window environments, all sort of the same but not.  Under Microsoft Windows, 
you just have to wait a while and a new graphical user interface shows up.  If 
you want the old one it's real

Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread Bari

On 2/15/20 1:42 AM, David Berndt wrote:

How did we get to the point where we decided that the goal is a 
"relatively simple embedded system"? I for one am not looking to trade 
off the current gui and it's features for what you describe.


It seems like a lot of this thread seems to steer itself in the 
machinekit direction in terms of apparent goals/ideals, so I guess I'd 
ask, why not start there?



We haven't. Someone just thinks new or different is better. Someone that 
has not really worked much with CNC machines but does have an idea that 
they think would make things better. It would be newer without 
explaining why it would be better, only telling us that it will be 
better. So they think newer is better just because it is newer. I hope I 
have cleared this up.  :)




Newer is better. Look into my eyes and repeat "newer is better".




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


Re: [Emc-users] Open source CNC architecture

2020-02-15 Thread andy pugh
On Sat, 15 Feb 2020 at 06:59, Rafael Skodlar  wrote:

The tiniest user interface would be possible using extended ASCII
> characters as in old DOS. We used to play with that in old email
> signatures. My fun with ASCII art in the 1990s:


You might want to play around with:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/emclcd.cc

Except that the same developments that have made £2 µProcesssors available
has also made high-res colour screens cost about the same as a 4-line
character LCD.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912

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


Re: [Emc-users] Open source CNC architecture

2020-02-14 Thread David Berndt
On Sat, 15 Feb 2020 01:56:44 -0500, Rafael Skodlar   
wrote:



On 2020-02-11 01:04, Chris Albertson wrote:
   I said people *want* to use CNC like a laser printer. Most  
setups are
not that good.  It is a goal and if designing a new system.  It is good  
to
set the bar high and try to do what can't be done today.What I  
really

meant was that with a printer, all the critical timing happens in the
printer.  There are no servo-loops on the PC and you don't need a  
real-time

OS to print to paper. I think people want CNC to work this way.



That's how some CNC machines work. I came across a small woodwork  
business owner with very nicely garage that was converted into workshop.  
Win PC in the corner for designing parts in CAD, large Axiom CNC machine  
with a pendant to control it. Tiny LCD is all that's needed to select  
the job, i.e. file from a USB stick.


The owner did not know what's inside the CNC machine itself and he  
doesn't care. That's what you say Chris I think and I agree with.


I don't know if there's an option for connecting that CNC machine to  
LAN. I would not use wireless connections for such as it's security  
issue due to hacking possibility in the neighborhood. Another  
possibility is noise on WhyFy frequencies from appliances, bad power  
lines, etc.


In any case, that CNC machine does not have or need a PC computer with  
modern GUI interface connected directly to run it. That's why I started  
this discussion. X-windows is waste of resources, it's another thing  
that needs to be maintained and updated in some instances. Too many  
things to go bad in what's supposed to be a relatively simple embedded  
system.


The tiniest user interface would be possible using extended ASCII  
characters as in old DOS. We used to play with that in old email  
signatures. My fun with ASCII art in the 1990s:




How did we get to the point where we decided that the goal is a  
"relatively simple embedded system"? I for one am not looking to trade off  
the current gui and it's features for what you describe.


It seems like a lot of this thread seems to steer itself in the machinekit  
direction in terms of apparent goals/ideals, so I guess I'd ask, why not  
start there?





 . ..   .  . . . . o o o o O o
   ___   ___   _  O
  |  Rafael Skodlar| |   LINUX   |   ]OO|_n_n__][.
  | ra...@mydomain.com |=|  Support  |=||=[]_|__|)<
   oo~~oo~   ~~oo~~~oo~~  oooo  'oo -| oo\_
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Add colors, lines, and block characters and ... you see the picture  
that's taking extremely little memory by today standards.
Simple ASCII DRO + G-code scroll window and 4x4 keypad would be enough  
for most work. No need for keyboard, mouse and X-windows on large  
monitor.



On Mon, Feb 10, 2020 at 3:06 PM Bari  wrote:

A laser printer is a good example of how people really want a CNC  
mill to
work.  You design you document on the computer then press "print" and  
the
printer creates it.   After the last of the data is moved to the  
printer

you can turn the PC off it you like.



Why it's not that simple:


https://www.machinedesign.com/3d-printing-cad/article/21122653/top-11-myths-of-cnc-machining


the article states:
Myth #4: G/M Code is a Thing of the Past

That's true too. It amazes me that the industry did not go away from  
primitive code by today standards. G-code was only modified or updated  
by some CNC machines manufacturers as far as I know but most of G-code  
is still the same. Compare that to computer/software advancements since  
1980s. Perl, php, python, Go, html, etc.


Using G-code is like writing computer programs in assembly language! It  
time to upgrade it to something like HP-GL with addition for Z and other  
axis obviously. Such a language would make it much easier for human(e)  
use. 4 to 6 letter long abbreviations for tool manipulation would still  
make code terse enough to fit on smaller LCD displays and we could  
remember the commands for small jobs after a while.


For start, HP-GL commands would need to be modified to accommodate  
relative or absolute CNC tool movement.


Magazine Digital Machinist has some very cool CNC related articles but  
you need to wait long for the next quarterly issue to follow them. None  
of the advertisers mention LCNC ;-(



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


Re: [Emc-users] Open source CNC architecture

2020-02-14 Thread Rafael Skodlar

On 2020-02-11 01:04, Chris Albertson wrote:

   I said people *want* to use CNC like a laser printer. Most setups are
not that good.  It is a goal and if designing a new system.  It is good to
set the bar high and try to do what can't be done today.What I really
meant was that with a printer, all the critical timing happens in the
printer.  There are no servo-loops on the PC and you don't need a real-time
OS to print to paper. I think people want CNC to work this way.



That's how some CNC machines work. I came across a small woodwork 
business owner with very nicely garage that was converted into workshop. 
Win PC in the corner for designing parts in CAD, large Axiom CNC machine 
with a pendant to control it. Tiny LCD is all that's needed to select 
the job, i.e. file from a USB stick.


The owner did not know what's inside the CNC machine itself and he 
doesn't care. That's what you say Chris I think and I agree with.


I don't know if there's an option for connecting that CNC machine to 
LAN. I would not use wireless connections for such as it's security 
issue due to hacking possibility in the neighborhood. Another 
possibility is noise on WhyFy frequencies from appliances, bad power 
lines, etc.


In any case, that CNC machine does not have or need a PC computer with 
modern GUI interface connected directly to run it. That's why I started 
this discussion. X-windows is waste of resources, it's another thing 
that needs to be maintained and updated in some instances. Too many 
things to go bad in what's supposed to be a relatively simple embedded 
system.


The tiniest user interface would be possible using extended ASCII 
characters as in old DOS. We used to play with that in old email 
signatures. My fun with ASCII art in the 1990s:


. ..   .  . . . . o o o o O o
  ___   ___   _  O
 |  Rafael Skodlar| |   LINUX   |   ]OO|_n_n__][.
 | ra...@mydomain.com |=|  Support  |=||=[]_|__|)<
  oo~~oo~   ~~oo~~~oo~~  oooo  'oo -| oo\_
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Add colors, lines, and block characters and ... you see the picture 
that's taking extremely little memory by today standards.
Simple ASCII DRO + G-code scroll window and 4x4 keypad would be enough 
for most work. No need for keyboard, mouse and X-windows on large monitor.



On Mon, Feb 10, 2020 at 3:06 PM Bari  wrote:


A laser printer is a good example of how people really want a CNC mill to
work.  You design you document on the computer then press "print" and the
printer creates it.   After the last of the data is moved to the printer
you can turn the PC off it you like.



Why it's not that simple:


https://www.machinedesign.com/3d-printing-cad/article/21122653/top-11-myths-of-cnc-machining


the article states:
Myth #4: G/M Code is a Thing of the Past

That's true too. It amazes me that the industry did not go away from 
primitive code by today standards. G-code was only modified or updated 
by some CNC machines manufacturers as far as I know but most of G-code 
is still the same. Compare that to computer/software advancements since 
1980s. Perl, php, python, Go, html, etc.


Using G-code is like writing computer programs in assembly language! It 
time to upgrade it to something like HP-GL with addition for Z and other 
axis obviously. Such a language would make it much easier for human(e) 
use. 4 to 6 letter long abbreviations for tool manipulation would still 
make code terse enough to fit on smaller LCD displays and we could 
remember the commands for small jobs after a while.


For start, HP-GL commands would need to be modified to accommodate 
relative or absolute CNC tool movement.


Magazine Digital Machinist has some very cool CNC related articles but 
you need to wait long for the next quarterly issue to follow them. None 
of the advertisers mention LCNC ;-(


--
Rafael Skodlar


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


Re: [Emc-users] Open source CNC architecture

2020-02-14 Thread Todd Zuercher
Retrofitting  a CNC machine is comparable to retrofitting the drive train of an 
automobile (or even just it's control systems).  Doing so in a modern car 
requires quite a lot more technical knowledge than doing so with a vehicle from 
50 years ago.  It is a complicated task and no advances in technology I can for 
see are going to change that.   Simply using Linuxcnc doesn't require much 
knowledge about its inner workings or any special skills, no more than running 
any other CNC, and less than many.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Chris Albertson  
Sent: Friday, February 14, 2020 3:54 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Open source CNC architecture

[EXTERNAL EMAIL] Be sure links are safe.

On Thu, Feb 13, 2020 at 11:43 AM Gene Heskett  wrote:

> On Thursday 13 February 2020 12:51:26 Chris Albertson wrote:
>
> > When designing something new one must be VERY careful not to be one of
> > Henry Ford's customers.In an interview, someone asked Henry Ford
> > (Who was famous for saying "You can have the Model T in any color you
> > like, so long as you like black.")Mr. Ford said that if he had
> > listened to his customers that would have told him all they wanted 
> > was a faster horse.
>
> Don't forget Younger women and More money ;-) [...]
> > Back to CNC.   Step back and people just want to make parts, not
> > fiddle with 100 details of how the CNC machine works.  That is 
> > setting the bar really high.
>
> But in a one man shop in a pond full of frogs, I have to either know 
> all that, or pester you kind folks for pointers from the real experts.  
> And I appreciate the brain pool this list is, a lot.
>

No.  You should not need to know anything.  The fact that you do need to is
a sign that the technology is immature.Back when cars were a new and
immature technology drivers had to know what a "spark advance" was and also 
understand the effect of the mixture controls and how to use a clutch and
shift gears.  In 20 years a small child will be able to operate a car
by sitting in the back seat and saying "Take me the gramma's house"

All tech works that way.   At first, it is usable by experts then it gets
easy.   Hobby level CNC has a LONG way to go before it gets easy.

As I pointed out before a good example to follow is "cleanflight". It
lets anyone with minimal tech background configure the software inside a
multi-copter drone and download it onto the chip.They do not need to
even know the system uses an RTOS.  http://cleanflight.com   It is all open
source and is easy to use

There is no good technical reason a CNC machine can't connect to a normal 
desktop computer or phone over WiFi and "just work".




> > I've done this for other projects at work.   The first step is to fly
> > out to where your users live and watch them work.  See what they do 
> > and how they spend their time.  The low-hanging fruit are tasks that
> > take a lot of time but not much brainpower.   User productivity goes
> > up when you automate those tasks.
>
> This is one of the things I have done several times as a tv engineer, 
> look the operation over and see where the big time sink is, and fix 
> it, often with a very low powered computer because it still works 
> faster than a human. But it can replace that human and his reaction 
> times by something many times more consistent with any human that can 
> push a few labeled buttons.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


--

Chris Albertson
Redondo Beach, California

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


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


Re: [Emc-users] Open source CNC architecture

2020-02-14 Thread Chris Albertson
On Thu, Feb 13, 2020 at 11:43 AM Gene Heskett  wrote:

> On Thursday 13 February 2020 12:51:26 Chris Albertson wrote:
>
> > When designing something new one must be VERY careful not to be one of
> > Henry Ford's customers.In an interview, someone asked Henry Ford
> > (Who was famous for saying "You can have the Model T in any color you
> > like, so long as you like black.")Mr. Ford said that if he had
> > listened to his customers that would have told him all they wanted was
> > a faster horse.
>
> Don't forget Younger women and More money ;-)
> [...]
> > Back to CNC.   Step back and people just want to make parts, not
> > fiddle with 100 details of how the CNC machine works.  That is setting
> > the bar really high.
>
> But in a one man shop in a pond full of frogs, I have to either know all
> that, or pester you kind folks for pointers from the real experts.  And
> I appreciate the brain pool this list is, a lot.
>

No.  You should not need to know anything.  The fact that you do need to is
a sign that the technology is immature.Back when cars were a new and
immature technology drivers had to know what a "spark advance" was and also
understand the effect of the mixture controls and how to use a clutch and
shift gears.  In 20 years a small child will be able to operate a car
by sitting in the back seat and saying "Take me the gramma's house"

All tech works that way.   At first, it is usable by experts then it gets
easy.   Hobby level CNC has a LONG way to go before it gets easy.

As I pointed out before a good example to follow is "cleanflight". It
lets anyone with minimal tech background configure the software inside a
multi-copter drone and download it onto the chip.They do not need to
even know the system uses an RTOS.  http://cleanflight.com   It is all open
source and is easy to use

There is no good technical reason a CNC machine can't connect to a normal
desktop computer or phone over WiFi and "just work".




> > I've done this for other projects at work.   The first step is to fly
> > out to where your users live and watch them work.  See what they do
> > and how they spend their time.  The low-hanging fruit are tasks that
> > take a lot of time but not much brainpower.   User productivity goes
> > up when you automate those tasks.
>
> This is one of the things I have done several times as a tv engineer,
> look the operation over and see where the big time sink is, and fix it,
> often with a very low powered computer because it still works faster
> than a human. But it can replace that human and his reaction times by
> something many times more consistent with any human that can push a few
> labeled buttons.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Open source CNC architecture

2020-02-14 Thread dave engvall

John, et al:

The good thing about linuxcnc is that is can accommodate a wide range of 
user skill; from those who just want to make  chips to those that want 
to dig into the internals, to  those that can actually write internals. 
Ditto on the range of machines. Linuxcnc nee emc was tested on rather 
good sized machines at Boeing, GM and probably others. I think we have a 
few users that have machines in the 10 Kg region or more. I land 
somewhat in the middle with my big machine being 4200 Kg. On the other 
hand there are machines that one could pick up and walk out the door with.


Because linuxcnc is open source there are a variety of controls 
available, steppers as well as servo, including the ability to use 
rotary incremental encoders,  glass scales,  and resolvers.


Further history is here:

http://linuxcnc.org/docs/html/common/emc-history.html

The first system ran on a rather expensive VME bus system but things got 
cheaper when STG (Servo to Go ( only $888 )) offered an isa bus card.


Nuff blithering: back to getting something done. ;-)

Dave

On 2/14/20 12:59 AM, John Dammeyer wrote:

-Original Message-
From: Chris Albertson [mailto:albertson.ch...@gmail.com]
Sent: February-13-20 9:51 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Open source CNC architecture

Yes, you do need a special PC.   This means a PC you use for Linux CNC and
not the one already on your desk.

I think that Chris made a lot of good points.  Since I'm upgrading my mill to 
CNC and using a dual boot PC and either LinuxCNC or MACH3 on WIN-XP/7 perhaps 
can add a slightly different view point.

When I designed the E-Leadscrew Electronic Lead Screw controller the feedback 
from the non-CNC people was that they wanted something more than just 
electronic gearing (now commonly also called an ELS) but not something as 
extensive as full CNC.  So what exactly does that mean?  For that matter what 
does open source mean?  Those are both really good questions.

I'll pass on the lathe description for now and address a milling machine.   
I've managed to get along for a number of years with a DRO and power feed on 
the X axis.  Adding a 5C collect spin indexer and a small rotary table indexed 
by my ELS I've found I have been able to create quite a few different things 
without CNC.  So why has it taken so long to convert to CNC when my JGRO based 
CNC router ran MACH3 from the start.  It's not like I'm afraid of it.

Quite simply for many milling (or lathe projects) that are one-of, the precise 
feedback of a DRO on all three axis and power feed relieves the boredom to a 
certain extent.  But what would improve any mill is power feed on all three 
axis along with the DRO.  And the power feed, if augmented by begin/end 
positions would allow all sorts of linear mill operations including peck 
drilling and, with spindle feedback, like threading on a lathe, power tapping.  
No G-Code based CNC code required.  And unfortunately no I,J motion for arcs.  
Although even those kinds of motions could be set up just as easy as 
co-ordinated motion like the tapering I have on my ELS.

So now we're back to the question that Chris raised about a PC or a dedicated 
embedded controller and relates to my first question above.  LinuxCNC and the 
PC worked because it used the parallel port, or if an add on card was added 
closed loop servo control was possible.  But at some point we cross the line 
from a PC running the CNC software to the PC serving as the interface to custom 
hardware with FPGAs and/or processors dealing with the motion control.  So the 
line has become blurry.

The costs, and they are always important, break down to the high powered 
trajectory planner and user feedback,  the actual motion signals and finally 
the electrical interface often referred to as a Break Out Board.Some of the 
ancillary hardware combines the BoB and the motion control into one package.  
Other solutions use Ethernet to something that creates the motion signals 
coupled to a BoB.  And above both is the trajectory planning/control and user 
interface.

But unless you use a parallel port that is part of the PC the reality is the 
system has already been broken into a CNC controller of some sort that costs 
between $100 and $300.  If you decide to use a MESA Ethernet solution with 
terminal strips and stepping engines etc. there is nothing in the rule book 
that says that the user interface and trajectory planner has to be LinuxCNC.

And on the other side if you are using LinuxCNC if the HAL file loads an 
equivalent to:
loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=0 num_pwmgens=0 
num_stepgens=5"
there's absolutely no reason the device with the above IP address has to be a 
MESA product.

It could, in fact, just as easily look like the $300 CNC controllers with LCD 
displays, buttons terminal strips etc. to connect to Servo or step motors etc.  

Re: [Emc-users] Open source CNC architecture

2020-02-14 Thread John Dammeyer
> -Original Message-
> From: Chris Albertson [mailto:albertson.ch...@gmail.com]
> Sent: February-13-20 9:51 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Open source CNC architecture
> 
> Yes, you do need a special PC.   This means a PC you use for Linux CNC and
> not the one already on your desk.

I think that Chris made a lot of good points.  Since I'm upgrading my mill to 
CNC and using a dual boot PC and either LinuxCNC or MACH3 on WIN-XP/7 perhaps 
can add a slightly different view point. 

When I designed the E-Leadscrew Electronic Lead Screw controller the feedback 
from the non-CNC people was that they wanted something more than just 
electronic gearing (now commonly also called an ELS) but not something as 
extensive as full CNC.  So what exactly does that mean?  For that matter what 
does open source mean?  Those are both really good questions.

I'll pass on the lathe description for now and address a milling machine.   
I've managed to get along for a number of years with a DRO and power feed on 
the X axis.  Adding a 5C collect spin indexer and a small rotary table indexed 
by my ELS I've found I have been able to create quite a few different things 
without CNC.  So why has it taken so long to convert to CNC when my JGRO based 
CNC router ran MACH3 from the start.  It's not like I'm afraid of it.

Quite simply for many milling (or lathe projects) that are one-of, the precise 
feedback of a DRO on all three axis and power feed relieves the boredom to a 
certain extent.  But what would improve any mill is power feed on all three 
axis along with the DRO.  And the power feed, if augmented by begin/end 
positions would allow all sorts of linear mill operations including peck 
drilling and, with spindle feedback, like threading on a lathe, power tapping.  
No G-Code based CNC code required.  And unfortunately no I,J motion for arcs.  
Although even those kinds of motions could be set up just as easy as 
co-ordinated motion like the tapering I have on my ELS.

So now we're back to the question that Chris raised about a PC or a dedicated 
embedded controller and relates to my first question above.  LinuxCNC and the 
PC worked because it used the parallel port, or if an add on card was added 
closed loop servo control was possible.  But at some point we cross the line 
from a PC running the CNC software to the PC serving as the interface to custom 
hardware with FPGAs and/or processors dealing with the motion control.  So the 
line has become blurry.

The costs, and they are always important, break down to the high powered 
trajectory planner and user feedback,  the actual motion signals and finally 
the electrical interface often referred to as a Break Out Board.Some of the 
ancillary hardware combines the BoB and the motion control into one package.  
Other solutions use Ethernet to something that creates the motion signals 
coupled to a BoB.  And above both is the trajectory planning/control and user 
interface.

But unless you use a parallel port that is part of the PC the reality is the 
system has already been broken into a CNC controller of some sort that costs 
between $100 and $300.  If you decide to use a MESA Ethernet solution with 
terminal strips and stepping engines etc. there is nothing in the rule book 
that says that the user interface and trajectory planner has to be LinuxCNC.  

And on the other side if you are using LinuxCNC if the HAL file loads an 
equivalent to:
loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=0 num_pwmgens=0 
num_stepgens=5"
there's absolutely no reason the device with the above IP address has to be a 
MESA product.

It could, in fact, just as easily look like the $300 CNC controllers with LCD 
displays, buttons terminal strips etc. to connect to Servo or step motors etc.  
And that $300 CNC controller might just have the equivalent to my ELS user 
interface that lets you operate this mill as a manual mill with DRO, power feed 
and some pre-programmed motion.   So without the PC and LinuxCNC it's a 
sophisticated manual mill.  Power up the PC or tablet or whatever talks 
Ethernet and LinuxCNC (or whatever user interface + trajectory planner) and you 
have full CNC.

And that's where the second question perhaps might be answered.  What exactly 
is open source?  In a way it's LinuxCNC but only a few guru's really understand 
what is happening under the covers because it's so incredibly powerful.The 
MESA cards can be modified since much of the FPGA information is published.  
But unlike MACH3 where a simple checkbox changes the spindle step pin into a 
pwm pin the FPGA world requires knowledge of the entire FPGA programming 
environment and it can't just be changed with a check box on a set up dialog 
box.

And in the LinuxCNC world one has to be very careful when asking a question in 
fear 

Re: [Emc-users] Open source CNC architecture --> mesa motion controller

2020-02-13 Thread N
> If " 'nix" were suddenly removed from the world the internet and a whole 
> bunch of other thing would disappear.
> 
> Just to rock the boat: mesa (PCW) has a very nice motion controller for 
> an FPGA. 50 us cycle time, etc. "ALL" someone has to do is wrap  interp 
> and all the other non-motion stuff around it. Of course it is single 
> source, etc.

It is possible to run the motion controller on mesa FPGA?


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


Re: [Emc-users] Open source CNC architecture

2020-02-13 Thread N
> > You care where the loop are because if they are in your PC you need a
> > special PC with a special OS.
> 
> Special PC? Pretty much any PC will work. I guess you could call the OS 
> special but not nearly as special as an RTOS on an external processor. 
> If you are really that terrified of Linux, run LCNC headless and write a 
> Windows or web app to talk to it. The LCNC PC then becomes your external 
> CPU box.

Guess a raspberry will work fine, also small enough to put on a din rail or 
similar. It must be a device cheap and readily available, I know some of 
devices similar as this used on raspberry have time triggered send of Ethernet 
messages which is nice but more than needed for a few axis but are not certain 
about this used in Raspberry.

Used PLC with similar or same chip and it does not have any kind of local user 
interface instead I use Ethernet and ordinary to computer to communicate with 
it. Could follow what happen in real time and receive data sent periodically 
over Ethernet but could not be really certain which messages get priority if 
there is more traffic. Often use Youtube, it is more bandwidth but slower 
update rate and certain there is a receive buffer, most of the time but not 
always perfect then used for other things, it will however not make 
dents/scratchs in the monitor so is not very important.


Regards Nicklas Karlsson


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


Re: [Emc-users] Open source CNC architecture

2020-02-13 Thread Gene Heskett
On Thursday 13 February 2020 12:51:26 Chris Albertson wrote:

> When designing something new one must be VERY careful not to be one of
> Henry Ford's customers.In an interview, someone asked Henry Ford
> (Who was famous for saying "You can have the Model T in any color you
> like, so long as you like black.")Mr. Ford said that if he had
> listened to his customers that would have told him all they wanted was
> a faster horse.

Don't forget Younger women and More money ;-)
[...]
> Back to CNC.   Step back and people just want to make parts, not
> fiddle with 100 details of how the CNC machine works.  That is setting
> the bar really high.

But in a one man shop in a pond full of frogs, I have to either know all 
that, or pester you kind folks for pointers from the real experts.  And 
I appreciate the brain pool this list is, a lot.

> I've done this for other projects at work.   The first step is to fly
> out to where your users live and watch them work.  See what they do
> and how they spend their time.  The low-hanging fruit are tasks that
> take a lot of time but not much brainpower.   User productivity goes
> up when you automate those tasks.

This is one of the things I have done several times as a tv engineer, 
look the operation over and see where the big time sink is, and fix it, 
often with a very low powered computer because it still works faster 
than a human. But it can replace that human and his reaction times by 
something many times more consistent with any human that can push a few 
labeled buttons.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Open source CNC architecture

2020-02-13 Thread Chris Albertson
Yes, you do need a special PC.   This means a PC you use for Linux CNC and
not the one already on your desk. Again think of the normal ink-jet
printer.   Do you connect it to a special "printer PC" that is only used to
drive inkjet printers?  No.  In most cases, the inkjet (or laser)
printer is just on WiFi and can print from any iPhone of PC that is also on
the same WiFi.

When designing something new one must be VERY careful not to be one of
Henry Ford's customers.In an interview, someone asked Henry Ford (Who
was famous for saying "You can have the Model T in any color you like, so
long as you like black.")Mr. Ford said that if he had listened to
his customers that would have told him all they wanted was a faster horse.

This is a common thing.  Users typically get used to what they have and ask
for only tiny, incremental changes.   But the really good products are
disruptive.  Look at what Apple did to the cell phone market, now everyone
uses an iPhone or iPhone copy. Same with the Mac.  now everyone uses a
mouse and a windowed graphical interface.  Neither of these ideas was
something a customer asked for.

I think a CNC machine that works like a $180 3D printer would be
disruptive.  It would dramatically lower the skill level required to get
into CNC.   Basically you have to get rid of all the parts that cause
problems.Look at forum posts to see what those are.

That said, disruptive change is really hard to do as it takes a change of
mind-set.  You have to kick the problem around for a long time before you
see a completely different solution.But the big thing to NOT do is to
be one of Ford's customers who is asking only for a faster horse.  It is
all to easy to fall into that trap.

What am I working on now?  Not this.  I'm frustraited in the current
fitness tracker ecosystem.  Why can't I comine data from my Fitbit heart
rate monitor withthe cadance sensor on my bike and my WiFi enebled bathroom
scale and get it all plotted on the same system?   Te fitness tracker
market is too fragmented.There needs to be an easy solution.THis
seems off-topic for a CNC forum, but not. The way to re-think fitness
tracking is to think what people REALLY need and forget abot incremetal
improments to existing products.  Step way back ad look. I think peope
like me and a few million others just want to zip-tie a tiny sensor device
to the crank arm of a bike or ther running shoe or their wrist and then
have some kind of "AI coach" consult with then about what needs to be done
to reach their goal.  People would live to be able to mix brands of sensors
and never have to fiddle with phone apps and web sits and bluetooth paring
and the 100 other details.

Back to CNC.   Step back and people just want to make parts, not fiddle
with 100 details of how the CNC machine works.  That is setting the bar
really high.

I've done this for other projects at work.   The first step is to fly out
to where your users live and watch them work.  See what they do and how
they spend their time.  The low-hanging fruit are tasks that take a lot of
time but not much brainpower.   User productivity goes up when you automate
those tasks.



On Wed, Feb 12, 2020 at 3:47 AM Les Newell 
wrote:

>
> > You care where the loop are because if they are in your PC you need a
> > special PC with a special OS.
>
> Special PC? Pretty much any PC will work. I guess you could call the OS
> special but not nearly as special as an RTOS on an external processor.
> If you are really that terrified of Linux, run LCNC headless and write a
> Windows or web app to talk to it. The LCNC PC then becomes your external
> CPU box.
>
> > But look at how most 3D printers work.
> > They are just like 4 axis milling machines, typically using 4 stepper
> > motors and no one needs a special PC or OS to make prints.   In all cases
> > the designers have pushed all the real-time function out to a $2 chip.
>
> That $2 chip is absolutely packed to the gills and it does one job -
> running a basic 3D printer. It's so full that if you want to add any
> features you have to take others out to make room. The whole ethos of
> LinuxCNC is to be versatile. Want to run an automatic tool changer? No
> problem. Does your machine have an electronically controlled 3 speed
> gearbox? Again it's easy enough to add functionality to do that. Servos?
> stepper? Any mix of the two? Again no problem. I've used quite a few
> different hobby grade controllers and for versatility LCNC blows them
> all out of the water.
>
> If you just want to run a basic desktop router on the cheap get an
> Arduino and chuck GRBL on it. You now have an external board running a
> motion controller with the PC just feeding it g-code. It's as close to
> your 'printer' concept as you're going to get. You can even run it
> completely standalone off a SD card. Of course there is no way GRBL can
> handle a bigger more complex machine.
>
> Admittedly these days you can get slightly m

Re: [Emc-users] Open source CNC architecture

2020-02-13 Thread andy pugh
On Thu, 13 Feb 2020 at 03:48, Gregg Eshelman via Emc-users <
emc-users@lists.sourceforge.net> wrote:

I do have a ton of technical info, software etc for the Animatics
> controller. Got it from a guy at Moog-Animatics who stayed after their
> merger and still had an old backup drive. With that I'd think it should be
> fairly simple to add support to LCNC to at least have the same
> functionality as the DOS software.


This could be done, but I just don't think LinuxCNC (designed to be a CNC
controller) is a sensible starting point.

Have you looked at https://winder.github.io/ugs_website/ ?

My opinion (and only my opinion, I do not speak for LinuxCNC in any
capacity) is that if you want a CNC controller that runs in a PC then
LinuxCNC is the best choice. And if you want a CNC controller that runs in
a microprocessor, look at GRBL, Tiny-G, Marlin, Sailfish etc. And if you
want a CNC controller that runs in an FPGA then there is the Mesa SoftDMC
firmware. http://www.mesanet.com/pdf/motion/softdmc.pdf

LinuxCNC is a CNC controller that runs on a Linux PC. If that isn't what
you want, then there are other options that already are what you want.

Cutting a Maserati in half would make a very bad motorcycle. Cutting
LinuxCNC in half would make a poor G-code sender.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912

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


Re: [Emc-users] Open source CNC architecture

2020-02-12 Thread Gregg Eshelman via Emc-users
That's why back in the 80's when Light Machines designed the ProLight 2000 they 
used an Animatics servo control box equipped to run 3 or four axes. All the 
smarts are in the mill. All that's needed to just mill stuff is a steady stream 
of incoming G-Code and ACK back and forth so the thing will stop should 
whatever is streaming G-Code to it fail. I'm pretty certain the mill controller 
can handle stopping itself when endstop switches are hit. Those signals are 
sent to the computer so the software will stop. 
With that setup anything that can run a DOS program and have an absolute total 
lock on an RS232 port can operate a PLM2000. It also means nobody has bothered 
to produce any alternative software for the machines in ~30 years. Know how 
much of a PITA it is to find a working PC type computer capable of having EMS 
memory setup on it? Yup. The ProLight DOS software is so old it predates XMS 
memory.
I do have a ton of technical info, software etc for the Animatics controller. 
Got it from a guy at Moog-Animatics who stayed after their merger and still had 
an old backup drive. With that I'd think it should be fairly simple to add 
support to LCNC to at least have the same functionality as the DOS software. 
Just monitor the feedback from switches, estop, over-torque etrc, and push the 
G-code at it, while having a nicer UI and no problems with running out of 
conventional DOS memory or having to find an old box capable of EMS in order to 
handle large G-code files.
I've run mine off an old laptop booted off a USB floppy drive. It works but the 
memory space is so chopped up on laptops (and desktops with all the motherboard 
integrated peripherals) that there's no contiguous 64 kilobyte region of the 
Upper Memory Area (above 640K to 1024K) free for the page frame. There are some 
EMS implementations that can dynamically remap several sub-64K UMA into one 
virtual window, but there's still a minimum chunk size and it sure seems that 
PC manufacturers of the late 90's and up have gone to great effort to ensure 
the UMA of their products is so chunked up and fragmented there's just no way 
to do EMS.
An LCNC for motion controllers and drip-feed, stripped down of fancy internal 
functions (for example, the old controller can't do thread milling so there's 
no need for the control software to be able to do the math for that), would be 
a very welcome thing with vintage CNC. My big knee mill from 1990 (that I still 
haven't been able to get around to finishing the refit) originally had Anilam 
Crusader 2. The setup had a serial port, which I assume with a rudimentary DOS 
program a PC could have fed it a large stream of commands the Anilam system 
understood, of far greater length than could be stored on its little tape drive.

What would be more complex is doing thread milling on a mill that has no built 
in code to do such a thing. The control software would need to have a total 
list of all the mill's capabilities then would have to be able to translate 
from the interpolations for thread milling to a series of commands the mill 
does know in order to emulate the function, or it would have to spew forth a 
massive list of step by step XYZ moves, if the old machine can be commanded 
that way.

On Wednesday, February 12, 2020, 4:47:52 AM MST, Les Newell 
 wrote: 
If you just want to run a basic desktop router on the cheap get an 
Arduino and chuck GRBL on it. You now have an external board running a 
motion controller with the PC just feeding it g-code. It's as close to 
your 'printer' concept as you're going to get. You can even run it 
completely standalone off a SD card. Of course there is no way GRBL can 
handle a bigger more complex machine.  
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Open source CNC architecture

2020-02-12 Thread Les Newell



You care where the loop are because if they are in your PC you need a
special PC with a special OS.


Special PC? Pretty much any PC will work. I guess you could call the OS 
special but not nearly as special as an RTOS on an external processor. 
If you are really that terrified of Linux, run LCNC headless and write a 
Windows or web app to talk to it. The LCNC PC then becomes your external 
CPU box.



But look at how most 3D printers work.
They are just like 4 axis milling machines, typically using 4 stepper
motors and no one needs a special PC or OS to make prints.   In all cases
the designers have pushed all the real-time function out to a $2 chip.


That $2 chip is absolutely packed to the gills and it does one job - 
running a basic 3D printer. It's so full that if you want to add any 
features you have to take others out to make room. The whole ethos of 
LinuxCNC is to be versatile. Want to run an automatic tool changer? No 
problem. Does your machine have an electronically controlled 3 speed 
gearbox? Again it's easy enough to add functionality to do that. Servos? 
stepper? Any mix of the two? Again no problem. I've used quite a few 
different hobby grade controllers and for versatility LCNC blows them 
all out of the water.


If you just want to run a basic desktop router on the cheap get an 
Arduino and chuck GRBL on it. You now have an external board running a 
motion controller with the PC just feeding it g-code. It's as close to 
your 'printer' concept as you're going to get. You can even run it 
completely standalone off a SD card. Of course there is no way GRBL can 
handle a bigger more complex machine.


Admittedly these days you can get slightly more expensive 32 bit CPUs 
that could run HAL. Moving the real-time stuff to such a CPU is doable 
with the investment of enough man hours. Who is going to provide those 
man hours? A PC is a convenient, cheap source of a very powerful CPU 
with a bunch of storage and useful interfaces. You can run LCNC on older 
PCs that are often given away for free.



Doing the work on the PC under Linux was a cost
cutting measure but today it dramatically raises the cost because of the
difficulty of interfacing a PC to a milling machine.


Are you talking about the cost of something like a Mesa card? Your $2 
processor doesn't have nearly enough I/Os to do the job on a decent CNC 
installation. By the time you get a processor with lots of I/Os, add the 
cost of a board and the support components needed you are likely to 
easily exceed the cost of a Mesa system. Arduinos for example are dirt 
cheap because they are manufactured in vast quantities. CNC is a pretty 
niche market and any board specifically designed for CNC use isn't going 
to have the low cost you get from quantity.



Another example of real-time motion control software "done right" is
Cleanflight or BetaFlight (both are nearly the same)


Again, they have one job so the code can be carefully optimized for that 
task. CNC machines vary a lot so your control needs to be versatile. If 
you want to add some new functionality to your flight controller you're 
looking at a lot of work.


There are massively more drone users than hobby CNC users. Therefore 
there are more people willing to donate their time into making 
Cleanflight etc as slick as they are.  If enough people were to work on 
LinuxCNC it could become very slick with a pretty GUI to configure it. 
The problem is that there aren't enough people willing to donate the 
man-hours needed. Even then the GUI wouldn't be able to handle the more 
esoteric setups. Are you willing to dedicate a year's work to the 
project? You could get a lot done in that time.


Les


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


Re: [Emc-users] Open source CNC architecture

2020-02-11 Thread dave engvall
If " 'nix" were suddenly removed from the world the internet and a whole 
bunch of other thing would disappear.


Just to rock the boat: mesa (PCW) has a very nice motion controller for 
an FPGA. 50 us cycle time, etc. "ALL" someone has to do is wrap  interp 
and all the other non-motion stuff around it. Of course it is single 
source, etc.


Dave

On 2/11/20 12:05 PM, Chris Albertson wrote:

You care where the loop are because if they are in your PC you need a
special PC with a special OS.   But look at how most 3D printers work.
They are just like 4 axis milling machines, typically using 4 stepper
motors and no one needs a special PC or OS to make prints.   In all cases
the designers have pushed all the real-time function out to a $2 chip.

Back when LinuxCNC was first designed, decades ago there were no $2 chips
that could work.   But today the $2 chip is more powerful than the entire
PC was back in the day.   Doing the work on the PC under Linux was a cost
cutting measure but today it dramatically raises the cost because of the
difficulty of interfacing a PC to a milling machine.   And the need for a
special PC and OS has dramatically reduced the widespread use of LinuxCNC.

Linux is popular in the world if it is hidden.  Look at Android phones.
Everyone uses them but no one needs to learn how to recompile a kernel on
their phone.  They "just work".   Linux has become the #1 OS but only
because it is hidden from users.

Another example of real-time motion control software "done right" is
Cleanflight or BetaFlight (both are nearly the same) This software
controls the motor in a drone.   The control loops run at 2 to 8 KHz and
the software can be configured to run on all kinds of different hardware
then downloaded to the flash ROM on a chip.What is impressive is that
this configuration process is way-easy even for those who know nothing
about computers and software. It is entirely done inside a graphical
web browser.   Users can set which serial ports do what functions and
select protocols anyhow the videos setup.  All using Chrome.Cleanflight
is a model of how this can be done. It is all open sourced.

That said, when some thing works few people are motivated to replace it.

On Tue, Feb 11, 2020 at 5:17 AM Les Newell 
wrote:


What I really
meant was that with a printer, all the critical timing happens in the
printer.  There are no servo-loops on the PC and you don't need a

real-time

OS to print to paper.

Who cares where the servo loops or trajectory planning are? When the end
user presses a button to move the machine they don't care how it is
implemented. They only care that it works. Running a machine takes CPU
cycles. You can either use the CPU in your PC or an external one. What
difference does it make?

Think of your printer example. Do you know or care how much processing
is done in the PC? For example the driver may convert your print page to
PostScript and send that to the printer. The printer then renders that
PostScript to an image of the page. Alternatively the driver may render
the print to a bitmap image of the page and send that to the printer.
The only real difference is in where the processing is done. To the end
user the experience is exactly the same.

Les



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






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


Re: [Emc-users] Open source CNC architecture

2020-02-11 Thread Todd Zuercher
Maybe it's a little like this.  Linuxcnc is a bit like an Amphicar.  Maybe not 
the greatest car or the greatest boat, but to break one apart into a separate 
car and boat (or make it only usable as one or the other) would make it less 
than it is as a whole.  (I know the analogy breaks down where Linuxcnc is both 
a much better motion control, CNC interpreter, and HMI, than an Amphicar is 
either a car or boat.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Chris Albertson  
Sent: Tuesday, February 11, 2020 3:05 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Open source CNC architecture

[EXTERNAL EMAIL] Be sure links are safe.

You care where the loop are because if they are in your PC you need a
special PC with a special OS.   But look at how most 3D printers work.
They are just like 4 axis milling machines, typically using 4 stepper
motors and no one needs a special PC or OS to make prints.   In all cases
the designers have pushed all the real-time function out to a $2 chip.

Back when LinuxCNC was first designed, decades ago there were no $2 chips
that could work.   But today the $2 chip is more powerful than the entire
PC was back in the day.   Doing the work on the PC under Linux was a cost
cutting measure but today it dramatically raises the cost because of the
difficulty of interfacing a PC to a milling machine.   And the need for a
special PC and OS has dramatically reduced the widespread use of LinuxCNC.

Linux is popular in the world if it is hidden.  Look at Android phones.
Everyone uses them but no one needs to learn how to recompile a kernel on
their phone.  They "just work".   Linux has become the #1 OS but only
because it is hidden from users.

Another example of real-time motion control software "done right" is
Cleanflight or BetaFlight (both are nearly the same) This software
controls the motor in a drone.   The control loops run at 2 to 8 KHz and
the software can be configured to run on all kinds of different hardware
then downloaded to the flash ROM on a chip.What is impressive is that
this configuration process is way-easy even for those who know nothing
about computers and software. It is entirely done inside a graphical
web browser.   Users can set which serial ports do what functions and
select protocols anyhow the videos setup.  All using Chrome.Cleanflight
is a model of how this can be done. It is all open sourced.

That said, when some thing works few people are motivated to replace it.

On Tue, Feb 11, 2020 at 5:17 AM Les Newell 
wrote:

> > What I really
> > meant was that with a printer, all the critical timing happens in 
> > the printer.  There are no servo-loops on the PC and you don't need 
> > a
> real-time
> > OS to print to paper.
>
> Who cares where the servo loops or trajectory planning are? When the 
> end user presses a button to move the machine they don't care how it 
> is implemented. They only care that it works. Running a machine takes 
> CPU cycles. You can either use the CPU in your PC or an external one. 
> What difference does it make?
>
> Think of your printer example. Do you know or care how much processing 
> is done in the PC? For example the driver may convert your print page 
> to PostScript and send that to the printer. The printer then renders 
> that PostScript to an image of the page. Alternatively the driver may 
> render the print to a bitmap image of the page and send that to the printer.
> The only real difference is in where the processing is done. To the 
> end user the experience is exactly the same.
>
> Les
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


--

Chris Albertson
Redondo Beach, California

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


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


Re: [Emc-users] Open source CNC architecture

2020-02-11 Thread Chris Albertson
You care where the loop are because if they are in your PC you need a
special PC with a special OS.   But look at how most 3D printers work.
They are just like 4 axis milling machines, typically using 4 stepper
motors and no one needs a special PC or OS to make prints.   In all cases
the designers have pushed all the real-time function out to a $2 chip.

Back when LinuxCNC was first designed, decades ago there were no $2 chips
that could work.   But today the $2 chip is more powerful than the entire
PC was back in the day.   Doing the work on the PC under Linux was a cost
cutting measure but today it dramatically raises the cost because of the
difficulty of interfacing a PC to a milling machine.   And the need for a
special PC and OS has dramatically reduced the widespread use of LinuxCNC.

Linux is popular in the world if it is hidden.  Look at Android phones.
Everyone uses them but no one needs to learn how to recompile a kernel on
their phone.  They "just work".   Linux has become the #1 OS but only
because it is hidden from users.

Another example of real-time motion control software "done right" is
Cleanflight or BetaFlight (both are nearly the same) This software
controls the motor in a drone.   The control loops run at 2 to 8 KHz and
the software can be configured to run on all kinds of different hardware
then downloaded to the flash ROM on a chip.What is impressive is that
this configuration process is way-easy even for those who know nothing
about computers and software. It is entirely done inside a graphical
web browser.   Users can set which serial ports do what functions and
select protocols anyhow the videos setup.  All using Chrome.Cleanflight
is a model of how this can be done. It is all open sourced.

That said, when some thing works few people are motivated to replace it.

On Tue, Feb 11, 2020 at 5:17 AM Les Newell 
wrote:

> > What I really
> > meant was that with a printer, all the critical timing happens in the
> > printer.  There are no servo-loops on the PC and you don't need a
> real-time
> > OS to print to paper.
>
> Who cares where the servo loops or trajectory planning are? When the end
> user presses a button to move the machine they don't care how it is
> implemented. They only care that it works. Running a machine takes CPU
> cycles. You can either use the CPU in your PC or an external one. What
> difference does it make?
>
> Think of your printer example. Do you know or care how much processing
> is done in the PC? For example the driver may convert your print page to
> PostScript and send that to the printer. The printer then renders that
> PostScript to an image of the page. Alternatively the driver may render
> the print to a bitmap image of the page and send that to the printer.
> The only real difference is in where the processing is done. To the end
> user the experience is exactly the same.
>
> Les
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Open source CNC architecture

2020-02-11 Thread N
> While I don't have a problem with separating the motion control and the HMI 
> hardware.  (it is how most commercial CNCs have done it for the past 30 years 
> or more.)

Have an old Sodick wire EDM built this way and think it is a rather good idea 
though which components are readily available is also important, currently run 
both motion control and HMI on ordinary computer.

> But being more like a printer isn't a good thing.  I've used CNCs whose 
> controls are set up very similar to how a printer works, and frankly they are 
> a giant pain in the ass to use compared with a conventional CNC.  (The 
> manufacturer of those routers mostly makes large format printers and stuff 
> for the sign industry.)  While it kind of sucks on a sign router, I think 
> that system would be almost totally unworkable on a cnc mill.  Just about the 
> only reason those 3 routers haven’t had a brain transplant to convert them to 
> Linuxcnc, is the half a terabyte of existing code already set up for the old 
> proprietary system, and doesn't use g-code and can't be easily ported to a 
> different system.  (Well, I've actually converted one of them but It's old 
> control can still be plugged back in and used, but that wouldn't be possible 
> with the other 2.)  It is hard to ash can that many man hours of setting up 
> machine files (nearly 20yrs of accumulation.) 

Planned to use machine more or less CNC machine as a printer but have no 
experience at all yet. Use CAD software on computer to make drawing and 
generate g-code and then run it on the CNC machine though user interface as is 
now should if not always at least be available then needed.


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


Re: [Emc-users] Open source CNC architecture

2020-02-11 Thread Todd Zuercher
While I don't have a problem with separating the motion control and the HMI 
hardware.  (it is how most commercial CNCs have done it for the past 30 years 
or more.)  But being more like a printer isn't a good thing.  I've used CNCs 
whose controls are set up very similar to how a printer works, and frankly they 
are a giant pain in the ass to use compared with a conventional CNC.  (The 
manufacturer of those routers mostly makes large format printers and stuff for 
the sign industry.)  While it kind of sucks on a sign router, I think that 
system would be almost totally unworkable on a cnc mill.  Just about the only 
reason those 3 routers haven’t had a brain transplant to convert them to 
Linuxcnc, is the half a terabyte of existing code already set up for the old 
proprietary system, and doesn't use g-code and can't be easily ported to a 
different system.  (Well, I've actually converted one of them but It's old 
control can still be plugged back in and used, but that wouldn't be possible 
with the other 2.)  It is hard to ash can that many man hours of setting up 
machine files (nearly 20yrs of accumulation.) 

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Les Newell  
Sent: Tuesday, February 11, 2020 8:15 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Open source CNC architecture

[EXTERNAL EMAIL] Be sure links are safe.

> What I really
> meant was that with a printer, all the critical timing happens in the 
> printer.  There are no servo-loops on the PC and you don't need a 
> real-time OS to print to paper.

Who cares where the servo loops or trajectory planning are? When the end user 
presses a button to move the machine they don't care how it is implemented. 
They only care that it works. Running a machine takes CPU cycles. You can 
either use the CPU in your PC or an external one. What difference does it make?

Think of your printer example. Do you know or care how much processing is done 
in the PC? For example the driver may convert your print page to PostScript and 
send that to the printer. The printer then renders that PostScript to an image 
of the page. Alternatively the driver may render the print to a bitmap image of 
the page and send that to the printer.
The only real difference is in where the processing is done. To the end user 
the experience is exactly the same.

Les



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

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


Re: [Emc-users] Open source CNC architecture

2020-02-11 Thread Gene Heskett
On Tuesday 11 February 2020 08:14:30 Les Newell wrote:

> > What I really
> > meant was that with a printer, all the critical timing happens in
> > the printer.  There are no servo-loops on the PC and you don't need
> > a real-time OS to print to paper.
>
> Who cares where the servo loops or trajectory planning are? When the
> end user presses a button to move the machine they don't care how it
> is implemented. They only care that it works. Running a machine takes
> CPU cycles. You can either use the CPU in your PC or an external one.
> What difference does it make?
>
> Think of your printer example. Do you know or care how much processing
> is done in the PC? For example the driver may convert your print page
> to PostScript and send that to the printer. The printer then renders
> that PostScript to an image of the page. Alternatively the driver may
> render the print to a bitmap image of the page and send that to the
> printer. The only real difference is in where the processing is done.
> To the end user the experience is exactly the same.
>
> Les
>
Hear! hear!, Les. The analogy somewhat fails for printers when that 
convert to bit map is proprietary.  Thats the printer maker dictating to 
the customer what platform his printer can be used with.  So to the 
printer maker who wants to sell me his product, there will be drivers 
for my chosen hardware and the os running it, or there will be no sale. 
In my house, it really is that simple.

I am about convinced that while my G0704 is running fairly good, its post 
is NOT square to the table, I should switch the machine driveing it, 
currently an elderly Dell that idles at 250 watts, out for something 
that runs on 5 watts, like the rpi4. I just haven't made up my mind as 
to the interfaceing hardware. Only one thing is a sure bet, it will be 
running linuxcnc, and will probably use a Mesa interface.

And since integrated drives have hit the market at nominally $100/axis, 
that may be a later conversion.  But I'll need to find a formula that 
I've not looked very hard for, that converts the Newtons of force these 
are advertised as having, to the oz/in I'm used to, so I can make 
intelligent drive size purchase choices. x in particular needs more 
cajones.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Open source CNC architecture

2020-02-11 Thread Les Newell

What I really
meant was that with a printer, all the critical timing happens in the
printer.  There are no servo-loops on the PC and you don't need a real-time
OS to print to paper.


Who cares where the servo loops or trajectory planning are? When the end 
user presses a button to move the machine they don't care how it is 
implemented. They only care that it works. Running a machine takes CPU 
cycles. You can either use the CPU in your PC or an external one. What 
difference does it make?


Think of your printer example. Do you know or care how much processing 
is done in the PC? For example the driver may convert your print page to 
PostScript and send that to the printer. The printer then renders that 
PostScript to an image of the page. Alternatively the driver may render 
the print to a bitmap image of the page and send that to the printer.  
The only real difference is in where the processing is done. To the end 
user the experience is exactly the same.


Les



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


Re: [Emc-users] Open source CNC architecture

2020-02-11 Thread Chris Albertson
  I said people *want* to use CNC like a laser printer. Most setups are
not that good.  It is a goal and if designing a new system.  It is good to
set the bar high and try to do what can't be done today.What I really
meant was that with a printer, all the critical timing happens in the
printer.  There are no servo-loops on the PC and you don't need a real-time
OS to print to paper. I think people want CNC to work this way.

On Mon, Feb 10, 2020 at 3:06 PM Bari  wrote:

> > A laser printer is a good example of how people really want a CNC mill to
> > work.  You design you document on the computer then press "print" and the
> > printer creates it.   After the last of the data is moved to the printer
> > you can turn the PC off it you like.
> >
>
> Why it's not that simple:
>
>
> https://www.machinedesign.com/3d-printing-cad/article/21122653/top-11-myths-of-cnc-machining
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Open source CNC architecture

2020-02-10 Thread Bari

A laser printer is a good example of how people really want a CNC mill to
work.  You design you document on the computer then press "print" and the
printer creates it.   After the last of the data is moved to the printer
you can turn the PC off it you like.



Why it's not that simple:

https://www.machinedesign.com/3d-printing-cad/article/21122653/top-11-myths-of-cnc-machining



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


Re: [Emc-users] Open source CNC architecture

2020-02-07 Thread Erik Christiansen
On 04.02.20 10:09, Jon Elson wrote:
> On 02/04/2020 09:17 AM, Stuart Stevenson wrote:
> > Aside from the stress and consternation in the LinuxCNC world about the
> > logo I like the new name a lot better.
> Yes, unless you have to type the longer name 20+ times a day!

Any good text editor will have labour saving options. Using vim within
mutt for composing posts, I have an abbreviation:

iab ;l LinuxCNC

automatically enabled only when needed, so that the abbreviation can
be used for other purposes in other contexts.

Vim's "autocommand" feature is one easy way to automate different
abbreviations for different edit files or filepaths.

It was my preference for a bit of case emphasis in the name which
convinced me that the abbreviation was useful.

Oh, yes, if a document is needed, I compose it in the text editor, then
import and fontify only at the last moment - for speed and ease. (The
vim spellchecker is also easier to customise and use for several
languages.)

Erik


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


  1   2   >