swedeleaner
Member
Anyone of you that are familiar with Twincat2 Control Toolbox?
I want to make use of a PID-controller for a cooling solution, but this was harder than i expected.
The basic PID-controller in codesys let me use negative gain it, but that PID-controller doesn´t use limiters, so when hitting the max for an INT, it just starts over from maximum negative INT... (A jump from +32000 to -32000, my valves will freak out)
I nagged on my boss to buy the Controller Toolbox, but the PID-controllers in the pack just won´t let me use negative gain... The FB:s error flag is trigged, telling me i cant use negative gain.
There is however a FB_CTRL_PID_SPLITRANGE.
The manual says it can be used for cooling solutions, but i have only gotten the heating to work. (The FB uses two outputs)
There is something called eParameterRecord, and it´s in heating as default.
But the information system doesn´t even describe it, nor googling helps.
To narrow it down. I want to use a PID-controller for a cooling solution with an output limiter. Which way should I choose?
I want to make use of a PID-controller for a cooling solution, but this was harder than i expected.
The basic PID-controller in codesys let me use negative gain it, but that PID-controller doesn´t use limiters, so when hitting the max for an INT, it just starts over from maximum negative INT... (A jump from +32000 to -32000, my valves will freak out)
I nagged on my boss to buy the Controller Toolbox, but the PID-controllers in the pack just won´t let me use negative gain... The FB:s error flag is trigged, telling me i cant use negative gain.
There is however a FB_CTRL_PID_SPLITRANGE.
The manual says it can be used for cooling solutions, but i have only gotten the heating to work. (The FB uses two outputs)
There is something called eParameterRecord, and it´s in heating as default.
But the information system doesn´t even describe it, nor googling helps.
To narrow it down. I want to use a PID-controller for a cooling solution with an output limiter. Which way should I choose?