I'm looking for programmers who have tried on a PLCnext project
Dear PLCnext community,
I am working on my bachelor thesis, which compares the conventional PLC programming with high-level language PLC programming. I need some programmers who can report about their experiences with C++ programming on a PLC.
You can find a interview in german and english in the attachments. The interview will added anonymised in my bachelor thesis.
You can send me the interview on m.hinrichs@ostfalia.de or make repost here.
I would be very happy about a high participation.
Interview in German:
Kommen Sie ursprünglich aus der Elektrotechnik/Automatisierungstechnik oder aus der Informatik (bzw. sind Ihnen die SPS-Sprachen oder die Hochsprachen mehr vertraut)?
Können Sie beschreiben welche Art von Projekt Sie in einer Hochsprache auf einer SPS realisiert haben?
Lässt sich dieses Projekt auch mit den herkömmlichen Programmiersprachen nach EN 61131-3 (AWL, FBS, KOP, AS oder ST) realisieren?
Warum ist es besser/schlechter dieses Projekt in einer Hochsprache umzusetzen.
Wie gut funktionierte das Debuggen im Betrieb?
Welchen Vorteil hat es eine SPS anstelle eines Mikrocontrollers für das Projekt zu nutzen?
Welches Potential hat die Hochsprachenprogrammierung bzw. was war vorher nicht möglich?
Wird die Hochsprachenprogrammierung Ihrer Meinung nach die Programmierung nach EN 61131-3 langfristig ablösen?
Interview in English:
Are you originally from the field of electrical engineering / automation technology or in computer science? (or are you more familiar with the PLC languages or the high-level languages)?
Can you describe what type of project you already realized in a high-level language on a PLC?
Can this project also be implemented with the conventional programming languages according to EN 61131-3 (IL, LD, FBD, SFC or ST)?
Why is it better / worse to implement this project in a high level language?
How good does the debugging work?
What is the advantage of using a PLC for the project instead of a microcontroller?
What is the potential of a high-level language programming? What was not possible before?
In your opinion, will high-level programming replace the programming according to EN 61131-3 on long term?
Many thanks in advance
Marcel Hinrichs
Comments
Interview with the PLCnext Community
> Hello Marcel, I'm Wilco Meewis and hereby my answers on your questions:
Are you originally from the field of electrical engineering / automation technology or in computer science? (or are you more familiar with the PLC languages or the high-level languages)?
> Originally I'm a electronics engineer/designer and during my career of 25 years I worked with all kind of systems on Microcontrollers, PC's and PLC's. So I'm familiar with both.
Can you describe what type of project you already realized in a high-level language on a PLC?
> That depends if you include the extended Structured Text programming on e.g. the Phoenix SMax controllers or others like CoDeSys controllers? If you do then we e.g. programmed several sea going vessel like Dredgers, whereby we controlled the complete dredge process. If you don't, the we did made (already a long time ago) a robot for diary farm running on a PC board with C++
Can this project also be implemented with the conventional programming languages according to EN 61131-3 (IL, LD, FBD, SFC or ST)?
> My experiënce is, that with ST a lot can be done to control a process or a machine.
Why is it better / worse to implement this project in a high level language?
> worse would be if it get's complicated to connect to hardware IO
> better would it be parts of software are not related to specific hardware and have to run on several (non-plc) systems
How good does the debugging work?
> debugging in PLC's generally easy and standard included in the programming software. I hope that will also be the case with new generation PLC's (like PLCNext), but I don't have experiënce with that jet.
What is the advantage of using a PLC for the project instead of a microcontroller?
> generally the very robust industrial hardware
What is the potential of a high-level language programming? What was not possible before?
> building software routine that will be your own standard and will be independent to any hardware
In your opinion, will high-level programming replace the programming according to EN 61131-3 on long term?
> not now, but on the long term it will
Kind regards, Wilco (wilco@meewis.net)
Hallo Marcel - ich bin Friedrich Capelle
Ich baue seit 30 Jahren Montagemaschinen mit elektronischen Steuerungen.
Kommen Sie ursprünglich aus der Elektrotechnik/Automatisierungstechnik oder aus der Informatik (bzw. sind Ihnen die SPS-Sprachen oder die Hochsprachen mehr vertraut)?
Ich schreibe Programm in IEC 61131 und C# (früher in Pascal und C++) (C# für Visualisierung und Ansteuerung von Lasern).
Können Sie beschreiben welche Art von Projekt Sie in einer Hochsprache auf einer SPS realisiert haben?
Es gibt eine Reihe von Montagemaschinen, die ohne SPS nur unter C++ programmiert sind. Grund ist die hohe Variantenvielfalt, die unter C++ einfacher zur realisieren ist.
Des weiteren gibt es aktuell eine Messmaschine zur individuellen Gravierung von Kugelschreibern und RAM-Sticks. Die Maschine enthält 10 Servoantriebe, die über IEC 61131 gesteuert werden und einen Laser, sowie eine USB-Kamera, über C# gesteuert. Mit C# wird außerdem die gesamte Datenverwaltung und Visualisierung realisiert.
Lässt sich dieses Projekt auch mit den herkömmlichen Programmiersprachen nach EN 61131-3 (AWL, FBS, KOP, AS oder ST) realisieren?
Nur teilweise. Eine Kamera ist z.B. nicht mit einer SPS abzufragen. Eine Grafik-Datei kann eine SPS nicht an einen Laser senden.
Warum ist es besser/schlechter dieses Projekt in einer Hochsprache umzusetzen.
Echtzeitanwendungen mit Zykluszeiten unter 10ms sind mit einer SPS besser umzusetzen, da ein Windows-Betriebssystem asynchron läuft, d.h ein Windows Task wird vom Betriebssystem nach 20ms abgebrochen, um einen anderen Task auszuführen.
Das Verwalten von Daten für eine große Variantenvielfalt ist mit C# besser zu lösen. Ideal sind also beide Programmiersprachen.
Wie gut funktionierte das Debuggen im Betrieb?
Eine SPS hat ein stabiles Betriebssystem und ist einfach für viele Applikationen zu verwenden. Ein MikroController hat Vorteile, wenn es eine Massenanwendung ist.
Welches Potential hat die Hochsprachenprogrammierung bzw. was war vorher nicht möglich?
Aus den oben genannten Gründen denke ich das nicht. Außerdem ist eine Hochsprachenprogrammierung für einfache Anlagen einfach überdimensioniert bzw. wird von Mechatronikern erledigt.
mfg
F.Capelle