SlideShare a Scribd company logo
1 of 10
Download to read offline
2-1
Dr. D. J. Jackson Lecture 2-1Electrical & Computer Engineering
Programmable Logic
Controllers
PLC Basics
Dr. D. J. Jackson Lecture 2-2Electrical & Computer Engineering
Operating systems and application
programs
• A PLC contains a basic operating system that
allows for:
– Downloading and executing user (ladder logic)
programs
– Communicating with devices
• I/O modules
• Other PLCs on a network
– Holding configuration data such as
• Number and type of I/O modules present in the PLC
system
• Status information
2-2
Dr. D. J. Jackson Lecture 2-3Electrical & Computer Engineering
Operating systems and application
programs
• A PLC retains its operating system, user
programs, and some data in retentive
(nonvolatile) memory
– While the PLC is off or is even disconnected from
the power supply (given a battery backup)
• A PLC can then resume running a user
program as soon as power is restored
– The PLC may be programmed to require some
operator action before resuming user program
execution (for safety purposes)
Dr. D. J. Jackson Lecture 2-4Electrical & Computer Engineering
User program execution
• A PLC executes an initialization step when placed in
run mode, then repeatedly executes a scan cycle
sequence
• The basic PLC scan cycle consists of three steps
– An input scan
– A user program scan
– An output scan
• The total time for one complete program scan is a
function of processor speed, I/O modules used, and
length of user program
• Typically, hundreds of complete scans can take place
in 1 second
2-3
Dr. D. J. Jackson Lecture 2-5Electrical & Computer Engineering
Input scan
• During the input scan, data is taken from all input
modules in the system and placed into an area of
PLC memory referred to as the input image area
InputmoduleInputmodule
PLC
Input Image Area
Dr. D. J. Jackson Lecture 2-6Electrical & Computer Engineering
User program scan
• During the program scan, data in the input image
area is applied to the user program, the user
program is executed and the output image area is
updated
Input
Image
Area
Output
Image
Area
User
Program
PLC
2-4
Dr. D. J. Jackson Lecture 2-7Electrical & Computer Engineering
Output scan
• During the output scan, data is taken from
the output image area and sent to all
output modules in the system
OutputmoduleOutputmodule
PLC
Output Image Area
Dr. D. J. Jackson Lecture 2-8Electrical & Computer Engineering
PLC scanning considerations
• During the input scan, input terminals are
read and the input image area is updated
accordingly.
• During the program scan
– data in the input image area is applied to the user
program
– the program is executed (instructions carried out
in sequence)
– the output image area is updated appropriately
• During the output scan, data associated with
the output image area is transferred to
output terminals
2-5
Dr. D. J. Jackson Lecture 2-9Electrical & Computer Engineering
PLC scanning considerations
• It is important to understand that the input,
program, and output scans are separate,
independent functions
– Any changes in the status of input devices during
the program or output scan are not recognized
until the next input scan
• Furthermore, data changes in the output
table are not transferred to the output
terminals during the input and program scans
• The transfer affecting the output devices
takes place only during the output scan
Dr. D. J. Jackson Lecture 2-10Electrical & Computer Engineering
PLC scanning considerations
• With all PLCs, there are special processing
considerations to note
• First, all PLCs take a specific amount of time
to scan their operational programs
completely
• Typically, the program scanning takes place
left to right across each rung and from the
top to bottom rungs, in order
• Usually, the complete ladder scan time is a
few milliseconds
2-6
Dr. D. J. Jackson Lecture 2-11Electrical & Computer Engineering
PLC scanning considerations
• Another scanning consideration involves
proper operational sequencing of events
• An output might not go on immediately in
sequence as it would in a relay logic system
• In a relay logic system, an event occurring
anywhere in the ladder control system results
in immediate action
• In a PLC ladder control diagram, however, no
effect takes place until the rung is scanned
• In most cases, the PLC logic delay effect is
inconsequential
Dr. D. J. Jackson Lecture 2-12Electrical & Computer Engineering
PLC scanning considerations
• Program (ladder logic) scanning typically takes place
left to right across each rung and from the top to
bottom rungs, in order
– Known as rung scanning, it is the method used, for example,
by Allen-Bradley
• Another method, used by Modicon/Schneider
Automation is known as column scanning
– Here the processor "looks" at the first contact at the top left
corner and reads the first column from top to bottom
– It next reads the second column from top to bottom, and so
on
• Either method, rung or column, is appropriate.
2-7
Dr. D. J. Jackson Lecture 2-13Electrical & Computer Engineering
Rung scanning
RUNG
1
2
3
4
1 2 3 4 5 6
Dr. D. J. Jackson Lecture 2-14Electrical & Computer Engineering
Column scanning
RUNG
1
2
3
4
1 2 3 4 5 6
2-8
Dr. D. J. Jackson Lecture 2-15Electrical & Computer Engineering
Two-rung ladder logic program
On
switch
Part
sensor
Spray
paint
Paint
empty
Conveyor
stopped
Operator
alarm
Dr. D. J. Jackson Lecture 2-16Electrical & Computer Engineering
Two-rung ladder logic program
CPU Digital
input
module
Digital
output
module
Input
Image
User
program
Output
image
Spray
painter
Paint
Paint
level
sensor
Alarm
light
Part
sensor
Operator
control
switch
Zero speed sensor Motor
2-9
Dr. D. J. Jackson Lecture 2-17Electrical & Computer Engineering
Example Program (In LogixPro Simulator)
Dr. D. J. Jackson Lecture 2-18Electrical & Computer Engineering
Example Program (In LogixPro Simulator)
2-10
Dr. D. J. Jackson Lecture 2-19Electrical & Computer Engineering
Example Program with Energized Inputs

More Related Content

What's hot

Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic ControllerShovon0
 
PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME) PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME) ankit kaim
 
Hardware components_of_plc
Hardware components_of_plcHardware components_of_plc
Hardware components_of_plcShubham Chopde
 
PLC basic concepts
PLC  basic conceptsPLC  basic concepts
PLC basic conceptsYasir Hashmi
 
Session 07 - PLC Architecture
Session 07 - PLC ArchitectureSession 07 - PLC Architecture
Session 07 - PLC ArchitectureVidyaIA
 
Programmable Logic Controller (PLC Part 2)
Programmable Logic Controller (PLC Part 2)Programmable Logic Controller (PLC Part 2)
Programmable Logic Controller (PLC Part 2)Priyanshu
 
PLC TRAINING
PLC TRAININGPLC TRAINING
PLC TRAININGNca Noida
 
Industry Automation with Programmable Logic Controller
Industry Automation with Programmable Logic ControllerIndustry Automation with Programmable Logic Controller
Industry Automation with Programmable Logic ControllerArifur Rahman
 
PLC ARCHITECTURE AND HARDWARE COMPONENTS
PLC ARCHITECTURE AND HARDWARE COMPONENTSPLC ARCHITECTURE AND HARDWARE COMPONENTS
PLC ARCHITECTURE AND HARDWARE COMPONENTSAkshay Dhole
 
Implementation of T-Junction Traffic Light Control System Using Simatic S7-20...
Implementation of T-Junction Traffic Light Control System Using Simatic S7-20...Implementation of T-Junction Traffic Light Control System Using Simatic S7-20...
Implementation of T-Junction Traffic Light Control System Using Simatic S7-20...IJERA Editor
 
PLC: Controladores Lógicos Programables
PLC: Controladores Lógicos ProgramablesPLC: Controladores Lógicos Programables
PLC: Controladores Lógicos ProgramablesSANTIAGO PABLO ALBERTO
 
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)

Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic Controller
 
PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME) PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME)
 
PL C
PL CPL C
PL C
 
DISTRIBUTED CONTROL SYSTEMS
DISTRIBUTED   CONTROL  SYSTEMSDISTRIBUTED   CONTROL  SYSTEMS
DISTRIBUTED CONTROL SYSTEMS
 
Hardware components_of_plc
Hardware components_of_plcHardware components_of_plc
Hardware components_of_plc
 
PLC basic concepts
PLC  basic conceptsPLC  basic concepts
PLC basic concepts
 
Session 07 - PLC Architecture
Session 07 - PLC ArchitectureSession 07 - PLC Architecture
Session 07 - PLC Architecture
 
Introto pl cs
Introto pl csIntroto pl cs
Introto pl cs
 
Programmable Logic Controller (PLC Part 2)
Programmable Logic Controller (PLC Part 2)Programmable Logic Controller (PLC Part 2)
Programmable Logic Controller (PLC Part 2)
 
Automation(plc&scada)
Automation(plc&scada)Automation(plc&scada)
Automation(plc&scada)
 
PLC TRAINING
PLC TRAININGPLC TRAINING
PLC TRAINING
 
Matter new
Matter newMatter new
Matter new
 
PLC
PLCPLC
PLC
 
Industry Automation with Programmable Logic Controller
Industry Automation with Programmable Logic ControllerIndustry Automation with Programmable Logic Controller
Industry Automation with Programmable Logic Controller
 
PLC ARCHITECTURE AND HARDWARE COMPONENTS
PLC ARCHITECTURE AND HARDWARE COMPONENTSPLC ARCHITECTURE AND HARDWARE COMPONENTS
PLC ARCHITECTURE AND HARDWARE COMPONENTS
 
Selecting a PLC
Selecting a PLCSelecting a PLC
Selecting a PLC
 
PLC presentation
PLC presentationPLC presentation
PLC presentation
 
Implementation of T-Junction Traffic Light Control System Using Simatic S7-20...
Implementation of T-Junction Traffic Light Control System Using Simatic S7-20...Implementation of T-Junction Traffic Light Control System Using Simatic S7-20...
Implementation of T-Junction Traffic Light Control System Using Simatic S7-20...
 
PLC: Controladores Lógicos Programables
PLC: Controladores Lógicos ProgramablesPLC: Controladores Lógicos Programables
PLC: Controladores Lógicos Programables
 
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 ...
 

Viewers also liked

The effects of reading method on the comprehension performance of Saudi EFL s...
The effects of reading method on the comprehension performance of Saudi EFL s...The effects of reading method on the comprehension performance of Saudi EFL s...
The effects of reading method on the comprehension performance of Saudi EFL s...Buabuanana
 
The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...Buabuanana
 
Runwal codename walk
Runwal codename walkRunwal codename walk
Runwal codename walkthelaunch
 
The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...Buabuanana
 

Viewers also liked (13)

Lect07
Lect07Lect07
Lect07
 
Lect13
Lect13Lect13
Lect13
 
Lect08
Lect08Lect08
Lect08
 
The effects of reading method on the comprehension performance of Saudi EFL s...
The effects of reading method on the comprehension performance of Saudi EFL s...The effects of reading method on the comprehension performance of Saudi EFL s...
The effects of reading method on the comprehension performance of Saudi EFL s...
 
Lect14
Lect14Lect14
Lect14
 
Lect06
Lect06Lect06
Lect06
 
The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...
 
Lect09
Lect09Lect09
Lect09
 
Lect03
Lect03Lect03
Lect03
 
Runwal codename walk
Runwal codename walkRunwal codename walk
Runwal codename walk
 
Lect12
Lect12Lect12
Lect12
 
Lect04
Lect04Lect04
Lect04
 
The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...
 

Similar to Lect02

L3 Programmable logic controller
L3 Programmable logic controllerL3 Programmable logic controller
L3 Programmable logic controllertaruian
 
PLC Introduction Details
PLC Introduction DetailsPLC Introduction Details
PLC Introduction Detailssuhaskhadake
 
Plc documentation final
Plc documentation finalPlc documentation final
Plc documentation finalSonu Kumar
 
1 introduction to plc and its programming-1
1 introduction to plc and its programming-11 introduction to plc and its programming-1
1 introduction to plc and its programming-1VishalGupta969
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic ControllerHimshekhar Das
 
Introduction to PLC
Introduction to PLCIntroduction to PLC
Introduction to PLCVeerakumar S
 
dokumen.tips_industrial-automation-ppt.ppt
dokumen.tips_industrial-automation-ppt.pptdokumen.tips_industrial-automation-ppt.ppt
dokumen.tips_industrial-automation-ppt.pptssuser8d8124
 
Unit 2 ca- control unit
Unit 2 ca- control unitUnit 2 ca- control unit
Unit 2 ca- control unitBBDITM LUCKNOW
 
Introduction_to_Mechatronics_Chapter67.pdf
Introduction_to_Mechatronics_Chapter67.pdfIntroduction_to_Mechatronics_Chapter67.pdf
Introduction_to_Mechatronics_Chapter67.pdfBereket Walle
 
Building Cultural Awareness through EmotionPresented By Team .docx
Building Cultural Awareness through EmotionPresented By Team .docxBuilding Cultural Awareness through EmotionPresented By Team .docx
Building Cultural Awareness through EmotionPresented By Team .docxhartrobert670
 
UNIT IV PROGRAMMABLE LOGIC CONTROLLER
UNIT IV PROGRAMMABLE LOGIC CONTROLLER UNIT IV PROGRAMMABLE LOGIC CONTROLLER
UNIT IV PROGRAMMABLE LOGIC CONTROLLER ravis205084
 

Similar to Lect02 (20)

PLC
PLCPLC
PLC
 
L3 Programmable logic controller
L3 Programmable logic controllerL3 Programmable logic controller
L3 Programmable logic controller
 
Unit 4 - PLC.pptx
Unit 4 - PLC.pptxUnit 4 - PLC.pptx
Unit 4 - PLC.pptx
 
PLC Introduction Details
PLC Introduction DetailsPLC Introduction Details
PLC Introduction Details
 
Plc documentation final
Plc documentation finalPlc documentation final
Plc documentation final
 
1 introduction to plc and its programming-1
1 introduction to plc and its programming-11 introduction to plc and its programming-1
1 introduction to plc and its programming-1
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic Controller
 
Introduction to PLC
Introduction to PLCIntroduction to PLC
Introduction to PLC
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
ppt on PLC.pptx
ppt on  PLC.pptxppt on  PLC.pptx
ppt on PLC.pptx
 
PLC-converted.pdf
PLC-converted.pdfPLC-converted.pdf
PLC-converted.pdf
 
1564.pptx
1564.pptx1564.pptx
1564.pptx
 
dokumen.tips_industrial-automation-ppt.ppt
dokumen.tips_industrial-automation-ppt.pptdokumen.tips_industrial-automation-ppt.ppt
dokumen.tips_industrial-automation-ppt.ppt
 
Unit 2 ca- control unit
Unit 2 ca- control unitUnit 2 ca- control unit
Unit 2 ca- control unit
 
chapter 2 IE.pptx
chapter 2 IE.pptxchapter 2 IE.pptx
chapter 2 IE.pptx
 
plc introduction
plc introductionplc introduction
plc introduction
 
Introduction_to_Mechatronics_Chapter67.pdf
Introduction_to_Mechatronics_Chapter67.pdfIntroduction_to_Mechatronics_Chapter67.pdf
Introduction_to_Mechatronics_Chapter67.pdf
 
Plc basics
Plc   basicsPlc   basics
Plc basics
 
Building Cultural Awareness through EmotionPresented By Team .docx
Building Cultural Awareness through EmotionPresented By Team .docxBuilding Cultural Awareness through EmotionPresented By Team .docx
Building Cultural Awareness through EmotionPresented By Team .docx
 
UNIT IV PROGRAMMABLE LOGIC CONTROLLER
UNIT IV PROGRAMMABLE LOGIC CONTROLLER UNIT IV PROGRAMMABLE LOGIC CONTROLLER
UNIT IV PROGRAMMABLE LOGIC CONTROLLER
 

Recently uploaded

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
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
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
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 🔝✔️✔️
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
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
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
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🔝
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 

Lect02

  • 1. 2-1 Dr. D. J. Jackson Lecture 2-1Electrical & Computer Engineering Programmable Logic Controllers PLC Basics Dr. D. J. Jackson Lecture 2-2Electrical & Computer Engineering Operating systems and application programs • A PLC contains a basic operating system that allows for: – Downloading and executing user (ladder logic) programs – Communicating with devices • I/O modules • Other PLCs on a network – Holding configuration data such as • Number and type of I/O modules present in the PLC system • Status information
  • 2. 2-2 Dr. D. J. Jackson Lecture 2-3Electrical & Computer Engineering Operating systems and application programs • A PLC retains its operating system, user programs, and some data in retentive (nonvolatile) memory – While the PLC is off or is even disconnected from the power supply (given a battery backup) • A PLC can then resume running a user program as soon as power is restored – The PLC may be programmed to require some operator action before resuming user program execution (for safety purposes) Dr. D. J. Jackson Lecture 2-4Electrical & Computer Engineering User program execution • A PLC executes an initialization step when placed in run mode, then repeatedly executes a scan cycle sequence • The basic PLC scan cycle consists of three steps – An input scan – A user program scan – An output scan • The total time for one complete program scan is a function of processor speed, I/O modules used, and length of user program • Typically, hundreds of complete scans can take place in 1 second
  • 3. 2-3 Dr. D. J. Jackson Lecture 2-5Electrical & Computer Engineering Input scan • During the input scan, data is taken from all input modules in the system and placed into an area of PLC memory referred to as the input image area InputmoduleInputmodule PLC Input Image Area Dr. D. J. Jackson Lecture 2-6Electrical & Computer Engineering User program scan • During the program scan, data in the input image area is applied to the user program, the user program is executed and the output image area is updated Input Image Area Output Image Area User Program PLC
  • 4. 2-4 Dr. D. J. Jackson Lecture 2-7Electrical & Computer Engineering Output scan • During the output scan, data is taken from the output image area and sent to all output modules in the system OutputmoduleOutputmodule PLC Output Image Area Dr. D. J. Jackson Lecture 2-8Electrical & Computer Engineering PLC scanning considerations • During the input scan, input terminals are read and the input image area is updated accordingly. • During the program scan – data in the input image area is applied to the user program – the program is executed (instructions carried out in sequence) – the output image area is updated appropriately • During the output scan, data associated with the output image area is transferred to output terminals
  • 5. 2-5 Dr. D. J. Jackson Lecture 2-9Electrical & Computer Engineering PLC scanning considerations • It is important to understand that the input, program, and output scans are separate, independent functions – Any changes in the status of input devices during the program or output scan are not recognized until the next input scan • Furthermore, data changes in the output table are not transferred to the output terminals during the input and program scans • The transfer affecting the output devices takes place only during the output scan Dr. D. J. Jackson Lecture 2-10Electrical & Computer Engineering PLC scanning considerations • With all PLCs, there are special processing considerations to note • First, all PLCs take a specific amount of time to scan their operational programs completely • Typically, the program scanning takes place left to right across each rung and from the top to bottom rungs, in order • Usually, the complete ladder scan time is a few milliseconds
  • 6. 2-6 Dr. D. J. Jackson Lecture 2-11Electrical & Computer Engineering PLC scanning considerations • Another scanning consideration involves proper operational sequencing of events • An output might not go on immediately in sequence as it would in a relay logic system • In a relay logic system, an event occurring anywhere in the ladder control system results in immediate action • In a PLC ladder control diagram, however, no effect takes place until the rung is scanned • In most cases, the PLC logic delay effect is inconsequential Dr. D. J. Jackson Lecture 2-12Electrical & Computer Engineering PLC scanning considerations • Program (ladder logic) scanning typically takes place left to right across each rung and from the top to bottom rungs, in order – Known as rung scanning, it is the method used, for example, by Allen-Bradley • Another method, used by Modicon/Schneider Automation is known as column scanning – Here the processor "looks" at the first contact at the top left corner and reads the first column from top to bottom – It next reads the second column from top to bottom, and so on • Either method, rung or column, is appropriate.
  • 7. 2-7 Dr. D. J. Jackson Lecture 2-13Electrical & Computer Engineering Rung scanning RUNG 1 2 3 4 1 2 3 4 5 6 Dr. D. J. Jackson Lecture 2-14Electrical & Computer Engineering Column scanning RUNG 1 2 3 4 1 2 3 4 5 6
  • 8. 2-8 Dr. D. J. Jackson Lecture 2-15Electrical & Computer Engineering Two-rung ladder logic program On switch Part sensor Spray paint Paint empty Conveyor stopped Operator alarm Dr. D. J. Jackson Lecture 2-16Electrical & Computer Engineering Two-rung ladder logic program CPU Digital input module Digital output module Input Image User program Output image Spray painter Paint Paint level sensor Alarm light Part sensor Operator control switch Zero speed sensor Motor
  • 9. 2-9 Dr. D. J. Jackson Lecture 2-17Electrical & Computer Engineering Example Program (In LogixPro Simulator) Dr. D. J. Jackson Lecture 2-18Electrical & Computer Engineering Example Program (In LogixPro Simulator)
  • 10. 2-10 Dr. D. J. Jackson Lecture 2-19Electrical & Computer Engineering Example Program with Energized Inputs