G95 нow real feed maybe 100 times more?

More
05 Oct 2013 18:15 #39577 by machete
Hello!

I am trying to do G1 syncronized with real spindle speed (because my VFD is starting only after 1-4 second pause)

My machine units is mm, my test NGC:

G0 Z100
M3 S200 G95 F0.005
G1 Z0
M2

It passes distance 100mm for ~55sec, so it's equivalent to F0.56 (mm\rev) - it is 100 times more than i expect...

Actually, real spindle speed (from my 1 pulse sensor on spindle) is ~360rev\min, it's equivalent to F0.3 - it is 60 times more...

What am I doing wrong?


P.S. Any G0 positioning is working OK (100mm is real 100mm).

My .ini and .hal files in attachment.
Attachments:

Please Log in or Create an account to join the conversation.

More
06 Oct 2013 00:33 #39587 by cmorley
looks like you have a software encoder set with position scale of one (that would seem right)
then you scale the velocity on the encoder it by 30 -that doesn't seem right.

velocity of the encoder is rev per second - which is what motion.spindle-speed-in is looking for. (for G95 mode)

also I see you have not connected motion.spindle-revs to anything - that is needed for spindle synced moves (threading)
that should be connected to encoder position pin ( I see it's commented out )
Maybe you don't require threading...

Finally I'm not sure what your servo thread is at, nor your max rpm of the spindle, ( I didn't look at the INI file)
but your software encoder could very well limit your max RPM first.

I hope that helps.

Chris M

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum