PLC Ladder Logic Programming PDF

Document Details

VeritableCaesura

Uploaded by VeritableCaesura

Delta Technological University

Dr.Abdelazeem A. Esmail

Tags

PLC programming ladder logic electrical systems automation

Summary

This document is a lecture on PLC (Programmable Logic Controller) ladder logic programming. It covers the basics, examples, and diagrams.

Full Transcript

PLC Presented by Dr.Abdelazeem A. Esmail Lecturer – Faculty of Tec. Ind. & Energy Delta Technological University Course Hours: Unit Title PLC Lab/W Unit Code Total Lec. Tut S...

PLC Presented by Dr.Abdelazeem A. Esmail Lecturer – Faculty of Tec. Ind. & Energy Delta Technological University Course Hours: Unit Title PLC Lab/W Unit Code Total Lec. Tut S Credit 4 7 2 2 3 hours PLC Ladder Instruction Set Movin Logic Control Arithmetic Basics of Internal g Instructions Instructions Instructions ladder Facilities Data Logic gates Jump Basic (With Option Add Shift Loop Sub Instructions Markers) Rotate Call SET/RESET Mul Edge Detection Compare Ret Input Div Output Pulse Bit Logic generation Marker Counters Timers Master Control Shift Register What and Why Ladder Ladder logic is a programming language that creates and represents a program through ladder diagrams that are based on circuit diagrams Start Stop C.B Contractor Single Line Diagram What and Why Ladder Start Stop C.B Contractor Single Line Diagram Start Stop C.B Contractor Rung Circuit Network A ring circuit is an electrical system in which distribution points are connected to the main supply in a continuous closed circuit Basics of ladder Basic Instructions Input Marker Bit Logic Output Ladder Basic Operation Instruction List LD Statement List I0.0 LDI I0.1 LD I0.0 OUT Q0.0 OUT Q0.0 OR I0.0 LD I0.0 I0.1 OR I0.1 OR I0.2 I0.2 AND LD I0.2 I0.2 I0.0 I0.1 AND I0.0 AND I0.1 Simple Example Example 1 Draw ladder for the following Logic Equation 1- O/P1= (X1+X2).X3 2- O/P2= X1+X2+X3 3- O/P3= X1.X2.X3 O/P1 X1 X3 X2 O/P2 X1 X3 O/P3 X1 X2 X3 Example 2 Draw ladder for the following Process Q0.0= on if (I0.0 =1or I0.1=1) and I0.2=0 Q0.0= (I0.0+I0.1).I0.2 Q0.0 I0.0 I0.2 I0.1 Example 3 Draw ladder for the following Schematic diagram Example 4 Draw ladder for the following Schematic diagram Example 5 Draw ladder for the following Schematic diagram Example 6 Draw ladder for the following Schematic diagram P00 P01 P40 P02 P03 Input PLC Output I0.0 I0.1 I0.2 Q0.0 I0.3 Q0.0 Start Stop Rung Simplifying the function using K-Map leads to the following logic equation Start Stop Operation Operation 0 0 0 0 0 0 1 1 0 1 0 0 Operation=(Start + Operation ).Stop 0 1 1 0 P00 Start 1 0 0 1 1 0 1 1 P01 Stop 1 1 0 0 1 1 1 0 P40 Operation Entry Reset Rung Simplifying the function using K-Map leads to the following logic equation Entry Reset Operation Operation 0 0 0 0 0 0 1 1 Operation=Entry + Operation.Reset 0 1 0 0 0 1 1 0 P00 Entry 1 0 0 1 P01 Reset 1 1 0 1 1 0 1 X P40 Operation 1 1 1 X

Use Quizgecko on...
Browser
Browser