Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: turbothis on February 23, 2012, 12:07:33 PM

Title: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 12:07:33 PM
machine is a converted 12x36 lathe 2axis (xz)
mach turn
C11-G bob
2hp 3phase motor  3500rpm
hy series vfd   =  http://www.ebay.com/itm/120705048710?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

my mach mill will run the motor fine with the same vfd.
the lathe vfd is set up 100% the same settings and seems to work fine.

i punch in the same motor tuning in turn and it is nothing like the mill.
i tryed this guys method and it kinda helped me tune it some.
http://www.machsupport.com/forum/index.php/topic,18580.0.html

the problem is i can get the top speed right on but it is not linear or correct at say half speed.
i am not sure on how to adjust the motor tuning to get the speed right or close thru out its range.
all of the spindle tuning parameters are very confusing to me.

i check the bob for 10v on full powert and it says 5v ish????
it seems i need some way to tune the pot on the bob and then start the spindle tuning.
i have a rpm tach on the spindle so i can see real rpm no problem.
any help is welcome. thanks
Title: Re: help with step/direction vfd lathe spindle
Post by: Fastest1 on February 23, 2012, 12:58:18 PM
I read that yesterday and it worked very well for me. I am getting within 75 - 100 rpm of requested with no tach or spindle index. I was having the low voltage output too on 1 of my C6's but I really think that was due to my inept testing in which I probably fried a voltage regulator of some form. Until that issue is solved most of the rest will be useless. You say you run the same thing on your mill? What is the voltage output on that one? I know that Arturo at cnc4pc told me to put "1000" steps per in the spindle tuning box but Art says to use "60". Maybe both ways work but get there by different means? I do know that after I did Art's suggestions and redid step 2 as suggested (a few times) it is very close.
Title: Re: help with step/direction vfd lathe spindle
Post by: Fastest1 on February 23, 2012, 01:01:13 PM
Btw, "this guys method", IIRC I believe Art is the creator of Mach :-)
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 01:10:04 PM
great
i figure i must have missed something but have no idea what.
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 01:12:10 PM
i get 10v ish on the mill just fine
i dont get how turn can send out 5v and get full power on the vfd
Title: Re: help with step/direction vfd lathe spindle
Post by: Hood on February 23, 2012, 02:19:36 PM
Just wondering if you possibly have the speed in spindle pulleys set wrong?
Hood
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 03:05:55 PM
well, i see 60 on the vfd and i have the tach readings. this is what i set my pulley speed to.
Title: Re: help with step/direction vfd lathe spindle
Post by: Fastest1 on February 23, 2012, 03:10:39 PM
Set your pulley speed to 1000 for setting up, then measure your speed when an S1000 command is given
Title: Re: help with step/direction vfd lathe spindle
Post by: Fastest1 on February 23, 2012, 03:11:32 PM
Going down in 50 rpm increments via S command, when does the rpm change? What was the max speed your spindle was doing on S1000?
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 03:22:44 PM
with the pulley on 1000
motor tuned to 60 step / full velocity full accel / 1 in both pulse boxs
the vfd comes down about 180rpm
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 04:05:03 PM
yep, strange thing is i have 1.54 volts at this setting.
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 04:28:50 PM
so if i set the pulley to 1000 and say s1000 on the mdi, i should get 10v at the bob vfd output right?
is there any parameter that could affect this ?
Title: Re: help with step/direction vfd lathe spindle
Post by: Hood on February 23, 2012, 04:53:09 PM
Afraid I have never set up a VFD with Mach but I have Step/Dir servos for spindles and the Vel in Motor tuning and Pulley Max have to be the same value or you get funny speeds. Might be totally different with VFD setting though?
Hood
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 04:55:33 PM
how do i figure that out?
Title: Re: help with step/direction vfd lathe spindle
Post by: Hood on February 23, 2012, 04:58:52 PM
Sorry, dont know, as said I only have experience of servo spindles and its simple for that as I know motor is say 4000rpm motor so thats what I have for Vel and Spin Pulley Max.
Hood
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 05:34:37 PM
how do i find the linearity.dat file so i can delete it? i dont see it in the mach3 folder
Title: Re: help with step/direction vfd lathe spindle
Post by: Hood on February 23, 2012, 05:44:04 PM
Check in the macro folder of the profile you are using.
Hood
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 06:07:08 PM
well, it looks like that method worked now that i deleted the linear thingy.
i got it working at about 2% of the s speed.
what was the linearity.doc???????????
thanks fellas!
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 23, 2012, 06:15:05 PM
LOL i still have 1.56v on the vfd line. it has 13v input on the bob.
somehow the vfd run that at full power and .75 ish at half power.
is there no sense to this?
whatever! it works good enough to make parts................................
Title: Re: help with step/direction vfd lathe spindle
Post by: Fastest1 on February 24, 2012, 08:27:34 AM
First, check your battery on your meter to be sure, dont ask my how I know. Dont you have a pot on the C11? board to adjust the output voltage? When the pulley is set to 1000 and you command an S1000 you should get the maximum voltage output of the speed controller. This could be 10v or anything less than your supply voltage depending on the pot setting. In my case I noticed there was no gain in speed with any voltage above 7v so that is where I set my max. A command of S500 should give half the voltage given with your S1000. Btw though you must have discovered it, look in Start/Search/C drive (or wherever you keep Mach) and look for all .dat files. I deleted all of mine. Anyway glad to hear you are getting closer.

so if i set the pulley to 1000 and say s1000 on the mdi, i should get 10v at the bob vfd output right?
is there any parameter that could affect this ?
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 24, 2012, 11:06:55 AM
ya, i thought the meter was reading funny too.
it reads 13v on the input and 1.56v on the output at 100% speed.
how does the vfd work with this i have no idea.
Title: Re: help with step/direction vfd lathe spindle
Post by: Fastest1 on February 25, 2012, 10:26:17 AM
You are measuring it while running? That never worked for me. I was measuring the output from the speed controller but not hooking it up.
Title: Re: help with step/direction vfd lathe spindle
Post by: turbothis on February 25, 2012, 11:00:02 AM
yes while running
my mill say 10v while running full speed.
this thing is very strange.
i dont mind what it does/says as long as it makes parts. lol
Title: Re: help with step/direction vfd lathe spindle
Post by: Fastest1 on February 25, 2012, 04:25:40 PM
I have mine working as of this week like you. I do however got the proper voltage output now though I think I fried a C6 in the process (or a chip in it). Oddly enough the way my Bardac drive is wired is supposedly incorrect according to anyone that reads the manual (some of who I know have extensive electronic backgrounds). But it is working just as it should. I am going to talk to the manufacturer just to verify my safety and use but like you and your voltage issue, it works right and I dont know why. Odd