SlideShare a Scribd company logo
Chapter 03 Logic Concepts,
Latch/Unlatch, Intro to Processor
Status File
Basic logic concepts, Latch/Unlatch,
Set/Reset coils
The Binary Concept –
Multiple Input
 This two-state binary concept, applied to gates, can be
the basis for making decisions in ladder logic.
 The gate is a device that has one or more inputs and
one output.
 The gate will perform a logical decision based on the
status of its inputs and produce a result at its one output.
Using Gates to Make
Decisions
 The logical AND gate or function.
 All inputs must be true to obtain an output.
AND
Gate
Air Conditioner
Switch
Blower Switch
Cold Air
The automotive air conditioning to work,
the Air Conditioner must be turned on
and the Blower must be turned on.
Using Gates to Make
Decisions
 The logical OR gate or function.
 Any one input must be true to obtain an
output.
OR
Gate
Passenger
Door Switch
Driver Door
Switch
Dome Light
The automotive dome light will be on
when the passenger door OR the driver
door or both door switch(s) is activated.
The AND Function
 The AND function has two or
more inputs and one output.
The input signals are labeled
A, B, C, etc. and the output
signal is labeled Y.
 A binary 1 represents the
presence of a voltage (signal).
A binary 0 represents the
absence of voltage (no signal,
0 V or ground).
 Logic functions can be
represented using a truth table.
The truth table lists all possible
input status conditions with the
corresponding output status for
each set of input condition.
AND
Gate
A
B
YInputs
Output
Two input AND gate
An AND Gate Application
 An AND gate functions like switches in series.
 The light will only be ON when switch A AND
switch B are both closed.
AND
Gate
PB1 = 1
LT1 ON
PB2 = 1
The OR Function
 The OR function has two or
more inputs and one output.
The input signals are labeled
A, B, C, etc. and the output
signal is labeled Y.
 A binary 1 represents the
presence of a voltage
(signal). A binary 0
represents the absence of
voltage (no signal, 0 V or
ground).
 Logic functions can be
represented using a truth
table. The truth table lists all
possible input status
conditions with the
corresponding output status
for each set of input
condition.
OR
Gate
A
B
YInputs
Output
Two input OR gate
An OR Gate Application
 An OR gate functions like switches in parallel.
 The light will be ON when either or both switch A
OR switch B are closed.
OR
Gate
PB3 = 1
PB4 = 0
LT2 ON
The NOT Function
(Inverter)
 The NOT function gate,
also called an inverter,
has one input and one
output.
 The NOT gate functions
like its name states, it
inverts the input signal
status.
 If the input is a 1 the
output is a 0.
 If the input is a 0, the
output is a 1.
Input Input
A A
(not A)
A NOT Gate Application
 The NOT gate functions like a normally closed switch.
 The light will be ON if the switch is NOT being activated
and OFF when the switch IS being activated.
Input Input
PB5 PB5
(not PB5)
The NAND Function
 The NAND gate functions
like an AND gate with an
INVERTER on its output.
 The only time that the
output of a NAND gate is
a 0 is when all the inputs
are a binary 1.
NAND
Gate
PB6
PB7
Light
Two input NAND gate
The NOR Function
 The NOR gate functions
like an OR gate with an
INVERTER on its output.
 The only time that the
output of a NOR gate is a
1 is when all the inputs
are a binary 0.
NOR
Gate
PB8
PB9
LT5
Two input NOR gate
The XOR (Exclusive- OR)
Function
 The XOR gate has two
inputs and one output.
 The output of this gate is a 1
when the two inputs are
opposite to each other.
Therefore, one input a 1 and
the other a 0.
 The output of this gate is a 0
when both inputs are the
same, either two 0’s or two
1’s.
XOR
Gate
PB10
PB11
LT6
Important!
 When reading or designing PLC/PAC
ladder logic it’s not enough to only have
the PLC/PAC ladder logic. You MUST
know the status of the input field device(s).
 The circuits on the following slides will
help support this idea.
 While reading the following circuits,
remember how the I/O interacts with the
PLC/PAC instructions in memory.
AND Gate Circuits
AND
Gate
LS10
LS10A
SOL010Inputs
Output
Two input AND gate
Electromechanical Ladder Diagram
PLC/PAC Ladder Diagram
OR Gate Circuits
OR
Gate
LS011
LS012
Sol011Inputs
Output
Two input OR gate
Electromechanical Ladder Diagram
PLC/PAC Ladder Diagram
Combinations of Gates
OR
Gate AND
Gate
LS013
LS014 LT013
Inputs
Output
CR
Electromechanical Ladder Diagram
PLC/PAC Ladder Diagram
Combination of Gates
AND
Gate
OR
Gate
OR
Gate
LS015
LS016
LT016Inputs
Output
CR01
CR02
Electromechanical Ladder Diagram
PLC/PAC Ladder Diagram
Combination of Gates
AND
Gate
OR
Gate
LS017
LS031
AH017
Inputs Output
LS018
Electromechanical Ladder Diagram
PLC/PAC Ladder Diagram
Combination of Gates
AND
Gate
OR
Gate
AND
Gate
PB019
PB020
LT019Inputs
Output
PB021
PB022
Electromechanical Ladder Diagram
PLC/PAC Ladder Diagram
Why is this
instruction
programmed open?
Combination of Gates
AND
Gate
CR6
LS021
SOL021
Inputs Output
CR6
Electromechanical Ladder Diagram
PLC/PAC Ladder Diagram
Why are these
instruction
programmed open?
Combination of Gates
Electromechanical Ladder Diagram
PLC/PAC Ladder Diagram
This is an XOR circuit
Combination of Gates
AND
Gate
OR
Gate
A
B
M
Inputs
Output
C
D
Electromechanical Ladder Diagram
Draw the PLC/PAC
ladder diagram
for this logic
 Latch coils – Output Latched (OTL) instructions energize when the
rung containing the OTL is true and will stay energized when the
rung goes false.
 Unlatch coils – Output Unlatch (OTU) instructions will unlatch or
de-energize an OTL instruction having the same address as the
OTU when the rung containing the OTU becomes true.
 If the OTU instruction remains true the OTL instruction with the
same address will never energize.
 The OTU instruction can turn off any bit in the processor memory
that is set to a logic 1.
 OTL and OUT instructions use tags of data type BOOL.
Latch/Unlatch Coils –
ControlLogix
 The Siemens Set/Reset output instruction
work exactly the same as the AB
OTL/OTU instructions but they are called;
Set (S) and Reset (R)
Latch/Unlatch Coils –
Siemens
 The Creative Components Workbench (CCW)
Set/Reset output instruction work exactly the same
as the AB OTL/OTU instructions and the Siemens
Set (S) and Reset (R). These are also called Set
(S) and Reset (R).
 The Set/Reset instructions conform to the IEC
61131-3 standard.
Latch/Unlatch Coils –
CCW
 Obtaining the process status in a
ControlLogix processor is an advance
topic and will not be discussed in this
course.
 A few status bits will be discussed when
needed.
Processor Status –
ControlLogix
 Obtaining the process status in a Siemens
processor is an advance topic and will not
be discussed in this course.
 Any status required will be discussed
when needed.
Processor Status – Siemens
Useful Status File Addresses
(ControlLogix)
 The following status file address will be
useful for this and many labs in the
PLC/PAC courses:
 S:FS – First Scan Bit
 This bit will be set to a logic ‘1’ at the beginning of
the very first scan of the program. At the beginning
of the next scan this bit will reset to a logic ‘0’ and
will not set to a logic ‘1’ again until the processor is
switched from PROG mode to RUN mode.
 This is the tag for the First Scan Bit. It cannot be
picked from a tag list and must be manually typed
into the instruction tag field.
Useful Status File Addresses
(CCW)
 The following status file address will be
useful for this and many labs in the
PLC/PAC courses:
 _SYSVA_FIRST_SCAN – First Scan Bit
 This bit will be set to a logic ‘1’ at the beginning of
the very first scan of the program. At the beginning
of the next scan this bit will reset to a logic ‘0’ and
will not set to a logic ‘1’ again until the processor is
switched from PROG mode to RUN mode.
 This is the tag for the First Scan Bit. It can be
picked from a tag list.

More Related Content

What's hot

03 shift registers_and_more_data_manipulation_sp15
03 shift registers_and_more_data_manipulation_sp1503 shift registers_and_more_data_manipulation_sp15
03 shift registers_and_more_data_manipulation_sp15
John Todora
 
Data Manipulation and Math Instruction on RSLogix 500
Data Manipulation and Math Instruction on RSLogix 500Data Manipulation and Math Instruction on RSLogix 500
Data Manipulation and Math Instruction on RSLogix 500
Lino Hugun Saputra
 
10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14
John Todora
 
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutine
Ashim Saha
 
8051 data type and directives
8051 data type and directives8051 data type and directives
8051 data type and directives
SARITHA REDDY
 
microprocessor
 microprocessor microprocessor
microprocessor
ATTO RATHORE
 
8080 8085 assembly language_programming manual programando
8080 8085 assembly  language_programming manual programando 8080 8085 assembly  language_programming manual programando
8080 8085 assembly language_programming manual programando
Universidad de Tarapaca
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
techbed
 
Unit 5 assembly language programming
Unit 5   assembly language programmingUnit 5   assembly language programming
Unit 5 assembly language programming
Kartik Sharma
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
Senthil Kumar
 
8051 assembly programming
8051 assembly programming8051 assembly programming
8051 assembly programming
sergeiseq
 
Assemblers: Ch03
Assemblers: Ch03Assemblers: Ch03
Assemblers: Ch03
desta_gebre
 
Assembler
AssemblerAssembler
Assembler
ImaanRoshan
 
Compilers
CompilersCompilers
Compilers
jayashri kolekar
 
Sp chap2
Sp chap2Sp chap2
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
Stefan Oprea
 
system software 16 marks
system software 16 markssystem software 16 marks
system software 16 marks
vvcetit
 
Micro overview
Micro overviewMicro overview
Micro overview
lamamokalled
 
8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C
Aman Sharma
 
Micro task1
Micro task1Micro task1
Micro task1
ChetanShahukari
 

What's hot (20)

03 shift registers_and_more_data_manipulation_sp15
03 shift registers_and_more_data_manipulation_sp1503 shift registers_and_more_data_manipulation_sp15
03 shift registers_and_more_data_manipulation_sp15
 
Data Manipulation and Math Instruction on RSLogix 500
Data Manipulation and Math Instruction on RSLogix 500Data Manipulation and Math Instruction on RSLogix 500
Data Manipulation and Math Instruction on RSLogix 500
 
10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14
 
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutine
 
8051 data type and directives
8051 data type and directives8051 data type and directives
8051 data type and directives
 
microprocessor
 microprocessor microprocessor
microprocessor
 
8080 8085 assembly language_programming manual programando
8080 8085 assembly  language_programming manual programando 8080 8085 assembly  language_programming manual programando
8080 8085 assembly language_programming manual programando
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
 
Unit 5 assembly language programming
Unit 5   assembly language programmingUnit 5   assembly language programming
Unit 5 assembly language programming
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
 
8051 assembly programming
8051 assembly programming8051 assembly programming
8051 assembly programming
 
Assemblers: Ch03
Assemblers: Ch03Assemblers: Ch03
Assemblers: Ch03
 
Assembler
AssemblerAssembler
Assembler
 
Compilers
CompilersCompilers
Compilers
 
Sp chap2
Sp chap2Sp chap2
Sp chap2
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
system software 16 marks
system software 16 markssystem software 16 marks
system software 16 marks
 
Micro overview
Micro overviewMicro overview
Micro overview
 
8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C
 
Micro task1
Micro task1Micro task1
Micro task1
 

Similar to 08 chapter03 06_status_bits_otl_otu_scan_logic_fa16

06 chapter06 binary_logic_systems_Rev02
06 chapter06 binary_logic_systems_Rev0206 chapter06 binary_logic_systems_Rev02
06 chapter06 binary_logic_systems_Rev02
John Todora
 
8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt
notagain0712
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic Controller
Valai Ganesh
 
Components logic gates
Components   logic gatesComponents   logic gates
Components logic gates
sld1950
 
2th year iv sem de lab manual
2th year iv sem de lab manual2th year iv sem de lab manual
2th year iv sem de lab manual
HARISH KUMAR MAHESHWARI
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
KINGZzofYouTube
 
CAM ladder logic diagram
CAM ladder logic diagramCAM ladder logic diagram
CAM ladder logic diagram
Maharshi Soni
 
Chap 3
Chap 3Chap 3
Chap 3
Abid Mahmood
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
WilliamJosephat1
 
logic gates
logic gateslogic gates
BASIC COMPONENTS OF PLC NEW.ppt
BASIC COMPONENTS OF PLC NEW.pptBASIC COMPONENTS OF PLC NEW.ppt
BASIC COMPONENTS OF PLC NEW.ppt
prakashpacet
 
Logic gates
Logic gatesLogic gates
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
AswiniT3
 
Logic Gates & Family.pdf
Logic Gates & Family.pdfLogic Gates & Family.pdf
Logic Gates & Family.pdf
DanishKhan313548
 
Plc
PlcPlc
Logic gates And Boolen algebra
Logic gates And  Boolen algebraLogic gates And  Boolen algebra
Logic gates And Boolen algebra
Veera Venky
 
LEARNING%20ACTIVITY%20Terminology.pptx
LEARNING%20ACTIVITY%20Terminology.pptxLEARNING%20ACTIVITY%20Terminology.pptx
LEARNING%20ACTIVITY%20Terminology.pptx
SantiagoHernndez96
 
Module 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxModule 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptx
DrVaibhavMeshram
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
Techglyphs
 
Digital logic mohammed salim ch3
Digital logic mohammed salim ch3Digital logic mohammed salim ch3
Digital logic mohammed salim ch3
Asst Lect Mohammed Salim
 

Similar to 08 chapter03 06_status_bits_otl_otu_scan_logic_fa16 (20)

06 chapter06 binary_logic_systems_Rev02
06 chapter06 binary_logic_systems_Rev0206 chapter06 binary_logic_systems_Rev02
06 chapter06 binary_logic_systems_Rev02
 
8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic Controller
 
Components logic gates
Components   logic gatesComponents   logic gates
Components logic gates
 
2th year iv sem de lab manual
2th year iv sem de lab manual2th year iv sem de lab manual
2th year iv sem de lab manual
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
 
CAM ladder logic diagram
CAM ladder logic diagramCAM ladder logic diagram
CAM ladder logic diagram
 
Chap 3
Chap 3Chap 3
Chap 3
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
logic gates
logic gateslogic gates
logic gates
 
BASIC COMPONENTS OF PLC NEW.ppt
BASIC COMPONENTS OF PLC NEW.pptBASIC COMPONENTS OF PLC NEW.ppt
BASIC COMPONENTS OF PLC NEW.ppt
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Logic Gates & Family.pdf
Logic Gates & Family.pdfLogic Gates & Family.pdf
Logic Gates & Family.pdf
 
Plc
PlcPlc
Plc
 
Logic gates And Boolen algebra
Logic gates And  Boolen algebraLogic gates And  Boolen algebra
Logic gates And Boolen algebra
 
LEARNING%20ACTIVITY%20Terminology.pptx
LEARNING%20ACTIVITY%20Terminology.pptxLEARNING%20ACTIVITY%20Terminology.pptx
LEARNING%20ACTIVITY%20Terminology.pptx
 
Module 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxModule 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptx
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
 
Digital logic mohammed salim ch3
Digital logic mohammed salim ch3Digital logic mohammed salim ch3
Digital logic mohammed salim ch3
 

More from John Todora

04 scaling analog_datal_sp17
04 scaling analog_datal_sp1704 scaling analog_datal_sp17
04 scaling analog_datal_sp17
John Todora
 
03 analog control_sp17
03 analog control_sp1703 analog control_sp17
03 analog control_sp17
John Todora
 
01 control logix_arrays_sp17
01 control logix_arrays_sp1701 control logix_arrays_sp17
01 control logix_arrays_sp17
John Todora
 
Comparison instructions, AB, Siemens and AB CCW
Comparison instructions, AB, Siemens and AB CCWComparison instructions, AB, Siemens and AB CCW
Comparison instructions, AB, Siemens and AB CCW
John Todora
 
Lab02 review
Lab02 reviewLab02 review
Lab02 review
John Todora
 
Subroutines rev01 fa16
Subroutines rev01 fa16Subroutines rev01 fa16
Subroutines rev01 fa16
John Todora
 
Math cl ccw_siemens_rev01_fa16
Math cl ccw_siemens_rev01_fa16Math cl ccw_siemens_rev01_fa16
Math cl ccw_siemens_rev01_fa16
John Todora
 
ControlLogix Counters FA16
ControlLogix Counters FA16ControlLogix Counters FA16
ControlLogix Counters FA16
John Todora
 
Lab02 lead in
Lab02 lead inLab02 lead in
Lab02 lead in
John Todora
 
ControlLogix Timers FA16
ControlLogix Timers FA16ControlLogix Timers FA16
ControlLogix Timers FA16
John Todora
 
02 chapter02 fa16
02 chapter02 fa1602 chapter02 fa16
02 chapter02 fa16
John Todora
 
01 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa1601 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa16
John Todora
 
07 chapter07 loop_diagrams
07 chapter07 loop_diagrams07 chapter07 loop_diagrams
07 chapter07 loop_diagrams
John Todora
 
04 chapter04 specification_forms
04 chapter04 specification_forms04 chapter04 specification_forms
04 chapter04 specification_forms
John Todora
 
03 chapter03 lists_indexes_databases
03 chapter03 lists_indexes_databases03 chapter03 lists_indexes_databases
03 chapter03 lists_indexes_databases
John Todora
 
02 chapter02 p&ids_and_symbols_split_animations
02 chapter02 p&ids_and_symbols_split_animations02 chapter02 p&ids_and_symbols_split_animations
02 chapter02 p&ids_and_symbols_split_animations
John Todora
 
01 chapter01 process_flow_diagram
01 chapter01 process_flow_diagram01 chapter01 process_flow_diagram
01 chapter01 process_flow_diagram
John Todora
 
00 introduction
00 introduction00 introduction
00 introduction
John Todora
 
EMEC130 P&ID Symbol Primer
EMEC130 P&ID Symbol PrimerEMEC130 P&ID Symbol Primer
EMEC130 P&ID Symbol Primer
John Todora
 
Control Systems Basics
Control Systems BasicsControl Systems Basics
Control Systems Basics
John Todora
 

More from John Todora (20)

04 scaling analog_datal_sp17
04 scaling analog_datal_sp1704 scaling analog_datal_sp17
04 scaling analog_datal_sp17
 
03 analog control_sp17
03 analog control_sp1703 analog control_sp17
03 analog control_sp17
 
01 control logix_arrays_sp17
01 control logix_arrays_sp1701 control logix_arrays_sp17
01 control logix_arrays_sp17
 
Comparison instructions, AB, Siemens and AB CCW
Comparison instructions, AB, Siemens and AB CCWComparison instructions, AB, Siemens and AB CCW
Comparison instructions, AB, Siemens and AB CCW
 
Lab02 review
Lab02 reviewLab02 review
Lab02 review
 
Subroutines rev01 fa16
Subroutines rev01 fa16Subroutines rev01 fa16
Subroutines rev01 fa16
 
Math cl ccw_siemens_rev01_fa16
Math cl ccw_siemens_rev01_fa16Math cl ccw_siemens_rev01_fa16
Math cl ccw_siemens_rev01_fa16
 
ControlLogix Counters FA16
ControlLogix Counters FA16ControlLogix Counters FA16
ControlLogix Counters FA16
 
Lab02 lead in
Lab02 lead inLab02 lead in
Lab02 lead in
 
ControlLogix Timers FA16
ControlLogix Timers FA16ControlLogix Timers FA16
ControlLogix Timers FA16
 
02 chapter02 fa16
02 chapter02 fa1602 chapter02 fa16
02 chapter02 fa16
 
01 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa1601 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa16
 
07 chapter07 loop_diagrams
07 chapter07 loop_diagrams07 chapter07 loop_diagrams
07 chapter07 loop_diagrams
 
04 chapter04 specification_forms
04 chapter04 specification_forms04 chapter04 specification_forms
04 chapter04 specification_forms
 
03 chapter03 lists_indexes_databases
03 chapter03 lists_indexes_databases03 chapter03 lists_indexes_databases
03 chapter03 lists_indexes_databases
 
02 chapter02 p&ids_and_symbols_split_animations
02 chapter02 p&ids_and_symbols_split_animations02 chapter02 p&ids_and_symbols_split_animations
02 chapter02 p&ids_and_symbols_split_animations
 
01 chapter01 process_flow_diagram
01 chapter01 process_flow_diagram01 chapter01 process_flow_diagram
01 chapter01 process_flow_diagram
 
00 introduction
00 introduction00 introduction
00 introduction
 
EMEC130 P&ID Symbol Primer
EMEC130 P&ID Symbol PrimerEMEC130 P&ID Symbol Primer
EMEC130 P&ID Symbol Primer
 
Control Systems Basics
Control Systems BasicsControl Systems Basics
Control Systems Basics
 

Recently uploaded

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 

Recently uploaded (20)

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 

08 chapter03 06_status_bits_otl_otu_scan_logic_fa16

  • 1. Chapter 03 Logic Concepts, Latch/Unlatch, Intro to Processor Status File Basic logic concepts, Latch/Unlatch, Set/Reset coils
  • 2. The Binary Concept – Multiple Input  This two-state binary concept, applied to gates, can be the basis for making decisions in ladder logic.  The gate is a device that has one or more inputs and one output.  The gate will perform a logical decision based on the status of its inputs and produce a result at its one output.
  • 3. Using Gates to Make Decisions  The logical AND gate or function.  All inputs must be true to obtain an output. AND Gate Air Conditioner Switch Blower Switch Cold Air The automotive air conditioning to work, the Air Conditioner must be turned on and the Blower must be turned on.
  • 4. Using Gates to Make Decisions  The logical OR gate or function.  Any one input must be true to obtain an output. OR Gate Passenger Door Switch Driver Door Switch Dome Light The automotive dome light will be on when the passenger door OR the driver door or both door switch(s) is activated.
  • 5. The AND Function  The AND function has two or more inputs and one output. The input signals are labeled A, B, C, etc. and the output signal is labeled Y.  A binary 1 represents the presence of a voltage (signal). A binary 0 represents the absence of voltage (no signal, 0 V or ground).  Logic functions can be represented using a truth table. The truth table lists all possible input status conditions with the corresponding output status for each set of input condition. AND Gate A B YInputs Output Two input AND gate
  • 6. An AND Gate Application  An AND gate functions like switches in series.  The light will only be ON when switch A AND switch B are both closed. AND Gate PB1 = 1 LT1 ON PB2 = 1
  • 7. The OR Function  The OR function has two or more inputs and one output. The input signals are labeled A, B, C, etc. and the output signal is labeled Y.  A binary 1 represents the presence of a voltage (signal). A binary 0 represents the absence of voltage (no signal, 0 V or ground).  Logic functions can be represented using a truth table. The truth table lists all possible input status conditions with the corresponding output status for each set of input condition. OR Gate A B YInputs Output Two input OR gate
  • 8. An OR Gate Application  An OR gate functions like switches in parallel.  The light will be ON when either or both switch A OR switch B are closed. OR Gate PB3 = 1 PB4 = 0 LT2 ON
  • 9. The NOT Function (Inverter)  The NOT function gate, also called an inverter, has one input and one output.  The NOT gate functions like its name states, it inverts the input signal status.  If the input is a 1 the output is a 0.  If the input is a 0, the output is a 1. Input Input A A (not A)
  • 10. A NOT Gate Application  The NOT gate functions like a normally closed switch.  The light will be ON if the switch is NOT being activated and OFF when the switch IS being activated. Input Input PB5 PB5 (not PB5)
  • 11. The NAND Function  The NAND gate functions like an AND gate with an INVERTER on its output.  The only time that the output of a NAND gate is a 0 is when all the inputs are a binary 1. NAND Gate PB6 PB7 Light Two input NAND gate
  • 12. The NOR Function  The NOR gate functions like an OR gate with an INVERTER on its output.  The only time that the output of a NOR gate is a 1 is when all the inputs are a binary 0. NOR Gate PB8 PB9 LT5 Two input NOR gate
  • 13. The XOR (Exclusive- OR) Function  The XOR gate has two inputs and one output.  The output of this gate is a 1 when the two inputs are opposite to each other. Therefore, one input a 1 and the other a 0.  The output of this gate is a 0 when both inputs are the same, either two 0’s or two 1’s. XOR Gate PB10 PB11 LT6
  • 14. Important!  When reading or designing PLC/PAC ladder logic it’s not enough to only have the PLC/PAC ladder logic. You MUST know the status of the input field device(s).  The circuits on the following slides will help support this idea.  While reading the following circuits, remember how the I/O interacts with the PLC/PAC instructions in memory.
  • 15. AND Gate Circuits AND Gate LS10 LS10A SOL010Inputs Output Two input AND gate Electromechanical Ladder Diagram PLC/PAC Ladder Diagram
  • 16. OR Gate Circuits OR Gate LS011 LS012 Sol011Inputs Output Two input OR gate Electromechanical Ladder Diagram PLC/PAC Ladder Diagram
  • 17. Combinations of Gates OR Gate AND Gate LS013 LS014 LT013 Inputs Output CR Electromechanical Ladder Diagram PLC/PAC Ladder Diagram
  • 19. Combination of Gates AND Gate OR Gate LS017 LS031 AH017 Inputs Output LS018 Electromechanical Ladder Diagram PLC/PAC Ladder Diagram
  • 21. Why is this instruction programmed open? Combination of Gates AND Gate CR6 LS021 SOL021 Inputs Output CR6 Electromechanical Ladder Diagram PLC/PAC Ladder Diagram
  • 22. Why are these instruction programmed open? Combination of Gates Electromechanical Ladder Diagram PLC/PAC Ladder Diagram This is an XOR circuit
  • 23. Combination of Gates AND Gate OR Gate A B M Inputs Output C D Electromechanical Ladder Diagram Draw the PLC/PAC ladder diagram for this logic
  • 24.  Latch coils – Output Latched (OTL) instructions energize when the rung containing the OTL is true and will stay energized when the rung goes false.  Unlatch coils – Output Unlatch (OTU) instructions will unlatch or de-energize an OTL instruction having the same address as the OTU when the rung containing the OTU becomes true.  If the OTU instruction remains true the OTL instruction with the same address will never energize.  The OTU instruction can turn off any bit in the processor memory that is set to a logic 1.  OTL and OUT instructions use tags of data type BOOL. Latch/Unlatch Coils – ControlLogix
  • 25.  The Siemens Set/Reset output instruction work exactly the same as the AB OTL/OTU instructions but they are called; Set (S) and Reset (R) Latch/Unlatch Coils – Siemens
  • 26.  The Creative Components Workbench (CCW) Set/Reset output instruction work exactly the same as the AB OTL/OTU instructions and the Siemens Set (S) and Reset (R). These are also called Set (S) and Reset (R).  The Set/Reset instructions conform to the IEC 61131-3 standard. Latch/Unlatch Coils – CCW
  • 27.  Obtaining the process status in a ControlLogix processor is an advance topic and will not be discussed in this course.  A few status bits will be discussed when needed. Processor Status – ControlLogix
  • 28.  Obtaining the process status in a Siemens processor is an advance topic and will not be discussed in this course.  Any status required will be discussed when needed. Processor Status – Siemens
  • 29. Useful Status File Addresses (ControlLogix)  The following status file address will be useful for this and many labs in the PLC/PAC courses:  S:FS – First Scan Bit  This bit will be set to a logic ‘1’ at the beginning of the very first scan of the program. At the beginning of the next scan this bit will reset to a logic ‘0’ and will not set to a logic ‘1’ again until the processor is switched from PROG mode to RUN mode.  This is the tag for the First Scan Bit. It cannot be picked from a tag list and must be manually typed into the instruction tag field.
  • 30. Useful Status File Addresses (CCW)  The following status file address will be useful for this and many labs in the PLC/PAC courses:  _SYSVA_FIRST_SCAN – First Scan Bit  This bit will be set to a logic ‘1’ at the beginning of the very first scan of the program. At the beginning of the next scan this bit will reset to a logic ‘0’ and will not set to a logic ‘1’ again until the processor is switched from PROG mode to RUN mode.  This is the tag for the First Scan Bit. It can be picked from a tag list.