My best advice is to forget the S5 program. At the most it can be used for understanding what functionality there was in the old program.
If you try to migrate the S5 program to S7-1500 you get a mess that you don't know how it works and is impossible to maintain.
Create a completely new S7-1500 program using the latest programming standards.
It will take a lot of investigation to create a proper program description.
Just now I am finishing converting a PLC program to my own latest standard. Granted, the previous program was for S7-300 but it was written in such a way that I think it must have started its life as an S5 program. Took me 3 weeks of intensive programming.
Hi Jesper, Many thanks to the reply. Yes, I will use the PLC5 program only for understanding. I have a backup of the program and trying to read using IBHsoftware. The problem is that parts of the program only open in STL where I can understand only ladder. Here I need help to find a way to convert all the logic to ladderMy best advice is to forget the S5 program. At the most it can be used for understanding what functionality there was in the old program.
If you try to migrate the S5 program to S7-1500 you get a mess that you don't know how it works and is impossible to maintain.
Create a completely new S7-1500 program using the latest programming standards.
It will take a lot of investigation to create a proper program description.
Just now I am finishing converting a PLC program to my own latest standard. Granted, the previous program was for S7-300 but it was written in such a way that I think it must have started its life as an S5 program. Took me 3 weeks of intensive programming.
Hi JespelDon't focus on the STL code.
Instead, talk to people that have been running the machine. Read the user manual (if one exists), study all electrical and mechanical documentation.
Write a functional description how the machine is supposed to work.
Write a new program based on the functional description.
Only if you are in doubt what the machine is supposed to do, study the old code.
Hi Nick, thank you for the valuable suggestionNot all STL code can be converted to ladder. My advise would be to look at each STL instruction in turn and try to understand what it does. Write yourself some comments against the code based on what each instruction does and reverse engineer it that way. If you're stuck understanding a spefic part then people here will be able to help you understand it.
Nick
Hi , Thank you. I feel its arisky taskWhat you may also find is even if you use the S5 > S7 conversion tool there may be some Siemens blocks being used, these will not convert, what often happens is the blocks appear in the S7 program but with no code some examples are things like their step flag sequence FB. so you have to try & understand what these blocks do (not easy as the code is often locked)
TrueI would check if there are any Siemens standard blocks some like analogue ones can be easily got round others, not so easy.