[Emc-users] For Peter C. Wallace

2017-11-11 Thread Gene Heskett
Hi Peter;

If I write a hal thing that changes the value pushed into the encoder's 
scale input, how much of a time lag might there be to make it effective?

The scenario is this:

I have ordered a 1000 line Omron encoder, which I intend to couple to the 
rear of the spindle motor shaft, feeding its a/b into the encoder in a 
5i25. But the index signal from the new encoder will not be used, 
remaining with the index in my shop made encoder, and therefore at a 
known location of the spindles rotation, with the desired end result 
being a different scale factor according to the gear setting in effect 
at the instant.

So given a couple turns of the spindle to allow the encoder to get 
re-synced with the new scale setting I ought to be able to do rigid 
tapping in either gear. Like 4-40's in high gear, and as much as 8mm in 
low gear.

Obviously I don't envision changing this in mid-tap.

Other than that potential screw-up on the part of the operator, me, do 
you see any problems with such a setup?

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)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touchegg with LCNC - Linux multitouch gesture recognizer

2017-11-11 Thread bari
We tried LCD models similar to these but replaced the enclosures with
something rugged and put the Mesa cards and motor drivers inside.
https://www.newegg.com/Product/Product.aspx?Item=9SIA2F81JR8834


On 11/10/2017 10:03 AM, Chris Albertson wrote:
> This does not have to be on a touch screen.  It works on a conventional
> track pad.   The problem is most trackpads or such incredibly low quality.
>   Good ones are expensive.   I use one of these daily:
> https://www.amazon.com/gp/product/B003XLYAWC/ref=ask_ql_qh_dp_hza
>
> If you are a machinist they are interesting devices because they are milled
> from aluminum billets then sand blasted to remove the machine tool marks.
> The top surface is covered with a very thin 1mm layer of glass with a
> ground surface to remove "stickiness"
>
> Logitec also makes some but they cost more and are not as well made, just
> typical plastic trackpads.
> https://www.amazon.com/LOG910003057-Logitech-Wireless-Rechargeable-Touchpad/dp/B0093H4WT6/ref=pd_bxgy_147_2?_encoding=UTF8=1=9D833CWHZAT0TGHYD86M=21pCaESx4OL=_SX300_QL70_=detail
>
>
>
> On Thu, Nov 9, 2017 at 6:03 AM, bari  wrote:
>
>> Has anyone tried Touchegg with Linuxcnc and have any feedback on how
>> well it works?
>>
>> https://github.com/JoseExposito/touchegg
>>
>> https://www.youtube.com/watch?v=28Jjf5Ak6Q0
>>
>> No deb package. Libs were written by Canonical.
>>
>> The last time we tried multitouch with LCNC every user eventually asked
>> for a keyboard and mouse. This was with a 23" LCD, so the problem wasn't
>> resolution or size of the buttons.
>>
>> -Bari
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
>


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] showstopper on gear change tally.

2017-11-11 Thread Greg Bentzinger via Emc-users
Personally I would like to come up with a simple test cycle to verify that the 
machine has been manually set in the correct gear without any switches. Having 
a Bridgeport type machine I can adjust speed manually assuming the machine is 
in the right High/Low range.

Simply command the VFD to start and run for 3-5 seconds at the minimum 
functional no load speed say 3-10Hz and read in the tach ( index ) signal and 
with a lookup table identify the current gear. If the gear verifies the M3/M4 
then accelerates the spindle to the S value. This would error if machine is 
out of range 60-500 for low, 500-4000rpm in high.
It could also be used if spindle is in correct gear range for me to adjust the 
RPM and hold motion until the tach reads Spindle-At-Speed.
Look up table works well for geared lathes and step puley type machines as well.
While the paranoid engineer in me says hard wired fall backs are always the 
best choice I also know that as people reach a point in the build they want to 
use the machine for real work - often before all limits and other wiring is 
complete. I admit I am in this group as I will need to use my mill to complete 
part of the final control chassis. As is it is mounted via wood supports and is 
free standing.
Greg
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] showstopper on gear change tally.

2017-11-11 Thread Gene Heskett
On Saturday 11 November 2017 12:33:43 Gene Heskett wrote:

> On Saturday 11 November 2017 10:33:50 Gene Heskett wrote:
> > On Saturday 11 November 2017 05:24:30 andy pugh wrote:
> > > On 11 November 2017 at 03:01, Gene Heskett 
> >
> > wrote:
> > > > With Andy recommending about 10 mills, then I'd need 390 ohm r's
> > > > for current limiters.
> > >
> > > Thinking about this further, are you sure there are no limiters on
> > > the BoB? I can't imagine the ebay vendors exposing bare optos to
> > > the clueless user?
> >
> > You could be correct, I'll have to dislodge it from its resting
> > place, but in that case, why did they not put a flea clip jumper on
> > it to power the things. There isn't one, and docs on this thing are
> > all but non-existant. If there are, I can put an interconnecting
> > ground on it, and put 5 volts out to the switches common and let
> > them switch the 5 volts to the input terminal.  This board can be
> > had for 4 dollars, probably with free shipping off fleabay. It was
> > small and didn't have a bunch of gingerbread on it, just one small
> > relay. No thru port etc.
> >
> > I'll investigate with a dvm and see if thats practical to do yet
> > today. If thats the case, and I can verify a resistance between the
> > input terminal and a leg of the moc, and a ground to that gnd
> > terminal from all the other mocs, its a go. Or alternatively, an r
> > of suitable value to one leg of each moc, and a dead short from the
> > other leg on that side of the moc to the input terminal. The
> > downside is that puts 5 volts straight from the supply out on those
> > switches, which is not good engineering at all. Humm. I have +12,
> > +24 regulated and around +35 unregulated, all available right in
> > that box for relay coils etc, so a bigger r from a higher voltage
> > could feed the switch common, with that higher R supplying a safety
> > current limiting function in the event of a short.  I like that
> > idea.  My coffee is obviously taking effect. :) Another cuppa and
> > feed Dee, and I'll get legal for public viewing and go check.
> >
> > Thanks Andy, you triggered some thinking I wasn't doing well
> > yesterday after tiring a bit.
> >
> > > > Anyway, another ten dollar assortment will be here in about 3+
> > > > weeks I guess. No wholesalers still exist that I'm aware of
> > > > without a run to Pittsburg PA, about 150 miles north
> > >
> > > I suddenly feel rather lucky that I can cycle 5 miles to a shop
> > > that opens even on Sunday and buy simple components (
> > > https://www.maplin.co.uk/c/components/electronics-components ) and
> > > get almost anything else with free next-working-day delivery from
> > > RS components.
> >
> > I'm jealous. Even 20 years ago my nearest source was in Fairmont,
> > nearly 40 miles up the superslab.0
> >
> > > On the subject of electronics, my cheap eBay hot air rework
> > > station arrived yesterday. I have to say that it is far better
> > > than the £22 asking price had me expecting. It made very short
> > > work of swapping out some SOIC8 packages, though I did pull up
> > > some pads removing a 100-pin LQFP. But then I doubt I could have
> > > ever got that off with an iron, and I don't think the problem was
> > > any fault of the device.
> > >
> > > https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1
> > >31 3. TR11.TRC1.A0.H0.X858d.TRS0&_nkw=858d&_sacat=0
> >
> > I've had an 853D (on down that page quite a ways) for a couple
> > years, paid a lot more than that for it. It needs 2 improvements,
> > first being an active retainer strap for the hot air hand piece, its
> > always falling out of the holder, and another 3 feet of cord on the
> > iron. When I'm using it on something inside my machinery's stuff,
> > its a pita rigging something for it to sit on so the iron can reach
> > to where the joint is. But it beats another similar unit that
> > suffered a control board failure and no schematics or parts
> > available and that I paid $209 for. It had a builtin air pump for
> > the hot air thing that I may yet convert to solder sucker.
> >
> > Thanks Andy.
> >
> > Cheers, Gene Heskett
>
> Well, to continue this farce. what I measured said there was already a
> 1000 ohm resistance between the input terminal and the only pin of
> each moc that had any connection at all.  So I wired it up tp put 13.8
> volts out to the switch common. Didn't work, drew very close to zero
> current. .6 volts drop across 362 ohms in series with the 13.8 volt
> supply. Sit down and dig thru a stack of paper I had printed and kept
> as I built it originally and finally found the 3 pages of docs someone
> sent me a lick to, and which I printed. The board is called a MACH3
> BL_MACH-V1.1. Severely compressed, to the point that much of the text
> callouts adjacent to the terminals is rendered illegible. If anyone
> has this document in a legible format so the pin descriptions can be
> read, I'd be very gratefull.
>
> What I do see 

Re: [Emc-users] showstopper on gear change tally.

2017-11-11 Thread Gene Heskett
On Saturday 11 November 2017 10:33:50 Gene Heskett wrote:

> On Saturday 11 November 2017 05:24:30 andy pugh wrote:
> > On 11 November 2017 at 03:01, Gene Heskett 
>
> wrote:
> > > With Andy recommending about 10 mills, then I'd need 390 ohm r's
> > > for current limiters.
> >
> > Thinking about this further, are you sure there are no limiters on
> > the BoB? I can't imagine the ebay vendors exposing bare optos to the
> > clueless user?
>
> You could be correct, I'll have to dislodge it from its resting place,
> but in that case, why did they not put a flea clip jumper on it to
> power the things. There isn't one, and docs on this thing are all but
> non-existant. If there are, I can put an interconnecting ground on it,
> and put 5 volts out to the switches common and let them switch the 5
> volts to the input terminal.  This board can be had for 4 dollars,
> probably with free shipping off fleabay. It was small and didn't have
> a bunch of gingerbread on it, just one small relay. No thru port etc.
>
> I'll investigate with a dvm and see if thats practical to do yet
> today. If thats the case, and I can verify a resistance between the
> input terminal and a leg of the moc, and a ground to that gnd terminal
> from all the other mocs, its a go. Or alternatively, an r of suitable
> value to one leg of each moc, and a dead short from the other leg on
> that side of the moc to the input terminal. The downside is that puts
> 5 volts straight from the supply out on those switches, which is not
> good engineering at all. Humm. I have +12, +24 regulated and around
> +35 unregulated, all available right in that box for relay coils etc,
> so a bigger r from a higher voltage could feed the switch common, with
> that higher R supplying a safety current limiting function in the
> event of a short.  I like that idea.  My coffee is obviously taking
> effect. :) Another cuppa and feed Dee, and I'll get legal for public
> viewing and go check.
>
> Thanks Andy, you triggered some thinking I wasn't doing well yesterday
> after tiring a bit.
>
> > > Anyway, another ten dollar assortment will be here in about 3+
> > > weeks I guess. No wholesalers still exist that I'm aware of
> > > without a run to Pittsburg PA, about 150 miles north
> >
> > I suddenly feel rather lucky that I can cycle 5 miles to a shop that
> > opens even on Sunday and buy simple components (
> > https://www.maplin.co.uk/c/components/electronics-components ) and
> > get almost anything else with free next-working-day delivery from RS
> > components.
>
> I'm jealous. Even 20 years ago my nearest source was in Fairmont,
> nearly 40 miles up the superslab.0
>
> > On the subject of electronics, my cheap eBay hot air rework station
> > arrived yesterday. I have to say that it is far better than the £22
> > asking price had me expecting. It made very short work of swapping
> > out some SOIC8 packages, though I did pull up some pads removing a
> > 100-pin LQFP. But then I doubt I could have ever got that off with
> > an iron, and I don't think the problem was any fault of the device.
> >
> > https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l131
> >3. TR11.TRC1.A0.H0.X858d.TRS0&_nkw=858d&_sacat=0
>
> I've had an 853D (on down that page quite a ways) for a couple years,
> paid a lot more than that for it. It needs 2 improvements, first being
> an active retainer strap for the hot air hand piece, its always
> falling out of the holder, and another 3 feet of cord on the iron. 
> When I'm using it on something inside my machinery's stuff, its a pita
> rigging something for it to sit on so the iron can reach to where the
> joint is. But it beats another similar unit that suffered a control
> board failure and no schematics or parts available and that I paid
> $209 for. It had a builtin air pump for the hot air thing that I may
> yet convert to solder sucker.
>
> Thanks Andy.
>
> Cheers, Gene Heskett
Well, to continue this farce. what I measured said there was already a 
1000 ohm resistance between the input terminal and the only pin of each 
moc that had any connection at all.  So I wired it up tp put 13.8 volts 
out to the switch common. Didn't work, drew very close to zero 
current. .6 volts drop across 362 ohms in series with the 13.8 volt 
supply. Sit down and dig thru a stack of paper I had printed and kept as 
I built it originally and finally found the 3 pages of docs someone sent 
me a lick to, and which I printed. The board is called a MACH3 
BL_MACH-V1.1. Severely compressed, to the point that much of the text 
callouts adjacent to the terminals is rendered illegible. If anyone has 
this document in a legible format so the pin descriptions can be read, 
I'd be very gratefull.

What I do see adjacent to the input terminal strip when the db25 is 
pointed up, indicates that all inputs are simple switch contacts between 
the input and the ground terminal, and labeled mutter-in 12-24 volts.

The front row of terminals is all 

Re: [Emc-users] showstopper on gear change tally.

2017-11-11 Thread Gene Heskett
On Saturday 11 November 2017 05:24:30 andy pugh wrote:

> On 11 November 2017 at 03:01, Gene Heskett  
wrote:
> > With Andy recommending about 10 mills, then I'd need 390 ohm r's for
> > current limiters.
>
> Thinking about this further, are you sure there are no limiters on the
> BoB? I can't imagine the ebay vendors exposing bare optos to the
> clueless user?

You could be correct, I'll have to dislodge it from its resting place, 
but in that case, why did they not put a flea clip jumper on it to power 
the things. There isn't one, and docs on this thing are all but 
non-existant. If there are, I can put an interconnecting ground on it, 
and put 5 volts out to the switches common and let them switch the 5 
volts to the input terminal.  This board can be had for 4 dollars, 
probably with free shipping off fleabay. It was small and didn't have a 
bunch of gingerbread on it, just one small relay. No thru port etc.

I'll investigate with a dvm and see if thats practical to do yet today. 
If thats the case, and I can verify a resistance between the input 
terminal and a leg of the moc, and a ground to that gnd terminal from 
all the other mocs, its a go. Or alternatively, an r of suitable value 
to one leg of each moc, and a dead short from the other leg on that side 
of the moc to the input terminal. The downside is that puts 5 volts 
straight from the supply out on those switches, which is not good 
engineering at all. Humm. I have +12, +24 regulated and around +35 
unregulated, all available right in that box for relay coils etc, so a 
bigger r from a higher voltage could feed the switch common, with that 
higher R supplying a safety current limiting function in the event of a 
short.  I like that idea.  My coffee is obviously taking effect. :)
Another cuppa and feed Dee, and I'll get legal for public viewing and go 
check.

Thanks Andy, you triggered some thinking I wasn't doing well yesterday 
after tiring a bit.

> > Anyway, another ten dollar assortment will be here in about 3+ weeks
> > I guess. No wholesalers still exist that I'm aware of without a run
> > to Pittsburg PA, about 150 miles north
>
> I suddenly feel rather lucky that I can cycle 5 miles to a shop that
> opens even on Sunday and buy simple components (
> https://www.maplin.co.uk/c/components/electronics-components ) and get
> almost anything else with free next-working-day delivery from RS
> components.

I'm jealous. Even 20 years ago my nearest source was in Fairmont, nearly 
40 miles up the superslab.0

> On the subject of electronics, my cheap eBay hot air rework station
> arrived yesterday. I have to say that it is far better than the £22
> asking price had me expecting. It made very short work of swapping out
> some SOIC8 packages, though I did pull up some pads removing a 100-pin
> LQFP. But then I doubt I could have ever got that off with an iron,
> and I don't think the problem was any fault of the device.
>
> https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313.
>TR11.TRC1.A0.H0.X858d.TRS0&_nkw=858d&_sacat=0

I've had an 853D (on down that page quite a ways) for a couple years, 
paid a lot more than that for it. It needs 2 improvements, first being 
an active retainer strap for the hot air hand piece, its always falling 
out of the holder, and another 3 feet of cord on the iron.  When I'm 
using it on something inside my machinery's stuff, its a pita rigging 
something for it to sit on so the iron can reach to where the joint is. 
But it beats another similar unit that suffered a control board failure 
and no schematics or parts available and that I paid $209 for. It had a 
builtin air pump for the hot air thing that I may yet convert to solder 
sucker.

Thanks Andy.

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)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Touchegg with LCNC - Linux multitouch gesture recognizer

2017-11-11 Thread Ken Strauss
Is there a similar quality unit that works with Windows?

> -Original Message-
> From: Chris Albertson [mailto:albertson.ch...@gmail.com]
> Sent: Friday, November 10, 2017 11:04 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Touchegg with LCNC - Linux multitouch gesture
> recognizer
>
> This does not have to be on a touch screen.  It works on a conventional
> track pad.   The problem is most trackpads or such incredibly low quality.
>   Good ones are expensive.   I use one of these daily:
> https://www.amazon.com/gp/product/B003XLYAWC/ref=ask_ql_qh_dp_hza
>
> If you are a machinist they are interesting devices because they are
> milled from aluminum billets then sand blasted to remove the machine tool
marks.
> The top surface is covered with a very thin 1mm layer of glass with a
> ground surface to remove "stickiness"
>
> Logitec also makes some but they cost more and are not as well made,
> just typical plastic trackpads.
> https://www.amazon.com/LOG910003057-Logitech-Wireless-Rechargeable-
> Touchpad/dp/B0093H4WT6/ref=pd_bxgy_147_2?_encoding=UTF8=1
> RID=9D833CWHZAT0TGHYD86M=21pCaESx4OL=_SX300_QL70_&
> dpSrc=detail
>
>
>
> On Thu, Nov 9, 2017 at 6:03 AM, bari  wrote:
>
> > Has anyone tried Touchegg with Linuxcnc and have any feedback on how
> > well it works?
> >
> > https://github.com/JoseExposito/touchegg
> >
> > https://www.youtube.com/watch?v=28Jjf5Ak6Q0
> >
> > No deb package. Libs were written by Canonical.
> >
> > The last time we tried multitouch with LCNC every user eventually
> > asked for a keyboard and mouse. This was with a 23" LCD, so the
> > problem wasn't resolution or size of the buttons.
> >
> > -Bari
> >
> >
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
>
> --
>
> Chris Albertson
> Redondo Beach, California
> --
>  Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] showstopper on gear change tally.

2017-11-11 Thread andy pugh
On 11 November 2017 at 03:01, Gene Heskett  wrote:

> With Andy recommending about 10 mills, then I'd need 390 ohm r's for
> current limiters.

Thinking about this further, are you sure there are no limiters on the
BoB? I can't imagine the ebay vendors exposing bare optos to the
clueless user?

> Anyway, another ten dollar assortment will be here in about 3+ weeks I
> guess. No wholesalers still exist that I'm aware of without a run to
> Pittsburg PA, about 150 miles north

I suddenly feel rather lucky that I can cycle 5 miles to a shop that
opens even on Sunday and buy simple components (
https://www.maplin.co.uk/c/components/electronics-components ) and get
almost anything else with free next-working-day delivery from RS
components.

On the subject of electronics, my cheap eBay hot air rework station
arrived yesterday. I have to say that it is far better than the £22
asking price had me expecting. It made very short work of swapping out
some SOIC8 packages, though I did pull up some pads removing a 100-pin
LQFP. But then I doubt I could have ever got that off with an iron,
and I don't think the problem was any fault of the device.

https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313.TR11.TRC1.A0.H0.X858d.TRS0&_nkw=858d&_sacat=0

-- 
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, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users