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 example presentation
Plc example presentationPlc example presentation
Plc example presentation
Roshit Kadiru
 
Ladder logic tutorial
Ladder logic tutorialLadder logic tutorial
Ladder logic tutorial
das1964
 
PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]
Dr. S.N. Teli
 

What's hot (20)

Plc Basics
Plc BasicsPlc Basics
Plc Basics
 
Plc example presentation
Plc example presentationPlc example presentation
Plc example presentation
 
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
 
INDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCINDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLC
 
Introduction to plc (s7)­
Introduction to  plc (s7)­ Introduction to  plc (s7)­
Introduction to plc (s7)­
 
Plc notes
Plc notesPlc notes
Plc notes
 
Vt training plc_1
Vt training plc_1Vt training plc_1
Vt training plc_1
 
PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]
 
Plc basics
Plc   basicsPlc   basics
Plc basics
 
PLC Internal Relays
PLC Internal RelaysPLC Internal Relays
PLC Internal Relays
 
Timer in PLC and its Types.pdf
Timer in PLC and its Types.pdfTimer in PLC and its Types.pdf
Timer in PLC and its Types.pdf
 
Introduction to control system 1
Introduction to control system 1Introduction to control system 1
Introduction to control system 1
 
SCR
SCRSCR
SCR
 
Chapter 1 introduction to control system
Chapter 1 introduction to control systemChapter 1 introduction to control system
Chapter 1 introduction to control system
 
Input - Output Devices for PLC
Input - Output Devices for PLCInput - Output Devices for PLC
Input - Output Devices for PLC
 
Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...
 
Electrical Classic Control (Basics)
Electrical Classic Control (Basics)Electrical Classic Control (Basics)
Electrical Classic Control (Basics)
 
Plc presentation
Plc presentation Plc presentation
Plc presentation
 
Three phase inverter - 180 and 120 Degree Mode of Conduction
Three phase inverter - 180 and 120 Degree Mode of ConductionThree phase inverter - 180 and 120 Degree Mode of Conduction
Three phase inverter - 180 and 120 Degree Mode of Conduction
 

Viewers also liked (9)

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

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
John Todora
 

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

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 Intro to programming
PLC Intro to programmingPLC Intro to programming
PLC Intro to programming
 
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

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
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Recently uploaded (20)

Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
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
 
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
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
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
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
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
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari 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
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
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
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 

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.