Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

can you provide some links for visual diffing tools? 90% of the programs I write are PLC programs in the IEC 61131 function block language. I would love to be able to diff and merge.

PLC processors have come down so much in cost we have gone to a modular architecture where we have multiple CPUs in a plant each running an independent machine or part of the plant process partly so that one programmer can work on the program for 1 CPU without having to merge another programmer's changes.

I thought this could be useful if I could use the PLC programming software (Schneider Unity) to export PDFs of the function block diagrams: http://www.evilmadscientist.com/2011/improving-open-source-h...

I thought I might be able to get this open source PLC programming software which includes a function block renderer to read the unity XML program exports and then I could render the function block sections myself and diff them: http://www.beremiz.org/doc

Here is the only real product I've ever seen which has a module for matlab simulink diffing: https://www.diffplug.com/

Schneider does have the UnityDiff tool which has come a long way in the last couple years and it does pretty decent diffs but there is no way to generate them automatically that I know of. I have to open both versions of the program I want to diff and then run the diffing tool. Then the visual diff output can't be exported out of the unitydiff program. printing doesn't work. I should make some feature requests.



Simulink comes with a built-in diffing tool as of the last few releases.

For 61131, check out this work, sounds promising... You'd just need to figure out how to download the LogixDiff tool that they developed (maybe contact the authors?) https://dspace.cvut.cz/bitstream/handle/10467/24493/F3-BP-20...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: