why spindle speed is dropping?
24 Dec 2012 02:27 - 24 Dec 2012 02:38 #27985
by viski
why spindle speed is dropping? was created by viski
Lathe config in made with PnCConf and spindle speed. At now it is in open loop but i am going to made closed loop spindle with gear reduction.
Mesa m5i20 + 7i33TA analog output card
Why does it dropping ?
Mesa m5i20 + 7i33TA analog output card
Why does it dropping ?
Last edit: 24 Dec 2012 02:38 by viski.
Please Log in or Create an account to join the conversation.
24 Dec 2012 02:33 #27986
by PCW
Replied by PCW on topic why spindle speed is dropping?
Can you explain a little more what you mean by 'dropping' ?
Please Log in or Create an account to join the conversation.
24 Dec 2012 02:50 #27987
by viski
Replied by viski on topic why spindle speed is dropping?
Please Log in or Create an account to join the conversation.
24 Dec 2012 03:18 #27988
by PCW
Replied by PCW on topic why spindle speed is dropping?
Can you check the analog output voltage of the 7I33 channel you are using for the spindle?
Please Log in or Create an account to join the conversation.
24 Dec 2012 03:49 #27989
by viski
Replied by viski on topic why spindle speed is dropping?
Yes ,i can.
I will do it tommorow.
I will do it tommorow.
Please Log in or Create an account to join the conversation.
26 Dec 2012 21:40 #28043
by viski
Replied by viski on topic why spindle speed is dropping?
problem solved . encoder.counter-mode set to 1 ( true) and it work.
Now , how to make 0- 10 V output for spindle controll from 0 - 1600 rpm ?
my hal file
Now , how to make 0- 10 V output for spindle controll from 0 - 1600 rpm ?
my hal file
Please Log in or Create an account to join the conversation.
26 Dec 2012 23:41 #28044
by PCW
Replied by PCW on topic why spindle speed is dropping?
This should be done by setting the pwm scale of the pwmgen that drives the spindle output to 1600
I expect this is done in this line:
setp hm2_5i20.0.pwmgen.03.scale [SPINDLE_9]OUTPUT_SCALE
but you would have to check your .ini file to see if [SPINDLE_9]OUTPUT_SCALE is set
(or look at hm2_5i20.0.pwmgen.03.scale with halmeter)
I expect this is done in this line:
setp hm2_5i20.0.pwmgen.03.scale [SPINDLE_9]OUTPUT_SCALE
but you would have to check your .ini file to see if [SPINDLE_9]OUTPUT_SCALE is set
(or look at hm2_5i20.0.pwmgen.03.scale with halmeter)
Please Log in or Create an account to join the conversation.
27 Dec 2012 02:23 #28055
by viski
Replied by viski on topic why spindle speed is dropping?
pwm.output-type 3 ( PDM ) . I need absolute 0- 10 v output . At now when i run m3 i get positive output but with m4 i get negative output. How to solve this problem?
When machine is not enabled ,speendle speed is correct. When i turn machine ON speendle speed is growing
What should be wrong?
When machine is not enabled ,speendle speed is correct. When i turn machine ON speendle speed is growing
What should be wrong?
Please Log in or Create an account to join the conversation.
27 Dec 2012 03:03 #28058
by PCW
Replied by PCW on topic why spindle speed is dropping?
spindle-vel-cmd needs to be run through an abs component for 0 to +10 spindles
the indicated velocity growth might have something to do with the lowpass filter. The actual spindle should be disabled with machine off
the indicated velocity growth might have something to do with the lowpass filter. The actual spindle should be disabled with machine off
Please Log in or Create an account to join the conversation.
27 Dec 2012 20:01 #28084
by viski
Replied by viski on topic why spindle speed is dropping?
Pid feedback spindle is working .
Any ideas how to add abs comp to get 0-10 Volt output always?
If i add abs.0.out after sum2.0.out i get error mesage: ' spindle-vel-cmd allready has an output sum2.0.out pin! '
How can i solve problem?
Any ideas how to add abs comp to get 0-10 Volt output always?
If i add abs.0.out after sum2.0.out i get error mesage: ' spindle-vel-cmd allready has an output sum2.0.out pin! '
How can i solve problem?
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.091 seconds