Seite 1 von 1
Saving PID Controller parameters
Verfasst: Sonntag 25. Dezember 2016, 16:36
von QMESAR
Hi All,
I am not sure how I can save the PID Controller P,I and D parameters when the application is closed so that when it the application is started again that the last Parameters are again used to avoid tuning of the PID every time the application is newly started .
any ideas and help will be highly appreciated
Best Regards
Peter
Re: Saving PID Controller parameters
Verfasst: Montag 26. Dezember 2016, 08:51
von Messtechniker
Try the "Sampler" component.
Or after having determined the final PID values use a text editor
to write these to a separate text file and thereafter use the
component "File - Read line" the read the saved PID values
upon restating the programme.
Just my ideas. Have to date not used the "Sampler" component myself.
Please report back, if successful.
Yours Messtechniker
Re: Saving PID Controller parameters
Verfasst: Montag 26. Dezember 2016, 09:43
von QMESAR
Just my ideas. Have to date not used the "Sampler" component myself.
Please report back, if successful.
Hi Messtechniker,
Thank you very much for the ideas I will definitely try it and report back
It will be some time this week or on the weekend,I appreciate your help and thoughts.
Best Regards
Peter
Re: Saving PID Controller parameters
Verfasst: Montag 26. Dezember 2016, 10:56
von IKT
QMESAR hat geschrieben:... how I can save the PID Controller P,I and D parameters when the application is closed ...
Those parameters can also be set, using Constants: "Fixed-Value" set, to be adjustable, at "run time".
Another method is: in Front-Panel, select "remember last setting". This then keeps the last set parameter, of every input component of PL-E.
There are many ways, to skin a cat ...
Re: Saving PID Controller parameters
Verfasst: Montag 26. Dezember 2016, 12:51
von QMESAR
IKT hat geschrieben:
There are many ways, to skin a cat ...

That is very true, Thank you very much for your advise much appreciated !
Regards
Peter