0% found this document useful (0 votes)
8 views13 pages

PLC - 2

The document provides an overview of Programmable Logic Controllers (PLCs), including their programming languages, operation cycle, and I/O symbols. It details ladder programming rules and symbols for inputs and outputs, as well as implementations of digital logic functions like OR, AND, and NOT gates. Additionally, it includes examples and tasks for designing ladder diagrams and hardware diagrams for various logic gates.

Uploaded by

istiakias007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views13 pages

PLC - 2

The document provides an overview of Programmable Logic Controllers (PLCs), including their programming languages, operation cycle, and I/O symbols. It details ladder programming rules and symbols for inputs and outputs, as well as implementations of digital logic functions like OR, AND, and NOT gates. Additionally, it includes examples and tasks for designing ladder diagrams and hardware diagrams for various logic gates.

Uploaded by

istiakias007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Embedded System Design

EEE 4209

Programmable Logic Controller


(PLC)

Md. Ariful Islam


Lecturer, Department of Electrical & Electronic Engineering
Rajshahi University of Engineering & Technology, Rajshahi-6204, Bangladesh
E-mail: arif.ruet.eee17@gmail.com ; ariful.islam@eee.ruet.ac.bd
1
PLC Programming Language

Graphical languages
▪ Ladder diagrams
▪ Function block diagram
▪ Sequential function chart

Text-based languages
▪ Instruction list
▪ Structured text

2
PLC Operation Cycle

There are four Steps in the PLC Operations:

1. Input Scan
Scans the state of the inputs

2. Program Scan
Executes the user-written program logic

3. Output Scan
Energizes or de-energizes the outputs

4. Housekeeping
Communication with programming terminals and internal diagnostics

3
PLC I/O Symbols

Omron PLC (Simatic Manager)


Input: X0.00,……X0.07
Output: Y100.00, …….Y100.04

Siemens PLC (LogoSoft Comfort)


Input: I1,……I8
Output: Q1,……Q4

4
Ladder Programming Rules

▪ The vertical lines of the diagram represent the power rails between which circuits are
connected.
▪ Each rung on the ladder defines one operation in the control process.
▪ A ladder diagram is read from left to right and from top to bottom.
▪ This procedure of going through all the rungs of the program is termed a cycle.
▪ Each rung must start with an input or inputs and must end with at least one output,
input devices being represented by two short parallel lines to represent switching
contacts and output devices being represented by circles.
▪ The term input is used for a control action, such as closing the contacts of a switch,
used as an input to the PLC.
▪ The term output is used for a device connected to the output of a PLC, e.g. a motor.

5
Ladder Programming Rules (contd.)

Execution sequence

6
Ladder Programming Symbols (Inputs)

Normally Open Normally Closed

Logic 0 Logic 0
Logic 1 Logic 1

Open Contact Closed Contact Open Contact Closed Contact

7
Ladder Programming Symbols for (Output Coil)

Normally Open Normally Close

Logic 0 Logic 0
Logic 1
Logic 1

Open Contact Closed Contact Open Contact Closed Contact

8
Example

I4 Q2

END

Hardware Ladder Diagram


Diagram
9
Implementations of Digital Logic Functions

OR GATE 0V 0V
COM COM
+24 V
I1 Q0
I2 Q1
I2 Q3
I3
C Q2
I4 P Q3
I3
I5 U Q4
I6 +24 V
Q5
END I7 Q6
I8 Q7
Truth Table Ladder Diagram
Hardware Diagram
10
Implementations of Digital Logic Functions (contd.)

AND GATE 0V 0V
COM COM
+24 V
I1 Q0
I2 Q1

I3 Q3 I3
C Q2
I2
I4 P Q3
I5 U Q4
I6 +24 V
Q5
END I7 Q6
I8 Q7

Truth Table Ladder Diagram


Hardware Diagram

11
Implementations of Digital Logic Functions (contd.)

NOT GATE 0V 0V
COM COM
+24 V
I1 Q0
I2 Q1
I3
C Q2
I2 Q3
I4 P Q3
I5 U Q4
I6 +24 V
Q5
END I7 Q6
I8 Q7
Truth Table Ladder Diagram
Hardware Diagram
12
Implementations of Digital Logic Functions (contd.)

H.W.

Design the ladder diagram and hardware diagram for NOR, NAND, XOR and
XNOR gates.

13

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy