allen bradley- micrologix plc instructions
DESCRIPTION
Learn 5 PLC's in a Day full Course 155+ PLC Video Tutorials of Allen Bradley, Siemens, Delta, Omron & Schneider with FREE PLC Simulators and NFI Support Course Fee: $49 , Lifetime Validity | Limited Coupons only| Course url: https://www.udemy.com/nfi-plc-online-leaning/?couponCode=slideshare For LIVE Sessions and combo offers please visit: www.nfiautomation.org Connect us at: Facebook: https://www.facebook.com/nfiinnovation Website: http://www.nfiautomation.org Google Plus: https://plus.google.com/+RajvirSinghNFIAutomation E-mail: [email protected]TRANSCRIPT
![Page 1: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/1.jpg)
PLC Allen Bradley Micrologix
www.nfiautomation.org
nfi
![Page 2: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/2.jpg)
Output Terminals
Programming Cable Power 24 VDC
Input Terminals
This is a PLC
![Page 3: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/3.jpg)
Understanding PLC
![Page 4: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/4.jpg)
Understanding PLC
![Page 5: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/5.jpg)
Wiring PLC
![Page 6: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/6.jpg)
Wiring PLC
![Page 7: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/7.jpg)
Wiring PLC
![Page 8: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/8.jpg)
Wiring PLC
![Page 9: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/9.jpg)
Wiring PLC
![Page 10: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/10.jpg)
Wiring PLC
![Page 11: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/11.jpg)
Wiring PLC
![Page 12: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/12.jpg)
PLC Ladder Logic
![Page 13: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/13.jpg)
Addressing the PLC
InputsI: 0/0 First Input I: 0/1 Second Input
![Page 14: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/14.jpg)
Addressing the PLC
OutputsO: 0/0 First Output O: 0/1 Second Output
![Page 15: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/15.jpg)
Addressing the PLC
Internal BitsB3: 0/0
![Page 16: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/16.jpg)
Addressing the PLC
TimersT4: 0
![Page 17: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/17.jpg)
Addressing the PLC
CountersC5: 0
![Page 18: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/18.jpg)
Addressing the PLC
Control RegistersR6: 0
![Page 19: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/19.jpg)
Addressing the PLC
Data RegisterN7: 0
![Page 20: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/20.jpg)
Addressing the PLC
Instruction Palette
![Page 21: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/21.jpg)
Programming PLCAdd new Rung
![Page 22: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/22.jpg)
Programming PLCParallel Rung at Input
Parallel Rung at Output
![Page 23: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/23.jpg)
Programming PLCNormally Open/
Examine if Open
Normally Close/
Examine if Close
Output Energize Output Latched Output Unlatched
One Shot Rising
![Page 24: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/24.jpg)
Programming PLCTimer – ON DELAY
Timer – OFF DELAY
Timer – Retentive Type
Timer Reset
![Page 25: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/25.jpg)
Programming PLCCounter – Up
Counter - Down
Done bit is ON when Acc. >= Preset
Done bit is ON when Acc. >= Preset
Counter Reset
![Page 26: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/26.jpg)
Programming PLCLimit Test
Example:
![Page 27: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/27.jpg)
Programming PLCEqualizer
Example:
![Page 28: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/28.jpg)
Programming PLCNot Equal to
Example:
![Page 29: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/29.jpg)
Programming PLCLess Than <
Example:
![Page 30: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/30.jpg)
Programming PLCLess Than or Equal to <=
Example:
![Page 31: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/31.jpg)
Programming PLCGreater Than >
Example:
![Page 32: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/32.jpg)
Programming PLCGreater Than or equal to >=
Example:
![Page 33: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/33.jpg)
Programming PLCGreater Than or equal to >=
Example:
![Page 34: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/34.jpg)
Programming PLCMEQ = Masked Equal to
Example:
Output will be energized when N7:0 “AND” with N7:1 equals N7:5
Bit wise multiplication
![Page 35: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/35.jpg)
Programming PLCScale
Example:
When Input is energized, Scaling will be done
N7:9= {N7:0 x (Rate/10000)} + offset
N7:9 = {44 x (5000/10000)} + 5
N7:9 = 27
![Page 36: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/36.jpg)
Programming PLCSquare Root
Example:
When Input is energized, Square root function will be performed
N7:1= 49
N7:8 = 7 (after command executed)
![Page 37: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/37.jpg)
Programming PLCNegate
Example:
When Input is energized, Negate function will be performed
N7:0= 44
N7:0 = -44 (after command executed)
![Page 38: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/38.jpg)
Programming PLCMVM = Masked Move
Example:
When Input is energized, MVM will be performed
N7:5 = N7:0 bit wise AND with N7:2
![Page 39: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/39.jpg)
Programming PLCCopy File
Example:
When Input is energized, Copy Function will be performed
N7:0 ------------ N7:10
N7:1 ------------ N7:11
N7:2 ------------ N7:12
N7:3 ------------ N7:13
N7:4 ------------ N7:14
![Page 40: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/40.jpg)
Programming PLCFill File
Example:
When Input is energized, Fill Function will be performed
N7:0 ------------ N7:10
N7:0 ------------ N7:11
N7:0 ------------ N7:12
N7:0 ------------ N7:13
N7:0 ------------ N7:14
N7:0 ------------ N7:15
![Page 41: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/41.jpg)
Note:
In Allen Bradley, Fault occurs when calculation value exceeds
32767
Math Error
![Page 42: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/42.jpg)
Programming PLCFlow Control Instructions
Example:
Jump & LabelCase 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 EnabledWhen 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
![Page 43: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/43.jpg)
Programming PLCFlow Control Instructions
Subroutine
Jump Subroutine & Return
Main Program
Case 1: When Subroutine is not called
U:3 i.e. Subroutine program wont be scanned by CPU
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
![Page 44: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/44.jpg)
Programming PLCTemporary END
Example:
When I:0/5 is energized ladder below TND is not scanned by CPU
![Page 45: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/45.jpg)
Programming PLCTemporary END
Example:
When I:0/5 is energized ladder below TND is not scanned by CPU
![Page 46: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/46.jpg)
Programming PLCSequencer 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 includeLength 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.
![Page 47: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/47.jpg)
Programming PLCSequencer Output
Example:
![Page 48: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/48.jpg)
Programming PLCSequencer 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.
![Page 49: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/49.jpg)
Programming PLCSequencer 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
![Page 50: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/50.jpg)
Learn 4 PLC’s in a Day100+ Video Tutorials
Life time Access
nfipresents
Lea
rn t
o C
od
e |
Co
de
to
Le
arn
Coupon Code https://www.udemy.com/nfi-plc-online-leaning/?couponCode=slideshare
in $99 $49
For more courses visit www.nfiautomation.org
Course Outline
• 100+ PLC Video Tutorials
• Doubt Clearing Complementary LIVE Sessions on Team Viewer
• Ladder Logic Programming
• PLC Presentations, PLC Circuits, PLC Codes
• FREE PLC Simulation Software for Practice
PLC – Programmable Logic Controller
Delta DVP 14 SS + 16 SP
Allen Bradley M1000
Siemens S7 200
Schneider
Analog Cards Programming
04 AD – Analog to Digital
04DA- Digital to Analog
![Page 51: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/51.jpg)
PLC & VFD Advanced
Course4 PLC’s Training
Platforms
For more courses visit www.nfiautomation.org
Course Highlights:
• 30 Live Practical Classes on PLC, Analog Cards & AC drives- VFD
• 100+ PLC Video Tutorials with Lifetime Access & FREE PLC Simulator
• FREE Circuits Diagram
$149
Course Link:http://www.wiziq.com/course/28882-plc-and-ac-drives-online-certificate-trainaing-course
![Page 52: Allen Bradley- Micrologix PLC Instructions](https://reader033.vdocuments.site/reader033/viewer/2022042506/545cc2e8af7959b90e8b48a5/html5/thumbnails/52.jpg)
Thankswww.nfiautomation.org
nfi