SlideShare a Scribd company logo
1 of 6
Download to read offline
3- Traffic Light Control
Design a ladder program to solve the following control problem:
For the shown traffic light control system, there are two switches; the first one is to
run the system according the mode or leave it blank. There are two modes of
operation; Normal and Flashing. The time for green and red lights is 5 seconds, while it
is 1 second for the yellow lights, respectively. For simplicity assume one direction
streets.
Operation State Switch
Blank 0
MAIN
Run According to MODE 1
Normal 1
MODE
Flashing 0
Ladder STL
A "Main"
A "Mode"
CC "Normal"
A "Main"
AN "Mode"
CC "Flashing"
AN "Main"
CC "Blank"
FC1 AN T 4
L S5T#5S
SE T 3
NOP 0
NOP 0
NOP 0
A T 3
= L 0.0
A L 0.0
BLD 102
= "Red1"
A L 0.0
NOT
= "Green1"
A L 0.0
NOT
= "Red2"
A L 0.0
BLD 102
= "Green2"
AN T 3
L S5T#5S
SE T 4
NOP 0
NOP 0
NOP 0
NOP 0
A "Green1"
L S5T#4S
SE T 5
NOP 0
NOP 0
NOP 0
NOP 0
AN T 5
A "Green1"
= "Yellow1"
A "Green2"
L S5T#4S
SE T 6
NOP 0
NOP 0
NOP 0
NOP 0
AN T 6
A "Green2"
= "Yellow2"
FC2
AN "Mode"
R "Red1"
R "Green1"
R "Red2"
R "Green2"
AN T 2
L S5T#1S
SE T 1
NOP 0
NOP 0
NOP 0
A T 1
= "Yellow1"
= "Yellow2"
AN T 1
L S5T#1S
SE T 2
NOP 0
NOP 0
NOP 0
NOP 0
FC3
AN "Main"
R "Red1"
R "Yellow1"
R "Green1"
R "Red2"
R "Yellow2"
R "Green2"

More Related Content

What's hot

Industrial Automation
Industrial AutomationIndustrial Automation
Industrial AutomationTushar Swami
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fanÇdh Suman
 
Introduction to Programmable Logic Controllers (PLC's)
Introduction to Programmable Logic Controllers (PLC's)Introduction to Programmable Logic Controllers (PLC's)
Introduction to Programmable Logic Controllers (PLC's)morin moli
 
classic control and PLC training report
classic control and PLC training reportclassic control and PLC training report
classic control and PLC training reportahmed abdelnasser
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automationMd Talib
 
programmable logic controller presentation
programmable logic controller presentationprogrammable logic controller presentation
programmable logic controller presentationAshutosh Verma
 
PLC Programming Introduction
PLC Programming IntroductionPLC Programming Introduction
PLC Programming IntroductionPranavAutomation
 
PPT of PLC and SCADA
PPT of PLC and SCADAPPT of PLC and SCADA
PPT of PLC and SCADAMohseen1234
 
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
 
PLC (Ladder Logic Diagram)
PLC (Ladder Logic Diagram)PLC (Ladder Logic Diagram)
PLC (Ladder Logic Diagram)Sisubalan Selvan
 
Final year project presentation
Final year project presentationFinal year project presentation
Final year project presentationBanwari Lal
 
Industrial Automation - Introduction
Industrial Automation - IntroductionIndustrial Automation - Introduction
Industrial Automation - IntroductionRamaniIA
 
PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.Tahmid Rongon
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automationAloka Patro
 

What's hot (20)

Plc (programming)
Plc (programming)Plc (programming)
Plc (programming)
 
plc scada
 plc scada plc scada
plc scada
 
Plc ppt
Plc pptPlc ppt
Plc ppt
 
Industrial Automation
Industrial AutomationIndustrial Automation
Industrial Automation
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fan
 
Introduction to Programmable Logic Controllers (PLC's)
Introduction to Programmable Logic Controllers (PLC's)Introduction to Programmable Logic Controllers (PLC's)
Introduction to Programmable Logic Controllers (PLC's)
 
classic control and PLC training report
classic control and PLC training reportclassic control and PLC training report
classic control and PLC training report
 
aA000047
aA000047aA000047
aA000047
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automation
 
programmable logic controller presentation
programmable logic controller presentationprogrammable logic controller presentation
programmable logic controller presentation
 
SIEMENS S7-300c.ppt
SIEMENS S7-300c.pptSIEMENS S7-300c.ppt
SIEMENS S7-300c.ppt
 
PLC Programming Introduction
PLC Programming IntroductionPLC Programming Introduction
PLC Programming Introduction
 
PPT of PLC and SCADA
PPT of PLC and SCADAPPT of PLC and SCADA
PPT of PLC and SCADA
 
automatic mixing & filling bottle using PLC
automatic mixing & filling bottle using PLCautomatic mixing & filling bottle using PLC
automatic mixing & filling bottle using PLC
 
PLC (Ladder Logic Diagram)
PLC (Ladder Logic Diagram)PLC (Ladder Logic Diagram)
PLC (Ladder Logic Diagram)
 
Final year project presentation
Final year project presentationFinal year project presentation
Final year project presentation
 
Industrial Automation - Introduction
Industrial Automation - IntroductionIndustrial Automation - Introduction
Industrial Automation - Introduction
 
PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automation
 
Plc
PlcPlc
Plc
 

Similar to PLC Traffic Light Control

Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic ControllerValai Ganesh
 
Ch 2 Ladder Basics 1 Chapter 2 Ladder Basics .docx
     Ch 2 Ladder Basics 1 Chapter 2  Ladder Basics  .docx     Ch 2 Ladder Basics 1 Chapter 2  Ladder Basics  .docx
Ch 2 Ladder Basics 1 Chapter 2 Ladder Basics .docxhallettfaustina
 
Catalog mikro mikro mk233a-user
Catalog mikro mikro mk233a-userCatalog mikro mikro mk233a-user
Catalog mikro mikro mk233a-userDien Ha The
 
Catalog mikro mikro mk233a-user-dienhathe.vn
Catalog mikro mikro mk233a-user-dienhathe.vnCatalog mikro mikro mk233a-user-dienhathe.vn
Catalog mikro mikro mk233a-user-dienhathe.vnDien Ha The
 
Catalog mikro mikro mk233a-user
Catalog mikro mikro mk233a-userCatalog mikro mikro mk233a-user
Catalog mikro mikro mk233a-userDien Ha The
 
Computer design and architecture with simple cpu
Computer design and architecture with simple cpuComputer design and architecture with simple cpu
Computer design and architecture with simple cpuNaohiko Shimizu
 
very nice ppt please upload dand enjoy tyhe subscribtin have alove
very nice ppt please upload dand enjoy tyhe subscribtin have alovevery nice ppt please upload dand enjoy tyhe subscribtin have alove
very nice ppt please upload dand enjoy tyhe subscribtin have alovemohdthr
 
CAM ladder logic diagram
CAM ladder logic diagramCAM ladder logic diagram
CAM ladder logic diagramMaharshi Soni
 
08 chapter03 06_status_bits_otl_otu_scan_logic_fa16
08 chapter03 06_status_bits_otl_otu_scan_logic_fa1608 chapter03 06_status_bits_otl_otu_scan_logic_fa16
08 chapter03 06_status_bits_otl_otu_scan_logic_fa16John Todora
 
Introduction to automation
Introduction to automationIntroduction to automation
Introduction to automationValai Ganesh
 
Plc documentation final
Plc documentation finalPlc documentation final
Plc documentation finalSonu Kumar
 
Parking Control System using PLC
Parking Control System using PLCParking Control System using PLC
Parking Control System using PLCZunAib Ali
 
STM-1 electrical to Optical converter presentation
STM-1 electrical to Optical converter presentationSTM-1 electrical to Optical converter presentation
STM-1 electrical to Optical converter presentationrolands77
 
Alcohol detection & driver safety
Alcohol detection & driver safetyAlcohol detection & driver safety
Alcohol detection & driver safetysanket jain
 

Similar to PLC Traffic Light Control (20)

Plc tutorial
Plc tutorialPlc tutorial
Plc tutorial
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic Controller
 
Ch 2 Ladder Basics 1 Chapter 2 Ladder Basics .docx
     Ch 2 Ladder Basics 1 Chapter 2  Ladder Basics  .docx     Ch 2 Ladder Basics 1 Chapter 2  Ladder Basics  .docx
Ch 2 Ladder Basics 1 Chapter 2 Ladder Basics .docx
 
Chapter 2 ladder
Chapter 2 ladderChapter 2 ladder
Chapter 2 ladder
 
PLC Timers
PLC TimersPLC Timers
PLC Timers
 
Catalog mikro mikro mk233a-user
Catalog mikro mikro mk233a-userCatalog mikro mikro mk233a-user
Catalog mikro mikro mk233a-user
 
Catalog mikro mikro mk233a-user-dienhathe.vn
Catalog mikro mikro mk233a-user-dienhathe.vnCatalog mikro mikro mk233a-user-dienhathe.vn
Catalog mikro mikro mk233a-user-dienhathe.vn
 
Catalog mikro mikro mk233a-user
Catalog mikro mikro mk233a-userCatalog mikro mikro mk233a-user
Catalog mikro mikro mk233a-user
 
Computer design and architecture with simple cpu
Computer design and architecture with simple cpuComputer design and architecture with simple cpu
Computer design and architecture with simple cpu
 
very nice ppt please upload dand enjoy tyhe subscribtin have alove
very nice ppt please upload dand enjoy tyhe subscribtin have alovevery nice ppt please upload dand enjoy tyhe subscribtin have alove
very nice ppt please upload dand enjoy tyhe subscribtin have alove
 
CAM ladder logic diagram
CAM ladder logic diagramCAM ladder logic diagram
CAM ladder logic diagram
 
08 chapter03 06_status_bits_otl_otu_scan_logic_fa16
08 chapter03 06_status_bits_otl_otu_scan_logic_fa1608 chapter03 06_status_bits_otl_otu_scan_logic_fa16
08 chapter03 06_status_bits_otl_otu_scan_logic_fa16
 
Chapter 4 plc
Chapter 4 plcChapter 4 plc
Chapter 4 plc
 
Introduction to automation
Introduction to automationIntroduction to automation
Introduction to automation
 
Plc documentation final
Plc documentation finalPlc documentation final
Plc documentation final
 
Parking Control System using PLC
Parking Control System using PLCParking Control System using PLC
Parking Control System using PLC
 
STM-1 electrical to Optical converter presentation
STM-1 electrical to Optical converter presentationSTM-1 electrical to Optical converter presentation
STM-1 electrical to Optical converter presentation
 
Alcohol detection & driver safety
Alcohol detection & driver safetyAlcohol detection & driver safety
Alcohol detection & driver safety
 
PLC
PLCPLC
PLC
 
Alcohol interlock
Alcohol interlockAlcohol interlock
Alcohol interlock
 

More from Ameen San

Application of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage RegulationApplication of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage RegulationAmeen San
 
Distribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss CalculationDistribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss CalculationAmeen San
 
Load Characteristics
Load CharacteristicsLoad Characteristics
Load CharacteristicsAmeen San
 
ELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGYELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGYAmeen San
 
Stepper motor
Stepper motor Stepper motor
Stepper motor Ameen San
 
PLC application
PLC applicationPLC application
PLC applicationAmeen San
 
PLC arithmatic functions
PLC arithmatic functionsPLC arithmatic functions
PLC arithmatic functionsAmeen San
 
PLC data types and addressing
PLC data types and addressingPLC data types and addressing
PLC data types and addressingAmeen San
 
PLC Counters
PLC CountersPLC Counters
PLC CountersAmeen San
 
PLC Internal Relays
PLC Internal RelaysPLC Internal Relays
PLC Internal RelaysAmeen San
 
PLC Intro to programming
PLC Intro to programmingPLC Intro to programming
PLC Intro to programmingAmeen San
 
PLC Logic Circuits
PLC Logic CircuitsPLC Logic Circuits
PLC Logic CircuitsAmeen San
 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices Ameen San
 
PLC Applications
PLC ApplicationsPLC Applications
PLC ApplicationsAmeen San
 
Protection Devices and the Lightning
Protection Devices and the LightningProtection Devices and the Lightning
Protection Devices and the LightningAmeen San
 
Circuit Breakers
Circuit BreakersCircuit Breakers
Circuit BreakersAmeen San
 
Engineering Economy
Engineering EconomyEngineering Economy
Engineering EconomyAmeen San
 
Accounting & financial decisions
Accounting & financial decisionsAccounting & financial decisions
Accounting & financial decisionsAmeen San
 

More from Ameen San (20)

Application of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage RegulationApplication of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage Regulation
 
Distribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss CalculationDistribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss Calculation
 
Load Characteristics
Load CharacteristicsLoad Characteristics
Load Characteristics
 
ELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGYELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGY
 
Stepper motor
Stepper motor Stepper motor
Stepper motor
 
PLC application
PLC applicationPLC application
PLC application
 
PLC arithmatic functions
PLC arithmatic functionsPLC arithmatic functions
PLC arithmatic functions
 
PLC data types and addressing
PLC data types and addressingPLC data types and addressing
PLC data types and addressing
 
PLC Counters
PLC CountersPLC Counters
PLC Counters
 
PLC Internal Relays
PLC Internal RelaysPLC Internal Relays
PLC Internal Relays
 
PLC Intro to programming
PLC Intro to programmingPLC Intro to programming
PLC Intro to programming
 
PLC Logic Circuits
PLC Logic CircuitsPLC Logic Circuits
PLC Logic Circuits
 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices
 
PLC Applications
PLC ApplicationsPLC Applications
PLC Applications
 
Protection Devices and the Lightning
Protection Devices and the LightningProtection Devices and the Lightning
Protection Devices and the Lightning
 
Protection
ProtectionProtection
Protection
 
Relays
RelaysRelays
Relays
 
Circuit Breakers
Circuit BreakersCircuit Breakers
Circuit Breakers
 
Engineering Economy
Engineering EconomyEngineering Economy
Engineering Economy
 
Accounting & financial decisions
Accounting & financial decisionsAccounting & financial decisions
Accounting & financial decisions
 

Recently uploaded

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 

Recently uploaded (20)

Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 

PLC Traffic Light Control

  • 1. 3- Traffic Light Control Design a ladder program to solve the following control problem: For the shown traffic light control system, there are two switches; the first one is to run the system according the mode or leave it blank. There are two modes of operation; Normal and Flashing. The time for green and red lights is 5 seconds, while it is 1 second for the yellow lights, respectively. For simplicity assume one direction streets. Operation State Switch Blank 0 MAIN Run According to MODE 1 Normal 1 MODE Flashing 0
  • 2. Ladder STL A "Main" A "Mode" CC "Normal"
  • 3. A "Main" AN "Mode" CC "Flashing" AN "Main" CC "Blank" FC1 AN T 4 L S5T#5S SE T 3 NOP 0 NOP 0 NOP 0 A T 3 = L 0.0 A L 0.0 BLD 102 = "Red1" A L 0.0 NOT = "Green1" A L 0.0 NOT = "Red2" A L 0.0 BLD 102 = "Green2"
  • 4. AN T 3 L S5T#5S SE T 4 NOP 0 NOP 0 NOP 0 NOP 0 A "Green1" L S5T#4S SE T 5 NOP 0 NOP 0 NOP 0 NOP 0 AN T 5 A "Green1" = "Yellow1"
  • 5. A "Green2" L S5T#4S SE T 6 NOP 0 NOP 0 NOP 0 NOP 0 AN T 6 A "Green2" = "Yellow2" FC2 AN "Mode" R "Red1" R "Green1" R "Red2" R "Green2"
  • 6. AN T 2 L S5T#1S SE T 1 NOP 0 NOP 0 NOP 0 A T 1 = "Yellow1" = "Yellow2" AN T 1 L S5T#1S SE T 2 NOP 0 NOP 0 NOP 0 NOP 0 FC3 AN "Main" R "Red1" R "Yellow1" R "Green1" R "Red2" R "Yellow2" R "Green2"