What are the Most Popular PLC Programming Languages
Today, I am going to introduce you to different types of programming languages defined for Programmable Logic Controller (PLC).
These languages are useful for designing and implementing sequential control of the programmable logic in the automation system.
Let’s study, what are those most used and common PLC programming languages.
5 Different Types of PLC Programming Languages
Based on the ‘International Electrotechnical Commission(IEC)‘ standard, PLC programming languages are classified into five main standards.
PLC Programming Language Classification Chart
Let’s dive into each PLC programming Langauge one by one.
1. Ladder diagram (LD)
Ladder diagram is the universal programming language of PLC. It has a short abbreviation as LD and also known as Ladder Logic. It is used with programmable logic controllers. And it is one of the oldest programming languages for PLC.
In the ladder diagram, the programming language use to create the program to control the PLC system is known as Ladder Diagram Language or Ladder Logic Language.
Generally, the Ladder Diagram is most popular all over the world (including India). This language is easy to learn by using a logic gate and some important programming rules.
Advantage of Ladder Diagram (LD):
- LD is simple logic construction and more reliable than an electronic circuit controller.
- Easy to learn and read the program.
- Every programming symbol performs specific actions.
- It having good representation for discrete logic.
- Easy to troubleshoot.
- Shut down the power without the switch (i.e. hardware devices).
To learn more about Ladder Digram, and its basics parts, check this tutorial.
2. Instruction List (IL)
Instruction List (IL) is another type of PLC programming language. It uses the mnemonic code. So the syntax of this programming language is easy to remember.
In general, AB PLC brand works on the Instruction List (IL) programming language.
In an earlier article, I have mentioned different PLC brands and their software. AB PLC is one of the standard PLC brands.
Advantages of IL:
- It has a high execution speed.
- It takes less memory as compared to other programming languages.
3. Structured Text (ST)
Structured Text PLC language is shortly denoted by the ‘ST’ and ‘STX‘. It uses high-level programming language syntax.
The syntax of ST is similar to the syntax of a high-level programming language with loops, variables, conditions, and operators.
Advantages of ST:
- ST is very easier to understand for both novice and experienced programmers.
- Because of its standard coding format, it is easy to edit and modify program written in ST language.
4. Function Block Diagram (FBD)
Function block diagram (FBD) is a popular and easy way to write a program like a Ladder Diagram.
FBD is represented as a box that consists of a number of lines of code for putting different programming functions.
It is a graphical language for programming logic controller. So, it makes your job easy to describe a system.
5. Sequential Function Charts (SFC)
Sequential function charts (SFC) is also a graphical programming language. It is not a textbase. It has become a popular method of accurately specifying sequential control requirements.
The benefit of SFC is easy to understand. Because you can visualize what is happening and when it is happening in the procedure of the code.
The main function of SFC is only the active parts of the code are executed. Due to this, it makes easier to troubleshoot and to change the code if problems occur.
These languages are accepted internationally. Among all of them, mostly the Ladder diagram (LD) programming language is used in the industry.
This is all about different types of PLC programming languages commonly used. And you can use those programming languages while developing PLC based on an Automation project.
If you are confused and not sure which programming language you should learn for PLC, go with Ladder Diagram. It is easy to start with a compact PLC or modular PLC.
What’s your experience working on PLC programming? Please share your opinion by comment below.
Ready for Test:
If you are ready for online test, click on the PLC Automation Quiz.
Happy PLC Programming!
I have completed master in Electrical Power System. I work and write technical tutorials on the PLC, MATLAB programming, and Electrical on DipsLab.com portal.
Sharing my knowledge on this blog makes me happy. And sometimes I delve in Python programming.
34 thoughts on “5 Different Types Of PLC Programming Languages Commonly Used in Industry”
Thanku it’s very useful
Thanks for your short n sweet information.
Is that all plc language will be available in all plc controller or only limited option ?
Hello, Hamza Mohamed!
It’s my pleasure to share the information.
I didn’t get work on all PLC languages. But, mostly the Ladder Diagram(LD) and Function Block Diagram (FBD) language are used for all kinds of PLC controller.
Hello, Hamza mohamed
PLC language varies with different models of PLC, If you are using RS 500 model of Allen Bradley, you will get only ladder programming & when you deal with RS 5000 model of Allen Bradley you will find more than one language.
thank you from the other side of the world.
Thank you, Mohammed Sadiq 🙂
Very thank you for your information about plc languages…
Most welcome, Veeramani! I hope that these 5 different PLC languages introduction will helpful to the PLC programmer.
I am also working in siemens plc like S7 300 and 1200 plc and abb drives etc ..i have more interested to develop new programming and modifications etc….
Oh, that’s great Veeramani!
If u have any pdf files about plc have to sent my mail id its used to increase my potential…
I am doing self-study on PLC. If I get any kinds of stuff related PLC, surely I will send.
I get more knowledge on your web page. I like to learn about plc.
I have more interested to develop new programming and modifications etc. If you have any pdf files about plc have to send my mail id. It is used to increase my potential.
I am very glad to saw your feedback about the ‘DipsLab’ and your interest in PLC.
I am always ready to help the PLC learner like you. But, I have no any kinds of stuff (pdf) related to the PLC.
You can refer these PLC tutorials where I shared in Dipslab.
Hie, I am very glad to read this. It is easy to learn.
Thanks a lot.
You are most Welcome, Prasad. And Thanks for giving feedback.
Hello, I am a mechanical engineer, How can I learn PLC language?
I am very much glad to see your interest for learning PLC, you can easily learn Ladder Diagram Language of PLC Programming at your home.
First things that, you should know about Logic Gate (apart from electronic). In the earlier tutorial, I explained the Logic Gate ‘how does it use in the programming language? in detail and many more helpful tutorials for the learning.
You can learn and practice by using the free software version of the Delta PLC.
I am very much glad to see your interest for PLC learning. You can easily learn the Ladder Diagram PLC programming language.
First things that, you should know about the Logic Gate (part of the Electronic) for learning and writing PLC programming. In the earlier tutorial, I explained Logic Gate and many more useful tutorials in detail.
If you refer step to step PLC tutorials, hopefully, it will be very helpful to you. And by using the free version of the Delta PLC software, you can try it.
Thanks, Its good for apprentice like me.
You are most welcome, Nimal:)
Tell me about ST and SFC language in Detail. I have to learn.
I am working on a Ladder diagram (LD) programming language, not using the ST or SFC programming languages. If I get any information stuff related to both languages, surely I will share it.
If you are interested to learn LD programming, I can assist you.
Thank share this information I try to learn plc programming.
That’s good, Arif.
If you want any helps or queries regarding PLC, you can freely share in our Learn PLC SCADA Automation Group .
Thanks for sharing
My pleasure to share with DipsLab readers.
Thank you so much for this focused information. It has kind of helped me prepare for my lectures.
That’s good, Jamal. If you have any queries regarding the PLC programs, you can ask here.
can you please help me solve the assignment bellow. thank you in anticipation. I only need the programing aspect of it with the FUNCTIONAL BLOCK DIAGRAM.
“A star-delta starting of an induction motor can be attained automatically by means of the following operations. When a push button S1 is pressed the motor is connected to the supply mains and at the same time the motor starts with its winding connected in star. When a push button S2 is pressed the connection of the winding of motor changes from star to delta. By means of a stop button S0, the operation of the motor can be stopped at any time. Also when the motor is overloaded, it is immediately brought to a stop by means of a normally closed overload relay contact F1. Show the connections to a PLC device and write a suitable program (using functional blocks) to be fed into the PLC”.
Actually, I am working on the Ladder diagram (LD). So, I didn’t get a chance to work on the function block diagram (FBD).
Thank you, Ma’am. Very good explain PLC Programming.
nice work , its help me a lot