Re: [Emc-users] ER-16 spindles

2016-06-29 Thread Phillip Carter
Sherline also have them with or without motor/controller.

http://www.sherlineipd.com/spindles.htm



On 30/06/16 01:16, Ralph Stirling wrote:
> Have any of you come across cheap collet spindles that
> have a through-bore?  I am toying with an idea for a
> simple, special-purpose lathe, and need a hollow spindle.
>
> Thanks,
> -- Ralph
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread Dave Cole
Sounds like some of us "rich" US guys (in UK terms) may need to visit 
your fine country to help prop up the economy. :-)
I could go for some cheap Bangers and Mash.

On the other hand, our election process may drive our economy into the 
dumper come November also.  :-/

Dave

> Especially as the UK just chose to commit economic suicide[1] and £1
> is approx $1 now :-/
>
>
>

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread Gene Heskett
On Wednesday 29 June 2016 13:53:56 dan...@austin.rr.com wrote:

> Well the VFD does have a minimum speed. It won't run below that
> because of min speed and overheating.

And what IS that minimum speed?  In which case add that line to your .ini 
file but instead of 100, use that minimum speed instead AND TELL us what 
it is, and if that fixed it.

We aren't very good mind readers here Danny, but we do want to help, and 
that means answering the questions we ask.  I see Chris Morely is on the 
same trail I am, so please do as we ask and you'll be running days 
faster.

> I did see a freq of 300 (18k rpm) on the HAL while the VFD locked up.
>
> Also MDI'ed S18000 in while the VFD was locked up.
>
> Looks like the watchdog_out to the VFD is a problem here.
>
> Danny
>
>  Chris Morley  wrote:
> > Iirc Pressing axis spindle buttons sets the rpm to 1 rpm. Maybe this
> > is the problem. Some how that errors the vfd. Depending on what
> > version of lunuxcnc there is an INI switch to change that default
> > rpm.You should be able to test this by setting the rpm to 1 in the
> > MDI window. Worth a try.
> >
> > Chris M


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 

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Screw compensation file - LinuxCNC 2.6

2016-06-29 Thread Dave Cole
OK

Thanks Todd.

Dave

On 6/29/2016 10:37 AM, Todd Zuercher wrote:
> Directly from Hiwin, through their website. (I think the thing shipped from 
> Chicago).
>
> I can't remember who all I may have gotten prices from (it was 5 or 6 years 
> ago), but one of the main reasons I went with Hiwin was their online ordering 
> was pretty simple (and I think they were one of the cheapest quotes).  A few 
> e-mails, a couple of phone calls and exchanging a couple of drawings of 
> specs, and it was done.
> http://www.hiwin.com/ballscrews.html
>
> I remember now I did have one problem, the first nut that came with the screw 
> had no means of lubricating it.  There was no hole or anything drilled for a 
> grease zerk.  A quick call to them and they sent me a new one.  Getting that 
> thing started on the screw without loosing any balls was a real chore, ended 
> up chucking the mandrel they sent with it and using something that fit a 
> little tighter was the trick to make it work.
>
> - Original Message -
> From: "Dave Cole" 
> To: emc-users@lists.sourceforge.net
> Sent: Wednesday, June 29, 2016 10:04:13 AM
> Subject: Re: [Emc-users] Screw compensation file - LinuxCNC 2.6
>
> How did you buy the screw?   Via Hiwin directly or through a distributor ??
>
> I think you are near Cleveland ?
>
> Did you get a price from Nook as well ??Nook is right in Cleveland
> on 49th street.
>
> Dave
>
>
> On 6/29/2016 8:35 AM, Todd Zuercher wrote:
>> I don't know how much use it is to you, but I bought a custom ball screw 
>> (cut to length and ends machined to my specs) from Hiwin, for significantly 
>> less (about half) of what the cost of buying an OE lead screw (not ball 
>> screw) from the manufacturer of one of our machines.  It works better and 
>> has lasted more than twice as long as the original lead screws (which used 
>> to last only about 2 years).
>>
>> - Original Message -
>> From: "Dave Cole" 
>> To: "Enhanced Machine Controller (EMC)" 
>> Sent: Tuesday, June 28, 2016 4:42:00 PM
>> Subject: Re: [Emc-users] Screw compensation file - LinuxCNC 2.6
>>
>> I thought about that except that the data file is setup via the same
>> method as the Y axis.
>>
>> However the X axis screw is much worse than the Y axis.
>>
>> I went over the file with the guy who did the measuring, and he agreed
>> that the data seems like it is in the proper order.
>>
>> Its weird that the Y axis is working really well, while the X axis is
>> not working well at all.  I have a small X-Y machine in my office that I
>> may setup with a dial indicator and do some testing just so I can better
>> understand the screw comp.
>>
>> I did some looking and Nook, a big ball screw maker in the US says that
>> their rolled ball screws, which are not normally used for machine tools
>> are accurate to +/- .004 per foot.   In the first foot of this X axis
>> screw, the screw is out 0.030 of an inch.
>>
>> Nook's ground ball screws, standard accuracy are good to +/- 0.001 per
>> foot.
>>
>> So I wonder if I have reached the limit of LinuxCNCs ability to
>> compensate for a junk screw?
>>
>> Dave
>>
>> On 6/28/2016 11:56 AM, andy pugh wrote:
>>> On 28 June 2016 at 15:35, Dave Cole  wrote:
>>>
 LinuxCNC is trying to use the x axis data since  ball bar testing
 results change significantly if the X axis screw comp is enabled or
 disabled.However the screw comp is not effectively correcting the
 screw.
>>> Is it possible that the compensation file is upside down?
>>>
>> --
>> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>> --
>> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> 

Re: [Emc-users] ER-16 spindles

2016-06-29 Thread Eric Parsonage
A Taig lathe spindle?

> On Jun 30, 2016, at 12:46 AM, Ralph Stirling  
> wrote:
> 
> Have any of you come across cheap collet spindles that
> have a through-bore?  I am toying with an idea for a
> simple, special-purpose lathe, and need a hollow spindle.
> 
> Thanks,
> -- Ralph
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread Eric Parsonage
Actually I meant Taig mill spindle.


> On Jun 30, 2016, at 12:46 AM, Ralph Stirling  
> wrote:
> 
> Have any of you come across cheap collet spindles that
> have a through-bore?  I am toying with an idea for a
> simple, special-purpose lathe, and need a hollow spindle.
> 
> Thanks,
> -- Ralph
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread andy pugh
On 29 June 2016 at 19:21, Bruce Layne  wrote:
> You might also want to take a look at the headstock offerings from
> GlockCNC.

Those do look like an easy solution, and they seem to have taken
accuracy seriously.

But for that price I think I would be looking at making patterns,
having iron casting made (much cheaper than you might think) and
in-situ grinding a cheap eBay spindle.

In the context of what they are asking, super-precision bearings are a
possibility:
http://simplybearings.co.uk/shop/Taper-Roller-Bearings-Super-Precision-Taper-Roller-Bearings-Flanged-Cup-Type-Taper-Roller-Bearings/c1_5458_5461/p20036381/Gamet-74025/74052C-Super-Precision-Tapered-Roller-Bearing-Flanged-Cup-Type-25x52x19mm-Allow-7-10-Days/product_info.html

Especially as the UK just chose to commit economic suicide[1] and £1
is approx $1 now :-/


[1] Not pointing a finger of blame, I thought it was worth a punt too.

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

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread Bruce Layne
You might also want to take a look at the headstock offerings from 
GlockCNC.  They're intended to be precision upgrades for the little 
Sherline lathe, but they should be easy to use as the basis for a small 
custom lathe of your own design.  They have versions from ER-25 to 
ER-50.  The quality looks very nice.

http://www.glockcnc.com/collections/sherline-headstocks-mills-lathes-universal

This is not an endorsement.  I've never purchased any of their products, 
nor do I have any affiliation with anyone at that company.



On 06/29/2016 11:16 AM, Ralph Stirling wrote:
> Have any of you come across cheap collet spindles that
> have a through-bore?  I am toying with an idea for a
> simple, special-purpose lathe, and need a hollow spindle.
>
> Thanks,
> -- Ralph


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread N. Christopher Perry
No problem!

I'm a little miffed that they came up with that mere months after I bought 
lathe.  Obviously I'll have to pick up one for myself too ;))

N. Christopher Perry

> On Jun 29, 2016, at 1:55 PM, Ralph Stirling  
> wrote:
> 
> Thanks for reminding me of the Taig.  That is probably
> the best, simplest, and cheapest way for me to do what
> I want to do.
> 
> -- Ralph
> 
> From: N. Christopher Perry [vwpe...@comcast.net]
> Sent: Wednesday, June 29, 2016 10:14 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] ER-16 spindles
> 
> Taig makes a ER-16 compatible headstock.
> 
> N. Christopher Perry
> 
>> On Jun 29, 2016, at 11:29 AM, Peter Blodow  wrote:
>> 
>> Being in possession of a lathe, I bought a set of cheap collets, a
>> special nut and a six-prong wrench to go with them and made my spindle
>> myself.
>> Peter
>> 
>> Am 29.06.2016 17:16, schrieb Ralph Stirling:
>>> Have any of you come across cheap collet spindles that
>>> have a through-bore?  I am toying with an idea for a
>>> simple, special-purpose lathe, and need a hollow spindle.
>>> 
>>> Thanks,
>>> -- Ralph
>>> --
>>> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
>>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>>> present their vision of the future. This family event has something for
>>> everyone, including kids. Get more information and register today.
>>> http://sdm.link/attshape
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
>> 
>> ---
>> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
>> http://www.avast.com
>> 
>> 
>> --
>> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread Ralph Stirling
Thanks for reminding me of the Taig.  That is probably
the best, simplest, and cheapest way for me to do what
I want to do.

-- Ralph

From: N. Christopher Perry [vwpe...@comcast.net]
Sent: Wednesday, June 29, 2016 10:14 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] ER-16 spindles

Taig makes a ER-16 compatible headstock.

N. Christopher Perry

> On Jun 29, 2016, at 11:29 AM, Peter Blodow  wrote:
>
> Being in possession of a lathe, I bought a set of cheap collets, a
> special nut and a six-prong wrench to go with them and made my spindle
> myself.
> Peter
>
> Am 29.06.2016 17:16, schrieb Ralph Stirling:
>> Have any of you come across cheap collet spindles that
>> have a through-bore?  I am toying with an idea for a
>> simple, special-purpose lathe, and need a hollow spindle.
>>
>> Thanks,
>> -- Ralph
>> --
>> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
>
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> http://www.avast.com
>
>
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread dannym
Well the VFD does have a minimum speed. It won't run below that because of min 
speed and overheating.  

I did see a freq of 300 (18k rpm) on the HAL while the VFD locked up. 

Also MDI'ed S18000 in while the VFD was locked up.

Looks like the watchdog_out to the VFD is a problem here.

Danny


 Chris Morley  wrote: 
> 
> Iirc Pressing axis spindle buttons sets the rpm to 1 rpm. Maybe this is the 
> problem. Some how that errors the vfd. Depending on what version of lunuxcnc 
> there is an INI switch to change that default rpm.You should be able to test 
> this by setting the rpm to 1 in the MDI window.
> Worth a try.
> 
> Chris M
> 
> - Reply message -
> From: "dan...@austin.rr.com" 
> To: "Enhanced Machine Controller (EMC)" 
> Subject: [Emc-users] Spindle control panel breaks LinuxCNC?
> Date: Wed, Jun 29, 2016 9:12 AM
> 
> 
> 
> It's every single time.  If I use M3, spindle runs 100% reliably.  Or, if I 
> use my XHC wireless mpg, that runs it fine too.
> 
> But on the Manual Control tab, there's a Spindle button with a CW button 
> flanking it on the right and a CCW button on the left and +/- buttons 
> underneath.  Hovering over the CW says "Spindle CW (F9)".  Clicking on that 
> results in no effect from the spindle, and the VFD will not respond to M3, 
> nothing can make it run.  It won't run g-code because spindle-at-speed will 
> never become true and that's required to be true for G1 moves.  That will 
> persist until the VFD power is cycled.  Rebooting LinuxCNC alone will have no 
> effect and it's not necessary to reboot LinuxCNC along with cycling VFD power.
> 
> This is weird.  The VFD is controlled by a complied .c, which has a limited 
> range of communication with the VFD, using a few regs.  LinuxCNC has to have 
> sent something that breaks the VFD communication but I'm not sure what it 
> could even send that would cause that failure that stores IN the VFD's states 
> rather than a state of LinuxCNC's code.  It has to be on the VFD's registers 
> because cycling VFD power is essential to recover, while restarting LinuxCNC 
> is irrelevant to recovery.
> 
> Danny
>  Gene Heskett  wrote:
> > On Wednesday 29 June 2016 01:42:47 Danny Miller wrote:
> >
> > > Well, I recreated it and confirmed cycling VFD power without rebooting
> > > LinuxCNC makes the spindle run again.
> > >
> > > I looked into the HAL after the "Spindle CW" button breaks everything:
> > > enable TRUE
> > > is_alarm FALSE
> > > is_at_speed FALSE
> > > is_ready TRUE
> > > is_running TRUE
> > > reverse FALSE
> > > run TRUE
> > > watchdog_out TRUE
> > >
> > > compared with actually having it running with M3:
> > > is_at_speed becomes TRUE (duh)
> > > watchdog_out is FALSE
> > >
> > > Well, that's odd.  IIRC the watchdog is not getting data back from the
> > > VFD in a timely fashion.  It is somehow locked up so that does seem
> > > consistent with the situation.  But no idea how it's getting locked
> > > up. The x200 VFD code sends a speed, dir, and run command and reads
> > > back the coils.
> > >
> > How often?  This is sounding as it it has some sort of an internal
> > watchdog that is not getting "petted".  This function is normally done
> > by an addf in your .hal file as one of the last addf's, often next in
> > line after the addf that updates the outputs each servo cycle.  That way
> > the watchdog gets petted even if the rest of the system is sitting idle
> > waiting for its slow human to tell it what to do next. :)
> >
> > For an older 5I25 card install, it looked like this in the .hal file:
> > addf   hm2_5i25.0.pet_watchdog   servo-thread# else he bites!
> >
> > Do a "sudo dmesg -c" which will clear dmesgs cache, then start lcnc and
> > stop it. send the next "sudo dmesg >filename 2>&1" and post it here as
> > an insert of that filename.  I also find that printing a copy for future
> > reference is also quite handy as you go about configuring a working
> > system.
> >
> > Point is, that if the setup has a watchdog, it should show up in that
> > dmesg listing, the whole thing is perhaps 60 lines in one of my machines
> > that uses a 5I25 card.  And its now part of the of the output write
> > function now done internal to the card when and output is written by the
> > driver. So it does not show up in my dmesg listing, and that line quoted
> > above now has a #in front of the addf.
> >
> > Check the docs you have on this x200 vfd for any mention of a watchdog.
> > That should define how to "pet" it to keep it from barking.
> >
> > OTOH, I do't have an x200 VFD, and its possible that it does not report
> > its presence when the program is run. In which case see the docs for the
> > x200.
> > >
> > > Danny
> > >
> > > On 6/16/2016 11:04 AM, dan...@austin.rr.com wrote:
> > > > It's modbus, sorry forgot to mention that.
> > > >
> > > > What baffles me is the Spindle buttons on the panel, AFAIK, 

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread dannym
Entirely through Modbus, which otherwise works.  I started from the wj200_vfd.c 
code and made some changes to make an x200_vfd.c file.  Just changing a few 
coils.

Modbus starts from the OB RS232 serial port and goes through an isolationg 
RS232-RS485 converter.  Like I say, setup's been good, but this button breaks 
things.

Danny


 John Kasunich  wrote: 
> How is LinuxCNC connected to the VFD?
> 
> Direct hardware control, with an analog speed command and start/stop signals 
> from a parallel port?
> 
> Or serial communications using a HAL driver specific to that brand of VFD?
> 
> Or Modbus using the generic LinuxCNC HAL Modbus driver?
> 
> Or Ethernet using ??? driver?
> 
> That is critical information - I don't recall seeing it anywhere in this 
> email chain, but maybe I missed something in the first message or two.
> 
> The core of LinuxCNC (GUI and motion controller) doesn't communicate with
> the VFD at all.  LinuxCNC reads and writes to HAL pins, and those pins are
> connected to some driver that in turn talks to the drive.
> 
> So there are two things happening here:
> 
> 1) The core of LinuxCNC manipulates the HAL pins differently when you
> use M3 or the MPG compared to when you use the on-screen buttons.
> 
> 2) The driver and/or the VFD itself responds badly to the HAL pin activity
> from the on-screen buttons.
> 
> I think the first step is to figure out item 1.  Set up halscope to observe
> all the spindle-related HAL pins.  Capture and save shots of it working
> correctly when driven by M3 or the MPG.  Then capture it failing when
> driven by the on-screen button.  Study the screen pictures and figure
> out what is different.  Maybe the difference makes sense given the
> context, maybe it is a bug in the core of LinuxCNC.  Post your findings.
> 
> If the difference makes sense, then the problem is in the driver or the
> VFD.  If we know exactly what driver you are using and how it is 
> connected to the drive, and we know exactly what the HAL pins going
> into the driver are doing, maybe we can figure out what is wrong.
> 
> -- 
>   John Kasunich
>   jmkasun...@fastmail.fm
> 
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread Gene Heskett
On Wednesday 29 June 2016 12:08:34 dan...@austin.rr.com wrote:

> It's every single time.  If I use M3, spindle runs 100% reliably.  Or,
> if I use my XHC wireless mpg, that runs it fine too.

What happens when you do an "S1 M3" from the mdi commaand line?
At this point I'd bet a cold bottle of suds the watchdog will bite.

The default fwd or rev value sent by clicking on the direction of 
rotation button may be being seen as a too slow, burn up the motor or 
itself trying to muster up enough current at that slow a phase angle, so 
it throws the watchdog bite and shuts down to protect both.

I have all my stuff set to start at 100 rpms but they are all brushed 
PMDC motors, so they can do that forever or until the brushes wear out.

This minimum is set, and its probably missing from your .ini file, with 
this statement:

DEFAULT_SPINDLE_SPEED = 100

in the [DISPLAY] section of your .ini file.

Look in the x200 manual and see what the minimum safe rpms are, and bear 
in mind that both the motor and the VFD are going to run hot at that 
speed, even without any load, so I would set that to a minimum of 125% 
of what the manual says.  You may find after giving it time to warm up, 
that even that is too slow for THAT motor. So run the speed on up by 
clicking on the + button to where the motors cooling fans can cool it 
down again, and let it run till its holding at as cool as its going to 
get, then slow it one click, let it run 10 or more minutes, if not too 
hot, slow it one more click, wash, rinse & repeat until after 10-15 
minutes your hand cannot touch it continuously and set that speed as the 
minimum.

> But on the Manual Control tab, there's a Spindle button with a CW
> button flanking it on the right and a CCW button on the left and +/-
> buttons underneath.  Hovering over the CW says "Spindle CW (F9)". 
> Clicking on that results in no effect from the spindle, and the VFD
> will not respond to M3, nothing can make it run.  It won't run g-code
> because spindle-at-speed will never become true and that's required to
> be true for G1 moves.  That will persist until the VFD power is
> cycled.  Rebooting LinuxCNC alone will have no effect and it's not
> necessary to reboot LinuxCNC along with cycling VFD power.
>
> This is weird.

No, its the clue I needed to pin down the watchdog bite. Same theory as 
the if it waddles like a duck, and quacks like a duck, it probably is a 
duck. :)

Note that in case that value also sets the step value on the plus and 
minus buttons, and the step change is way too much, the same effect 
could be obtained IF using a PID, by setting the plus and minus offsets 
fed to the PID.  But you may not be using a PID module in the spindle 
path since the VFD has a pretty good one internally.  2 of them critters 
in series can get "interesting" so I don't think its recommended.

> The VFD is controlled by a complied .c, which has a 
> limited range of communication with the VFD, using a few regs. 
> LinuxCNC has to have sent something that breaks the VFD communication
> but I'm not sure what it could even send that would cause that failure
> that stores IN the VFD's states rather than a state of LinuxCNC's
> code.  It has to be on the VFD's registers because cycling VFD power
> is essential to recover, while restarting LinuxCNC is irrelevant to
> recovery.

This also reads like it could violate the VFD's minimum speed ability.

> Danny

[...]

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 

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread N. Christopher Perry
Taig makes a ER-16 compatible headstock.

N. Christopher Perry

> On Jun 29, 2016, at 11:29 AM, Peter Blodow  wrote:
> 
> Being in possession of a lathe, I bought a set of cheap collets, a 
> special nut and a six-prong wrench to go with them and made my spindle 
> myself.
> Peter
> 
> Am 29.06.2016 17:16, schrieb Ralph Stirling:
>> Have any of you come across cheap collet spindles that
>> have a through-bore?  I am toying with an idea for a
>> simple, special-purpose lathe, and need a hollow spindle.
>> 
>> Thanks,
>> -- Ralph
>> --
>> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> 
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> http://www.avast.com
> 
> 
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool offset

2016-06-29 Thread Gene Heskett
On Wednesday 29 June 2016 11:18:39 Eric H. Johnson wrote:

> All,
>
>
>
> I am cutting a dense mat material with an ultrasonic knife. It appears
> that when the fibers are cut I get a small amount of expansion so the
> part to be inset ends up just a little too large, even though it is
> cutting exactly the same size as the base in which it is to be inset.
> I was looking at tool compensations to see if I can adjust the tool
> path by a very small amount (0.005" - 0.01") to make the inset part
> just a little bit smaller, following the example here:
>
> http://linuxcnc.org/docs/2.5/html/gcode/tool_compensation.html
>
>
>
> The pattern runs entirely CW, so G41 should compensate in the
> appropriate direction.
>
>
>
> The example shows:
>
> G10 L1 P1 R0.25 Z1
>
>
>
> Does Z1 have any meaning in compensating only in X and Y?

No

>
>
> If I set the compensation for the entire file, do I have to deal with
> individual lead-ins?
>
One of the problems I dealt with, and found not worth the effort, so I do 
it directly in the gcode I write for furniture projects, very handy to 
be able to create a huge (.75" to 1.125" wide) box joint for the Green & 
Green look, with the proper clearance for the glue line by telling my 
code the 1/4" tool doing the carving is actually only .247" in diameter.  
With the expansion of the wood fibers as the glue penetrates, its a very 
nice fit with a nearly invisible glue line. To loosen the fit, use 
a .246" for tool_dia, or to tighten, a .248" tool_dia.
>
> And of course, is there an easier way to accomplish this?
>
When dealing with just that small a diff, setting a tool diameter to a 
couple thou one way or the other shouldn't be that big a leadin 
headache, provided the tool table and the code that reads it, can 
tolerate small negative values.  That is something I have not tested. 

One side effect of the teeny, possibly negative, diameter value is that 
the tool icon in the backplot will probably disappear.  I'm rather fond 
of being able to see the tools position in the backplot by something 
that can be seen and that is not just the backtrace red line itself.

> Thanks,
>
> Eric

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 

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread John Kasunich


On Wed, Jun 29, 2016, at 12:39 PM, Gene Heskett wrote:
> On Wednesday 29 June 2016 11:16:26 Ralph Stirling wrote:
> 
> > Have any of you come across cheap collet spindles that
> > have a through-bore?  I am toying with an idea for a
> > simple, special-purpose lathe, and need a hollow spindle.
> >
> > Thanks,
> > -- Ralph
> 
> Looking around on eBay for 5C collet kits, I stumbled over a 5C to ER40 
> tool and a big box of ER40 collets.  That adaptor claims to be bored 
> internally for stoppers, so I'd have to assume its bored thru. So if you 
> need less that its passthru, I'm guessing an inch or a few thou more, 

The original poster was looking for ER16, not ER40.  Huge difference...

> There are ER40 adaptors for lots of 
> smaller spindles but the 5C would probably be only one of two bored 
> thru, as I'd expect the R8-ER40 adaptor is too.  

R8 to anything adapter is highly unlikely to be bored thru.  R8 uses
a 7/16-20 drawbar thread, and a solid drawBAR not a hollow drawTUBE.


-- 
  John Kasunich
  jmkasun...@fastmail.fm

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread Chris Morley

Iirc Pressing axis spindle buttons sets the rpm to 1 rpm. Maybe this is the 
problem. Some how that errors the vfd. Depending on what version of lunuxcnc 
there is an INI switch to change that default rpm.You should be able to test 
this by setting the rpm to 1 in the MDI window.
Worth a try.

Chris M

- Reply message -
From: "dan...@austin.rr.com" 
To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] Spindle control panel breaks LinuxCNC?
Date: Wed, Jun 29, 2016 9:12 AM



It's every single time.  If I use M3, spindle runs 100% reliably.  Or, if I use 
my XHC wireless mpg, that runs it fine too.

But on the Manual Control tab, there's a Spindle button with a CW button 
flanking it on the right and a CCW button on the left and +/- buttons 
underneath.  Hovering over the CW says "Spindle CW (F9)".  Clicking on that 
results in no effect from the spindle, and the VFD will not respond to M3, 
nothing can make it run.  It won't run g-code because spindle-at-speed will 
never become true and that's required to be true for G1 moves.  That will 
persist until the VFD power is cycled.  Rebooting LinuxCNC alone will have no 
effect and it's not necessary to reboot LinuxCNC along with cycling VFD power.

This is weird.  The VFD is controlled by a complied .c, which has a limited 
range of communication with the VFD, using a few regs.  LinuxCNC has to have 
sent something that breaks the VFD communication but I'm not sure what it could 
even send that would cause that failure that stores IN the VFD's states rather 
than a state of LinuxCNC's code.  It has to be on the VFD's registers because 
cycling VFD power is essential to recover, while restarting LinuxCNC is 
irrelevant to recovery.

Danny
 Gene Heskett  wrote:
> On Wednesday 29 June 2016 01:42:47 Danny Miller wrote:
>
> > Well, I recreated it and confirmed cycling VFD power without rebooting
> > LinuxCNC makes the spindle run again.
> >
> > I looked into the HAL after the "Spindle CW" button breaks everything:
> > enable TRUE
> > is_alarm FALSE
> > is_at_speed FALSE
> > is_ready TRUE
> > is_running TRUE
> > reverse FALSE
> > run TRUE
> > watchdog_out TRUE
> >
> > compared with actually having it running with M3:
> > is_at_speed becomes TRUE (duh)
> > watchdog_out is FALSE
> >
> > Well, that's odd.  IIRC the watchdog is not getting data back from the
> > VFD in a timely fashion.  It is somehow locked up so that does seem
> > consistent with the situation.  But no idea how it's getting locked
> > up. The x200 VFD code sends a speed, dir, and run command and reads
> > back the coils.
> >
> How often?  This is sounding as it it has some sort of an internal
> watchdog that is not getting "petted".  This function is normally done
> by an addf in your .hal file as one of the last addf's, often next in
> line after the addf that updates the outputs each servo cycle.  That way
> the watchdog gets petted even if the rest of the system is sitting idle
> waiting for its slow human to tell it what to do next. :)
>
> For an older 5I25 card install, it looked like this in the .hal file:
> addf   hm2_5i25.0.pet_watchdog   servo-thread# else he bites!
>
> Do a "sudo dmesg -c" which will clear dmesgs cache, then start lcnc and
> stop it. send the next "sudo dmesg >filename 2>&1" and post it here as
> an insert of that filename.  I also find that printing a copy for future
> reference is also quite handy as you go about configuring a working
> system.
>
> Point is, that if the setup has a watchdog, it should show up in that
> dmesg listing, the whole thing is perhaps 60 lines in one of my machines
> that uses a 5I25 card.  And its now part of the of the output write
> function now done internal to the card when and output is written by the
> driver. So it does not show up in my dmesg listing, and that line quoted
> above now has a #in front of the addf.
>
> Check the docs you have on this x200 vfd for any mention of a watchdog.
> That should define how to "pet" it to keep it from barking.
>
> OTOH, I do't have an x200 VFD, and its possible that it does not report
> its presence when the program is run. In which case see the docs for the
> x200.
> >
> > Danny
> >
> > On 6/16/2016 11:04 AM, dan...@austin.rr.com wrote:
> > > It's modbus, sorry forgot to mention that.
> > >
> > > What baffles me is the Spindle buttons on the panel, AFAIK, just map
> > > to the same spindle-run in the HAL that M3 goes to.  I remember
> > > looking at the HAL monitor on this weeks ago and IIRC it was
> > > "spindle run true, but spindle-isrunning false".  The spindle isn't
> > > moving at all.  I'll recheck the HAL and take proper notes.
> > >
> > > And like I say, the VFD won't run again even if you reboot LinuxCNC.
> > >  It will run if I cycle power on the VFD.  So, it's like it sent a
> > > toxic command to the VFD that changed a reg to something unusable.
> > > I did make that x200_vfd.c from 

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread andy pugh
On 29 June 2016 at 17:08,   wrote:

> This is weird.  The VFD is controlled by a complied .c, which has a limited 
> range of communication with the VFD, using a few regs.

How does the component get its spindle speed commands? I assume
through the HAL pins?

The diffeerence I see is that the Axis GUI sets motion.spindle-out to
1 and sets spindle-on and spindle-fwd to true as soon as you press the
"fwd" button.
An M3 command will set a much higher initial speed.

Perhaps the VFD faults with such a small speed command?

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

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread Gene Heskett
On Wednesday 29 June 2016 11:16:26 Ralph Stirling wrote:

> Have any of you come across cheap collet spindles that
> have a through-bore?  I am toying with an idea for a
> simple, special-purpose lathe, and need a hollow spindle.
>
> Thanks,
> -- Ralph

Looking around on eBay for 5C collet kits, I stumbled over a 5C to ER40 
tool and a big box of ER40 collets.  That adaptor claims to be bored 
internally for stoppers, so I'd have to assume its bored thru. So if you 
need less that its passthru, I'm guessing an inch or a few thou more, 
that kit would be a better choice than a big box of 5C's because the 
ER40 can give you a 5x tighter grip over a greater length of workpiece 
than a 5C can. Lightened my card, with ship, $138. 15 ER40 collets 
included, and a spanner wrench for the adaptor nut.  Pretty easy to 
like.  Ought to be here Friday. There are ER40 adaptors for lots of 
smaller spindles but the 5C would probably be only one of two bored 
thru, as I'd expect the R8-ER40 adaptor is too.  Anything smaller, 
probably not.

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 

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread John Kasunich
How is LinuxCNC connected to the VFD?

Direct hardware control, with an analog speed command and start/stop signals 
from a parallel port?

Or serial communications using a HAL driver specific to that brand of VFD?

Or Modbus using the generic LinuxCNC HAL Modbus driver?

Or Ethernet using ??? driver?

That is critical information - I don't recall seeing it anywhere in this 
email chain, but maybe I missed something in the first message or two.

The core of LinuxCNC (GUI and motion controller) doesn't communicate with
the VFD at all.  LinuxCNC reads and writes to HAL pins, and those pins are
connected to some driver that in turn talks to the drive.

So there are two things happening here:

1) The core of LinuxCNC manipulates the HAL pins differently when you
use M3 or the MPG compared to when you use the on-screen buttons.

2) The driver and/or the VFD itself responds badly to the HAL pin activity
from the on-screen buttons.

I think the first step is to figure out item 1.  Set up halscope to observe
all the spindle-related HAL pins.  Capture and save shots of it working
correctly when driven by M3 or the MPG.  Then capture it failing when
driven by the on-screen button.  Study the screen pictures and figure
out what is different.  Maybe the difference makes sense given the
context, maybe it is a bug in the core of LinuxCNC.  Post your findings.

If the difference makes sense, then the problem is in the driver or the
VFD.  If we know exactly what driver you are using and how it is 
connected to the drive, and we know exactly what the HAL pins going
into the driver are doing, maybe we can figure out what is wrong.

-- 
  John Kasunich
  jmkasun...@fastmail.fm

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool offset

2016-06-29 Thread andy pugh
On 29 June 2016 at 17:01, Eric H. Johnson  wrote:

> It does not have a controllable Z, it is a two position up/down.

In that case the Z offset is irrelevant, but you probably still want
to leave it out.

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

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread andy pugh
On 29 June 2016 at 16:48, Ralph Stirling  wrote:
> I've seen straight-shank collet chucks with (small)
> through-holes as you mention, and can go that route
> if no powered spindles with hollow shafts seem to be
> sold.  I could live with 8mm ID, although larger would
> be nicer.

The ones I got from eBay (ER16, 3/4" shank) have a 1/2" thread in the
end and an 11.7mm through-hole.

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

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Screw compensation file - LinuxCNC 2.6

2016-06-29 Thread Gene Heskett
On Wednesday 29 June 2016 08:35:30 Todd Zuercher wrote:

> I don't know how much use it is to you, but I bought a custom ball
> screw (cut to length and ends machined to my specs) from Hiwin, for
> significantly less (about half) of what the cost of buying an OE lead
> screw (not ball screw) from the manufacturer of one of our machines. 
> It works better and has lasted more than twice as long as the original
> lead screws (which used to last only about 2 years).
>
> - Original Message -
> From: "Dave Cole" 

This has also been my experience too, Todd.  Inquiry's to the OE people 
for fresh screws or nuts, I have allway's been given a verbal quote for 
2 to 3x what I can  get the ball screw with nut from fleabay.  So I have 
to make a new nut mount and likely the apron its mounted on if its a 
lathes Z screw.  I can and have done that 4 times now.  2 more times for 
this 1952 Sheldon I just bought is just that much less time in the bars.

Biggest problem by far is finding room for the nut.  I think that is 
going to make me use a 16mm screw for Z, but its a long reach for a 16mm 
screw.  I'd much druther use a 20mm there.  Or even a 25mm but there's 
not enough room for its nut to clear the bed casting even with the flats 
lined up right.

So the screw I am going to use for X only measures 9.22mm's OD, and its 
single track nut is only .750" in diameter and .700" long.  No flange, 
except for the ball recycle tube sticking up another 40 thou, a perfect 
cylinder, and my measurements seem to indicate that it will pass the top 
of the beds way peaks with enough clearance to work if I drive it in 
with the recycle tube on the side of the nut, seems Sheldon did not well 
center the screw bore in the crossfeed.  So, having miss-laid the scrap 
of 1x2 hot rolled bar stock about 3" long that I was going to make this 
nut cage from, I am off to TSC to get a 1" square piece to carve a 
pocket for this nut in.  But I believe I will make the pocket 
about .350" longer so that I can stuff in some old felt hat felt to make 
a combo of swarf wiper and oil wiper, by running a piece of weed eater 
fuel line to it that I can use it to oil it occasionally. Seems like a 
good idea anyway. :)  Details at 11, what ever day that is. :)

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 

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread dannym
It's every single time.  If I use M3, spindle runs 100% reliably.  Or, if I use 
my XHC wireless mpg, that runs it fine too.

But on the Manual Control tab, there's a Spindle button with a CW button 
flanking it on the right and a CCW button on the left and +/- buttons 
underneath.  Hovering over the CW says "Spindle CW (F9)".  Clicking on that 
results in no effect from the spindle, and the VFD will not respond to M3, 
nothing can make it run.  It won't run g-code because spindle-at-speed will 
never become true and that's required to be true for G1 moves.  That will 
persist until the VFD power is cycled.  Rebooting LinuxCNC alone will have no 
effect and it's not necessary to reboot LinuxCNC along with cycling VFD power.

This is weird.  The VFD is controlled by a complied .c, which has a limited 
range of communication with the VFD, using a few regs.  LinuxCNC has to have 
sent something that breaks the VFD communication but I'm not sure what it could 
even send that would cause that failure that stores IN the VFD's states rather 
than a state of LinuxCNC's code.  It has to be on the VFD's registers because 
cycling VFD power is essential to recover, while restarting LinuxCNC is 
irrelevant to recovery.

Danny
 Gene Heskett  wrote: 
> On Wednesday 29 June 2016 01:42:47 Danny Miller wrote:
> 
> > Well, I recreated it and confirmed cycling VFD power without rebooting
> > LinuxCNC makes the spindle run again.
> >
> > I looked into the HAL after the "Spindle CW" button breaks everything:
> > enable TRUE
> > is_alarm FALSE
> > is_at_speed FALSE
> > is_ready TRUE
> > is_running TRUE
> > reverse FALSE
> > run TRUE
> > watchdog_out TRUE
> >
> > compared with actually having it running with M3:
> > is_at_speed becomes TRUE (duh)
> > watchdog_out is FALSE
> >
> > Well, that's odd.  IIRC the watchdog is not getting data back from the
> > VFD in a timely fashion.  It is somehow locked up so that does seem
> > consistent with the situation.  But no idea how it's getting locked
> > up. The x200 VFD code sends a speed, dir, and run command and reads
> > back the coils.
> >
> How often?  This is sounding as it it has some sort of an internal 
> watchdog that is not getting "petted".  This function is normally done 
> by an addf in your .hal file as one of the last addf's, often next in 
> line after the addf that updates the outputs each servo cycle.  That way 
> the watchdog gets petted even if the rest of the system is sitting idle 
> waiting for its slow human to tell it what to do next. :)
> 
> For an older 5I25 card install, it looked like this in the .hal file:
> addf   hm2_5i25.0.pet_watchdog   servo-thread# else he bites!
> 
> Do a "sudo dmesg -c" which will clear dmesgs cache, then start lcnc and 
> stop it. send the next "sudo dmesg >filename 2>&1" and post it here as 
> an insert of that filename.  I also find that printing a copy for future 
> reference is also quite handy as you go about configuring a working 
> system.
> 
> Point is, that if the setup has a watchdog, it should show up in that 
> dmesg listing, the whole thing is perhaps 60 lines in one of my machines 
> that uses a 5I25 card.  And its now part of the of the output write 
> function now done internal to the card when and output is written by the 
> driver. So it does not show up in my dmesg listing, and that line quoted 
> above now has a #in front of the addf.
> 
> Check the docs you have on this x200 vfd for any mention of a watchdog.  
> That should define how to "pet" it to keep it from barking.
> 
> OTOH, I do't have an x200 VFD, and its possible that it does not report 
> its presence when the program is run. In which case see the docs for the 
> x200.
> >
> > Danny
> >
> > On 6/16/2016 11:04 AM, dan...@austin.rr.com wrote:
> > > It's modbus, sorry forgot to mention that.
> > >
> > > What baffles me is the Spindle buttons on the panel, AFAIK, just map
> > > to the same spindle-run in the HAL that M3 goes to.  I remember
> > > looking at the HAL monitor on this weeks ago and IIRC it was
> > > "spindle run true, but spindle-isrunning false".  The spindle isn't
> > > moving at all.  I'll recheck the HAL and take proper notes.
> > >
> > > And like I say, the VFD won't run again even if you reboot LinuxCNC.
> > >  It will run if I cycle power on the VFD.  So, it's like it sent a
> > > toxic command to the VFD that changed a reg to something unusable. 
> > > I did make that x200_vfd.c from the WJ200_vfd.c VFD code, but it
> > > wasn't a major change, and it's simple, there's a run command,
> > > cw/ccw command (I made it so CCW just turns into CW), rpm command,
> > > and reads is-running-at-speed and an error bit.
> > >
> > > It don't see where it could deliver something to de-configure the
> > > VFD, nor why the Spindle panel buttons would do something different
> > > through the HAL than you'd get by MDI M3.
> > >
> > > Danny
> > >
> > >  andy pugh  wrote:
> > >> On 16 June 2016 at 

Re: [Emc-users] Tool offset

2016-06-29 Thread Eric H. Johnson
Andy,

It does not have a controllable Z, it is a two position up/down.

Regards,
Eric


> Does Z1 have any meaning in compensating only in X and Y?

Does your machine have a Z-axis?


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

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San 
Francisco, CA to explore cutting-edge tech and listen to tech luminaries 
present their vision of the future. This family event has something for 
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread Ralph Stirling
I was actually hoping to find a powered spindle, so I
don't have to provide all the bearings, pulleys, etc.
I've seen straight-shank collet chucks with (small)
through-holes as you mention, and can go that route
if no powered spindles with hollow shafts seem to be
sold.  I could live with 8mm ID, although larger would
be nicer.

-- Ralph

From: John Kasunich [jmkasun...@fastmail.fm]
Sent: Wednesday, June 29, 2016 8:36 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] ER-16 spindles

On Wed, Jun 29, 2016, at 11:26 AM, andy pugh wrote:
> On 29 June 2016 at 16:16, Ralph Stirling  
> wrote:
> > Have any of you come across cheap collet spindles that
> > have a through-bore?  I am toying with an idea for a
> > simple, special-purpose lathe, and need a hollow spindle.
>
> eBay is full of them. (well, not literally).
>
> http://www.ebay.co.uk/itm/301808141248
>

Note that that auction does not specify the diameter of the thru-hole.
My experience with similar collet chucks is that the hole is smaller than
you expect, often smaller than the clamping diameter of the matching
collets.

In my case I've got ER20 collets and bought some 3/4" straight shank
collet chucks.  ER20 collets will hold up to 13mm (1/2"), but the thru-hole
in the shank is more like 3/8" (9mm).

How big of a thru-hole do you need?

--
  John Kasunich
  jmkasun...@fastmail.fm

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool offset

2016-06-29 Thread andy pugh
On 29 June 2016 at 16:18, Eric H. Johnson  wrote:
> G10 L1 P1 R0.25 Z1
>
>
>
> Does Z1 have any meaning in compensating only in X and Y?

Does your machine have a Z-axis?


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

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread John Kasunich


On Wed, Jun 29, 2016, at 11:26 AM, andy pugh wrote:
> On 29 June 2016 at 16:16, Ralph Stirling  
> wrote:
> > Have any of you come across cheap collet spindles that
> > have a through-bore?  I am toying with an idea for a
> > simple, special-purpose lathe, and need a hollow spindle.
> 
> eBay is full of them. (well, not literally).
> 
> http://www.ebay.co.uk/itm/301808141248
> 

Note that that auction does not specify the diameter of the thru-hole.
My experience with similar collet chucks is that the hole is smaller than
you expect, often smaller than the clamping diameter of the matching
collets.

In my case I've got ER20 collets and bought some 3/4" straight shank
collet chucks.  ER20 collets will hold up to 13mm (1/2"), but the thru-hole
in the shank is more like 3/8" (9mm).

How big of a thru-hole do you need?

-- 
  John Kasunich
  jmkasun...@fastmail.fm

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Tool offset

2016-06-29 Thread Eric H. Johnson
All,

 

I am cutting a dense mat material with an ultrasonic knife. It appears that
when the fibers are cut I get a small amount of expansion so the part to be
inset ends up just a little too large, even though it is cutting exactly the
same size as the base in which it is to be inset. I was looking at tool
compensations to see if I can adjust the tool path by a very small amount
(0.005" - 0.01") to make the inset part just a little bit smaller, following
the example here:

http://linuxcnc.org/docs/2.5/html/gcode/tool_compensation.html

 

The pattern runs entirely CW, so G41 should compensate in the appropriate
direction.

 

The example shows:

G10 L1 P1 R0.25 Z1

 

Does Z1 have any meaning in compensating only in X and Y?

 

If I set the compensation for the entire file, do I have to deal with
individual lead-ins?

 

And of course, is there an easier way to accomplish this?

 

Thanks,

Eric

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread Peter Blodow
Being in possession of a lathe, I bought a set of cheap collets, a 
special nut and a six-prong wrench to go with them and made my spindle 
myself.
Peter

Am 29.06.2016 17:16, schrieb Ralph Stirling:
> Have any of you come across cheap collet spindles that
> have a through-bore?  I am toying with an idea for a
> simple, special-purpose lathe, and need a hollow spindle.
>
> Thanks,
> -- Ralph
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
http://www.avast.com


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ER-16 spindles

2016-06-29 Thread andy pugh
On 29 June 2016 at 16:16, Ralph Stirling  wrote:
> Have any of you come across cheap collet spindles that
> have a through-bore?  I am toying with an idea for a
> simple, special-purpose lathe, and need a hollow spindle.

eBay is full of them. (well, not literally).

http://www.ebay.co.uk/itm/301808141248

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

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] ER-16 spindles

2016-06-29 Thread Ralph Stirling
Have any of you come across cheap collet spindles that
have a through-bore?  I am toying with an idea for a
simple, special-purpose lathe, and need a hollow spindle.

Thanks,
-- Ralph
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Screw compensation file - LinuxCNC 2.6

2016-06-29 Thread Todd Zuercher
Directly from Hiwin, through their website. (I think the thing shipped from 
Chicago).

I can't remember who all I may have gotten prices from (it was 5 or 6 years 
ago), but one of the main reasons I went with Hiwin was their online ordering 
was pretty simple (and I think they were one of the cheapest quotes).  A few 
e-mails, a couple of phone calls and exchanging a couple of drawings of specs, 
and it was done.
http://www.hiwin.com/ballscrews.html

I remember now I did have one problem, the first nut that came with the screw 
had no means of lubricating it.  There was no hole or anything drilled for a 
grease zerk.  A quick call to them and they sent me a new one.  Getting that 
thing started on the screw without loosing any balls was a real chore, ended up 
chucking the mandrel they sent with it and using something that fit a little 
tighter was the trick to make it work.

- Original Message -
From: "Dave Cole" 
To: emc-users@lists.sourceforge.net
Sent: Wednesday, June 29, 2016 10:04:13 AM
Subject: Re: [Emc-users] Screw compensation file - LinuxCNC 2.6

How did you buy the screw?   Via Hiwin directly or through a distributor ??

I think you are near Cleveland ?

Did you get a price from Nook as well ??Nook is right in Cleveland 
on 49th street.

Dave


On 6/29/2016 8:35 AM, Todd Zuercher wrote:
> I don't know how much use it is to you, but I bought a custom ball screw (cut 
> to length and ends machined to my specs) from Hiwin, for significantly less 
> (about half) of what the cost of buying an OE lead screw (not ball screw) 
> from the manufacturer of one of our machines.  It works better and has lasted 
> more than twice as long as the original lead screws (which used to last only 
> about 2 years).
>
> - Original Message -
> From: "Dave Cole" 
> To: "Enhanced Machine Controller (EMC)" 
> Sent: Tuesday, June 28, 2016 4:42:00 PM
> Subject: Re: [Emc-users] Screw compensation file - LinuxCNC 2.6
>
> I thought about that except that the data file is setup via the same
> method as the Y axis.
>
> However the X axis screw is much worse than the Y axis.
>
> I went over the file with the guy who did the measuring, and he agreed
> that the data seems like it is in the proper order.
>
> Its weird that the Y axis is working really well, while the X axis is
> not working well at all.  I have a small X-Y machine in my office that I
> may setup with a dial indicator and do some testing just so I can better
> understand the screw comp.
>
> I did some looking and Nook, a big ball screw maker in the US says that
> their rolled ball screws, which are not normally used for machine tools
> are accurate to +/- .004 per foot.   In the first foot of this X axis
> screw, the screw is out 0.030 of an inch.
>
> Nook's ground ball screws, standard accuracy are good to +/- 0.001 per
> foot.
>
> So I wonder if I have reached the limit of LinuxCNCs ability to
> compensate for a junk screw?
>
> Dave
>
> On 6/28/2016 11:56 AM, andy pugh wrote:
>> On 28 June 2016 at 15:35, Dave Cole  wrote:
>>
>>> LinuxCNC is trying to use the x axis data since  ball bar testing
>>> results change significantly if the X axis screw comp is enabled or
>>> disabled.However the screw comp is not effectively correcting the
>>> screw.
>> Is it possible that the compensation file is upside down?
>>
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape

Re: [Emc-users] Screw compensation file - LinuxCNC 2.6

2016-06-29 Thread Dave Cole
How did you buy the screw?   Via Hiwin directly or through a distributor ??

I think you are near Cleveland ?

Did you get a price from Nook as well ??Nook is right in Cleveland 
on 49th street.

Dave


On 6/29/2016 8:35 AM, Todd Zuercher wrote:
> I don't know how much use it is to you, but I bought a custom ball screw (cut 
> to length and ends machined to my specs) from Hiwin, for significantly less 
> (about half) of what the cost of buying an OE lead screw (not ball screw) 
> from the manufacturer of one of our machines.  It works better and has lasted 
> more than twice as long as the original lead screws (which used to last only 
> about 2 years).
>
> - Original Message -
> From: "Dave Cole" 
> To: "Enhanced Machine Controller (EMC)" 
> Sent: Tuesday, June 28, 2016 4:42:00 PM
> Subject: Re: [Emc-users] Screw compensation file - LinuxCNC 2.6
>
> I thought about that except that the data file is setup via the same
> method as the Y axis.
>
> However the X axis screw is much worse than the Y axis.
>
> I went over the file with the guy who did the measuring, and he agreed
> that the data seems like it is in the proper order.
>
> Its weird that the Y axis is working really well, while the X axis is
> not working well at all.  I have a small X-Y machine in my office that I
> may setup with a dial indicator and do some testing just so I can better
> understand the screw comp.
>
> I did some looking and Nook, a big ball screw maker in the US says that
> their rolled ball screws, which are not normally used for machine tools
> are accurate to +/- .004 per foot.   In the first foot of this X axis
> screw, the screw is out 0.030 of an inch.
>
> Nook's ground ball screws, standard accuracy are good to +/- 0.001 per
> foot.
>
> So I wonder if I have reached the limit of LinuxCNCs ability to
> compensate for a junk screw?
>
> Dave
>
> On 6/28/2016 11:56 AM, andy pugh wrote:
>> On 28 June 2016 at 15:35, Dave Cole  wrote:
>>
>>> LinuxCNC is trying to use the x axis data since  ball bar testing
>>> results change significantly if the X axis screw comp is enabled or
>>> disabled.However the screw comp is not effectively correcting the
>>> screw.
>> Is it possible that the compensation file is upside down?
>>
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Screw compensation file - LinuxCNC 2.6

2016-06-29 Thread Todd Zuercher
I don't know how much use it is to you, but I bought a custom ball screw (cut 
to length and ends machined to my specs) from Hiwin, for significantly less 
(about half) of what the cost of buying an OE lead screw (not ball screw) from 
the manufacturer of one of our machines.  It works better and has lasted more 
than twice as long as the original lead screws (which used to last only about 2 
years).

- Original Message -
From: "Dave Cole" 
To: "Enhanced Machine Controller (EMC)" 
Sent: Tuesday, June 28, 2016 4:42:00 PM
Subject: Re: [Emc-users] Screw compensation file - LinuxCNC 2.6

I thought about that except that the data file is setup via the same 
method as the Y axis.

However the X axis screw is much worse than the Y axis.

I went over the file with the guy who did the measuring, and he agreed 
that the data seems like it is in the proper order.

Its weird that the Y axis is working really well, while the X axis is 
not working well at all.  I have a small X-Y machine in my office that I 
may setup with a dial indicator and do some testing just so I can better 
understand the screw comp.

I did some looking and Nook, a big ball screw maker in the US says that 
their rolled ball screws, which are not normally used for machine tools 
are accurate to +/- .004 per foot.   In the first foot of this X axis 
screw, the screw is out 0.030 of an inch.

Nook's ground ball screws, standard accuracy are good to +/- 0.001 per 
foot.

So I wonder if I have reached the limit of LinuxCNCs ability to 
compensate for a junk screw?

Dave

On 6/28/2016 11:56 AM, andy pugh wrote:
> On 28 June 2016 at 15:35, Dave Cole  wrote:
>
>> LinuxCNC is trying to use the x axis data since  ball bar testing
>> results change significantly if the X axis screw comp is enabled or
>> disabled.However the screw comp is not effectively correcting the
>> screw.
> Is it possible that the compensation file is upside down?
>

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread Gene Heskett
On Wednesday 29 June 2016 01:42:47 Danny Miller wrote:

> Well, I recreated it and confirmed cycling VFD power without rebooting
> LinuxCNC makes the spindle run again.
>
> I looked into the HAL after the "Spindle CW" button breaks everything:
> enable TRUE
> is_alarm FALSE
> is_at_speed FALSE
> is_ready TRUE
> is_running TRUE
> reverse FALSE
> run TRUE
> watchdog_out TRUE
>
> compared with actually having it running with M3:
> is_at_speed becomes TRUE (duh)
> watchdog_out is FALSE
>
> Well, that's odd.  IIRC the watchdog is not getting data back from the
> VFD in a timely fashion.  It is somehow locked up so that does seem
> consistent with the situation.  But no idea how it's getting locked
> up. The x200 VFD code sends a speed, dir, and run command and reads
> back the coils.
>
How often?  This is sounding as it it has some sort of an internal 
watchdog that is not getting "petted".  This function is normally done 
by an addf in your .hal file as one of the last addf's, often next in 
line after the addf that updates the outputs each servo cycle.  That way 
the watchdog gets petted even if the rest of the system is sitting idle 
waiting for its slow human to tell it what to do next. :)

For an older 5I25 card install, it looked like this in the .hal file:
addf   hm2_5i25.0.pet_watchdog   servo-thread# else he bites!

Do a "sudo dmesg -c" which will clear dmesgs cache, then start lcnc and 
stop it. send the next "sudo dmesg >filename 2>&1" and post it here as 
an insert of that filename.  I also find that printing a copy for future 
reference is also quite handy as you go about configuring a working 
system.

Point is, that if the setup has a watchdog, it should show up in that 
dmesg listing, the whole thing is perhaps 60 lines in one of my machines 
that uses a 5I25 card.  And its now part of the of the output write 
function now done internal to the card when and output is written by the 
driver. So it does not show up in my dmesg listing, and that line quoted 
above now has a #in front of the addf.

Check the docs you have on this x200 vfd for any mention of a watchdog.  
That should define how to "pet" it to keep it from barking.

OTOH, I do't have an x200 VFD, and its possible that it does not report 
its presence when the program is run. In which case see the docs for the 
x200.
>
> Danny
>
> On 6/16/2016 11:04 AM, dan...@austin.rr.com wrote:
> > It's modbus, sorry forgot to mention that.
> >
> > What baffles me is the Spindle buttons on the panel, AFAIK, just map
> > to the same spindle-run in the HAL that M3 goes to.  I remember
> > looking at the HAL monitor on this weeks ago and IIRC it was
> > "spindle run true, but spindle-isrunning false".  The spindle isn't
> > moving at all.  I'll recheck the HAL and take proper notes.
> >
> > And like I say, the VFD won't run again even if you reboot LinuxCNC.
> >  It will run if I cycle power on the VFD.  So, it's like it sent a
> > toxic command to the VFD that changed a reg to something unusable. 
> > I did make that x200_vfd.c from the WJ200_vfd.c VFD code, but it
> > wasn't a major change, and it's simple, there's a run command,
> > cw/ccw command (I made it so CCW just turns into CW), rpm command,
> > and reads is-running-at-speed and an error bit.
> >
> > It don't see where it could deliver something to de-configure the
> > VFD, nor why the Spindle panel buttons would do something different
> > through the HAL than you'd get by MDI M3.
> >
> > Danny
> >
> >  andy pugh  wrote:
> >> On 16 June 2016 at 07:57, Danny Miller 
> >> wrote: My MPG's "spindle" button works.
> >>
> >> On the default panel, ...  Clicking any of that doesn't make the
> >> spindle go,
> >>
> >> It's not JUST that.  Once you click on any of that, the VFD *will
> >> never run again* until power is cycled.
> >
> > How fascinating..
> > Can we see your HAL files?
> >
> > Is the spindle controlled by Modbus or DC voltage? What hardware?
>
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT
> Park in San Francisco, CA to explore cutting-edge tech and listen to
> tech luminaries present their vision of the future. This family event
> has something for everyone, including kids. Get more information and
> register today. http://sdm.link/attshape
> ___
> 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)
Genes Web page 

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present 

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread andy pugh
On 29 June 2016 at 06:42, Danny Miller  wrote:
> compared with actually having it running with M3:
> is_at_speed becomes TRUE (duh)

Do you have the motion.spindle-at-speed pin connected up? Perhaps this
is what is preventing machine movement?

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

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users