SlideShare a Scribd company logo
1 of 13
Download to read offline
1
___________________________________
3. LOGIC CIRCUITS
___________________________________
This chapter is a consideration of the common logic functions.
1. AND
Figure below shows a situation where an output is not energized unless two,
normally open, switches are both closed. Switch A and switch B have both to be
closed, which thus gives an AND logic situation.
Truth table
F = A & B F = A . B BAF ๏ƒ™๏€ฝ F=AB
An example of an AND gate is an interlock control system for a machine tool so that it
can only be operated when the safety guard is in position and the power switched on.
2
1. OR
Figure below shows an electrical circuit where an output is energized when switch A or
B, both normally open, are closed. This describes an OR logic gate in that input A or
input B must be on for there to be an output.
Truth table
F = A OR B F = A + B BAF ๏ƒš๏€ฝ
An example of an OR gate control system is a conveyor belt transporting bottled
products to packaging where a deflector plate is activated to deflect bottles into a
reject bin if either the weight is not within certain tolerances or there is no cap on the
bottle.
3
3. NOT
Figure below shows an electrical circuit controlled by a switch that is normally closed.
When there is an input to the switch, it opens and there is then no current in the circuit.
This illustrates a NOT gate in that there is an output when there is no input and no
output when there is an input. The gate is sometimes referred to as an inverter.
An example of a NOT gate control system is a light that comes on when it becomes
dark, i.e. when there is no light input to the light sensor there is an output.
4
4. NAND
Suppose we follow an AND gate with a NOT gate. The consequence of having the NOT
gate is to invert all the outputs from the AND gate. An alternative, which gives exactly
the same results, is to put a NOT gate on each input and then follow that with OR.
BAF ๏ƒ™๏€ฝ
An example of a NAND gate control system is a warning light that comes on if, with a
machine tool, the safety guard switch has not been activated and the limit switch
signaling the presence of the workpiece has not been activated.
5
5. NOR
Suppose we follow an OR gate by a NOT gate. The consequence of having the NOT gate
is to invert the outputs of the OR gate. An alternative, which gives exactly the same
results, is to put a NOT gate on each input and then an AND gate for the resulting
inverted inputs.
BAF ๏ƒš๏€ฝ
6
6. Exclusive OR (XOR)
The OR gate gives an output when either or both of the inputs are 1. Sometimes there
is, however, a need for a gate that gives an output when either of the inputs is 1 but not
when both are 1.
7
7. EXCLUSIVE NOR GATE (X NOR)
8
Boolean algebra
ABBA
ABBA
๏ƒš๏€ฝ๏ƒš
๏ƒ™๏€ฝ๏ƒ™
CBACBA
CBACBA
๏ƒš๏ƒš๏€ฝ๏ƒš๏ƒš
๏ƒ™๏ƒ™๏€ฝ๏ƒ™๏ƒ™
)()(
)()(
)()()(
)()()(
CABACBA
CABACBA
๏ƒš๏ƒ™๏ƒš๏€ฝ๏ƒ™๏ƒš
๏ƒ™๏ƒš๏ƒ™๏€ฝ๏ƒš๏ƒ™
๏‚ทDe Morgan Laws:
BABA
BABA
๏ƒ™๏€ฝ๏ƒš
๏ƒš๏€ฝ๏ƒ™
)(
)(
๏‚ทOthers:
AAA ๏€ฝ๏ƒ™AA ๏€ฝ๏ƒš 0
0๏€ฝ๏ƒ™ AA11๏€ฝ๏ƒšA
AA ๏€ฝ00 ๏€ฝ๏ƒ™A
ABAA ๏€ฝ๏ƒ™๏ƒš )(AA ๏€ฝ๏ƒ™1
BABAA ๏ƒš๏€ฝ๏ƒ™๏ƒš )(AAA ๏€ฝ๏ƒš
)()()( CBACABA ๏ƒ™๏ƒš๏€ฝ๏ƒš๏ƒ™๏ƒš1๏€ฝ๏ƒš AA
9
SOLVED EXAMPLES (Simplifications)
Example 1
Example 2 Example 3
10
Example 4
11
Example 5
12
Exercise 1
Consider the following logic diagram that has several inputs. Draw the corresponding
ladder logic diagram and write out its truth table and logic expression.
Exercise 2
Given the Boolean expression a) draw and test a FBD b) Simplify the expression.
Convert the FBD into LAD and test it.
X = ((A. B. C) + B) .B .(A + C)
1 1 1
&
1 =<
X
&
1 =<
&
Z
Y
A B C
13
Exercise 3
Draw the output as a function of time if
A
t
B
t
Exercise 4
Considering the following logic equation:
(i) Draw the logic circuit for the above equation.
(ii) Deduce the truth table.
(iii) Simplify the above equation.
(iv) Write the truth table for the simplified equation.

More Related Content

What's hot

Plc (programming)
Plc (programming)Plc (programming)
Plc (programming)Mohamed A Hakim
ย 
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
ย 
Basics of plc_programming1
Basics of plc_programming1Basics of plc_programming1
Basics of plc_programming1Enhmandah Hemeelee
ย 
Plc presentation
Plc presentation Plc presentation
Plc presentation PANKAJ BADGUJAR
ย 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino Ravi Phadtare
ย 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converterShazid Reaj
ย 
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Ahmed Elsayed
ย 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices Ameen San
ย 
Ladder logic tutorial
Ladder logic tutorialLadder logic tutorial
Ladder logic tutorialdas1964
ย 
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 Is a Programmable Logic Controller (PLC)
What Is a Programmable Logic Controller (PLC)What Is a Programmable Logic Controller (PLC)
What Is a Programmable Logic Controller (PLC)yogesh8418
ย 
classic control and PLC training report
classic control and PLC training reportclassic control and PLC training report
classic control and PLC training reportahmed abdelnasser
ย 

What's hot (20)

Plc (programming)
Plc (programming)Plc (programming)
Plc (programming)
ย 
Plc timers
Plc timersPlc timers
Plc timers
ย 
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
ย 
Basics of plc_programming1
Basics of plc_programming1Basics of plc_programming1
Basics of plc_programming1
ย 
Plc presentation
Plc presentation Plc presentation
Plc presentation
ย 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino
ย 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
ย 
Motor drives
Motor drivesMotor drives
Motor drives
ย 
Plc 101
Plc 101Plc 101
Plc 101
ย 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
ย 
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200
ย 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices
ย 
Ladder logic tutorial
Ladder logic tutorialLadder logic tutorial
Ladder logic tutorial
ย 
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
ย 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automation
ย 
What Is a Programmable Logic Controller (PLC)
What Is a Programmable Logic Controller (PLC)What Is a Programmable Logic Controller (PLC)
What Is a Programmable Logic Controller (PLC)
ย 
classic control and PLC training report
classic control and PLC training reportclassic control and PLC training report
classic control and PLC training report
ย 
PID Control
PID ControlPID Control
PID Control
ย 
Plc
PlcPlc
Plc
ย 

Viewers also liked

INDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCINDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCMehvish Mushtaq
ย 
Relay Switch
Relay SwitchRelay Switch
Relay SwitchSaqib Iqbal
ย 
1334420 634648164164717500
1334420 6346481641647175001334420 634648164164717500
1334420 634648164164717500sumit tiwari
ย 
43542179 programmable-logic-controller-plc-ppt
43542179 programmable-logic-controller-plc-ppt43542179 programmable-logic-controller-plc-ppt
43542179 programmable-logic-controller-plc-pptParbat Rajpurohit
ย 
Omron ladder programming
Omron ladder programmingOmron ladder programming
Omron ladder programmingSuzaini Supingat
ย 
PLC Programming Languages
PLC Programming LanguagesPLC Programming Languages
PLC Programming LanguagesLIJU. G. CHACKO
ย 
Plc bab 3
Plc bab 3Plc bab 3
Plc bab 3Siswoyo Edo
ย 

Viewers also liked (10)

INDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCINDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLC
ย 
Vt plc
Vt plcVt plc
Vt plc
ย 
Relay Switch
Relay SwitchRelay Switch
Relay Switch
ย 
1334420 634648164164717500
1334420 6346481641647175001334420 634648164164717500
1334420 634648164164717500
ย 
43542179 programmable-logic-controller-plc-ppt
43542179 programmable-logic-controller-plc-ppt43542179 programmable-logic-controller-plc-ppt
43542179 programmable-logic-controller-plc-ppt
ย 
Basic plc-programming
Basic plc-programmingBasic plc-programming
Basic plc-programming
ย 
Omron ladder programming
Omron ladder programmingOmron ladder programming
Omron ladder programming
ย 
PLC Programming Languages
PLC Programming LanguagesPLC Programming Languages
PLC Programming Languages
ย 
PLC Troubleshooting & Maintenance
PLC Troubleshooting & MaintenancePLC Troubleshooting & Maintenance
PLC Troubleshooting & Maintenance
ย 
Plc bab 3
Plc bab 3Plc bab 3
Plc bab 3
ย 

Similar to PLC Logic Circuits

Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functionspong_sk1
ย 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in shortRojin Khadka
ย 
Logic gates
Logic gatesLogic gates
Logic gatesEdmund Merren
ย 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxWilliamJosephat1
ย 
Logic gates
Logic gatesLogic gates
Logic gatesRahul Thukral
ย 
Logic gates And Boolen algebra
Logic gates And  Boolen algebraLogic gates And  Boolen algebra
Logic gates And Boolen algebraVeera Venky
ย 
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
ย 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebraSARITHA REDDY
ย 
Presentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by AnupamPresentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by AnupamAnupamAkib
ย 
Chapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and GatesChapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and GatesSSE_AndyLi
ย 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxNadzlinIbrahim3
ย 
Digital logic
Digital logicDigital logic
Digital logicMadhu Bala
ย 
Module 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxModule 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxDrVaibhavMeshram
ย 
12733771.ppt
12733771.ppt12733771.ppt
12733771.pptKrishna Kumar
ย 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdfDamotTesfaye
ย 

Similar to PLC Logic Circuits (20)

Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functions
ย 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in short
ย 
Logic gates
Logic gatesLogic gates
Logic gates
ย 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
ย 
Lab no 4
Lab no 4Lab no 4
Lab no 4
ย 
logic gates
logic gateslogic gates
logic gates
ย 
Logic gates
Logic gatesLogic gates
Logic gates
ย 
Logic gates And Boolen algebra
Logic gates And  Boolen algebraLogic gates And  Boolen algebra
Logic gates And Boolen algebra
ย 
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
ย 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
ย 
Presentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by AnupamPresentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by Anupam
ย 
Chapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and GatesChapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and Gates
ย 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
ย 
Digital logic mohammed salim ch3
Digital logic mohammed salim ch3Digital logic mohammed salim ch3
Digital logic mohammed salim ch3
ย 
OR, AND, NOT Gates
OR, AND, NOT GatesOR, AND, NOT Gates
OR, AND, NOT Gates
ย 
Digital logic
Digital logicDigital logic
Digital logic
ย 
Module 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxModule 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptx
ย 
12733771.ppt
12733771.ppt12733771.ppt
12733771.ppt
ย 
Chap 3
Chap 3Chap 3
Chap 3
ย 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf
ย 

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 Traffic Light Control
PLC Traffic Light ControlPLC Traffic Light Control
PLC Traffic Light ControlAmeen San
ย 
PLC Timers
PLC TimersPLC Timers
PLC TimersAmeen 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 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
ย 
Protection
ProtectionProtection
ProtectionAmeen San
ย 
Relays
RelaysRelays
RelaysAmeen 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 Traffic Light Control
PLC Traffic Light ControlPLC Traffic Light Control
PLC Traffic Light Control
ย 
PLC Timers
PLC TimersPLC Timers
PLC Timers
ย 
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 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

BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
ย 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
ย 
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
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
ย 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
ย 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
ย 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
ย 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
ย 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
ย 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
ย 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
ย 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
ย 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
ย 
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
ย 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
ย 
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
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
ย 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
ย 

Recently uploaded (20)

BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
ย 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
ย 
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...
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
ย 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
ย 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
ย 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ย 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
ย 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
ย 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
ย 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
ย 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
ย 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
ย 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
ย 
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, ...
ย 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
ย 
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
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
ย 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
ย 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
ย 

PLC Logic Circuits

  • 1. 1 ___________________________________ 3. LOGIC CIRCUITS ___________________________________ This chapter is a consideration of the common logic functions. 1. AND Figure below shows a situation where an output is not energized unless two, normally open, switches are both closed. Switch A and switch B have both to be closed, which thus gives an AND logic situation. Truth table F = A & B F = A . B BAF ๏ƒ™๏€ฝ F=AB An example of an AND gate is an interlock control system for a machine tool so that it can only be operated when the safety guard is in position and the power switched on.
  • 2. 2 1. OR Figure below shows an electrical circuit where an output is energized when switch A or B, both normally open, are closed. This describes an OR logic gate in that input A or input B must be on for there to be an output. Truth table F = A OR B F = A + B BAF ๏ƒš๏€ฝ An example of an OR gate control system is a conveyor belt transporting bottled products to packaging where a deflector plate is activated to deflect bottles into a reject bin if either the weight is not within certain tolerances or there is no cap on the bottle.
  • 3. 3 3. NOT Figure below shows an electrical circuit controlled by a switch that is normally closed. When there is an input to the switch, it opens and there is then no current in the circuit. This illustrates a NOT gate in that there is an output when there is no input and no output when there is an input. The gate is sometimes referred to as an inverter. An example of a NOT gate control system is a light that comes on when it becomes dark, i.e. when there is no light input to the light sensor there is an output.
  • 4. 4 4. NAND Suppose we follow an AND gate with a NOT gate. The consequence of having the NOT gate is to invert all the outputs from the AND gate. An alternative, which gives exactly the same results, is to put a NOT gate on each input and then follow that with OR. BAF ๏ƒ™๏€ฝ An example of a NAND gate control system is a warning light that comes on if, with a machine tool, the safety guard switch has not been activated and the limit switch signaling the presence of the workpiece has not been activated.
  • 5. 5 5. NOR Suppose we follow an OR gate by a NOT gate. The consequence of having the NOT gate is to invert the outputs of the OR gate. An alternative, which gives exactly the same results, is to put a NOT gate on each input and then an AND gate for the resulting inverted inputs. BAF ๏ƒš๏€ฝ
  • 6. 6 6. Exclusive OR (XOR) The OR gate gives an output when either or both of the inputs are 1. Sometimes there is, however, a need for a gate that gives an output when either of the inputs is 1 but not when both are 1.
  • 7. 7 7. EXCLUSIVE NOR GATE (X NOR)
  • 8. 8 Boolean algebra ABBA ABBA ๏ƒš๏€ฝ๏ƒš ๏ƒ™๏€ฝ๏ƒ™ CBACBA CBACBA ๏ƒš๏ƒš๏€ฝ๏ƒš๏ƒš ๏ƒ™๏ƒ™๏€ฝ๏ƒ™๏ƒ™ )()( )()( )()()( )()()( CABACBA CABACBA ๏ƒš๏ƒ™๏ƒš๏€ฝ๏ƒ™๏ƒš ๏ƒ™๏ƒš๏ƒ™๏€ฝ๏ƒš๏ƒ™ ๏‚ทDe Morgan Laws: BABA BABA ๏ƒ™๏€ฝ๏ƒš ๏ƒš๏€ฝ๏ƒ™ )( )( ๏‚ทOthers: AAA ๏€ฝ๏ƒ™AA ๏€ฝ๏ƒš 0 0๏€ฝ๏ƒ™ AA11๏€ฝ๏ƒšA AA ๏€ฝ00 ๏€ฝ๏ƒ™A ABAA ๏€ฝ๏ƒ™๏ƒš )(AA ๏€ฝ๏ƒ™1 BABAA ๏ƒš๏€ฝ๏ƒ™๏ƒš )(AAA ๏€ฝ๏ƒš )()()( CBACABA ๏ƒ™๏ƒš๏€ฝ๏ƒš๏ƒ™๏ƒš1๏€ฝ๏ƒš AA
  • 12. 12 Exercise 1 Consider the following logic diagram that has several inputs. Draw the corresponding ladder logic diagram and write out its truth table and logic expression. Exercise 2 Given the Boolean expression a) draw and test a FBD b) Simplify the expression. Convert the FBD into LAD and test it. X = ((A. B. C) + B) .B .(A + C) 1 1 1 & 1 =< X & 1 =< & Z Y A B C
  • 13. 13 Exercise 3 Draw the output as a function of time if A t B t Exercise 4 Considering the following logic equation: (i) Draw the logic circuit for the above equation. (ii) Deduce the truth table. (iii) Simplify the above equation. (iv) Write the truth table for the simplified equation.