What changed between two versions of a PLC program
A machine was modified on site, two integrators worked on copies of the same application, or a
backup has to be checked against what runs in the PLC. Upload the older version as the
application and the newer one under "Second version to compare": both can be .XEF, .ZEF,
.STU or .STA files, also one of each.
What is compared
- The PLC and modules: the CPU and its firmware version, and modules added, removed or replaced in the racks.
- Tasks and sections: sections added or removed, moved to another task or language, changed activation conditions and comments, and a changed execution order.
- LD and FBD logic: rungs and networks are matched by their content, so an inserted rung does not make the rest of the section look changed. Every changed rung or network is drawn before and after, one under the other.
- ST, IL and SFC: the lines that were added, removed or changed, with their line numbers in both versions.
- DFB and DDT types: versions, parameters and members, and the code of the DFB types.
- Variables: added and removed variables, and changes of type, address, initial value or comment.
The report
You get the comparison as a PDF, as an HTML page with the drawings and as an Excel workbook with one row per difference, next to the full printout, viewer and tables of the first application. The result page shows the number of differences by area and the first of them.
Comparing a project with an export
Comparing an .STU with an .XEF of the same application works, but an STU file has no
variable addresses or initial values and no DDT declarations, so those show up as differences.
Compare two files of the same kind for the cleanest result.
More about what this tool reads and writes: Schneider PLC Program Viewer (XEF, ZEF, STU to PDF).