1 (edited by Kellermorph 2026-02-07 19:16:59)

Topic: SPS Manager / PLC Manager

Da es mir zu aufwändig war alle Datenpunkte händisch einzeln in die Elemente zu schreiben, habe ich mir dafür ein Skript geschrieben.
Das Vorgehen ist wie folgt:
Zuerst werden alle IO-Module angelegt.
Hierbei muss direkt die Seitennummern vergeben werden.
Dann kann man das Skript starten und die qet Datei auswählen. Danach werden die entsprechenden Seiten eingegeben und geladen.
Hierbei müssen meine Bauteile verwendet werden bzw. die Variablen die ich in meinen Bauteilen nutze.
Danach kann man die Informationen wie Funktion, Adresse etc direkt aus der xlsx Datei in den Manager kopieren. Diese werden mit einem klick auf Übernehmen in die QET datei geschrieben.

Since it was too time-consuming for me to write all the data points into the elements manually, I wrote a script for this purpose.
The procedure is as follows:
First, all IO modules are created.
The page numbers must be assigned directly.
Then you can start the script and select the qet file. After that, the corresponding pages are entered and loaded.
My components must be used here, or rather the variables that I use in my components.
Then you can copy information such as function, address, etc. directly from the xlsx file into the manager. These are written to the QET file by clicking on Apply.

Translated with DeepL.com (free version)

Post's attachments

Attachment icon SPS-Editor.py 17.98 kb, 15 downloads since 2026-02-07 

Attachment icon SPS-Elemente.zip 13.15 kb, 17 downloads since 2026-02-07 

Re: SPS Manager / PLC Manager

Please provide an little example project, pictures or video, if you can?

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: SPS Manager / PLC Manager

i will do it the next days

Re: SPS Manager / PLC Manager

Project and Video is attached

Post's attachments

Attachment icon 2026-02-08 13-08-04.mkv 17.08 mb, 13 downloads since 2026-02-08 

Attachment icon ohne Namen.qet 808.96 kb, 11 downloads since 2026-02-08 

Re: SPS Manager / PLC Manager

Thanks you Thomas for your work, I added to QET 's YouTube channel.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: SPS Manager / PLC Manager

You're Welcome

Re: SPS Manager / PLC Manager

I remembrer we can add python scripts into c++/Qt framework in QET's code,
https://www.pythonguis.com/pyqt5-tutorial/

The question is how to package this on various operating systems.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: SPS Manager / PLC Manager

i dont know how this works.
But maybe i could add a Drop down for different Languages? Maybe English, German, French?