You can use this function to compare two circuit programs.
LOGO!Soft Comfort does not recognize differences in the graphical block layout and in comments.
Overview
You can use this function to compare two circuit programs. You can either compare two circuit programs that are both open in LOGO!Soft Comfort, or you can compare a program in LOGO!Soft Comfort with the other one in the LOGO! device.
|
Note
You can compare only circuit programs of the same type, that is: *.lsc with *.lsc, *.lld with *.lld, or *.lma with *.lma. |
The following screenshot provides an overview of the compare dialog.
|
① |
Select the two circuit programs to compare.
|
|
② |
Click "②" to run the comparison. |
|
③ |
Here LOGO!Soft Comfort shows you the differences in the two programs: - Number of blocks - Block parameters - Additional/missing blocks - Different hardware - Different message text FBs (both text and bar graph) - Different connections - Different parameter VM mapping lines - Different Ethernet connections |
Compare two circuit programs with parameter VM mapping settings
When you compare two circuit programs with parameter VM mapping settings, LOGO!Soft Comfort compares two lines and displays the comparison results. LOGO!Soft Comfort only displays the differences between the first two different lines because once two lines differ, LOGO!Soft Comfort stops comparing subsequent lines.
Configure different VM mapping settings on the two circuit programs. See Tools -> Parameter VM Mapping (0BA7 and later versions only) for more information.
After you have set the module address and Ethernet connections, you can start to compare the two circuit programs.
Result: As shown in the following result display, the parameter names in parameter VM mapping line 1 of the two circuit programs are different.
Compare two circuit programs with Ethernet connections
When you compare two circuit programs with Ethernet connections, LOGO!Soft Comfort compares their configurations of Ethernet connections, and then displays the comparison results.
During the comparison of Ethernet connections, once a difference occurs in a connection setting, LOGO!Soft Comfort stops comparing subsequent settings.
Set module addresses and Ethernet connections following instructions in the Tools -> Ethernet Connections (0BA7 and later versions only) section:
Compare the two diagrams.
Result: As shown in the result display above, the two compared circuit programs have different module address settings and different IP address settings for two Base Modules that are both used as clients.
Editing
You can edit the two circuit programs in the diagram comparison windows.
Different hardware
If you have configured different LOGO! devices in the two programs, you will see a considerable number of messages. To avoid such messages, make sure both devices are the same.
Programs with internal markers
When you compare circuit programs with internal markers, in some circumstances LOGO!Soft Comfort reports more differences than there really are.