Hi guys, new to the forum.
I've been tasked with a project at my new job to get a machine up and running that hasn't ran for 2 years!
At the minute i'm trying to figure out the code but we had no up to date backup's so I simply uploaded code to laptop.
BTW it is a S7-300 PLC.
Now i've found all the code is in STL. I have since found some old drawings and an old copy of previously saved code (which is different to what is in PLC now!), this was useful though as it was commented and I transferred comments across. This then led to a problem that most comments were Italian!!!
At present I'm trying to convert the STL to LAD (reason for this being I was brought up on Omron and have only used S7 in LAD or FBD)
I would just like someone to confirm this change from STL to LAD i have done is correct:
ORIGINAL LAD CODE -
A I11.0
O M74.1
A M66.0
A I11.1
AN M70.0
= M74.0
When i have completed what i think is equivalent code in LAD it looks like this (sorry i'm unsure how to paste LAD on here so i have done a back to STL view of my LAD)
A(
O I11.0
O M74.0
)
A M66.0
A I11.1
AN M70.0
= M74.0
Could anyone confirm/deny if i am correct as I don't want to continue if i have got the basic grasp of STL yet!
Thanks
I've been tasked with a project at my new job to get a machine up and running that hasn't ran for 2 years!
At the minute i'm trying to figure out the code but we had no up to date backup's so I simply uploaded code to laptop.
BTW it is a S7-300 PLC.
Now i've found all the code is in STL. I have since found some old drawings and an old copy of previously saved code (which is different to what is in PLC now!), this was useful though as it was commented and I transferred comments across. This then led to a problem that most comments were Italian!!!
At present I'm trying to convert the STL to LAD (reason for this being I was brought up on Omron and have only used S7 in LAD or FBD)
I would just like someone to confirm this change from STL to LAD i have done is correct:
ORIGINAL LAD CODE -
A I11.0
O M74.1
A M66.0
A I11.1
AN M70.0
= M74.0
When i have completed what i think is equivalent code in LAD it looks like this (sorry i'm unsure how to paste LAD on here so i have done a back to STL view of my LAD)
A(
O I11.0
O M74.0
)
A M66.0
A I11.1
AN M70.0
= M74.0
Could anyone confirm/deny if i am correct as I don't want to continue if i have got the basic grasp of STL yet!
Thanks