Saving PID Controller parameters

Antworten
QMESAR
Beiträge: 26
Registriert: Donnerstag 16. April 2015, 12:17

Saving PID Controller parameters

Beitrag von QMESAR » Sonntag 25. Dezember 2016, 16:36

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

Messtechniker
Beiträge: 102
Registriert: Mittwoch 15. April 2009, 10:58

Re: Saving PID Controller parameters

Beitrag von Messtechniker » Montag 26. Dezember 2016, 08:51

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

QMESAR
Beiträge: 26
Registriert: Donnerstag 16. April 2015, 12:17

Re: Saving PID Controller parameters

Beitrag von QMESAR » Montag 26. Dezember 2016, 09:43

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 :D
It will be some time this week or on the weekend,I appreciate your help and thoughts.

Best Regards
Peter

IKT
Beiträge: 554
Registriert: Mittwoch 4. November 2009, 18:32

Re: Saving PID Controller parameters

Beitrag von IKT » Montag 26. Dezember 2016, 10:56

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 ...
++++++
Gruss/regards IKT

QMESAR
Beiträge: 26
Registriert: Donnerstag 16. April 2015, 12:17

Re: Saving PID Controller parameters

Beitrag von QMESAR » Montag 26. Dezember 2016, 12:51

IKT hat geschrieben: There are many ways, to skin a cat ...
:D That is very true, Thank you very much for your advise much appreciated !

Regards
Peter

Antworten

Zurück zu „Einsteigerfragen / FAQ“