Re: [Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-14 Thread John Dammeyer
You have to make the video public.
John

> -Original Message-
> From: Dewey Garrett [mailto:dgarr...@panix.com]
> Sent: December-14-19 8:40 AM
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] D. Garret's Dry Run LinuxCNC
> 
> 
> > Is there a way to speed it up to estimate the program run time?
> 
> I've added an integer motion.dryrun-speed multiplier pin
> for coordinated moves but won't claim it as a reliable
> estimator -- pauses, toolchanges, handshakes (and probably
> other items) are not handled.
> 
> video:
> https://www.youtube.com/watch?v=N77tJVw3dPQ=youtu.be
> 
> docs:
> http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-
> dryrun~f2bd153/html/integrator/dryrun.html
> 
> --
> Dewey Garrett
> 
> 
> 
> ___
> 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] D. Garret's Dry Run LinuxCNC

2019-12-14 Thread Dewey Garrett


> Is there a way to speed it up to estimate the program run time? 

I've added an integer motion.dryrun-speed multiplier pin
for coordinated moves but won't claim it as a reliable
estimator -- pauses, toolchanges, handshakes (and probably
other items) are not handled.

video:
https://www.youtube.com/watch?v=N77tJVw3dPQ=youtu.be

docs:
http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-dryrun~f2bd153/html/integrator/dryrun.html

-- 
Dewey Garrett



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


Re: [Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-14 Thread N
> пт, 13 груд. 2019 о 18:38 Dewey Garrett пише:
> 
> > Current Docs:
> >
> >
> > http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-dryrun~6eca6ac/html/integrator/dryrun.html
> >
> >
> > http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-dryrun~6eca6ac/html/man/man9/dryrun_helper.9.html
> >
> > Branch ref: https://github.com/LinuxCNC/linuxcnc/commits/dgarr/dryrun
> >
> > This branch is force-pushed when there are changes.
> >
> 
> Thanks for the great job!
> 
> Is there a way to speed it up to estimate the program run time? I.e.
> simulation mode.

Have done similar for other programs. It was implemented as function called 
periodically and for simulation simply run in loop as fast as computer 
calculated. Assuming parameters for motion planner is correct so that there is 
no following error there should be no need to run feedback loop, trajectory 
planner should be enough.


I came to the conclusion program could either stop waiting for something like a 
periodic timer or be called then something happen for example triggered from a 
periodic timer. Stop waiting need support from operating system so that other 
threads could continue executing! Called then something happen and program must 
be implemented as a state machine!

It is often more work to implement as a state machine though control loops 
usually have very few states and i have an advantage it also could be called 
from interrupt which is particularly useful then timers with nested interrupts 
with priority could be used to call function.


Regards Nicklas Karlsson


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


Re: [Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-13 Thread John Dammeyer
> -Original Message-
> From: Andy Pugh [mailto:bodge...@gmail.com]
> 
> > On 13 Dec 2019, at 19:15, John Dammeyer 
> wrote:
> >
> > What exactly is Dry Run?
> 
> Background:
> https://forum.linuxcnc.org/21-axis/37873-simulation?start=0

Ah! It's really really recent.   Not just another well used feature that has to 
be added in.  
Thanks for the link.
John




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


Re: [Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-13 Thread Andrew
пт, 13 груд. 2019 о 18:38 Dewey Garrett пише:

> Current Docs:
>
>
> http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-dryrun~6eca6ac/html/integrator/dryrun.html
>
>
> http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-dryrun~6eca6ac/html/man/man9/dryrun_helper.9.html
>
> Branch ref: https://github.com/LinuxCNC/linuxcnc/commits/dgarr/dryrun
>
> This branch is force-pushed when there are changes.
>

Thanks for the great job!

Is there a way to speed it up to estimate the program run time? I.e.
simulation mode.

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


Re: [Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-13 Thread Andy Pugh



> On 13 Dec 2019, at 19:15, John Dammeyer  wrote:
> 
> What exactly is Dry Run?

Background:
https://forum.linuxcnc.org/21-axis/37873-simulation?start=0


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


Re: [Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-13 Thread John Dammeyer



> -Original Message-
> From: Todd Zuercher [mailto:to...@pgrahamdunn.com]
> 
> It is a way to run a real time simulation (no movement) at the machine.
> 

I guess since I use the CAM system to generate what I machine and it has 
simulation I haven't seen a need.  I usually just set Z high and then run the 
real code.  Plus LinuxCNC tells me right away if I'm going to move outside my 
mechanical bounds due to the soft limits so that helps me figure out where to 
put the x/y zero and where to clamp the work.  

If I dragged an Ethernet cable out to the CNC PC how would I install this?  I 
know with a Pi or Beagle one just does:

sudo apt-get install _application_

And then it's ready to go. 

 Is there a quick and easy way to install additional 'features' like tool touch 
off or this Dry Run so it's just naturally part of the user interface?

Seems, from reading these docs one has to do all sorts of text file editing to 
make it work.  


Current Docs:

http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-dryrun~6eca6ac/html/integrator/dryrun.html

http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-dryrun~6eca6ac/html/man/man9/dryrun_helper.9.html

Branch ref: https://github.com/LinuxCNC/linuxcnc/commits/dgarr/dryrun

It looks really cool but I could see spending hours just trying to get it 
working.
Thanks
John



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


Re: [Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-13 Thread Todd Zuercher
It is a way to run a real time simulation (no movement) at the machine.

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

-Original Message-
From: John Dammeyer  
Sent: Friday, December 13, 2019 1:16 PM
To: 'Enhanced Machine Controller (EMC)' 
Subject: Re: [Emc-users] D. Garret's Dry Run LinuxCNC

What exactly is Dry Run?  
John


> -Original Message-
> From: Dewey Garrett [mailto:dgarr...@panix.com]
> Sent: December-13-19 8:36 AM
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] D. Garret's Dry Run LinuxCNC
> 
> In <116a4710-b051-a08d-7ce8-624158935...@gmail.com> Thomas J Powderly 
>  writes:
> 
> 
> Current Docs:
> 
> http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-
> dryrun~6eca6ac/html/integrator/dryrun.html
> 
> http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-
> dryrun~6eca6ac/html/man/man9/dryrun_helper.9.html
> 
> Branch ref: https://github.com/LinuxCNC/linuxcnc/commits/dgarr/dryrun
> 
> This branch is force-pushed when there are changes.
> --
> Dewey Garrett
> 
> 
> 
> ___
> 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


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


Re: [Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-13 Thread John Dammeyer
What exactly is Dry Run?  
John


> -Original Message-
> From: Dewey Garrett [mailto:dgarr...@panix.com]
> Sent: December-13-19 8:36 AM
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] D. Garret's Dry Run LinuxCNC
> 
> In <116a4710-b051-a08d-7ce8-624158935...@gmail.com> Thomas J
> Powderly  writes:
> 
> 
> Current Docs:
> 
> http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-
> dryrun~6eca6ac/html/integrator/dryrun.html
> 
> http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-
> dryrun~6eca6ac/html/man/man9/dryrun_helper.9.html
> 
> Branch ref: https://github.com/LinuxCNC/linuxcnc/commits/dgarr/dryrun
> 
> This branch is force-pushed when there are changes.
> --
> Dewey Garrett
> 
> 
> 
> ___
> 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] D. Garret's Dry Run LinuxCNC

2019-12-13 Thread Dewey Garrett
In <116a4710-b051-a08d-7ce8-624158935...@gmail.com> Thomas J Powderly 
 writes:


Current Docs:

http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-dryrun~6eca6ac/html/integrator/dryrun.html

http://buildbot.linuxcnc.org/doc/scratch/v2.9.0~pre0~dgarr-dryrun~6eca6ac/html/man/man9/dryrun_helper.9.html

Branch ref: https://github.com/LinuxCNC/linuxcnc/commits/dgarr/dryrun

This branch is force-pushed when there are changes.
-- 
Dewey Garrett



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


[Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-13 Thread Thomas J Powderly

I dont know if this branch and demo are known to the list
https://www.youtube.com/watch?v=6dzFt-KCMgU
tomp


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