| Author |
Message |
7rots51
Joined: 17 May 2002 Posts: 1427 Helped: 14
|
16 Jun 2005 21:02 plc stl |
|
|
|
|
| PLCs like as siemens S7 use STL language that are very similar to assembly langauge of controllers this method of programming is very low level and user should manage many things,why manufacturer does not use an alternative like as JAVA language for developing and executing programs in PLCs that is more better than STL?
|
|
| Back to top |
|
 |
strombom
Joined: 23 Jun 2003 Posts: 39 Helped: 2 Location: Stockholm, Sweden
|
17 Jun 2005 3:01 stl language |
|
|
|
|
I have been programming PLC:s at school and I think the code is really ugly, I would prefer a "real" programming language.
Maybe they dont think the end users are used to programming languages like java...
/Johan
|
|
| Back to top |
|
 |
Marcel Majoor
Joined: 17 Jan 2004 Posts: 79 Helped: 25
|
25 Jun 2005 19:38 stl plc |
|
|
|
|
A PLC is typically based on a 'simple' microcontroller (like a 8051) and has a limited memory capacity.
This, and because of safety related issues I guess (a 'real' programming language would require an elaborate compiler, which might introduce possible compiler errors) makes using a very 'basic' language a good choice. Any 'error' is the result of a programmers error, and not of the compiler.
|
|
| Back to top |
|
 |
Google AdSense

|
25 Jun 2005 19:38 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
eltonjohn
Joined: 22 Feb 2002 Posts: 1751 Helped: 28
|
25 Jun 2005 19:43 stl programming language |
|
|
|
|
| I THINK A BETTER LANGUAGE FOR PLC WILL BE PYTHON !
|
|
| Back to top |
|
 |
7rots51
Joined: 17 May 2002 Posts: 1427 Helped: 14
|
30 Jun 2005 19:16 stl of plc |
|
|
|
|
but STL is ugly langauge and is suitable for technicians with little programming knowledge,but with very complex tasks nowadays like as fuzzy logic control and many other complex tasks and algorithms ,it is better the vendors add an alternative to STL,LAD,FBD.
Languages like as JAVA realtime and others (or simpler version of java without some OOP aspects ) is a good alternative.
If compilers have bugs that are not used for real time,why we use many c/c++ compilers in embedded systems for critical tasks?
I think we can use high level langauges for PLC(as a new feature)
|
|
| Back to top |
|
 |
njfane
Joined: 27 Oct 2004 Posts: 15
|
12 Aug 2005 12:52 stl language in plc |
|
|
|
|
| the PLCs are originally designed for engineers in the industry, those people are more familiar with the production process than programming language, so the ladder programming language is better for them to understand and implement logic control, but now, besides logic control, more advanced control algorithms are need for project, it is a little difficulty to implement even a simple algorithm using these low level language.
|
|
| Back to top |
|
 |