Hi Jean Pierre & others,
As you mentioned earlier Jean Pierre you're right that I'm programming in STL.
My personal experience learns me that I don't safe time using this tool.
All programs at our company are written in AWL/STL.
Things I experienced with the tool :
1) Functions with math needs to be rewritten as there are more advanced functions for math allready integrated in the syntax of S7 compared to S5.
2) Everything with communication needs to be rewritten as the use of communication cards is different. ( serial, profibus, ethernet)
3) The same goes on for counter cards & analogue signal.
4) Use the S7 way of DB's is a lot cleaner than the S5 way
L DBxx.DBWyyy instead of
OPN DBxx
L DW yy
5) For one or othe reason there could be written some random code using that tool into your new program.
6) Use the S7 way of working with pointers.
Nowadays, when I need to rewrite a program, I take my PG, I open the old program, make an analyse of how things are working and then i start rewritting the program on my laptop into S7.
This way the new program is perfectly what I want and I will at least know how my program is working ! This is very important IMHO when doing the commisioning of the new program !
Time is money, especially when you are doing retrofits of projects in automotive and petro chemicals sector during the weekend.
It gives a nightmare feeling from time to time ;-)
Kind Regards,
Stef