0% found this document useful (0 votes)
155 views

Language

Ladder Logic, Function Block Diagram, Structured Text, and Instruction List are some of the most common programming languages used to program a PLC. Ladder Logic uses a graphical format resembling relay logic and has been expanded to include functions like timers and counters. Function Block Diagram uses graphical blocks to depict signal and data flows. Structured Text is a high-level text language similar to Pascal while Instruction List is an assembler-like language. Sequential Function Charts provide a structured way to coordinate larger programs built using other languages.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
155 views

Language

Ladder Logic, Function Block Diagram, Structured Text, and Instruction List are some of the most common programming languages used to program a PLC. Ladder Logic uses a graphical format resembling relay logic and has been expanded to include functions like timers and counters. Function Block Diagram uses graphical blocks to depict signal and data flows. Structured Text is a high-level text language similar to Pascal while Instruction List is an assembler-like language. Sequential Function Charts provide a structured way to coordinate larger programs built using other languages.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

What Programming Language Is Used To Program A PLC?

While Ladder Logic is the most commonly used PLC programming language, it is not
the only one. The following table lists of some of languages that are used to program a
PLC.

Ladder Diagram (LD) Traditional ladder logic is graphical programming language.


Initially programmed with simple contacts that simulated the opening and closing of
relays, Ladder Logic programming has been expanded to include such functions as
counters, timers, shift registers, and math operations.

Function Block Diagram (FBD) - A graphical language for depicting signal and data flows
through re-usable function blocks. FBD is very useful for expressing the
interconnection of control system algorithms and logic.

Structured Text (ST) – A high level text language that encourages structured
programming. It has a language structure (syntax) that strongly resembles PASCAL and
supports a wide range of standard functions and operators. For example;

If Speed1 > 100.0 then


Flow_Rate: = 50.0 + Offset_A1;
Else
Flow_Rate: = 100.0; Steam: = ON
End_If;
Instruction List (IL): A low level “assembler like” language that is based on similar
instructions list languages found in a wide range of today’s PLCs.
LD R1
MPC RESET
LD PRESS_1
ST MAX_PRESS
RESET: LD 0
ST A_X43
Sequential Function Chart (SFC) A method of programming complex control systems at
a more highly structured level. A SFC program is an overview of the control system, in
which the basic building blocks are entire program files. Each program file is created
using one of the other types of programming languages. The SFC approach coordinates
large, complicated programming tasks into smaller, more manageable tasks.

You might also like