I have tried the PID function in PLCNext Engineer in connection with a project and was wondering: What is the meaning of an PID function, that is running an endless output? Will say, that the process output of the PID function has no upper limit. If a process cannot reach the setpoint (technical limitations or user fault) the PID output will increase without limit. A limit for the output would be nice. In the same way we limit the output value in an FPID function. It would also be a good idea, to have the output of the PID /FPID not oly as REAL value but as INT value too. Frequency inverter and valve actuators on bus systems are using INT values for speed or position control. Yep, we could converte the output of the PID / FPID to an INT value but we are in 2020 shortly and you could do better with the PID / FPID’s. They are still the same as in PCWorx. And no, not everybody is using Mathlab to do the PID /FPID controller. Peter Paul
Hello Peter Paul, maybe this libraries PID FBs fit your needs better.
https://www.plcnextstore.com/#/235 kind regards,
Oliver
Good one! If you try to add the lib in PLCNext Engineer 2020 you get an internal error : UTL0001 So, shall we try that again? Peter Paul
The documentation indicates that the library is not compatible with 2020.0: Please try again with one of the compatible versions of PLCnext Engineer, or contact the developer for an update for 2020.0 ~ Martin.
Hi Martin, contact the developer? That would be Phoenix Contact or I am wrong in that? Peter Paul
Hi Peter Paul, Sorry, I should have been clearer. There’s a “contact developer” button on the top-right of the detail page for every app in the PLCnext Store. That’s one way to contact the developer of a specific app with requests like this. We (in Support) could try to track down the developer of this specific app, but the PLCnext Store makes this process more efficient, by allowing users to contact the developer directly. But if you would like us to follow this up here for you, please let us know. Martin
Hi Martin, yes please follow up this. I did think that your own lib’s would be updated with the release of a new version of PLCNext Engineer. We still have some smaller issues in the software, so as user I will update to the latest release. That solves some of the issues but in this case, it is opening others. But that is the name of the game: we still have a new software and some bugs and issues will show when using the software. Peter Paul
Hello Peter, actually this Library is released for 2020.0
But only the documentation is still waiting for an update.
Please use the library located in the 2019.9 Subfolder.
“ControlTechnology/2019.9/ControlTechnology_3.pcwlx”
kind regards, Oliver
Hello Oliver, I already found the solution in the extended library. The FPID has limit parameters to limit the YOut (control value).
I’m also searching for a PID FB with control output limitations parameters. The library you’ve mentioned doesn’t seems to exist anymore: https://www.plcnextstore.com/#/235 I hope to hear from you soon.
You will have to limit your control outputs separately. I have written an FB that will give me the option. Also handy for inverter controls where you have a min. and max speed. that will mean the technicians can change the inverter without running through all the parameters. Nice when you run your inverter via ProfiNet. They need only adjust the motor current and that is it. well, that depends on the inverter you use. For more complex PID controls I have changed to SimuLink. It’s worth looking in to. Peter Paul
Dear m.eerd and Peter, just to give you and others in the community an update of the availability of the PLCnext Control Technology Library (were some close loop FBs were part of). As the general design of this library is already quite old, and the useability is not in the way as many users expected, we’ve decided to redesign the lib and to keep the lib “exclusive”. This means that the lib is still available via your local sales contact, but not longer available for the broad marked via the store. For today I can not give you any new release date for the updated library, but defenetly it will not bepossible to provide it this year. BR, Frank @Peter If you’ve already created your own PID lib, it might be worth to offer it via the PLCnext Store.