Topic: DMD0271

Compare Programs


Compares the ladder logic in the code-blocks of the currently opened project to one of the following:

 

  • Another Program - select this option and use the Browse... button to locate the project on disk that and then compare the code-blocks of the currently opened project to the code-blocks in that project.
     

  • What's on the Disk - select this option to compare the code-blocks of the currently opened project to the code-blocks in the project that is saved on disk.
     

  • What's in the PLC - select this option to compare the code-blocks of the currently opened project to the code-blocks in the Do-more controller.

 

Note: this operation DOES NOT compare the element documentation, or the rung comments, or the system configuration.

 


Click OK to start the comparison.

 

Click Cancel to exit without comparing the projects.

 


Once the comparison is complete, the programmer will see a dialog that lists the differences between the two projects.

 

 

The top sections list the difference between the code-blocks at the project level, meaning that it looks for code-blocks that are missing from one of the projects, or if the code-clocks have a different execution order.

 

Use the following four options to control what differences are displayed in the list:

 

Show code-blocks only in <current project> - lists the code blocks that only appear in the currently opened project

 

Show code-blocks only in <other project> - lists code-blocks that only appear in the other project

 

Show code-blocks only in different execution order - lists the code blocks that have a different execution order

 

Show code-blocks only in consistent execution order - lists the code blocks that have the same execution order

 


The bottom section lists the differences in the ladder logic contained in the code-blocks. Differences between the ladder logic instructions are displayed in the following color-coded ways:
 

  • instructions that are NOT different are displayed in Black
     

  • instructions that are Different are displayed in Blue
     

  • instructions that are in the Current Project but not in the Other Project are displayed in Green
     

  • instructions that are in the Other Project but not in the Current Project are displayed in Red

 

The Instruction Differences - lists the code blocks and the addresses of the instructions in the code-block that are different. Clicking on an entry in this list will display the comparison details of that address in the details window.

 

The details window displays the ladder logic instruction mnemonics of the two code-blocks being compared, with the two left-most columns showing the address and mnemonic from the Current Project, and the two right-most columns showing the address and mnemonic from the Other Project.

 


The following three options define the level of detail that is displayed in this list:
 

  • Show Differences Only - only displays the address and mnemonics that are different
     

  • Show Differences w/Context - displays the one address and mnemonic before and after each of the differences
     

  • Show All Rungs - display all of the rungs in the code blocks

 


Copyright © Host Engineering, Inc. ALL RIGHTS RESERVED