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

Final report of line follower robot
Final report of line follower robotFinal report of line follower robot
Final report of line follower robotRohit Dadoriya
Β 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices Ameen San
Β 
Ladder Intro Tutorial
Ladder Intro TutorialLadder Intro Tutorial
Ladder Intro Tutorialplc_course
Β 
Single phase full bridge inverter
Single phase full bridge inverterSingle phase full bridge inverter
Single phase full bridge inverterNisarg Amin
Β 
Basics of plc_programming1
Basics of plc_programming1Basics of plc_programming1
Basics of plc_programming1Enhmandah Hemeelee
Β 
Relay Presentation PPT by G@nesh
Relay Presentation PPT by G@neshRelay Presentation PPT by G@nesh
Relay Presentation PPT by G@neshKOMMARINASANTHOSH
Β 
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 ConductionMalarselvamV
Β 
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.pdfSAGE Automation
Β 
Input - Output Devices for PLC
Input - Output Devices for PLCInput - Output Devices for PLC
Input - Output Devices for PLCArko Saha
Β 
Dc shunt motors; construction and working
Dc shunt motors; construction and workingDc shunt motors; construction and working
Dc shunt motors; construction and workingSourabh sharma
Β 
Plc example presentation
Plc example presentationPlc example presentation
Plc example presentationRoshit Kadiru
Β 
Arduino line follower robot
Arduino line follower robot Arduino line follower robot
Arduino line follower robot Dimuth C Bandara
Β 
Speed control of Three phase Induction motor using AC voltage regulator
Speed control of Three phase Induction motor using AC voltage regulatorSpeed control of Three phase Induction motor using AC voltage regulator
Speed control of Three phase Induction motor using AC voltage regulatorShivagee Raj
Β 
Electromagnetic relay
Electromagnetic relayElectromagnetic relay
Electromagnetic relayjawaharramaya
Β 
To control two lamp (in parallel) with one switch
To control two lamp (in parallel) with one switch To control two lamp (in parallel) with one switch
To control two lamp (in parallel) with one switch Salman Jailani
Β 

What's hot (20)

What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
Β 
ppt on PLC.pptx
ppt on  PLC.pptxppt on  PLC.pptx
ppt on PLC.pptx
Β 
Final report of line follower robot
Final report of line follower robotFinal report of line follower robot
Final report of line follower robot
Β 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices
Β 
Ladder Intro Tutorial
Ladder Intro TutorialLadder Intro Tutorial
Ladder Intro Tutorial
Β 
Single phase full bridge inverter
Single phase full bridge inverterSingle phase full bridge inverter
Single phase full bridge inverter
Β 
Basics of plc_programming1
Basics of plc_programming1Basics of plc_programming1
Basics of plc_programming1
Β 
Relay Presentation PPT by G@nesh
Relay Presentation PPT by G@neshRelay Presentation PPT by G@nesh
Relay Presentation PPT by G@nesh
Β 
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
Β 
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
Β 
Input - Output Devices for PLC
Input - Output Devices for PLCInput - Output Devices for PLC
Input - Output Devices for PLC
Β 
Dc shunt motors; construction and working
Dc shunt motors; construction and workingDc shunt motors; construction and working
Dc shunt motors; construction and working
Β 
Plc example presentation
Plc example presentationPlc example presentation
Plc example presentation
Β 
Arduino line follower robot
Arduino line follower robot Arduino line follower robot
Arduino line follower robot
Β 
Scr firing circuits
Scr firing circuitsScr firing circuits
Scr firing circuits
Β 
Speed control of Three phase Induction motor using AC voltage regulator
Speed control of Three phase Induction motor using AC voltage regulatorSpeed control of Three phase Induction motor using AC voltage regulator
Speed control of Three phase Induction motor using AC voltage regulator
Β 
Electromagnetic relay
Electromagnetic relayElectromagnetic relay
Electromagnetic relay
Β 
To control two lamp (in parallel) with one switch
To control two lamp (in parallel) with one switch To control two lamp (in parallel) with one switch
To control two lamp (in parallel) with one switch
Β 
Plc presentation
Plc presentation Plc presentation
Plc presentation
Β 
Plc notes
Plc notesPlc notes
Plc notes
Β 

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
Β 
Ladder logic tutorial
Ladder logic tutorialLadder logic tutorial
Ladder logic tutorialdas1964
Β 
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
Β 

Viewers also liked (11)

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
Β 
Ladder logic tutorial
Ladder logic tutorialLadder logic tutorial
Ladder logic tutorial
Β 
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
Β 
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 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
Β 
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
Β 
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
Β 
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
Β 
PLC HO4.pdf
PLC HO4.pdfPLC HO4.pdf
PLC HO4.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

US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
Β 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
Β 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
Β 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
Β 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
Β 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
Β 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
Β 
lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxsomshekarkn64
Β 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
Β 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
Β 
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube ExchangerAnamika Sarkar
Β 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
Β 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
Β 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
Β 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
Β 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
Β 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
Β 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
Β 

Recently uploaded (20)

US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
Β 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
Β 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
Β 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
Β 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
Β 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
Β 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
Β 
lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptx
Β 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
Β 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
Β 
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Β 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Β 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
Β 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
Β 
young call girls in Rajiv ChowkπŸ” 9953056974 πŸ” Delhi escort Service
young call girls in Rajiv ChowkπŸ” 9953056974 πŸ” Delhi escort Serviceyoung call girls in Rajiv ChowkπŸ” 9953056974 πŸ” Delhi escort Service
young call girls in Rajiv ChowkπŸ” 9953056974 πŸ” Delhi escort Service
Β 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
Β 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Β 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
Β 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
Β 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
Β 

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.