Servo Tuning FF
there is really only a single common enable (enable 0)
This gates all channels
If you want a separate spindle enable, I would use a 7I71 output
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
If you want a separate spindle enable, I would use a 7I71 output
That appears to be what he has.
Is it necessary to set the GPIO pins on the 5i23 that correspond to the 7i49 /ENA pins to outputs and set them low?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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.
is the error
Please Log in or Create an account to join the conversation.
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.
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.
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.
setp hm2_5i23.0.pwmgen.00.enable 1
since pwm enable 0 is a global hardware analog out enable
Please Log in or Create an account to join the conversation.