Servo Tuning FF

More
14 years 3 months ago #21895 by andypugh
PCW wrote:

No (you cannot because the pin is "owned" by the PWM gens) but you cannot wire ENA 0 to spindle enable or you will turns off the other analog outs when the spindle is off


I suppose the question is what the hm2 driver pwmgen enable pins do then, as there seems to be one for each pwmgen. It might just set the pwm duty cycle individually to zero.

It's an easy test, though, to turn the spindle on and see if the axes wake up.

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

More
14 years 3 months ago #21896 by PCW
Replied by PCW on topic Re:Servo Tuning PID and FFn
net spindle-enable => hm2_5i23.0.pwmgen.00.enable
is the error

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

More
14 years 3 months ago #21906 by LAIR82
Replied by LAIR82 on topic Re:Servo Tuning PID and FFn
Pete,

I changed the enable to be fired from an ladder relay off of my main machine power, but im not seeing anything yet. How do I go about bypassing the PID function, I have already #'ed out all lines in my hal relating to PID,FF, Gain, Bias?

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

More
14 years 3 months ago #21907 by andypugh
LAIR82 wrote:

I changed the enable to be fired from an ladder relay off of my main machine power, but im not seeing anything yet. How do I go about bypassing the PID function, I have already #'ed out all lines in my hal relating to PID,FF, Gain, Bias?


The simplest would be to type the following in the command box in Halconfig (which might actually have disappeared off the bottom of the window, try resizing the window)

unlinkp hm2_5i23.0.pwmgen.02.value
unlinkp hm2_5i23.0.pwmgen.02.enable
setp hm2_5i23.0.pwmgen.02.enable 1
setp hm2_5i23.0.pwmgen.02.value 0.1

(and so on)

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

More
14 years 3 months ago #21908 by LAIR82
Replied by LAIR82 on topic Re:Servo Tuning PID and FFn
I finally got it to work and show voltage on my meter. Now its time to go back to yesterday and get to putting some power to the drives.

I had to go back to the original 02 and 04 pwmgen enable lines and connect them back to the PID ENABLE output, with the 00 enable still fired from my main power ladder rung.

See where we go from here.

Thanks again for all the help from you guys,

Rick

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

More
14 years 3 months ago - 14 years 3 months ago #21910 by PCW
Replied by PCW on topic Re:Servo Tuning PID and FFn
Also note you also will want
setp hm2_5i23.0.pwmgen.00.enable 1
since pwm enable 0 is a global hardware analog out enable
Last edit: 14 years 3 months ago by PCW.

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

Time to create page: 0.440 seconds
Powered by Kunena Forum