Basics of PLC Programming
Basics of PLC Programming
By:
Praveen Saraswat
Associate Professor
Department of Mechanical Engineeing
Swami Keshvanand Institute of Technology, Management & Gramothan, Jaipur
Lecture Outcomes
The students will be able to:
• Logic functions
Introduction
• In present industrial automation sector, there are several leading PLC
manufactures that develop typical PLC’s ranging from small to high-end
PLC’s.
• Some of the standard programming languages of PLC are basically of two
types, which are further sub-divided into several types, which are as follows:
1.Textual language
• Instructions List (IL)
• Structured Text (ST)
2. Graphical language
• Ladder Diagrams (LD)
• Function Block Diagram (FBD)
• Sequential Function Chart (SFC)
1. Instruction List(IL):
• There are other methods to program PLCs. One of the earliest techniques
involved mnemonic instructions. These instructions can be derived directly
from the ladder logic diagrams and entered into the PLC through a simple
programming terminal.
2. Structured Text (ST):
• Programming has been developed as a more modern programming language.
It is quite similar to languages such as BASIC and Pascal. Structured Text
(ST) is a high level textual language that is a Pascal like language. It is very
flexible and intuitive for writing control algorithms.
3. Ladder Diagrams (LD):
• Ladder logic is the main programming method used for PLC's. Ladder logic
has been developed to mimic relay logic. By selecting ladder logic as the main
programming method, the amount of retraining needed for engineers and
trades people was greatly reduced.
4. Function Block diagram (FBD):
• This is used for PLC programs described in terms of graphical blocks. It is
described as being a graphical language for depicting signal and data flows
through Inputs blocks, these being reusable software elements.
• Ladder logic is used extensively for programming PLCs in industrial automation applications. Some
examples include.