Edit ladder logic in run mode
Use these steps to edit ladder logic in Run mode.
To edit ladder logic in run mode:
To make a change to an existing rung:
- Select the rung to change.
- From the Logic menu, chooseStart A Pending Rung Edit.The selected rung is duplicated with pending edits. The original rung appears below the new rung and is shown with a lower-case "r" to its left. The new rung is shown with a lower-case "i" to its left.
- Make the logic changes to the new rung.When you make a change, the lower-case "i" changes to a lower-case "e" until the rung is verified. You cannot make changes to the original rung.
- When you have finished making changes to the rung and it verifies, select the rung.
- From the Logic menu, chooseAccept Pending Rung Edit.The new rung transfers to the controller. It displays as an insert zone with an upper case "I" to its left. The original rung is shown as a replace zone with an upper case "R" to its left. The new rung is not executed, however, the original remains executed until you test your changes.
To insert a new rung:
- Select the rung where the new rung should appear.
- On the Instruction Toolbox, select the new rung icon.The rung added displays with pending edits. It is shown with a lower-case "e" to its left.
- Create the logic on the new rung.
- When finished making changes to the rung and it verifies, select the rung.
- From the Logic menu, chooseAccept Pending Rung Edit.The rung transfers to the controller. It displays as an insert zone with an upper case "I" to its left. The new rung is not executed until you test your changes.
To delete an existing rung:
- Select the rung to delete.
- From the Edit menu, chooseDelete.The rung displays as a delete zone with an upper case "D" to its left. The deleted rung remains executed until you test your changes.
To test changes:
- From the Logic menu, chooseTest Program Editsto put the program in Test Edits mode.Test Edits mode affects all rungs with edit zones in the program.
- To confirm that you want to test the edits, click theYesbutton.All of the insert zones and regular rungs are executed. The replace zones and delete zones are not executed.
To keep changes:
- From the Logic menu, chooseAssemble Program Edits.
- To confirm that you want to assemble the edits, clickYes.Insert zones convert to regular rungs. The replace zones and delete zones are removed. All of the rungs in the program are executed. The controller is placed back in untest edits mode.
To cancel changes before assembling them:
- From the Logic menu, chooseUntest Program Edits.
- From the Logic menu, chooseCancel Program Edits.Replace zones and delete zones convert to regular rungs and insert zones are removed. All of the rungs in the program are executed.
Provide Feedback