hi terry

yes i did have this problem and had to make value 10times smaller, add 
extra 0 in for my spindle as u see in my hal file if u backwards caculate it

but u doing the sam to the tuning that is odd or a coincidence as you 
say im glad we are both in the same boat to speak of then
i have my machine up and running now very impressed with it

just as a watch it message the setting under the TRAJ section on ini file
MAX_VELOCITY =
make this = to overall combined max velocity not max of 1 axis to speak
so for me 10m is max of X Y Z, so combined is 17.3m/min , so put in 
18m/min have yet to add my 4th axis.
(for above 10m/min(squroot(3)=17.3m/min)

this will alow the machine to reach its maximum combined rapid speed but 
still limit each axis to there maximum speed.




Terry wrote:
> I put these lines in that you suggested and
> it worked:
>
> loadrt scale count=1
> addf scale.0 servo-thread
> #gain=10/5000rpm
> setp scale.0.gain -0.0002
> net spindle-speed-scale-in motion.spindle-speed-out => scale.0.in
> net spindle-speed-scale-out scale.0.out => 
> hm2_[HOSTMOT2](BOARD).0.pwmgen.03.value
>
>
> look at the gain number it is 10 times too small.
> (I tried 0.002 and the spindle took off way too fast)
> I checked the RPM with a hand held tach on the spindle and it is right
> on what I programmed in(with.0002).
> Now I also started tuning my servos and noticed that I was approaching
> 1/10 of my values that I had in my hm4 mi520.ini.
> So I just decided to divide all my old settings by 10 and put this in hm2 to
> give this a try.I fired it up the machine and ran some
> following error tests and it is running just like the hm4
> Now, I dont think this is a coincidence.
> I am not complaining, everything is working just like hm4
> so it really doesnt matter,but still.....
> You must think Im crazy by now.
>
>
> Thanks again
>
> Terry
>
>
>
>
>
>
> On Thu Jun  4 13:30 , robert <[email protected]> sent:
>
>   
>> here a peak at my ini file
>>
>> http://pastebin.ca/1447603
>>
>>
>>
>>
>> Terry wrote:
>>     
>>> That looks just like my Hurco VMC 20 just a different color
>>>
>>> My motors are AC (red caps) so putting on encoders is out,as
>>> I dont think I can line up the com good enough.Im sure someone
>>> would do this for me for a fee,but I am too cheap.
>>>   
>>>       
>> i dont have too much info on redcaps as all my machines are yellow caps 
>> next models up but im sure i may have something in the stash of manuals.
>>     
>>> Your tool changer works just like mine.As far as
>>> spindle orient goes I have a buddy who will program
>>> a microchip to use the orient command from EMC and
>>> take over the VFD,when orient is complete the micochip
>>> will send a signal back to EMC.
>>>   
>>>       
>> once i get changer working as it should (only bug i have now is tool 16 
>> to 1 and reverse but i think i have it sorted now) ill send over my PLC 
>> if you like. ill add it on wiki too
>> what spindle drive do you have? fanuc or other?
>> if fanuc and as u say you have a mag sensor on side of spindle why not 
>> use it? as now it goes into drive correct? all you need to do is inable 
>> a pin on VFD and it will go into close loop mode for you and orient the 
>> spindle.
>>
>> did you read this wiki page
>> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl\?Closed_Loop_Spindle_Speed_Control
>>
>> im sure taken this and tweaking it will give a closed loop spindle as 
>> you say ur VFD takes +-10v signal
>> then u can index spindle to how u like and need
>>     
>>> I will get some numbers off the servo drives and see
>>> if you have a manual.
>>> It is nice to talk to someone about common problems and
>>> machines.
>>> I am not sure how to do the irc thing and I would
>>> only be able to be on 10:00 pm central US time,I dont know
>>> what time that is for you.
>>>   
>>>       
>> just head over to the website use the online version,
>> http://www.linuxcnc.org/component/option,com_mospjirc/Itemid,8/lang,en/
>> im up most of the time :)
>>     
>>> Once again thanks for the help
>>>
>>> Terry
>>>
>>>   
>>>       
>
>
> ---- Msg sent via CableONE.net MyMail - http://www.cableone.net
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.339 / Virus Database: 270.12.53/2155 - Release Date: 06/04/09 
> 17:55:00
>
>   


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to