rockber Posted March 24, 2023 Report Posted March 24, 2023 Hi all, I usually work with PID loops and tunning it manually. This time i want to try the autotune feature but i'm facing some troubles with the autotunedone bit in "PID Config" struct. This bit when autotune is completed is always ON and the help file says "Reset by user"... Well this bit is not possible write on it cause is a reading bit. So could you tell me how to reset this bit after autotune is done? If you start the autotune process again the autotunedone bit is reset by itself, but i want to reset it before start autotune process once again. BR
ORSO2001 Posted March 24, 2023 Report Posted March 24, 2023 Hi rockber in the Toolbox under the PID FB group you will find "Reset PID autotune"; at this FB you have to pass your PID_Config struct....so the bit wil be reset until the new autotune will be complete (properly).
rockber Posted March 29, 2023 Author Report Posted March 29, 2023 I'll try it, but it will probably work i guess. I was wrong about Reset pid autotune, I thought that this FB resets the internal values of the block and i usually used it before starting the autotune process instead at the end of the autotune process. Thanks for your help, BR
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now