SlideShare a Scribd company logo
1 of 39
Chapter 4 Fundamental of   Programmable Logic Controller   Industrial Electronics DEK 3113
Ta’aruf Session ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
What is a PLC Cont.. ,[object Object],[object Object],[object Object]
HARDWARE CONFIGURATION OF PLC   Laboratory Training set
PLC Advantages ,[object Object],[object Object],[object Object],[object Object]
PLC Operation ,[object Object],[object Object],[object Object],[object Object],[object Object]
 
Memory map/address
TIMER (TIM) ,[object Object],MNEMONIC FUNCTION
COUNTER (CNT) ,[object Object],Mnemonic  LD  00004 LD  00002 CNT  007 #10 LD  CNT 007 OUT  10010 Fun (01)  CP CNT 007 #10 00004 00002 CNT 007 10010 (siren) END
CNTR (12) ,[object Object],CNTR (12) up down reset
DIFU(13) – DIFFERENTIATION UP ,[object Object]
DIFD(14) – DIFFERENTIATION DOWN ,[object Object]
Car park system A simple car park control system allows only a maximum of 30 cars parking spaces. Every time a car comes in, an incoming sensor  will add 1 and any car that goes out an outgoing sensor will deduct 1. If the car park is occupied with 30 cars at one time, a full sign will be lighted up to inform there is no vacancy. Use instruction  CNTR for counting and DIFU and DIFD for the sensor.
KEEP(11) – LATCHING RELAY ,[object Object],[object Object],[object Object],[object Object],Set =00000 Reset=00001 KEEP (11) IR/Output Port/HR END
Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Ladder Diagram  Figure for example given Sensor 1 Sensor 2 Sensor 3 Incoming Outgoing
MOV(21) ,[object Object],Mov(21) S D S S : Source Channel IR,SR,AR,DM,HR,TC,LR,# D : Destination channel IR,AR,DM,HR,LR
Example transfer data ,[object Object],25313 MOV(21) 000 100
Transfer data diagram Source input Channel 000 Destination Output Ch 100
Bit Channel/ Word     15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 000 0 0 0 1 0 0 0 1 1 0 1 0 0 1 1 1 001                                 002                                 .                                 .                                 .                                 100 0 0 0 1 0 0 0 1 1 0 1 0 0 1 1 1 .                                 999                                
Example ,[object Object],[object Object],[object Object],[object Object]
Example ladder diagram 00001 00002 00003 RED LIGHT 10000 Alarm Alarm Code #1 00001 MOV(21) #0001 101 MOV(21) #0002 101 00002 MOV(21) #0003 101 00003 MOV(21) #0000 101 00006 END Alarm Code  #2 Alarm Code #3 Reset Alarm Code Display
CMP(20)-compare ,[object Object],[object Object],CMP(20) Cp1 Cp2 Cp1: First Compare Word IR,SR,AR,DM,HR,TC,LR,# Cp 2: Second Compare Word IR, AR, DM, HR, LR
Example 25313  TR0 CMP(20) #0020 HR1 25507  ( < ) 25506(=) 10001 10002 Green Light Red Light ADDR OP CODE DATA 0000 LD 25313 0001 OUT TR0 0002 CMP (20) #0020 HR1 0003 AND 25507 0004 OUT 10001 0005 LD TR 0 0006 AND 25506 0007 OUT 10002
Add(30) ,[object Object],ADD(30) Au Ad R Au: Augend Channel IR,SR,AR,DM,HR,TC,LR,# Ad: Addend Channel IR,SR,AR,DM,HR,TC,LR,# R: Result IR,AR,DM,HR,LR
The operation: 1. 2.  Add  #0001  +  #1234  =  #1235 3. The result:  ADD(30) HR000 #1234 HR000 00007 ADDR OP CODE DATA 0000 LD 00007 0001 ADD(30) 0002 HR000 #1234 HR000 0003 END(01) HR000 #0001 #1234 HR000 #1235 HR000 #1235
Sub(31) ,[object Object]
 
Continue.. A simple car park control system allows only a maximum of 30 cars parking spaces. Every time a car comes in, an incoming sensor  will add 1 and any car that goes out an outgoing sensor will deduct 1. If the car park is occupied with 30 cars at one time, a full sign will be lighted up to inform there is no vacancy. Replace CNTR with ADD and SUB.
Exercise ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],YELOW LINE ROBOT sensor sensor sensor
Solution
Exercise 2 ,[object Object],S1 S2 Garage Door
Solution
Exercise 3 ,[object Object]
Assignment ,[object Object],[object Object],[object Object]
Assignment ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BREAK TIME ! ,[object Object]

More Related Content

What's hot

PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)Manoj Gowda K
 
Block diagram Examples
Block diagram ExamplesBlock diagram Examples
Block diagram ExamplesSagar Kuntumal
 
Programming logic controllers (plc) seminar
Programming  logic controllers (plc) seminarProgramming  logic controllers (plc) seminar
Programming logic controllers (plc) seminarmanish gharte
 
PLC Programming Example - Conveyor Reject (Shift Register)
PLC Programming Example - Conveyor Reject  (Shift Register)PLC Programming Example - Conveyor Reject  (Shift Register)
PLC Programming Example - Conveyor Reject (Shift Register)ACC Automation
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automationMd Talib
 
Ladder logic tutorial
Ladder logic tutorialLadder logic tutorial
Ladder logic tutorialdas1964
 
Programmable Logic Controller (plc)
Programmable Logic Controller (plc)Programmable Logic Controller (plc)
Programmable Logic Controller (plc)Dhruv Shah
 
Summer Internship Report For PLC Programming of Traffic light through Ladder ...
Summer Internship Report For PLC Programming of Traffic light through Ladder ...Summer Internship Report For PLC Programming of Traffic light through Ladder ...
Summer Internship Report For PLC Programming of Traffic light through Ladder ...Aman Gupta
 

What's hot (20)

Plc ppt
Plc pptPlc ppt
Plc ppt
 
PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)
 
PLC LADDER DIAGRAM
PLC LADDER DIAGRAMPLC LADDER DIAGRAM
PLC LADDER DIAGRAM
 
PLC Programming
PLC ProgrammingPLC Programming
PLC Programming
 
SIEMENS S7-300c.ppt
SIEMENS S7-300c.pptSIEMENS S7-300c.ppt
SIEMENS S7-300c.ppt
 
Block diagram Examples
Block diagram ExamplesBlock diagram Examples
Block diagram Examples
 
Plc
PlcPlc
Plc
 
Programming logic controllers (plc) seminar
Programming  logic controllers (plc) seminarProgramming  logic controllers (plc) seminar
Programming logic controllers (plc) seminar
 
PLC Programming Example - Conveyor Reject (Shift Register)
PLC Programming Example - Conveyor Reject  (Shift Register)PLC Programming Example - Conveyor Reject  (Shift Register)
PLC Programming Example - Conveyor Reject (Shift Register)
 
Plc basics
Plc   basicsPlc   basics
Plc basics
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automation
 
Industrial Automation
Industrial AutomationIndustrial Automation
Industrial Automation
 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
 
Ladder logic tutorial
Ladder logic tutorialLadder logic tutorial
Ladder logic tutorial
 
Plc (programming)
Plc (programming)Plc (programming)
Plc (programming)
 
Programmable Logic Controller (plc)
Programmable Logic Controller (plc)Programmable Logic Controller (plc)
Programmable Logic Controller (plc)
 
Basics of plc_programming1
Basics of plc_programming1Basics of plc_programming1
Basics of plc_programming1
 
Distributed Control System
Distributed Control SystemDistributed Control System
Distributed Control System
 
Summer Internship Report For PLC Programming of Traffic light through Ladder ...
Summer Internship Report For PLC Programming of Traffic light through Ladder ...Summer Internship Report For PLC Programming of Traffic light through Ladder ...
Summer Internship Report For PLC Programming of Traffic light through Ladder ...
 
Pneumatic circuits
Pneumatic circuitsPneumatic circuits
Pneumatic circuits
 

Viewers also liked

AUTOMATIC CAR PARKING SYSTEM
AUTOMATIC CAR PARKING SYSTEMAUTOMATIC CAR PARKING SYSTEM
AUTOMATIC CAR PARKING SYSTEMsowmya Sowmya
 
10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14John Todora
 
Ladder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorialLadder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorialMavuri Malleswara Rao
 
Plc Programming Fundamentals
Plc Programming FundamentalsPlc Programming Fundamentals
Plc Programming FundamentalsLiving Online
 
Intelligent conveyor belt system
Intelligent conveyor belt systemIntelligent conveyor belt system
Intelligent conveyor belt systemrumaisaam
 
automatic mixing & filling bottle using PLC
automatic mixing & filling bottle using PLCautomatic mixing & filling bottle using PLC
automatic mixing & filling bottle using PLCLeelu Veerendra Pulagam
 
automatic car parking system
automatic car parking systemautomatic car parking system
automatic car parking systemsowmya Sowmya
 
INDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCINDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCMehvish Mushtaq
 
Plc programming with fbd
Plc programming with fbdPlc programming with fbd
Plc programming with fbddodikyuniar
 
Instruction set reference [by allen bradley]
Instruction set reference  [by allen bradley]Instruction set reference  [by allen bradley]
Instruction set reference [by allen bradley]Iamtubalcain
 
Eee3420 lecture03 rev2011
Eee3420 lecture03 rev2011Eee3420 lecture03 rev2011
Eee3420 lecture03 rev2011benson215
 
Tai lieu lap trinh plc s7 200 full
Tai lieu lap trinh plc s7 200 fullTai lieu lap trinh plc s7 200 full
Tai lieu lap trinh plc s7 200 fullvo long
 
Pengenalan kepada plc omron cqm1 h
Pengenalan kepada plc omron cqm1 hPengenalan kepada plc omron cqm1 h
Pengenalan kepada plc omron cqm1 hariffudinzahari
 

Viewers also liked (20)

Omron plc training
Omron plc trainingOmron plc training
Omron plc training
 
AUTOMATIC CAR PARKING SYSTEM
AUTOMATIC CAR PARKING SYSTEMAUTOMATIC CAR PARKING SYSTEM
AUTOMATIC CAR PARKING SYSTEM
 
10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14
 
Omron ladder programming
Omron ladder programmingOmron ladder programming
Omron ladder programming
 
Ladder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorialLadder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorial
 
Plc Programming Fundamentals
Plc Programming FundamentalsPlc Programming Fundamentals
Plc Programming Fundamentals
 
Intelligent conveyor belt system
Intelligent conveyor belt systemIntelligent conveyor belt system
Intelligent conveyor belt system
 
automatic mixing & filling bottle using PLC
automatic mixing & filling bottle using PLCautomatic mixing & filling bottle using PLC
automatic mixing & filling bottle using PLC
 
automatic car parking system
automatic car parking systemautomatic car parking system
automatic car parking system
 
INDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCINDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLC
 
Plc programming with fbd
Plc programming with fbdPlc programming with fbd
Plc programming with fbd
 
Fundamentals of coding
Fundamentals of codingFundamentals of coding
Fundamentals of coding
 
Instruction set reference [by allen bradley]
Instruction set reference  [by allen bradley]Instruction set reference  [by allen bradley]
Instruction set reference [by allen bradley]
 
Board Of study
Board Of studyBoard Of study
Board Of study
 
Fms200
Fms200 Fms200
Fms200
 
Smart Parking
Smart ParkingSmart Parking
Smart Parking
 
Eee3420 lecture03 rev2011
Eee3420 lecture03 rev2011Eee3420 lecture03 rev2011
Eee3420 lecture03 rev2011
 
Tai lieu lap trinh plc s7 200 full
Tai lieu lap trinh plc s7 200 fullTai lieu lap trinh plc s7 200 full
Tai lieu lap trinh plc s7 200 full
 
Pengenalan kepada plc omron cqm1 h
Pengenalan kepada plc omron cqm1 hPengenalan kepada plc omron cqm1 h
Pengenalan kepada plc omron cqm1 h
 
PLC
PLCPLC
PLC
 

Similar to Chapter 4 plc

Automation and Robotics 20ME51I_Week_2_Practicals.pdf
Automation and Robotics 20ME51I_Week_2_Practicals.pdfAutomation and Robotics 20ME51I_Week_2_Practicals.pdf
Automation and Robotics 20ME51I_Week_2_Practicals.pdfGandhibabu8
 
Freescale Microcontroller programming
Freescale Microcontroller programmingFreescale Microcontroller programming
Freescale Microcontroller programmingShih Cheng Tung
 
EC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdfEC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdfSPonmalar1
 
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav RaikarDigital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav RaikarGauravRaikar3
 
Automation and Robotics 20ME51I_Week 5 Practicals.pdf
Automation and Robotics 20ME51I_Week 5 Practicals.pdfAutomation and Robotics 20ME51I_Week 5 Practicals.pdf
Automation and Robotics 20ME51I_Week 5 Practicals.pdfGandhibabu8
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015Edhole.com
 
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
AVR_Course_Day6 external hardware  interrupts and analogue to digital converterAVR_Course_Day6 external hardware  interrupts and analogue to digital converter
AVR_Course_Day6 external hardware interrupts and analogue to digital converterMohamed Ali
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015Edhole.com
 
What isn’t told about timers in stm32 application
What isn’t told about timers in stm32 applicationWhat isn’t told about timers in stm32 application
What isn’t told about timers in stm32 applicationOmar BOUZOURRAA
 
PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)Krupal Bhoi
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Chintan Patel
 
8051 training an interactive tutorial
8051 training an interactive tutorial8051 training an interactive tutorial
8051 training an interactive tutorialFutura infotech
 
Bidirectional Visitor Counter with Automatic ON-OFF Switch2
Bidirectional Visitor Counter with Automatic ON-OFF Switch2Bidirectional Visitor Counter with Automatic ON-OFF Switch2
Bidirectional Visitor Counter with Automatic ON-OFF Switch2DIPAN GHOSH
 
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50Ruthvik Vaila
 
Digital Logic Counter.ppt
Digital Logic Counter.pptDigital Logic Counter.ppt
Digital Logic Counter.pptRaziyaSultana30
 
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYEldhose George
 

Similar to Chapter 4 plc (20)

Automation and Robotics 20ME51I_Week_2_Practicals.pdf
Automation and Robotics 20ME51I_Week_2_Practicals.pdfAutomation and Robotics 20ME51I_Week_2_Practicals.pdf
Automation and Robotics 20ME51I_Week_2_Practicals.pdf
 
Microcontroller part 3
Microcontroller part 3Microcontroller part 3
Microcontroller part 3
 
Freescale Microcontroller programming
Freescale Microcontroller programmingFreescale Microcontroller programming
Freescale Microcontroller programming
 
EC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdfEC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdf
 
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav RaikarDigital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
 
Automation and Robotics 20ME51I_Week 5 Practicals.pdf
Automation and Robotics 20ME51I_Week 5 Practicals.pdfAutomation and Robotics 20ME51I_Week 5 Practicals.pdf
Automation and Robotics 20ME51I_Week 5 Practicals.pdf
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015
 
8051 FINIAL
8051 FINIAL8051 FINIAL
8051 FINIAL
 
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
AVR_Course_Day6 external hardware  interrupts and analogue to digital converterAVR_Course_Day6 external hardware  interrupts and analogue to digital converter
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015
 
What isn’t told about timers in stm32 application
What isn’t told about timers in stm32 applicationWhat isn’t told about timers in stm32 application
What isn’t told about timers in stm32 application
 
PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)
 
COUNTERS.pptx
COUNTERS.pptxCOUNTERS.pptx
COUNTERS.pptx
 
8051 training an interactive tutorial
8051 training an interactive tutorial8051 training an interactive tutorial
8051 training an interactive tutorial
 
Timing and control
Timing and controlTiming and control
Timing and control
 
Bidirectional Visitor Counter with Automatic ON-OFF Switch2
Bidirectional Visitor Counter with Automatic ON-OFF Switch2Bidirectional Visitor Counter with Automatic ON-OFF Switch2
Bidirectional Visitor Counter with Automatic ON-OFF Switch2
 
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
 
Digital Logic Counter.ppt
Digital Logic Counter.pptDigital Logic Counter.ppt
Digital Logic Counter.ppt
 
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
 

More from Hattori Sidek

More from Hattori Sidek (20)

Chapter 4 frequency modulation
Chapter 4 frequency modulationChapter 4 frequency modulation
Chapter 4 frequency modulation
 
Chapter 3 am receivers
Chapter 3 am receiversChapter 3 am receivers
Chapter 3 am receivers
 
Ch8 file processing
Ch8 file processingCh8 file processing
Ch8 file processing
 
Ch6 pointers (latest)
Ch6 pointers (latest)Ch6 pointers (latest)
Ch6 pointers (latest)
 
Ch5 array nota
Ch5 array notaCh5 array nota
Ch5 array nota
 
Ch4 functions
Ch4 functionsCh4 functions
Ch4 functions
 
Ch3 selection
Ch3 selectionCh3 selection
Ch3 selection
 
Ch3 repetition
Ch3 repetitionCh3 repetition
Ch3 repetition
 
Ch2 introduction to c
Ch2 introduction to cCh2 introduction to c
Ch2 introduction to c
 
Ch1 principles of software development
Ch1 principles of software developmentCh1 principles of software development
Ch1 principles of software development
 
Ch7 structures
Ch7 structuresCh7 structures
Ch7 structures
 
13 atm
13 atm13 atm
13 atm
 
12 wireless la-ns
12 wireless la-ns12 wireless la-ns
12 wireless la-ns
 
11 circuit-packet
11 circuit-packet11 circuit-packet
11 circuit-packet
 
10 high speedla-ns
10 high speedla-ns10 high speedla-ns
10 high speedla-ns
 
9 lan
9 lan9 lan
9 lan
 
8 spread spectrum
8 spread spectrum8 spread spectrum
8 spread spectrum
 
7 multiplexing
7 multiplexing7 multiplexing
7 multiplexing
 
6 data linkcontrol
6  data linkcontrol6  data linkcontrol
6 data linkcontrol
 
5 digital datacomm
5 digital datacomm5 digital datacomm
5 digital datacomm
 

Recently uploaded

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

Chapter 4 plc

  • 1. Chapter 4 Fundamental of Programmable Logic Controller Industrial Electronics DEK 3113
  • 2.
  • 3.  
  • 4.
  • 5. HARDWARE CONFIGURATION OF PLC Laboratory Training set
  • 6.
  • 7.
  • 8.  
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. Car park system A simple car park control system allows only a maximum of 30 cars parking spaces. Every time a car comes in, an incoming sensor will add 1 and any car that goes out an outgoing sensor will deduct 1. If the car park is occupied with 30 cars at one time, a full sign will be lighted up to inform there is no vacancy. Use instruction CNTR for counting and DIFU and DIFD for the sensor.
  • 16.
  • 17.
  • 18. Ladder Diagram Figure for example given Sensor 1 Sensor 2 Sensor 3 Incoming Outgoing
  • 19.
  • 20.
  • 21. Transfer data diagram Source input Channel 000 Destination Output Ch 100
  • 22. Bit Channel/ Word     15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 000 0 0 0 1 0 0 0 1 1 0 1 0 0 1 1 1 001                                 002                                 .                                 .                                 .                                 100 0 0 0 1 0 0 0 1 1 0 1 0 0 1 1 1 .                                 999                                
  • 23.
  • 24. Example ladder diagram 00001 00002 00003 RED LIGHT 10000 Alarm Alarm Code #1 00001 MOV(21) #0001 101 MOV(21) #0002 101 00002 MOV(21) #0003 101 00003 MOV(21) #0000 101 00006 END Alarm Code #2 Alarm Code #3 Reset Alarm Code Display
  • 25.
  • 26. Example 25313 TR0 CMP(20) #0020 HR1 25507 ( < ) 25506(=) 10001 10002 Green Light Red Light ADDR OP CODE DATA 0000 LD 25313 0001 OUT TR0 0002 CMP (20) #0020 HR1 0003 AND 25507 0004 OUT 10001 0005 LD TR 0 0006 AND 25506 0007 OUT 10002
  • 27.
  • 28. The operation: 1. 2. Add #0001 + #1234 = #1235 3. The result: ADD(30) HR000 #1234 HR000 00007 ADDR OP CODE DATA 0000 LD 00007 0001 ADD(30) 0002 HR000 #1234 HR000 0003 END(01) HR000 #0001 #1234 HR000 #1235 HR000 #1235
  • 29.
  • 30.  
  • 31. Continue.. A simple car park control system allows only a maximum of 30 cars parking spaces. Every time a car comes in, an incoming sensor will add 1 and any car that goes out an outgoing sensor will deduct 1. If the car park is occupied with 30 cars at one time, a full sign will be lighted up to inform there is no vacancy. Replace CNTR with ADD and SUB.
  • 32.
  • 34.
  • 36.
  • 37.
  • 38.
  • 39.