ControlLogix Online Editing 2

Introduction to ControlLogix Online Editing

ControlLogix Online Editing allows you to make changes on the fly.  This means that you do not have to drop offline to make your changes, then download to your processor.   When you download, your processor must go to program mode to accept the download.   This means that if you were to download, your processor will stop executing logic.

Online editing allows you to make changes to a running project, but there are obvious dangers to be aware of.  Your new logic will become active when you test your edits.  Be sure your changes are correct, and understand how your changes will affect the process.   You must also be aware of how the changes might affect the equipment in other operating modes, such as running a different type of product.

Changing an existing rung:

There are five steps for changing an existing rung:

  1. Start Rung Edits
  2. Make your changes
  3. Accept Edits
  4. Test Edits
  5. Assemble Edits

In Studio 5000, you also have a button to “Finalize Edits“.   This will Accept, Test, and Assemble edits all at the same time.  In this post, we will go through the steps individually.

Note:  You cannot do an online edit with the key switch RUN mode.  Also if you are in program mode, skip the last two steps.   

Here, we have a rung that is executing logic.   We’ll walk through the five steps to change the XIC (the first instruction) to an XIO while we are online in Rem Run mode.

Online Edits Original Rung

Step 1:  Start Rung Edits

The easiest way to start rung edits is to double-click the rung number.   You can also right-click the rung number to start pending rung edits.  Another way is to highlight the rung number, and go to “Logic” on the menu bar | Online edits | Start Pending Rung Edits.   CTRL+SHIFT+S is shortcut that you can use to start pending rung edits.    Another way to start edits is to highlight the rung number, and click “Start Pending Rung Edits” in the Online toolbar.    Most of these methods can be used with any of these steps, but here, we will just use the online editing toolbar.   Be sure the rung is highlighted (click the rung number), and then click the icon for “Start Pending Rung Edits”.

Starting Edits

Notice after you start pending rung edits, Studio 5000 creates a copy of the rung.   The top rung is for us to work with.   Look at the power rails.   The Bottom rung is still executing in the processor.

Pending Edits

Step 2:  Make Changes

Now, we will make changes to the top rung.    Notice the lower case i’s and r’s in the margin.   The i’s mean that we marked the rung for insertion, and the r’s mean that line will be replaced.    They are lower case i’s and r’s.  This means the changes are not in the processor yet.   This is just an edit within Studio 5000 at this time.

I’m going to change the XIC to an XIO.

Make Changes

Step 3:   Accept Edits

The next step is to Accept Edits.   This will send the edits into our processor.   The indicators in the margin will change to upper case, meaning the logic is now in the processor.    Before accepting, be sure your keyswitch is not locked into RUN mode.   You have two options in the online edit toolbar.   One option is to Accept Rung Edits, and the other option is to Accept Program Edits.  Here we only have one rung, so we will be sure the rung # is highlighted, and “Accept Rung Edits”.

Accept Rung Edits

Step 4:  Test Edits

When you test your edits, the new rung will become active.   Also be aware that if you are changing the output address, you might not have any logic writing to the old address.   This means that you could abandon a tag in lit’s last state.  When testing edits, it is possible to damage equipment and harm people.   Be sure the rung is set up how you need it before testing edits!!

Test Edits

You will notice the TOP rung is running i the processor now if you look at your power rails.   If you are not happy with the rung, you could “Untest” your edits, and then cancel edits.

Edits Tested

Step 5:  Assemble Edits to finish ControlLogix Online Editing

Now, we can eliminate the old rung in logic.  Assemble your edits.

Assemble Edits

After you assemble edits,  the old rung is gone.

Assemble Edits

Adding and Deleting a rung with ControlLogix Online Editing

To add a rung, just drag your new rung down into logic.   Set up your logic on the new rung, then Accept, Test, and Assemble.

To delete a rung, just right click the rung number and choose “Delete”.   RSLogix marks the rung for deletion, then Accept, Test and Assemble.

Please visit the category page for more information on ControlLogix!

— Ricky Bryce

Leave a comment

Your email address will not be published. Required fields are marked *

÷ five = one

2 thoughts on “ControlLogix Online Editing