Hi Guys,
Its the first time I am posting in this forum and I hope I am asking my question correctly .
I want to know how the PLC logic will look like inside the PLC. For example in CodeSys once the logic (Written in FB, LL or ST) gets uploaded to the PLC it will look like a binary file.
Assuming that I wrote a logic in ST language and uploaded to the PLC, does it look like a ST file inside the PLC like this:
http://fdik.org/iec2xml/sample.EXP
Or it will be a binary?
Also It seems that lots of people wrote their own Ladder Logic decompiler but it looks like that there is no universal way to decompile a logic even if they are using standard languages such as Ladder Logic or ST or Function Block.
I want to semantically understand a logic file within the PLC thus I need to decompile it. However If the Logic itself stays in its standard language shape (like the sample link in the top) I will have no problem. But if it is converted to something else (e.g. binary) then it will be a problem for my project.
Any idea in this matter? Do you know any PLC which gets the logic in its original language ? (Structured Text, Ladder Logic or Function Block) Or I am wrong and all the PLCs convert the logic to binary byte codes?
Thanks.
Its the first time I am posting in this forum and I hope I am asking my question correctly .
I want to know how the PLC logic will look like inside the PLC. For example in CodeSys once the logic (Written in FB, LL or ST) gets uploaded to the PLC it will look like a binary file.
Assuming that I wrote a logic in ST language and uploaded to the PLC, does it look like a ST file inside the PLC like this:
http://fdik.org/iec2xml/sample.EXP
Or it will be a binary?
Also It seems that lots of people wrote their own Ladder Logic decompiler but it looks like that there is no universal way to decompile a logic even if they are using standard languages such as Ladder Logic or ST or Function Block.
I want to semantically understand a logic file within the PLC thus I need to decompile it. However If the Logic itself stays in its standard language shape (like the sample link in the top) I will have no problem. But if it is converted to something else (e.g. binary) then it will be a problem for my project.
Any idea in this matter? Do you know any PLC which gets the logic in its original language ? (Structured Text, Ladder Logic or Function Block) Or I am wrong and all the PLCs convert the logic to binary byte codes?
Thanks.