What are the Most Popular PLC Programming Languages?

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
there are five languages that are all a part of the IEC or International Electrotechnical Commission section 6 1 1 3 1-3 standard this IEC standard allows some ground rules that standardize PLC's in their languages let's take a deeper look into all these PLC programming languages [Music] before we get started on today's video if you love our videos be sure to click the like button below then make sure to click Subscribe and the little bell to receive notifications of new real Parrs videos this way you never miss another one five PLC programming languages our ladder diagram or LD sequential function charts or SFC function block diagram or FBD structured text or st and instruction list or IL let's show you a little bit about each of these I will start with ladder diagram which is a graphical type of PLC programming language ladder diagram was originally modeled from relay logic which used physical devices such as switches and mechanical relays to control processes ladder diagram utilizes internal logic to replace all except the physical devices that need an electrical signal to activate them ladder diagram is built in the form of horizontal rungs with two vertical rails that represent the electrical connection on relay logic schematics you can program all the necessary input conditions to affect the output conditions whether logical or physical the main advantages of the latter diagram language are that the rungs allow it to be organized and easy to follow it also lets you document comments that are readily visible and it supports online editing very successfully the main disadvantage is that there are some instructions that are not available which might make it more difficult for programming such as motion or batching the next PLC programming language that I will talk to you about is the sequential function charts which uses a graphical type of programming if you have any experience with flowcharts then this PLC programming language will feel familiar to you in sequential function charts you use steps in transitions to achieve your end results steps act as a major function in your program these steps house the actions that occur when you program them to happen this decision can be based on timing a certain phase of the process or physical state of the equipment transitions or the instructions that you use to move from one step to another step by setting conditions of true or false unlike traditional flowcharts the sequential function charts can have multiple paths you can use branches to initiate multiple steps at one time a couple of the advantages of sequential function charts are processes can be broken into major steps that can make it faster and easier troubleshooting you have direct access in the logic to see where a piece of equipment faulted it can be faster to design and write the logic due to the ability to use repeated executions of individual pieces of logic even when you consider the advantages of the sequential function charts this PLC programming language does not always fit every application now we are on to our third PLC programming language the function block diagram which is also a graphical type of language the function block diagram describes a function between inputs and outputs that are connected in blocks by connection lines function blocks were originally developed to create a system that you could set up many of the common repeatable tasks such as counters timers PID loops etc you program the blocks on two sheets and then the PLC constantly scans the sheets in numerical order or is determined by connections which you program between the blocks the code can get disorganized using this PLC programming language because you can place the function blocks anywhere on the sheet this can also make it more difficult to troubleshoot the function block diagram does work well with motion controls and the visual method is easier for some users the biggest advantage of function block diagram is that you can take many lines of programming and put it into one or several function blocks our fourth PLC programming language that I'm going to review is the structured text this language is a textual based language structured text is a high-level language that is like basic Pascal and see it is a very powerful tool that can execute complex tasks utilizing algorithms and mathematical functions along with repetitive tasks the code uses statements that are separated by semicolons and then either inputs outputs or variables are changed by these statements you must write out each line of code and it uses functions such as for while if-else elsif and case if you have experience with basic or C languages this PLC programming language will come easier than some of the other languages some of the advantages of structured text are that it is very organized and good at computing large mathematical calculations it will also enable you to cover some instructions that are not available in some other languages like the latter diagram the disadvantages are that the syntax can be difficult making it hard to debug and it's difficult to edit online show you the fifth and final PLC programming language which is instruction list the instruction list is also a textual based language the instruction list language resembles assembly language when you use this PLC programming language you will use mnemonic codes such as LD or load and or etc contains instructions with each instruction on a new line with any comments you might want to annotate at the end of each line this instruction list language is valuable for applications that need code that is compact in time critical the main disadvantages of this PLC programming language are that there are few structuring possibilities with the go-to command being one of them also be many errors that are more difficult to deal with in comparison to many of the other languages that I've previously reviewed so have you decided which plc programming language you consider to be the most popular after reading many reviews and opinions and with my own experiences the latter diagram language is by far the most popular the main reason for this is that the latter diagram language naturally followed the technology advancement from a physical relay logic to a digital and logical one this allowed the engineers and skilled workers to follow and troubleshoot and make that transition in summary there's certainly a place for all the PLC programming languages that I've discussed with you today background experience and the application you are working with are really going to be the key to which PLC programming language you choose want to learn PLC programming in an easy-to-understand format and take your career to the next level head on over to real parse com [Music]
Info
Channel: RealPars
Views: 518,287
Rating: undefined out of 5
Keywords: PLC Programming Languages, IEC Section 61131-3, Ladder Diagram Language, Sequential Function Charts, Function Block Diagram, Structured Text Language, Instruction List Language, PLC Programming Languages Advantages, The Most Popular PLC Programming Language
Id: Qf32qtHfowQ
Channel Id: undefined
Length: 9min 31sec (571 seconds)
Published: Mon Nov 26 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.