Hi Ranjid, and let me perhaps add a little more to this ... having written the first S7 driver, I deliberately didn't implement the parts of any protocol to extract and even more important to update any PLC program.
For me the risks of manipulating PLCs was just too big. Recently we discussed the option to extract the running program from an S7 PLC in order to implement some semi-symbolic addressing, but I will definitely not support any efforts in updating a PLCs programs as the potential harm overweighs the benefits by far (In my humble opinion) Decoding/Disassembling and recompiling PLC code would also totally exceed the scope and the manpower of this project ... just thinking about how many PLCs are out there. But I hope you like what we did so far :-) Chris Am 16.04.20, 11:09 schrieb "Julian Feinauer" <[email protected]>: Hi Ranjid, very happy to have you here : ) Currently we are not able to do that although in theory it should be possible.. at least to read the (compiled) software. Manipulate in the sense to change it reasonably rather not, I guess as its all compiled code : / Hope this helps you at least a bit? Julian Am 16.04.20, 10:42 schrieb "ranjid abjidinhija" <[email protected]>: Hello, this is Ranjid. I'm an certified engineer from India employed in pharma industries and i recently discovered your project. I am working with PLCs from Siemens. I accieved to read and write IO and data blocks with PLC4J already. Is it possible to read the software itself from the PLC, too? Could PLC software even be manipulated with the aid of PLC4J? I need to reverse engineer existing software, but do not have access to the source code. Can you help me with this, please? Best regards, Ranjid
