Click here to learn the biblical way to get to heaven! (The most important page on this site)


Disclaimer: This document is written in the hope that you can utilize for your own education to gain knowledge of PLC systems (should you decide to utilize this document). Although I believe the information in this document to be accurate, it is YOUR responsibility to verify this information before implementing it in any way, especially when damage to personnel or equipment could result. By continuing to read this document, you agree to hold no one who writes, modifies, or distributes this document liable in any way (even negligence). Due to the wide variety of plant applications, some of the examples in this document may be prohibited at your location, or could cause damage to equipment, or harm personnel.
[Visit my Church Website] -- [Return to Index Page] -- [View Training Courses] -- [Contact ATI for Training] *Copyright 2005
Author: Ricky Bryce (Montgomery County, IL)
VPS Hosting Referral Code MJDCDJYou can have your very own virtual server though VPSLink! Using REFERRAL code MJDCDJ you will receive a 10% discount on your new account, and I will get a service credit on my account. My personal preference is the Link 2 package running XEN for starting out (You can upgrade any time). You can choose from a variety of Linux distributions such as CENTOS, Fedora, Debian, and Ubuntu. This is a great package for learning Linux, and setting up your own web page, or email server.

On line Editing for ControlLogix


There are five basic steps in performing an edit on line.


      1. Start Edits,

      2. Make Changes,

      3. Accept edits,

      4. Test Edits, and

      5. Assemble edits.


Note: Beginning with Version 13, 'Finalize Edits' will accept, test, and assemble all in one step. Unless you are very experienced, it is recommended that you follow the full 5 step procedure.


Although these steps seem very simple there are a few rules to watch out for.



Let's walk through the 5 step procedure:


Look at the rung below. Our objective is to transfer control of the output to LocalSwitch.6. If you click on bit LocalSwitch.7 and attempt to make a change, nothing happens.




Step 1) Start Rung Edits


The first step is to put the rung into edit mode. There are several ways this can be done:







Notice that RSLogix made a copy of the rung for us to work with. By looking at the power rails, you can see the bottom rung is being executed by the processor, and the top rung is the one you need to make edits to. You will also notice the e (edit) or i (insert) and r (replace) in the margin are lower case. This means the edits are not in the processor yet. If you are adding new logic instead of modifying existing logic, this is the step where you add a new rung.






Step 2) Make Changes


Now that the rung is in edit mode, changes can be made.


If you added a new rung in step #1, this is where you need to add your logic to the new rung.


Be careful not to add any logic that will fault the processor or cause damage to personnel or equipment. Notice the i (insert) and r (replace) zones are in lower case. This means the changes are in RAM only, and have not been sent to the processor.


In this example, bit 7 is being changed to bit 6 on the input.






Step 3) Accept Edits


Now that your rung is set up as you need it, it's time to send the edits to the processor. You can accept pending rung edits (This would just accept the rung you have selected), or you can accept pending program edits (This would accept all the edits in the current program) There are several ways to perform the next three steps.







Notice in the margin rung 1 is marked for insertion, and rung 2 is marked for removal. The I's and R's are capitol because the edits are now in the processor. Look at the power rails. You can see the old rung is still being executed by the processor.




You will also see that pending edits exist by looking at the online toolbar.




Step 4) Test Edits


When you test edits, the new or modified rungs will become active. The old rungs will be left in the processor until we are sure our new rungs are working properly. Be aware that if you change an output address, there might no longer be logic writing to that address. This means that you could abandon a bit in the ON state.


You can test your edits by doing one of the following actions:

      1. Right click the rung number

      2. Choose Logic | On line Edits | Test accepted program edits from the menubar

      3. Click the Test icon in the on line edit tool bar above your logic window.





If you are modifying an input type address you should also be careful. If the rung was previously true, you may want to make sure your new logic is also going to be true at the moment you accept, or the the output may shut off.


Let's test the edits, and you will notice the new rung(s) are active. If the edits do not work the way you anticipated, you can un-test to revert to the old rung while you make other changes to the new rung.



Notice the power rails:






Step 5) Assemble Edits


If you logic is working properly, go ahead and assemble the edits. Assembling removes the old rung, and the edit zone markers. After Assembling, you may want to save your work to the hard drive.


You can assemble by using one of the following methods:

      1. Right click the rung number, and choose accept edits (if available in your version)

      2. Click Logic | On line Edits | Assemble accepted program edits from the menu bar.

      3. Click the Assemble Edits icon in the on line edits tool bar.




Notice the Logic now appears to be normal: