Step 7 A loop that is written on STL doesn't work.

@Ralle,
One more time look at #12 and any programmer will tell you that SCL language is based on pure Pascal that was castrated and adapted for PLC programming.

Concerned (Siemens Castrated Language). It was my minor fiction! Actually, never mind...:D

KMS

Yes, I know this, but also I don't say: "It's not inspired by pascal".
If you have to program Windows or Pascal, use Delphi, Lazarus, etc. if you have to program plc, use AWL/KOP/FUP/ST/SCL/GRAPH.
What's your problem, a plc ist not the same like windows, also the programming language is different.
I know, some programer wishes the same functionality like windows-program language, but for me "I don't need this!"
A very safe plc program is more then an blue screen in an nuclear power station or steel mill.
 
Zuviel Werbung?
-> Hier kostenlos registrieren
Wow! A heated discussion... ;)

I know, some programer wishes the same functionality like windows-program language, but for me "I don't need this!"
A very safe plc program is more then an blue screen in an nuclear power station or steel mill.

There's a small note... Have you ever asked yourself why some PLC programers need functionality which can be given only by high-level languages?
Because of new challenges, new requirements or issues on the agenda. So, PLCs turn gradually into PCs. Take a look at hi-end CPU 1518-4 PN/DP ODK!
As all mentioned conventional languages, especially LAD & FBD, almost deprived of math. So, wise guys reinforced PLCs in accordance with modern requirements.

KMS

P.S. I wrote one more post in the kingdome of PHOENIX CONTACT. It seems there are not living people there. :confused:
 
Zuletzt bearbeitet:
There's a small note... Have you ever asked yourself why some PLC programers need functionality which can be given only by high-level languages?

I dont think there is a functionality that only a high-level language can support. there are just functions that are easyier to programm in high-level language.

Because of new challenges, new requirements or issues on the agenda. So, PLCs turn gradually into PCs. Take a look at hi-end CPU 1518-4 PN/DP ODK!
As all mentioned conventional languages, especially LAD & FBD, almost deprived of math. So, wise guys reinforced PLCs in accordance with modern requirements.

Be aware the ODK Systems does not convert a PLC into a PC. they more assist you to outsource some functions into high language support or/and into the Windows Hosts in the Open Controllers (like database access).
when you use the full Support of those Languages the programm runs in another tread and is no longer cyclic and can also be stopped without harming the plc cycle. You see for the non Windows Function in high lang, there are a lot of limitations.
 
KMS would you be so kind and describe, which problems you have with current PLCs, because I can't follow any more.
You started with the requirement of a loop, a slow down or pause possibility, if I'm right. We explained to you, why this isn't a good idea on PLCs. Now you came up with the claim, that math functions are nearly not existing in LAD and FBD, which is, in my opinion, not quite right. There are many mathematical functions in different libraries and they could also be used in LAD and FBD, the question is, if it is really wise to do so and I would say no. LAD and FBD should be used, in my view, for logical things and for the more complex problems SCL/ST should be used.
By the way, there are PLCs with which you can use other languages, for example with Beckhoff TwinCAT you can use C++ and also integrate MATLAB projects.
 
Zuviel Werbung?
-> Hier kostenlos registrieren
Now you came up with the claim...
It seems you really don't follow. Probably you need reread this thread more carefully.

Maybe you noticed that at #17 I thanked everyone and marked thread as solved. Don't it? So, ask yourself and others who did continue and warm up that discussion.

@moderator, it would be nice to ban that thread to avoid further misunderstanding and senseless quarrels.

KMS
 
Zuletzt bearbeitet:
Für mich ist hier Schluß, irgendwie fwhlt mir wieder mal das Kopfschütteln-Smiley.

@KarlMarxStadt

Wenn das im Phoenix-Forum alles so cool ist, dann hast du doch gefinden, was du suchst.
Ich hab schon so viele PC-Programmierer so grandios scheitern sehen an einem SPS-Programm, ich hab versucht ihnen zu erklären, worauf es ankommt.
Trotz allem, Maschinen, die niemals vernünfitig und zuverlässig! liefen.
Die Denke ist vielleicht ein andere, da bin ich ziemlich überzeugt davon, aber das ist kein Grund, sich hochmütig oder herablassend zu äußern.
Damit wirst du in diesem Forum ganz sicher nicht besonders gut ankommen.

PS: Deine Frage zur Programmverzögerung hatte ja schon gezeigt, dass du eben kein Verständnis für die Funktionsweise einer SPS hast. Hier haben schon einige versucht, dir zu erklären, wie und warum das bei ener SPS so nicht funktioniert. Man kann eine Maschine auch mit einem PC steuern, machen nur relativ wenige, hat sicher Gründe.
 
Zuletzt bearbeitet:
Zuviel Werbung?
-> Hier kostenlos registrieren
Wenn das im Phoenix-Forum alles so cool ist, dann hast du doch gefinden, was du suchst.
Hallo Ralle,
ich stimme Dir zu, allerdings was das Phoenix-Forum angeht hast Du KMS missverstanden. In #23 hatte er geschrieben, dass er in dem Forum etwas gepostet hatte, aber keine Reaktion erhielt. Die Art wie er diesen Umstand umschreibt lasse ich hier mal unkommentiert.
Was ich etwas seltsam finde ist, dass er sich in diesem Thread darüber "aufregt", dass, obwohl er in #17 schrieb, dass sein Problem gelöst sei hier noch Antworten eintrudeln, er aber auf seine <IRONIE>Charmante</IRONIE> Art sich in #23 darüber äußert, dass er im Phoenix-Forum, obwohl er schon eine abschließende Antwort erhalten hat, keine weiteren erhält. Ja was denn jetzt? Gut Phönix könnte die Aussage von peewit nochmal bestätigen, aber ansonsten gibt es keinen Grund für seine Aussage in #23.
 
Zuletzt bearbeitet:
I higly doubt that a plc is not capable of doing math.
Couple Months ago i was in need to do differential equations on a plc to calculate when my drive was reaching it's predetermined positon.
Don't ask me why, to this day i'm asking that myself, but customer wanted to know.

@KMS:
From your postings i understood that you are belittling the need for plc programmers and their work, for which, frankly spoken, this is the wrong place.
If you are a skilled programmer for Computer-based automation, then stick with it and don't try it on a plc. The fundamentals of a plc are completely different that those on a Computer.
If you were serious about using a plc for tasks, i would recommend not doing this, because you won't land on your feet if you already start thinking like this.

That pdk system you're reffering to is an attempt in getting the best of both worlds together.
You have aplc with full functionality, and a computer that is able to do all the overhead that some customers demand, like for example Qualitymanagement, etc. Managing huge amounts of Data or handling a Database is something a plc is not that great in, that's what computers are for.
 
Zurück
Oben