Рет қаралды 16,890
▶ The easiest way to learn industrial automation:
realpars.com
▶ You can read the full post here:
realpars.com/ladder-logic-vs-...
⌚Timestamps:
00:00 - Intro
01:05 - Ladder Diagram
02:37 - Structured Text
04:01 - Function Block Diagram
05:07 - Sequential Function Chart
06:06 - Instruction List
06:40 - Recommendations
07:43 - Conclusion
In today’s video, we are going to talk about Ladder Diagram and how it compares to other PLC programming languages.
As you may be aware, PLCs are special-purpose computers that are designed to monitor and control automated processes. PLCs are programmed using programming languages defined in the IEC 61131-3 standard.
This standard defines 5 programming languages called Ladder Diagram, Function Block Diagram, Structured Text, Sequential Function Chart, and Instruction List that are supported by almost all PLC manufacturers.
- Ladder Diagram is the most popular PLC programming language because it was the first one introduced.
When PLCs were first invented as a programmable alternative to hardwired relays in control panels, Ladder Diagram was the only programming language available.
Ladder Diagram is a high-level, graphical programming language that is designed to look like electrical schematics.
Because it is a visual language, it is very easy to understand and debug Ladder Diagram code. Ladder Diagram makes it easy to program and monitor complex Boolean logic which is exactly what it is designed for.
- Structured Text (ST) is a text-based PLC programming language. It is generally preferred by people with traditional programming backgrounds because of its similarity to higher-level programming languages like Python.
Structured Text is much better than Ladder Diagram for specific tasks, such as complex calculations on a single line and looping over sections of logic.
- Function Block Diagram (FBD) is another high-level graphical programming language.
It is commonly used in the process industry because its appearance is similar to P&IDs that define how process equipment is laid out.
FBD is easy to program, monitor, and troubleshoot. Function Block Diagram can make implementing continuous process control using PID loops easier.
- Sequential Function Char (SFC) is another high-level language that looks like a flow chart.
It is a great programming language for modeling sequential processes on a high level, and should only be used to model processes, not to write control logic.
- Instruction List (IL) is a text-based programming language similar to assembly languages.
Instruction List is harder to write and debug than Ladder Diagram, or any of the other IEC 61131-3 programming languages.
If you are working on new projects, you should not use the Instruction List programming language. I recommend using Ladder Diagram instead.
I recommend that every PLC programmer learns how to program with the Ladder Diagram programming language and uses it as their default programming language.
I make this recommendation because Ladder Diagram is the most widely used, understood, and accepted PLC programming language right now.
In specific situations, use the other IEC 61131-3 programming languages:
- For continuous process control, consider using Function Block Diagram,
- For heavy computation, data processing, and looping, consider using Structured Text,
- For modeling sequential processes on a high-level and implementing sequencers, consider using SFC
=============================
CODESYS 1 - Introduction to PLC Programming: learn.realpars.com/courses/co...
=============================
Did you miss out on the latest and greatest? Catch up now by watching our videos right here:
realpars.com/Static-IP-Address...
realpars.com/predictive-maint...
realpars.com/actuator-applica...
=============================
TWEET THIS VIDEO: ctt.ac/AXH7Z
=============================
Follow us on Facebook 👉 / therealpars
Follow us on Twitter 👉 / realpars
Follow us on LinkedIn 👉 / realpars
Follow us on Instagram 👉 / realparsdotcom
#ladderlogic #plcprogramming #RealPars