Software for Education and Industry
You can use PLC Easy Learner in 3 ways...
1) Use PLC Easy Learner with Allen-Bradley's RSLogix® Micro Starter Lite software by following along with the exercises of PLC Easy Learner.
2) Use PLC Easy Learner with Allen-Bradley's RSLogix® Micro Starter Lite and Allen-Bradley's RSLinx® Classic Lite software to download your programs to an actual PLC. RSLinx® is the communication program used to communicate between your PC and the PLC.
3) Use PLC Easy Learner with Allen-Bradley's RSLogix® Micro Starter Lite and Allen-Bradley's RSLinx® Classic Lite software to download your programs to Allen-Bradley's RSLogix® Emulate500 software. RSLogix® Emulate500 is a program that acts like a software version of a PLC.
This program is written in everyday, easy to understand language and tells you what you need to know when you need to know it. No more wading through myriads of web sites to find the information you need.
The PLC Easy Leaner explains every Micrologix 1000 instruction and shows you:
The PLC Easy Learner is written in .html format so you can use your favorite internet browser with hyperlinks, bookmarks, and word searches. PLC Easy Learner requires no software installation on your computer. Just insert the CD, double click on the Table of Contents.html and your internet browser launches the program.
The PLC Easy Learner is written by a Professional Engineer with 14 years industrial experience and 20 years experience teaching electrical engineering technology at the college level.
What this program includes
What you need
Types of Allen-Bradley Micrologix PLCs
2. Launching RSLogix (and optionally RSLinx)
Download the RSLogix and (optional) RSLinx
Start RSLinx (optional)
Select a Processor
Add a Rung
Save your program
User Instructions and Descriptions
3. Programming Your First Instruction (XIC)
Add a Symbol
Examine the Input Data File
4. Adding Descriptions to Instructions
Open the Edit Descriptions window
Add descriptions to the instruction
5. Programming a Complete Rung (OTE, XIO, XIC)
Add a branch and seal-in contact
Verify the project
Examine the Output Data File
Add a B3 binary output
Download the program to the PLC (optional)
Download the program to the emulator (optional)
Force the Stop switch on
6. Latch and Unlatch Relays (OTL, OTU)
Add a Latch switch
Add an Unlatch switch
Timers and Counters
7. Timers (TON, TOF, RTO, RES)
Add a Start Timer switch
Examine the T4-Timer Data file
Add some timer contacts
Add some TOF timer contacts
8. Counters (CTU, CTD, RES, HSC, RAC)
HSC, HSE, and HSD instructions
Examine the S2-Status File
9. Immediate Input and Output (IIM, IOM)
10. Compare Instructions (LIM, MEQ, EQU, NEQ, LES, GRT, LEQ, GEQ)
11. Compute/Math Instructions (ADD, SUB, MUL, DIV, SQR, NEG, TOD, FRD)
Examine the S2-Status data file
How a PLC stores negative numbers
12. Move/Logical Instructions (MOV, MVM, AND, OR, XOR, NOT, CLR)
File Manipulation Instructions
13 File/Misc Instructions (COP, FLL, DDV, SCL, INT, STE, STS, STD)
DDV and OSR instructions
14. File Shift/Sequencer Instructions (BSL, BSR, SQC, SQL, SQO, FFL, FFU, LFL, LFU)
FFL and FFU instructions
LFL and LFU instructions
Program Control Instructions
15. Program Control Instructions (JMP, LBL, JSR, RET, SBR, TND, MCR, SUS)
JMP and LBL instructions
JSR, SUB, and RET instructions
Advanced Math Instructions
16. Advanced Math Instructions (DCD, ENC)
Step 3) - Add a switch and a BSR instruction
BSR (Bit Shift Right) is an output instruction that shifts a data word one bit to the right each time the instruction is energized. It is useful for tracking parts down an assembly line, for instance, where each bit represents a part.
Add a switch and a BSR instruction to a new rung as shown below. The BSR instruction is in the File Shift /Sequencer category of instructions as shown circled in red. Enter N7:1 for the File, R6:1 for the Control, I:0/3 for the Bit Address, and 5 for the Length of the BSR instruction.
Append another rung and add a normally open contact with address R6:1.UL in series with an output O:0/1.
Your screen should look like the following:
After a BSR instruction has been added
When the program is run, each time I:0/2 is closed the following will happen:
1) bit 0 of N7:1 will be sent to bit 10 of word R6:1, which is also called R6:1.UL
2) all the bits of word N7:1 will be shifted one position to the right, and
3) the status of Bit Address I:0/3 will be brought into bit 4 of word N7:1.
This operation is shown graphically below:
If a number greater than 16 is entered for the Length of the instruction, the shift will occur across word boundaries, but R6:X.UL will always be energized by the least significant bit of the word entered as the File parameter.
Assuming N7:1 initially contained all zeros, the following screen shot shows the N7:1 word after switch I:0/2 has been closed 5 times with switch I:0/3 closed each time. On the next closure of switch I:0/2, the 1 from bit 0 of word N7:1 will be sent to R6:1.UL, turning on output O:0/0.
N7:1 word after switch I:0/2 has been closed 5 times with I:0/3 closed