Which programming language

Potter

Member
Join Date
Nov 2004
Location
Nottingham, England
Posts
77
I’ve been thinking about going to night school to learn a higher level language to go with my PLC programming skills, but could use some advise on which language would be best. My local college offers courses in Visual Basic and C++.

I’m sure most people reading this are thinking something like "Well it depends on exactly what you want to do". The thing is I don’t have anything particular in mind, I’d just like peoples opinions on which language is generally more useful to someone working in automation.

 
I would go with VB since this is easier and very common. It's also included in apps like Office and other programms supporting VBA.

Scada programs like WInCC also uses vb (from version 6 and up).

Cheers
Borte
 
I agree that VB will help with PLC's.

However, I like the language PERL for PC applications. Perl is not platform dependant, will run on Linux, or Windoze, PC's. There are many free sites where you can download everything you need to learn Perl, for FREE!
 
Can PERL handle ActiveX objects? Becaus a lot of suppliers can give you ocx's that you van use directly in your application.

Cheers
Borte
 
It depends; if it is .Net it doesn’t matter the IDE’s from the languages are the same.
Otherwise if it is not .Net go for VB.
If it is not .Net it is much easier to create an graphical application in VB and there is a lot of source code available on internet for VB.
 
Borte said:
Can PERL handle ActiveX objects? Becaus a lot of suppliers can give you ocx's that you van use directly in your application.

Cheers
Borte

You may be able to by using PERLCOM, a PERL extension to support COM objects. But you'll lose the cross platform capability (if thats important).
 
Hey Potter

How’s thing’s? Hope you are ready for the fifth test to decide the Ashe’s, should be a douser!

If you want to get into programming RAD (Rapid Application Development) is the way to go. Borland currently make two products that lead the way in this area, they are C++ Builder and Delphi and both are class-oriented languages( or Object oriented), which are similar to the Windows API.

Builder as the name suggest use C++ as it native tongue, and Delphi’s is Pascal. Both languages are easy to pic up and similar in their structure. There is a heap of info on the web, and I think you can download older versions of each from Borland’s Home page fully functional for no cost.

I use C++ Builder mostly and have had great success in writing small SCADA type app’s that talk to PLC’s (AB through DF1 protocol). Its great fun and you will be amazed how quickly you will find a “reason” for wanting to learn higher level language.

There is currently talk that Borland is going to merge the two programs into one to save all the hassles of releasing newer versions of each, should be a killer app.



Lance
 
Lancer said:
There is currently talk that Borland is going to merge the two programs into one to save all the hassles of releasing newer versions of each, should be a killer app.

another reason to keep plunking along with my Delphi 5.0 :D That compiler and RSLogix is responsible for 99% of my after-hours income; they just keep on going.
 
I would go with VB over C++. That is just a personal preference. I think VB is a little easier to produce an application with in a reasonable time frame. I use VB.net now.

Many languages will do what you need. As you can see by the responses. If I were to choose another language to use, I would try Delphi as suggested above.

While you are learning the language get some education in good programming techniques. I suggest reading Code Complete by Steve McConnell.📚 Learning how to program well is more important than which language to use.👨🏻‍🏫
 
If you are looking into the 'Visual' group of languages, don't ignore C#. It is much more powerful than VB, while being a very capable language, it isn't nearly as difficult to jump into as C or C++.

You can still download any of the Visual development tools from Microsoft currently (free of charge).
 

Similar Topics

Dear Engineers, I think you can help me with understanding old style PLC code from ABB Prokontik. (DIN 19239) Please see attached photo from...
Replies
2
Views
1,567
Q.1 what programming language used in the following image ? Q.2 is it using sinapic manager if so which version? Thanks for you time
Replies
4
Views
2,103
hello everyone, I am new to LL984 segment language,and I need to convert this language to LD (Ladder) Languge. It will be great for me ,if...
Replies
1
Views
2,917
So, i'm just starting to delve into a bit of WinCC script, as you do, (no previous programming experience) and would like to know what language it...
Replies
1
Views
1,523
I have a customer that wants some changes to their HMI Operator Station, that is a PC based program that according to the original manufacturer is...
Replies
10
Views
3,724
Back
Top Bottom