EMC and 7i43
What is the output of your PID function (you can probe it with Halmeter or Halscope) and what is the scale of your PWMGen? If the error term is small, and P is small and pwm scale is large, then you will see what you are seeing.I get a good enable signal, my PID settings are P:1 and all else 0 at the moment. I'm trying to setup a HAL with self-selected PWM commands.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Any thoughts?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Generated with PNCCONF
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Note that the stock config uses different output scales for different axis. You will have to find the correct (1 or -1) output scale for each of your axis. Another thing I noticed is that you have A FF0 value of 1. This is dead wrong, it should be 0 and is likely part of your problems.
Don't know if you set that or its a pncconf bug but it needs to be 0.
If the stock config works better why not start with it and modify to suit?
Please Log in or Create an account to join the conversation.
but you still need to get the output scale correct for each axis
If you change the output scale in pncconf, you should verify that
it has been changed in the HAL file,
changing the sign of the output scale pretty much has to change the servo behaviour
(assuming the encoders work and the PID loops are wired up correctly in HAL)
Please Log in or Create an account to join the conversation.
I know the encoders are right, but I don't know anything about PID loops and that portion of the setup, to know where to go with those.
What is strange is that the same setup on the Z axis as compared to the X and Y axes works, while the other two do not.
Please Log in or Create an account to join the conversation.
Thanks.
Please Log in or Create an account to join the conversation.