Today, I am going to introduce you to different types of PLC Programming Languages. What are the most common PLC programming languages?
There are different types of programming languages defined for Programmable Logic Controller (PLC). And you can use those programming languages while developing PLC projects.
These languages are useful for designing and implementing sequential control of the programmable logic in the systems.
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.
- Ladder diagram (LD)
- Instruction List (IL)
- Structured Text (ST)
- Function Block Diagram (FBD)
- Sequential Function Charts (SFC)
These languages are accepted internationally.
Among all of them, mostly Ladder diagram (LD) programming language is used in the industry.
A simple chart of the PLC programming language classification
Let’s dive into each PLC programming Langauge one by one.
1. Ladder diagram (LD)
Ladder diagram (LD) is also known as “Ladder Logic“. It is used with programmable logic controllers.
Generally, Ladder diagram is most popular all over the world (including India). This language is easy to learn. If you look at the ladder diagram, it looks similar to the electrical circuit diagram.
Advantage of 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)
The “ST” and “STX” are also other abbreviations used for Structured Text PLC language.
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 like box which 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 text base.
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.
This is all about different types of PLC programming languages commonly used.
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.
What’s your experience working on PLC programming? Please share your opinion by comment below.
Thanks for Reading!
Myself Dipali Chaudhari. I am a master in Electrical Power System. Sharing my knowledge on this blog makes me happy. Apart from that, I love playing badminton. And sometimes I dwell on the Python programming.