SlideShare a Scribd company logo
1 of 52
Download to read offline
PLC

Allen Bradley Micrologix
www.nfiautomation.org

nfi
This is a PLC

Input Terminals

Programming Cable

Output Terminals

Power 24 VDC
Understanding PLC
Understanding PLC
Wiring PLC
Wiring PLC
Wiring PLC
Wiring PLC
Wiring PLC
Wiring PLC
Wiring PLC
PLC Ladder Logic
Addressing the PLC

Inputs
I: 0/0

First Input

I: 0/1

Second Input
Addressing the PLC

Outputs
O: 0/0

First Output

O: 0/1

Second Output
Internal Bits
B3: 0/0

Addressing the PLC
Timers
T4: 0

Addressing the PLC
Counters
C5: 0

Addressing the PLC
Control Registers
R6: 0

Addressing the PLC
Data Register
N7: 0

Addressing the PLC
Instruction Palette

Addressing the PLC
Add new Rung

Programming PLC
Parallel Rung at Input

Parallel Rung at Output

Programming PLC
Programming PLC
Normally Open/
Examine if Open

Output Energize

One Shot Rising

Normally Close/
Examine if Close

Output Latched

Output Unlatched
Programming PLC
Timer – ON DELAY
Timer Reset

Timer – OFF DELAY

Timer – Retentive Type
Programming PLC
Counter – Up

Done bit is ON when Acc. >= Preset

Counter - Down

Done bit is ON when Acc. >= Preset

Counter Reset
Programming PLC
Limit Test

Example:
Programming PLC
Equalizer

Example:
Programming PLC
Not Equal to

Example:
Programming PLC
Less Than <

Example:
Programming PLC
Less Than or Equal to <=

Example:
Programming PLC
Greater Than >

Example:
Programming PLC
Greater Than or equal to >=

Example:
Programming PLC
Greater Than or equal to >=

Example:
Programming PLC
MEQ = Masked Equal to

Example:

Output will be energized when N7:0 “AND” with N7:1 equals N7:5
Bit wise multiplication
Programming PLC
Scale

N7:9= {N7:0 x (Rate/10000)} + offset
N7:9 = {44 x (5000/10000)} + 5
N7:9 = 27

Example:

When Input is energized, Scaling will be done
Programming PLC
Square Root

N7:1= 49
N7:8 = 7 (after command executed)

Example:

When Input is energized, Square root function will be performed
Programming PLC
Negate

N7:0= 44
N7:0 = -44 (after command executed)

Example:

When Input is energized, Negate function will be performed
Programming PLC
MVM = Masked Move

N7:5 = N7:0 bit wise AND with N7:2

Example:

When Input is energized, MVM will be performed
Programming PLC
Copy File

N7:0 ------------ N7:10
N7:1 ------------ N7:11
N7:2 ------------ N7:12
N7:3 ------------ N7:13
N7:4 ------------ N7:14
Example:

When Input is energized, Copy Function will be performed
Programming PLC
Fill File

N7:0 ------------ N7:10
N7:0 ------------ N7:11
N7:0 ------------ N7:12
N7:0 ------------ N7:13
N7:0 ------------ N7:14
N7:0 ------------ N7:15
Example:

When Input is energized, Fill Function will be performed
Math Error

Note:
In Allen Bradley, Fault occurs when calculation value exceeds

32767
Programming PLC
Flow Control Instructions
Jump & Label

Case 1: When Jump is not enabled
When I:0/5 is True/False B3:0 is On/Off
When I:0/4 is True/False B3:1 is On/Off
When I:0/3 is True/False O:0/2 is On/Off

Case 2: When Jump is Enabled
When I:0/5 is True/False B3:0 will be at last state – No effect
When I:0/4 is True/False B3:1 will be at last state – No effect
When I:0/3 is True/False O:0/2 is On/Off
Example:
Programming PLC
Flow Control Instructions
Jump Subroutine & Return

Case 1: When Subroutine is not called
U:3 i.e. Subroutine program wont be scanned by CPU

Main Program

Subroutine

Case 2: When Subroutine is called
U:3 i.e. Subroutine program starts getting scanned by CPU

Case 3: When Return is executed
Ouput of U:3 ladder get freezed & remain at that state
Programming PLC
Temporary END

Example:

When I:0/5 is energized ladder below TND is not scanned by CPU
Programming PLC
Temporary END

Example:

When I:0/5 is energized ladder below TND is not scanned by CPU
Programming PLC
Sequencer Output

Example:

File is the address of the sequencer file. Make sure to use the file indicator (#). This file stores the reference data for
monitoring inputs.
Mask is a hexadecimal code or the address of the mask word or file through which the instruction moves data. If
the mask is a file, its length will be equal to the length of the sequencer file. The two files track automatically.
You can enter the code in binary, decimal, or hexadecimal.
Destination is the address of the output word or file for a SQO to which the instruction moves data from its
sequencer file.
Control is the instruction’s address and control element (3 words) that stores the status byte of the instruction, the
length of the file, and the position in the file. Do not use this address for any other instruction. Status bits in the
control file include
Length is the number of steps of the sequencer file starting at position 1. Maximum = 255 words (104 words when
using the MicroLogix controller). Position 0 is the startup position. The instruction resets (wraps) to position 1 at each
cycle completion.
Position is the word location or step in the sequencer file from/to which the instruction moves data. A position value
that points past the end of the programmed file causes a runtime major error to occur.
Programming PLC
Sequencer Output

Example:
Programming PLC
Sequencer Compare

Example:

R6:3/FD is bit which is ON when comparison is TRUE
i.e. When I:0.0 masked with B3:1 & result equals B3:0
This command can be used for diagnostic purpose such that to check
Whether specified inputs are ON or OFF at various stages of sequence
Ex Homing, Station 1, Station 2 etc.
Programming PLC
Sequencer Load

Example:

This command stores the status of Inputs at N7:0 till number of position
mentioned. In this case upto N7:4
Position 1  N7:1
Position 2  N7:2
Position 3  N7:3
Position 4  N7:4

Values get over rite when cycle completes
100+ Video Tutorials

Coupon Code

in $99 $49

https://www.udemy.com/nfi-plc-online-leaning/?couponCode=slideshare

Life time Access
Course Outline

Learn to Code | Code to Learn

nfi Learn 4 PLC’s in a Day
presents

PLC – Programmable Logic Controller
Delta DVP 14 SS + 16 SP
• 100+ PLC Video Tutorials
Allen Bradley M1000
• Doubt Clearing Complementary LIVE Sessions on Team Viewer
Siemens S7 200
• Ladder Logic Programming
Schneider
• PLC Presentations, PLC Circuits, PLC Codes
Analog Cards Programming
• FREE PLC Simulation Software for Practice
04 AD – Analog to Digital
04DA- Digital to Analog
For more courses visit www.nfiautomation.org
PLC & VFD Advanced
Course

4 PLC’s Training
Platforms

$149
Course Link:

Course Highlights: http://www.wiziq.com/course/28882-plc-andac-drives-online-certificate-trainaing-course

• 30 Live Practical Classes on PLC, Analog Cards & AC drives- VFD
• 100+ PLC Video Tutorials with Lifetime Access & FREE PLC Simulator
• FREE Circuits Diagram

For more courses visit www.nfiautomation.org
Thanks
www.nfiautomation.org

nfi

More Related Content

What's hot

Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200
Ahmed Elsayed
 
PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.
Ishank Ranjan
 

What's hot (20)

Basic PLC Training .pdf
Basic PLC Training .pdfBasic PLC Training .pdf
Basic PLC Training .pdf
 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
 
SIEMENS S7-300c.ppt
SIEMENS S7-300c.pptSIEMENS S7-300c.ppt
SIEMENS S7-300c.ppt
 
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200
 
SIMATIC S7-1200 Overview
SIMATIC S7-1200 OverviewSIMATIC S7-1200 Overview
SIMATIC S7-1200 Overview
 
PLC and SCADA in Industrial Automation
PLC and SCADA in Industrial AutomationPLC and SCADA in Industrial Automation
PLC and SCADA in Industrial Automation
 
PLC ARCHITECTURE AND HARDWARE COMPONENTS
PLC ARCHITECTURE AND HARDWARE COMPONENTSPLC ARCHITECTURE AND HARDWARE COMPONENTS
PLC ARCHITECTURE AND HARDWARE COMPONENTS
 
PLC power point presentation
PLC power point presentationPLC power point presentation
PLC power point presentation
 
PLC Basic
PLC BasicPLC Basic
PLC Basic
 
Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)
 
Allenbradley Micro logix 1400 Plc Hardware information Guide
Allenbradley Micro logix 1400 Plc Hardware information GuideAllenbradley Micro logix 1400 Plc Hardware information Guide
Allenbradley Micro logix 1400 Plc Hardware information Guide
 
PLC Programming Languages
PLC Programming LanguagesPLC Programming Languages
PLC Programming Languages
 
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
 
Automation PLC & SCADA
Automation PLC & SCADA Automation PLC & SCADA
Automation PLC & SCADA
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automation
 
Plc ppt
Plc pptPlc ppt
Plc ppt
 
plc-basics.pptx
plc-basics.pptxplc-basics.pptx
plc-basics.pptx
 
PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)
 
Plc basics
Plc   basicsPlc   basics
Plc basics
 
PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.
 

Similar to Allen Bradley- Micrologix PLC Instructions

Microcontroladores: introducción a la programación en lenguaje ensamblador AVR
Microcontroladores: introducción a la programación en lenguaje ensamblador AVRMicrocontroladores: introducción a la programación en lenguaje ensamblador AVR
Microcontroladores: introducción a la programación en lenguaje ensamblador AVR
SANTIAGO PABLO ALBERTO
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
vipinkmenon1
 
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
 
Micro controller(pratheesh)
Micro controller(pratheesh)Micro controller(pratheesh)
Micro controller(pratheesh)
Pratheesh Pala
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
rajeshkvdn
 
ADS Lab 5 Report
ADS Lab 5 ReportADS Lab 5 Report
ADS Lab 5 Report
Riddhi Shah
 
EMBEDDED SYSTEMS 4&5
EMBEDDED SYSTEMS 4&5EMBEDDED SYSTEMS 4&5
EMBEDDED SYSTEMS 4&5
PRADEEP
 
Https _doc-0o-c4-apps-viewer.googleusercontent
Https  _doc-0o-c4-apps-viewer.googleusercontent Https  _doc-0o-c4-apps-viewer.googleusercontent
Https _doc-0o-c4-apps-viewer.googleusercontent
vijaydeepakg
 
IntroductionCPU performance factorsInstruction countDeterm.docx
IntroductionCPU performance factorsInstruction countDeterm.docxIntroductionCPU performance factorsInstruction countDeterm.docx
IntroductionCPU performance factorsInstruction countDeterm.docx
normanibarber20063
 
Pipeline stalling in vhdl
Pipeline stalling in vhdlPipeline stalling in vhdl
Pipeline stalling in vhdl
Sai Malleswar
 
Pipeline and data hazard
Pipeline and data hazardPipeline and data hazard
Pipeline and data hazard
Waed Shagareen
 

Similar to Allen Bradley- Micrologix PLC Instructions (20)

Microcontroladores: introducción a la programación en lenguaje ensamblador AVR
Microcontroladores: introducción a la programación en lenguaje ensamblador AVRMicrocontroladores: introducción a la programación en lenguaje ensamblador AVR
Microcontroladores: introducción a la programación en lenguaje ensamblador AVR
 
Instruction_Set.pdf
Instruction_Set.pdfInstruction_Set.pdf
Instruction_Set.pdf
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
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...
 
Instruction set
Instruction setInstruction set
Instruction set
 
Micro controller(pratheesh)
Micro controller(pratheesh)Micro controller(pratheesh)
Micro controller(pratheesh)
 
DSP_Assign_1
DSP_Assign_1DSP_Assign_1
DSP_Assign_1
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
 
ADS Lab 5 Report
ADS Lab 5 ReportADS Lab 5 Report
ADS Lab 5 Report
 
EMBEDDED SYSTEMS 4&5
EMBEDDED SYSTEMS 4&5EMBEDDED SYSTEMS 4&5
EMBEDDED SYSTEMS 4&5
 
Micro c lab6(lcd)
Micro c lab6(lcd)Micro c lab6(lcd)
Micro c lab6(lcd)
 
Https _doc-0o-c4-apps-viewer.googleusercontent
Https  _doc-0o-c4-apps-viewer.googleusercontent Https  _doc-0o-c4-apps-viewer.googleusercontent
Https _doc-0o-c4-apps-viewer.googleusercontent
 
8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt
 
07 processor basics
07 processor basics07 processor basics
07 processor basics
 
Computer Architecture Assignment Help
Computer Architecture Assignment HelpComputer Architecture Assignment Help
Computer Architecture Assignment Help
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
 
Assembly p1
Assembly p1Assembly p1
Assembly p1
 
IntroductionCPU performance factorsInstruction countDeterm.docx
IntroductionCPU performance factorsInstruction countDeterm.docxIntroductionCPU performance factorsInstruction countDeterm.docx
IntroductionCPU performance factorsInstruction countDeterm.docx
 
Pipeline stalling in vhdl
Pipeline stalling in vhdlPipeline stalling in vhdl
Pipeline stalling in vhdl
 
Pipeline and data hazard
Pipeline and data hazardPipeline and data hazard
Pipeline and data hazard
 

More from NFI - Industrial Automation Training Academy

More from NFI - Industrial Automation Training Academy (7)

AC Drive VFD - Allen Bradley Powerflex 4M
AC Drive VFD - Allen Bradley Powerflex 4MAC Drive VFD - Allen Bradley Powerflex 4M
AC Drive VFD - Allen Bradley Powerflex 4M
 
Industrial hydraulics
Industrial hydraulicsIndustrial hydraulics
Industrial hydraulics
 
NFI - Industrial Pneumatics
NFI - Industrial PneumaticsNFI - Industrial Pneumatics
NFI - Industrial Pneumatics
 
PID - Temperature Controller
PID - Temperature ControllerPID - Temperature Controller
PID - Temperature Controller
 
HMI- Human Machine Interface
HMI-  Human Machine InterfaceHMI-  Human Machine Interface
HMI- Human Machine Interface
 
PLC Troubleshooting & Maintenance
PLC Troubleshooting & MaintenancePLC Troubleshooting & Maintenance
PLC Troubleshooting & Maintenance
 
Expert Advice on Resume Making & Interview Preparation
Expert Advice on Resume Making & Interview PreparationExpert Advice on Resume Making & Interview Preparation
Expert Advice on Resume Making & Interview Preparation
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Allen Bradley- Micrologix PLC Instructions