SlideShare a Scribd company logo
1 of 9
Download to read offline
3-1
Dr. D. J. Jackson Lecture 3-1Electrical & Computer Engineering
Programmable Logic
Controllers
PLC Addressing and Basic
Instructions
Dr. D. J. Jackson Lecture 3-2Electrical & Computer Engineering
Basic addressing
• For the Allen-Bradley PLCs and the simulator
used, the input and output image areas (in
addition to other data) are held in “data files”
• Each “data file” holds information such as
– Discrete input values
– Discrete output values
– Values associated with timers
– Values associated with counters
– Status information
– Etc.
3-2
Dr. D. J. Jackson Lecture 3-3Electrical & Computer Engineering
PLC data files
Simulator data files AB PLC data files
Dr. D. J. Jackson Lecture 3-4Electrical & Computer Engineering
I/O memory mapping
• Basic AB PLC addressing
X1:x.0/0
Data file type
I – input
O – output
S – status
B – binary
T- timer
C-counter
Data file number
(can be omitted for the
basic data files)
Slot number (not used with the simulator)
Word number: selects
a specific word in
a data file
Bit number
I/O located on the controller (embedded I/O) is slot 0.
I/O added to the controller (expansion I/O) begins with slot 1.
3-3
Dr. D. J. Jackson Lecture 3-5Electrical & Computer Engineering
Example Addressing
CPU
Module
(slot 0)
Digital
Input
Module
(slot 1)
16 inputs
Digital
Output
Module
(slot 2)
8 outputs
Would occupy
addresses
I1:1.0/0
through
I1:1.0/15
Would occupy
addresses
O0:2.0/0
through
O0:2.0/7
Dr. D. J. Jackson Lecture 3-6Electrical & Computer Engineering
Basic instructions
• Examine If Closed (XIC)
• Examine If Open (XIO)
• Output Energize (OTE)
• Output Latch (OTL)
• Output Unlatch (OTU)
• One-shot Rising (OSR)
3-4
Dr. D. J. Jackson Lecture 3-7Electrical & Computer Engineering
Examine if closed (XIC)
• Alternate name: Normally open contact
• Use the XIC instruction in your ladder program to
determine if a bit is on.
– When the instruction is executed, if the bit addressed is on
(1), then the instruction is evaluated as TRUE.
– When the instruction is executed, if the bit addressed is off
(0), then the instruction is evaluated as FALSE.
Instruction symbol
Normally open switch is open
Normally open switch is closed
Dr. D. J. Jackson Lecture 3-8Electrical & Computer Engineering
Examine if open (XIO)
• Alternate name: Normally closed contact
• Use the XIO instruction in your ladder program to
determine if a bit is off.
– When the instruction is executed, if the bit addressed is on
(1), then the instruction is evaluated as FALSE.
– When the instruction is executed, if the bit addressed is off
(0), then the instruction is evaluated as TRUE.
Instruction symbol
Normally open switch is open
Normally open switch is closedAn XIO instruction inverts the
state of the bit it references.
3-5
Dr. D. J. Jackson Lecture 3-9Electrical & Computer Engineering
Output energize (OTE)
• Alternate name: coil
• This instruction is usually used in conjunction with
XIC or XIO or any other input instruction.
• If the logic preceding the OTE instruction is true (1),
the OTE instruction will be energized
Instruction symbol
Not energized
Energized
An OTE instruction can
only be the last
instruction on a rung.
Dr. D. J. Jackson Lecture 3-10Electrical & Computer Engineering
Output latch (OTL)
• The OTL instruction is used only to turn
a bit on and latch it on
Instruction symbol
L
Initially not
energized
Energized
Latched
3-6
Dr. D. J. Jackson Lecture 3-11Electrical & Computer Engineering
Output unlatch (OTU)
• The OTU instruction is used only to turn
a bit off and latch it off
• OTL and OTU are generally used in pairs
Instruction symbol
U
Dr. D. J. Jackson Lecture 3-12Electrical & Computer Engineering
One-shot rising (OSR)
• When the rung conditions preceding the OSR
go from false-to-true, the OSR instruction
goes true also but for only one scan
Instruction symbol
OSR I:1/0
B3:0/0
One PLC scan
3-7
Dr. D. J. Jackson Lecture 3-13Electrical & Computer Engineering
Branches
• Branches can be inserted in ladder logic programs to
create parallel combinations of various ladder logic
elements
Dr. D. J. Jackson Lecture 3-14Electrical & Computer Engineering
Multiple Series/Parallel Branches
• Multiple series/parallel branches can be utilized with
multiple inputs and also affecting multiple outputs in
parallel
3-8
Dr. D. J. Jackson Lecture 3-15Electrical & Computer Engineering
PLC simulator usage
• Ladder logic elements (instructions) can be dragged
and dropped onto the ladder window to create a
ladder logic program
• The ladder logic program is executed by going
online, ‘downloading’ the PLC program, and
switching to run mode
OFFLINE/ONLINE control Download PLC run mode
Dr. D. J. Jackson Lecture 3-16Electrical & Computer Engineering
ProSim simulations
• The Logixpro simulator provides a set of built-in simulations
• The I/O simulation initially will be of most use since it provides
access to simulated discrete inputs (switches) and outputs
(lamps)
3-9
Dr. D. J. Jackson Lecture 3-17Electrical & Computer Engineering
Other Prosim simulations
• Available simulators
– Door simulator
– Silo simulator
– Traffic simulator
– Batch simulator
– Dual Compressor simulator
– Bottle line simulator
– Four floor elevator simulator
• Most projects will involve designing ladder
logic programs to control these simulations
Dr. D. J. Jackson Lecture 3-18Electrical & Computer Engineering
Batch simulator showing example I/O

More Related Content

Viewers also liked (11)

Lect08
Lect08Lect08
Lect08
 
Lect05
Lect05Lect05
Lect05
 
Lect06
Lect06Lect06
Lect06
 
Lect14
Lect14Lect14
Lect14
 
Allen bradley
Allen bradleyAllen bradley
Allen bradley
 
Plc (introduction and logic)
Plc (introduction and logic)Plc (introduction and logic)
Plc (introduction and logic)
 
Introduction to plc (s7)­
Introduction to  plc (s7)­ Introduction to  plc (s7)­
Introduction to plc (s7)­
 
Plc presentation
Plc presentation Plc presentation
Plc presentation
 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
 
Allen Bradley- Micrologix PLC Instructions
Allen Bradley- Micrologix PLC InstructionsAllen Bradley- Micrologix PLC Instructions
Allen Bradley- Micrologix PLC Instructions
 
ppt on PLC
ppt on PLCppt on PLC
ppt on PLC
 

Similar to PLC Programming Fundamentals

Basics of plc programming
Basics of plc programmingBasics of plc programming
Basics of plc programmingSergio Barrios
 
Basics of plc_programming
Basics of plc_programmingBasics of plc_programming
Basics of plc_programminghamza239523
 
CAM ladder logic diagram
CAM ladder logic diagramCAM ladder logic diagram
CAM ladder logic diagramMaharshi Soni
 
Plc documentation final
Plc documentation finalPlc documentation final
Plc documentation finalSonu Kumar
 
PLC: Principios básicos del controlador lógico programable mediante el softwa...
PLC: Principios básicos del controlador lógico programable mediante el softwa...PLC: Principios básicos del controlador lógico programable mediante el softwa...
PLC: Principios básicos del controlador lógico programable mediante el softwa...SANTIAGO PABLO ALBERTO
 
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
 
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.pptProgrammable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.pptMUSTAFAHAIDER53
 
8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.pptnotagain0712
 
Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingseema Vishwakarma
 
239587360 ee200-lab-manual
239587360 ee200-lab-manual239587360 ee200-lab-manual
239587360 ee200-lab-manualhomeworkping4
 
Plc example presentation
Plc example presentationPlc example presentation
Plc example presentationRoshit Kadiru
 

Similar to PLC Programming Fundamentals (20)

Basics of plc_programming1
Basics of plc_programming1Basics of plc_programming1
Basics of plc_programming1
 
Lect02
Lect02Lect02
Lect02
 
Lect09
Lect09Lect09
Lect09
 
Unit 4 - PLC.pptx
Unit 4 - PLC.pptxUnit 4 - PLC.pptx
Unit 4 - PLC.pptx
 
Basics of plc programming
Basics of plc programmingBasics of plc programming
Basics of plc programming
 
Basics of plc_programming
Basics of plc_programmingBasics of plc_programming
Basics of plc_programming
 
PLC
PLCPLC
PLC
 
CAM ladder logic diagram
CAM ladder logic diagramCAM ladder logic diagram
CAM ladder logic diagram
 
Plc documentation final
Plc documentation finalPlc documentation final
Plc documentation final
 
PLC: Principios básicos del controlador lógico programable mediante el softwa...
PLC: Principios básicos del controlador lógico programable mediante el softwa...PLC: Principios básicos del controlador lógico programable mediante el softwa...
PLC: Principios básicos del controlador lógico programable mediante el softwa...
 
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
 
Plc
PlcPlc
Plc
 
10617568.ppt
10617568.ppt10617568.ppt
10617568.ppt
 
Introduction to PLC
Introduction to PLCIntroduction to PLC
Introduction to PLC
 
Lect11
Lect11Lect11
Lect11
 
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.pptProgrammable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
 
8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt
 
Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programming
 
239587360 ee200-lab-manual
239587360 ee200-lab-manual239587360 ee200-lab-manual
239587360 ee200-lab-manual
 
Plc example presentation
Plc example presentationPlc example presentation
Plc example presentation
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 

PLC Programming Fundamentals

  • 1. 3-1 Dr. D. J. Jackson Lecture 3-1Electrical & Computer Engineering Programmable Logic Controllers PLC Addressing and Basic Instructions Dr. D. J. Jackson Lecture 3-2Electrical & Computer Engineering Basic addressing • For the Allen-Bradley PLCs and the simulator used, the input and output image areas (in addition to other data) are held in “data files” • Each “data file” holds information such as – Discrete input values – Discrete output values – Values associated with timers – Values associated with counters – Status information – Etc.
  • 2. 3-2 Dr. D. J. Jackson Lecture 3-3Electrical & Computer Engineering PLC data files Simulator data files AB PLC data files Dr. D. J. Jackson Lecture 3-4Electrical & Computer Engineering I/O memory mapping • Basic AB PLC addressing X1:x.0/0 Data file type I – input O – output S – status B – binary T- timer C-counter Data file number (can be omitted for the basic data files) Slot number (not used with the simulator) Word number: selects a specific word in a data file Bit number I/O located on the controller (embedded I/O) is slot 0. I/O added to the controller (expansion I/O) begins with slot 1.
  • 3. 3-3 Dr. D. J. Jackson Lecture 3-5Electrical & Computer Engineering Example Addressing CPU Module (slot 0) Digital Input Module (slot 1) 16 inputs Digital Output Module (slot 2) 8 outputs Would occupy addresses I1:1.0/0 through I1:1.0/15 Would occupy addresses O0:2.0/0 through O0:2.0/7 Dr. D. J. Jackson Lecture 3-6Electrical & Computer Engineering Basic instructions • Examine If Closed (XIC) • Examine If Open (XIO) • Output Energize (OTE) • Output Latch (OTL) • Output Unlatch (OTU) • One-shot Rising (OSR)
  • 4. 3-4 Dr. D. J. Jackson Lecture 3-7Electrical & Computer Engineering Examine if closed (XIC) • Alternate name: Normally open contact • Use the XIC instruction in your ladder program to determine if a bit is on. – When the instruction is executed, if the bit addressed is on (1), then the instruction is evaluated as TRUE. – When the instruction is executed, if the bit addressed is off (0), then the instruction is evaluated as FALSE. Instruction symbol Normally open switch is open Normally open switch is closed Dr. D. J. Jackson Lecture 3-8Electrical & Computer Engineering Examine if open (XIO) • Alternate name: Normally closed contact • Use the XIO instruction in your ladder program to determine if a bit is off. – When the instruction is executed, if the bit addressed is on (1), then the instruction is evaluated as FALSE. – When the instruction is executed, if the bit addressed is off (0), then the instruction is evaluated as TRUE. Instruction symbol Normally open switch is open Normally open switch is closedAn XIO instruction inverts the state of the bit it references.
  • 5. 3-5 Dr. D. J. Jackson Lecture 3-9Electrical & Computer Engineering Output energize (OTE) • Alternate name: coil • This instruction is usually used in conjunction with XIC or XIO or any other input instruction. • If the logic preceding the OTE instruction is true (1), the OTE instruction will be energized Instruction symbol Not energized Energized An OTE instruction can only be the last instruction on a rung. Dr. D. J. Jackson Lecture 3-10Electrical & Computer Engineering Output latch (OTL) • The OTL instruction is used only to turn a bit on and latch it on Instruction symbol L Initially not energized Energized Latched
  • 6. 3-6 Dr. D. J. Jackson Lecture 3-11Electrical & Computer Engineering Output unlatch (OTU) • The OTU instruction is used only to turn a bit off and latch it off • OTL and OTU are generally used in pairs Instruction symbol U Dr. D. J. Jackson Lecture 3-12Electrical & Computer Engineering One-shot rising (OSR) • When the rung conditions preceding the OSR go from false-to-true, the OSR instruction goes true also but for only one scan Instruction symbol OSR I:1/0 B3:0/0 One PLC scan
  • 7. 3-7 Dr. D. J. Jackson Lecture 3-13Electrical & Computer Engineering Branches • Branches can be inserted in ladder logic programs to create parallel combinations of various ladder logic elements Dr. D. J. Jackson Lecture 3-14Electrical & Computer Engineering Multiple Series/Parallel Branches • Multiple series/parallel branches can be utilized with multiple inputs and also affecting multiple outputs in parallel
  • 8. 3-8 Dr. D. J. Jackson Lecture 3-15Electrical & Computer Engineering PLC simulator usage • Ladder logic elements (instructions) can be dragged and dropped onto the ladder window to create a ladder logic program • The ladder logic program is executed by going online, ‘downloading’ the PLC program, and switching to run mode OFFLINE/ONLINE control Download PLC run mode Dr. D. J. Jackson Lecture 3-16Electrical & Computer Engineering ProSim simulations • The Logixpro simulator provides a set of built-in simulations • The I/O simulation initially will be of most use since it provides access to simulated discrete inputs (switches) and outputs (lamps)
  • 9. 3-9 Dr. D. J. Jackson Lecture 3-17Electrical & Computer Engineering Other Prosim simulations • Available simulators – Door simulator – Silo simulator – Traffic simulator – Batch simulator – Dual Compressor simulator – Bottle line simulator – Four floor elevator simulator • Most projects will involve designing ladder logic programs to control these simulations Dr. D. J. Jackson Lecture 3-18Electrical & Computer Engineering Batch simulator showing example I/O