{"id":90,"date":"2014-01-06T00:44:23","date_gmt":"2014-01-06T00:44:23","guid":{"rendered":"http:\/\/ethernetsupport.com\/?p=90"},"modified":"2014-01-06T02:22:35","modified_gmt":"2014-01-06T02:22:35","slug":"performing-an-online-edit","status":"publish","type":"post","link":"http:\/\/ethernetsupport.com\/?p=90","title":{"rendered":"Performing an Online Edit"},"content":{"rendered":"<p>The procedure for <strong>online editing<\/strong> is very similar in the PLC-5, SLC-500, and ControlLogix.\u00a0 There are five basic steps in performing an online edit:<\/p>\n<p>1) Start Rung Edits (Place the rung into edit mode)<\/p>\n<p>2) Make your changes to the rung<\/p>\n<p>3) Accept Edits (Send the edits to the processor)<\/p>\n<p>4) Test Edits (Ensure your edits work how you want them to work)<\/p>\n<p>5) Assemble Edits (Removes the old rung, and remove the editing markers)<\/p>\n<p><strong><em>Note:\u00a0 The ControlLogix processor allows you to accept edits to a single rung or all rungs in the program&#8230;\u00a0 Modern versions of RSLogix 5000 also have a &#8220;Finalize&#8221; option which allows you to Accept, Test, and Assemble all in one step!)<\/em><\/strong><\/p>\n<p>These steps are simple, but there are a few rules:<\/p>\n<p>\u2022 You cannot change the data type of existing tags. If you create a new tag with the wrong data type,<br \/>\nyou must delete the tag, and declare it again.<br \/>\n\u2022 You cannot make an on line edit if the key switch is in Run Mode.<br \/>\n\u2022 You do not need to perform an on line edit to directly change a value in the data table such as the<br \/>\npreset of a timer or counter.<br \/>\n\u2022 If the processor is in program mode, you do not need to test and assemble after accepting.<br \/>\n\u2022 If the processor is in program mode, and a rung is deleted, there is no warning.<\/p>\n<p><em><strong>Note:\u00a0 These may vary depending on which processor you are using, and the processor version.<\/strong><\/em><\/p>\n<p>Let&#8217;s walk through the 5 step procedure:<br \/>\nLook at the rung below. Our objective is to transfer control of the output to LocalSwitch.6. If you<br \/>\nclick on bit LocalSwitch.7 and attempt to make a change, nothing happens.<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/InitialRung.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-91\" alt=\"InitialRung\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/InitialRung-300x56.jpg\" width=\"300\" height=\"56\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/InitialRung-300x56.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/InitialRung.jpg 374w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Step 1) Start Rung Edits<\/strong><br \/>\nThe first step is to put the rung into edit mode. There are several ways this can be done:<br \/>\n\u2022 Double click the rung number<br \/>\n\u2022 Right click the rung number and start rung edits<br \/>\n\u2022 From &#8216;Logic&#8217; on the menu bar, click On line Edits, then start pending rung edits<br \/>\n\u2022 Click the start rung edit icon in the on line editing tool bar just above the ladder view<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step1a.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-92\" alt=\"step1a\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step1a.jpg\" width=\"242\" height=\"90\" \/><\/a><\/p>\n<p>Notice that RSLogix made a copy of the rung for us to work with. By looking at the power rails, you<br \/>\ncan see the bottom rung is being executed by the processor, and the top rung is the one you need to<br \/>\nmake edits to. You will also notice the e (edit) or i (insert) and r (replace) in the margin are lower case.<br \/>\nThis means the edits are not in the processor yet. If you are adding new logic instead of modifying<br \/>\nexisting logic, this is the step where you add a new rung.<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step1b.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-93\" alt=\"step1b\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step1b-300x93.jpg\" width=\"300\" height=\"93\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step1b-300x93.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step1b.jpg 425w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Step 2) Make Changes<\/strong><br \/>\nNow that the rung is in edit mode, changes can be made.<br \/>\nIf you added a new rung in step #1, this is where you need to add your logic to the new rung.<\/p>\n<p>Be careful not to add any logic that will fault the processor or cause damage to personnel or equipment.<\/p>\n<p>Notice the i (insert) and r (replace) zones are in lower case. This means the changes are in RAM only,<br \/>\nand have not been sent to the processor.<br \/>\nIn this example, bit 7 is being changed to bit 6 on the input.<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step2a.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-94\" alt=\"step2a\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step2a-300x89.jpg\" width=\"300\" height=\"89\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step2a-300x89.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step2a.jpg 427w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Step 3) Accept Edits<\/strong><br \/>\nNow that your rung is set up as you need it, it&#8217;s time to send the edits to the processor. You can accept<br \/>\npending rung edits (This would just accept the rung you have selected), or you can accept pending<br \/>\nprogram edits (This would accept all the edits in the current program) There are several ways to<br \/>\nperform the next three steps.<br \/>\n\u2022 Right click the rung number, and accept edits<br \/>\n\u2022 Click Logic | On line Edits | Accept (rung or program edits) from the menu bar<br \/>\n\u2022 Click one of the Accept Edits icons in the on line editing tool bar as shown below<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3a.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-95\" alt=\"step3a\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3a-300x79.jpg\" width=\"300\" height=\"79\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3a-300x79.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3a.jpg 353w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3b.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-96\" alt=\"step3b\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3b-300x74.jpg\" width=\"300\" height=\"74\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3b-300x74.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3b.jpg 364w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Notice in the margin rung 1 is marked for insertion, and rung 2 is marked for removal. The I&#8217;s and R&#8217;s<br \/>\nare capitol because the edits are now in the processor. Look at the power rails. You can see the old<br \/>\nrung is still being executed by the processor.<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3c.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-97\" alt=\"step3c\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3c-300x88.jpg\" width=\"300\" height=\"88\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3c-300x88.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3c.jpg 424w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>You will also see that pending edits exist by looking at the on line tool bar.<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3d.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-98\" alt=\"step3d\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step3d.jpg\" width=\"260\" height=\"83\" \/><\/a><\/p>\n<p><strong>Step 4) Test Edits<\/strong><br \/>\nWhen you test edits, the new or modified rungs will become active. The old rungs will be left in the<br \/>\nprocessor until we are sure our new rungs are working properly. Be aware that if you change an output<br \/>\naddress, there might no longer be logic writing to that address. This means that you could abandon a<br \/>\nbit in the ON state.<\/p>\n<p>You can test your edits by doing one of the following actions:<br \/>\n1) Right click the rung number<br \/>\n2) Choose Logic | On line Edits | Test accepted program edits from the menu bar<br \/>\n3) Click the Test icon in the on line edit tool bar above your logic window.<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step4a.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-99\" alt=\"step4a\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step4a-300x73.jpg\" width=\"300\" height=\"73\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step4a-300x73.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step4a.jpg 348w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>If you are modifying an input type address you should also be careful. If the rung was previously true,<br \/>\nyou may want to make sure your new logic is also going to be true at the moment you accept, or the the<br \/>\noutput may shut off.<\/p>\n<p>Let&#8217;s test the edits, and you will notice the new rung(s) are active. If the edits do not work the way you<br \/>\nanticipated, you can un-test to revert to the old rung while you make other changes to the new rung.<\/p>\n<p>Notice the power rails:<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step4b.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-100\" alt=\"step4b\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step4b-300x92.jpg\" width=\"300\" height=\"92\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step4b-300x92.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step4b.jpg 428w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Step 5) Assemble Edits<\/strong><br \/>\nIf you logic is working properly, go ahead and assemble the edits. Assembling removes the old rung,<br \/>\nand the edit zone markers. After Assembling, you may want to save your work to the hard drive.<\/p>\n<p>You can assemble by using one of the following methods:<br \/>\n1) Right click the rung number, and choose accept edits (if available in your version)<br \/>\n2) Click Logic | On line Edits | Assemble accepted program edits from the menu bar.<br \/>\n3) Click the Assemble Edits icon in the on line edits tool bar.<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step5b.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-101\" alt=\"step5b\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step5b-300x61.jpg\" width=\"300\" height=\"61\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step5b-300x61.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step5b.jpg 412w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Notice the Logic now appears to be normal:<\/p>\n<p><a href=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step5c.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-102\" alt=\"step5c\" src=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step5c-300x81.jpg\" width=\"300\" height=\"81\" srcset=\"http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step5c-300x81.jpg 300w, http:\/\/ethernetsupport.com\/wp-content\/uploads\/2014\/01\/step5c.jpg 429w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The procedure for online editing is very similar in the PLC-5, SLC-500, and ControlLogix.\u00a0 There are five basic steps in performing an online edit: 1) Start Rung Edits (Place the rung into edit mode) 2) Make your changes to the rung 3) Accept Edits (Send the edits to the processor) 4) Test Edits (Ensure your&hellip;<\/p>\n","protected":false},"author":1,"featured_media":98,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=\/wp\/v2\/posts\/90"}],"collection":[{"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=90"}],"version-history":[{"count":1,"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions"}],"predecessor-version":[{"id":103,"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions\/103"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=\/wp\/v2\/media\/98"}],"wp:attachment":[{"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ethernetsupport.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}