Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-13 Thread John Dammeyer
WARNING! The following message does not conform to CoC as it's wordy and useless. = So I got to use that halfway between points operation today. To set Y=0.0 between the fixed and movable jaws of the vise holding hollow round stock with my LED indicator 0.2"

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-13 Thread Les Newell
That's so wrong on so many levels really. Either continue the previous section or throw up a "Repeated Section" warning or error. If it knows to ignore it then it also has the ability to do throw up an error. The LinuxCNC ini format is based on the old Windows ini format, which also does

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
. Thanks again. John > -Original Message- > From: Les Newell [mailto:les.new...@fastmail.co.uk] > Sent: July-12-21 9:57 AM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > > My issue was I have the HB0

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread Leonardo Marsaglia
Well, is there a spot where I can find some examples, of that what you > mentioned? > As the guys pointed out early, there are several simpler solutions to implement the DRO functionality you're looking for. Nevertheless you can take a look here to see some source code to have a starting point

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
> > On 7/12/21 9:20 AM, Les Newell wrote: > > > It's pretty easy to do this in g-code. There is no need to get > > > involved with HAL programming. > > > Here is one way I do it on my mill. I have buttons for the following: > > > Zero X (runs code G92X0) > > > Zero Y (runs code G92Y0) > > > Zero Z

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
bject: Re: [Emc-users] 'automatically' go halfway between 2 points > > > On 7/12/21 9:20 AM, Les Newell wrote: > > It's pretty easy to do this in g-code. There is no need to get > > involved with HAL programming. > > Here is one way I do it on my mill. I have buttons for

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
> From: andy pugh [mailto:bodge...@gmail.com] > Sent: July-12-21 3:00 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > On Mon, 12 Jul 2021 at 22:55, John Dammeyer wrote: > > > That's so wrong on

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread andy pugh
On Mon, 12 Jul 2021 at 23:12, R C wrote: > what does the "#5420" do/mean? http://linuxcnc.org/docs/2.8/html/gcode/overview.html#gcode:parameters -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread R C
On 7/12/21 9:20 AM, Les Newell wrote: It's pretty easy to do this in g-code. There is no need to get involved with HAL programming. Here is one way I do it on my mill. I have buttons for the following: Zero X (runs code G92X0) Zero Y (runs code G92Y0) Zero Z (runs code G92Z0) X/2 (runs code

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread andy pugh
On Mon, 12 Jul 2021 at 22:55, John Dammeyer wrote: > That's so wrong on so many levels really. Either continue the previous > section or throw up a "Repeated Section" warning or error. If it knows to > ignore it then it also has the ability to do throw up an error. It doesn't actively

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread R C
On 7/12/21 8:59 AM, Leonardo Marsaglia wrote: That was actually what I was looking for, a button "like that", and wondered if I just didn't see/find it. Yeah I can see some "convenient" functionality in that, but being able to go "half way" between two points, even with some iteration would

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
> To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > I took a look at the files you sent me off-list and I suspect the issue > is that you have two [HALUI] sections, one in the ini file and one in > layout2.inc. If you combine the t

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
> From: andy pugh [mailto:bodge...@gmail.com] > On Mon, 12 Jul 2021 at 22:31, Les Newell wrote: > > > Could anyone else here confirm that having two sections with the same > > name is problematic? > > Yes. Only the first section will be found. > > > -- > atp That's so wrong on so many levels

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread andy pugh
On Mon, 12 Jul 2021 at 22:31, Les Newell wrote: > Could anyone else here confirm that having two sections with the same > name is problematic? Yes. Only the first section will be found. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread R C
Hi Andy, On 7/12/21 2:17 AM, andy pugh wrote: (Nothing quoted, as this is general info) If you have a probe, then there is a hole centre macro that ships with LinuxCNC, "probe-hole.ngc" That will work without any config changes. Well I have a simple, mechanical one, one end cylindrical, the

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
I can easily try that to see what happens. Give me a few minutes. John > -Original Message- > From: Les Newell [mailto:les.new...@fastmail.co.uk] > Sent: July-12-21 2:29 PM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] 'automatically' go halfway b

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread R C
R C [mailto:cjv...@gmail.com] Sent: July-11-21 10:31 PM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] 'automatically' go halfway between 2 points On 7/11/21 11:15 PM, John Dammeyer wrote: Essentially the process involves two touch off operations. First one side until an LED comes

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread Les Newell
I took a look at the files you sent me off-list and I suspect the issue is that you have two [HALUI] sections, one in the ini file and one in layout2.inc. If you combine the two sections it will probably work. Could anyone else here confirm that having two sections with the same name is

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread Les Newell
Could you post your inc and ini files. Hopefully that way I can see what is going on. Les On 12/07/2021 18:43, John Dammeyer wrote: I uncommented them but they don't show up in the hal config. Only the first 16 from 00 to 15 from the pendant.m Just went out to the shop and checked that

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread andrew beck
> > John > > > > -----Original Message- > > From: Les Newell [mailto:les.new...@fastmail.co.uk] > > Sent: July-12-21 8:20 AM > > To: emc-users@lists.sourceforge.net > > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > > > I

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
2-21 9:57 AM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > > My issue was I have the HB04 Pendant > > I had one of those on my router. The MPG died shortly after I received > it so I ended up throwing it in a

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread Les Newell
-Original Message- From: Les Newell [mailto:les.new...@fastmail.co.uk] Sent: July-12-21 8:20 AM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] 'automatically' go halfway between 2 points It's pretty easy to do this in g-code. There is no need to get involved with HAL programmi

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
8:20 AM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > It's pretty easy to do this in g-code. There is no need to get involved > with HAL programming. > Here is one way I do it on my mill. I have buttons for the

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread Les Newell
It's pretty easy to do this in g-code. There is no need to get involved with HAL programming. Here is one way I do it on my mill. I have buttons for the following: Zero X (runs code G92X0) Zero Y (runs code G92Y0) Zero Z (runs code G92Z0) X/2 (runs code G92X[#5420 / 2]) Y/2 (runs code G92X[#5421

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread Leonardo Marsaglia
> > That was actually what I was looking for, a button "like that", and > wondered if I just didn't see/find it. > > Yeah I can see some "convenient" functionality in that, but being able > to go "half way" between two points, even with some iteration would > help, to get that started > > (It

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread andy pugh
(Nothing quoted, as this is general info) If you have a probe, then there is a hole centre macro that ships with LinuxCNC, "probe-hole.ngc" That will work without any config changes. There is a fairly complete set of probe routines included in the distribution which are included in the QTDragon

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread John Dammeyer
il.com] > Sent: July-11-21 11:25 PM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > correct, > > If you draw 2, different, triangles like that, with their corners on a > circle, their hypotenuses intersec

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-12 Thread R C
age- From: R C [mailto:cjv...@gmail.com] Sent: July-11-21 10:31 PM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] 'automatically' go halfway between 2 points On 7/11/21 11:15 PM, John Dammeyer wrote: Essentially the process involves two touch off operations. First one side until

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread John Dammeyer
a bit better. > -Original Message- > From: R C [mailto:cjv...@gmail.com] > Sent: July-11-21 10:31 PM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > > On 7/11/21 11:15 PM, John Dammeyer wrote: >

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread R C
/machinist ...   this weekend I created 4 proto types of a stepper motor mount,  aka scrap. John Ron -Original Message- From: R C [mailto:cjv...@gmail.com] Sent: July-11-21 10:00 PM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] 'automatically' go halfway between 2 points

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread R C
riginal Message- From: R C [mailto:cjv...@gmail.com] Sent: July-11-21 9:29 PM To: linuxcnc-users-list Subject: [Emc-users] 'automatically' go halfway between 2 points Hello, in linuxcnc,? is there an easy/automated way to get halfway between two points??? (Fort example, you'd touch off somewher

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread R C
9:29 PM To: linuxcnc-users-list Subject: [Emc-users] 'automatically' go halfway between 2 points Hello, in linuxcnc,� is there an easy/automated way to get halfway between two points?�� (Fort example, you'd touch off somewhere, move to some coordinate (x, y)� (or even (x, y, z)) and go inbetween

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread John Dammeyer
1-21 9:58 PM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > Hi John, > > > I have seen videos about these electronic "add on" DROs that is actually > why I am asking.�� It would be incredibly helpful

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread John Dammeyer
o: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > > On 7/11/21 10:47 PM, John Dammeyer wrote: > > I still have my Shumatech DRO on my mill. I touch one side and zero the > > axis. I then move across and jog

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread Leonardo Marsaglia
probably not that hard, if I knew how to write > a plugin for LCNC > > > > John > > > > > >> -Original Message- > >> From: R C [mailto:cjv...@gmail.com] > >> Sent: July-11-21 9:29 PM > >> To: linuxcnc-users-list > >> Subj

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread R C
ere I was looking around),  or else a plugin.   it's probably not that hard,  if I knew how to write a plugin for LCNC John -Original Message- From: R C [mailto:cjv...@gmail.com] Sent: July-11-21 9:29 PM To: linuxcnc-users-list Subject: [Emc-users] 'automatically' go halfway between 2 p

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread R C
- From: R C [mailto:cjv...@gmail.com] Sent: July-11-21 9:29 PM To: linuxcnc-users-list Subject: [Emc-users] 'automatically' go halfway between 2 points Hello, in linuxcnc,� is there an easy/automated way to get halfway between two points?�� (Fort example, you'd touch off somewhere, move to

Re: [Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread John Dammeyer
meter of the probe. Certainly there must be an easy way to do this with LCNC? The Shumatech software has been around for at least 13 years. John > -Original Message- > From: R C [mailto:cjv...@gmail.com] > Sent: July-11-21 9:29 PM > To: linuxcnc-users-list > Subject: [Emc-users

[Emc-users] 'automatically' go halfway between 2 points

2021-07-11 Thread R C
Hello, in linuxcnc,  is there an easy/automated way to get halfway between two points?   (Fort example, you'd touch off somewhere, move to some coordinate (x, y)  (or even (x, y, z)) and go inbetween right to the the middle of where you touched off and where the spindle is now? thanks,