I have a Beckhoff PLC that's running a software developed with TwinCat3. Is there a way to retrieve the running software using C# application ? The TwinCAT.Ads library does not seem to offer such functionality.
The plan is to be able to compare what is online with a backup stored locally to detect any unplanned code changes made by Service Technician.
It would be enough for me if I could for example retrieve a hash code from the PLC and generate hash from a local backup and see if they match.
Is there perhaps a better way to detect such changes ?
I am new to Beckhoff PLC / TwinCat3 so all information regarding this matter is much appreciated.
EDIT: I should add that the C# application will automate the process of checking for unplanned code changes and only flag it so that an engineer can approve or reject the changes.