Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Ladder Logic any experts here?

Ladder Logic any experts here?

Scheduled Pinned Locked Moved The Lounge
questionannouncement
29 Posts 10 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    glennPattonWork3
    wrote on last edited by
    #1

    Hi All, I have been given the task (read 'saddle with') of reverse engineering and modifying a Siemens conveyor system. The thing uses a version of Ladder Logic (if you don't know it's a Programming system that was designed to be easy to read, I think we all know what that creates). I used a simple form Allen-Bradley form back at college (many moons ago!) I appear to have lost all reference I had for it. The situation is the system works, I don't want to risk breaking it. So if anyone has a reference it would be very nice! Glenn

    C R P F R 8 Replies Last reply
    0
    • G glennPattonWork3

      Hi All, I have been given the task (read 'saddle with') of reverse engineering and modifying a Siemens conveyor system. The thing uses a version of Ladder Logic (if you don't know it's a Programming system that was designed to be easy to read, I think we all know what that creates). I used a simple form Allen-Bradley form back at college (many moons ago!) I appear to have lost all reference I had for it. The situation is the system works, I don't want to risk breaking it. So if anyone has a reference it would be very nice! Glenn

      C Offline
      C Offline
      charlieg
      wrote on last edited by
      #2

      I just went back to 1982. As an EE, my first job was as an equipment engineer, and I had to keep 3 machines running on the production line. We did a lot of ladder logic, relays, etc. The first thought I have is "simulator." PLCs are the children of ladder logic, so I would start poking around places like this: Online PLC Ladder Logic Simulator: Learn & practice coding![^] One warning I would give you - nothing is ever standard. I've had to support machines that were 30 yo with controllers that were 15 yo. Your doc is going to be a photocopied manual that may or may not be accurate. I'm actually jealous.

      Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

      G 1 Reply Last reply
      0
      • C charlieg

        I just went back to 1982. As an EE, my first job was as an equipment engineer, and I had to keep 3 machines running on the production line. We did a lot of ladder logic, relays, etc. The first thought I have is "simulator." PLCs are the children of ladder logic, so I would start poking around places like this: Online PLC Ladder Logic Simulator: Learn & practice coding![^] One warning I would give you - nothing is ever standard. I've had to support machines that were 30 yo with controllers that were 15 yo. Your doc is going to be a photocopied manual that may or may not be accurate. I'm actually jealous.

        Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

        G Offline
        G Offline
        glennPattonWork3
        wrote on last edited by
        #3

        Hmmm, Nothing is standard, badly photocopied manuals, like the 80's Home PC! (Commodore VIC20 - 64, Spectrum 48k rubber mat). So in other words hack it until it works... I can do that.

        C 1 Reply Last reply
        0
        • G glennPattonWork3

          Hi All, I have been given the task (read 'saddle with') of reverse engineering and modifying a Siemens conveyor system. The thing uses a version of Ladder Logic (if you don't know it's a Programming system that was designed to be easy to read, I think we all know what that creates). I used a simple form Allen-Bradley form back at college (many moons ago!) I appear to have lost all reference I had for it. The situation is the system works, I don't want to risk breaking it. So if anyone has a reference it would be very nice! Glenn

          R Offline
          R Offline
          Ron Nicholson
          wrote on last edited by
          #4

          I started to do some LAD stuff for a Rockwell system we used. This was about 10-12 years ago. I never got very deep. I did a DuckDuckGo search and found these Siemens ladder logic documentation[^]. The first link[^] Seems promising. Probably not your equipment, but it might help bring back memories. HTH. P.S. I'm sure you've already searched and didn't find what you need, so feel free to ignore me. :)

          Jack of all trades, master of none, though often times better than master of one.

          G 1 Reply Last reply
          0
          • G glennPattonWork3

            Hi All, I have been given the task (read 'saddle with') of reverse engineering and modifying a Siemens conveyor system. The thing uses a version of Ladder Logic (if you don't know it's a Programming system that was designed to be easy to read, I think we all know what that creates). I used a simple form Allen-Bradley form back at college (many moons ago!) I appear to have lost all reference I had for it. The situation is the system works, I don't want to risk breaking it. So if anyone has a reference it would be very nice! Glenn

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #5

            If only they were similar to these binary load lifters I have...

            C G 2 Replies Last reply
            0
            • P PIEBALDconsult

              If only they were similar to these binary load lifters I have...

              C Offline
              C Offline
              charlieg
              wrote on last edited by
              #6

              what?

              Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

              1 Reply Last reply
              0
              • G glennPattonWork3

                Hmmm, Nothing is standard, badly photocopied manuals, like the 80's Home PC! (Commodore VIC20 - 64, Spectrum 48k rubber mat). So in other words hack it until it works... I can do that.

                C Offline
                C Offline
                charlieg
                wrote on last edited by
                #7

                yep, been there and done that. Have about 6" of paper manuals sitting on a shelf for an old NC machine I support. Years ago, I paid to have the product documentation scanned and converted to PDF.

                Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                1 Reply Last reply
                0
                • R Ron Nicholson

                  I started to do some LAD stuff for a Rockwell system we used. This was about 10-12 years ago. I never got very deep. I did a DuckDuckGo search and found these Siemens ladder logic documentation[^]. The first link[^] Seems promising. Probably not your equipment, but it might help bring back memories. HTH. P.S. I'm sure you've already searched and didn't find what you need, so feel free to ignore me. :)

                  Jack of all trades, master of none, though often times better than master of one.

                  G Offline
                  G Offline
                  glennPattonWork3
                  wrote on last edited by
                  #8

                  The Siemens stuff is odd, Siemens web site is very awkward to navigate, you need to login to get access to bits and can be awkward and is generally awkward to use... I point people to it as a "don't do this" example.

                  M 1 Reply Last reply
                  0
                  • G glennPattonWork3

                    Hi All, I have been given the task (read 'saddle with') of reverse engineering and modifying a Siemens conveyor system. The thing uses a version of Ladder Logic (if you don't know it's a Programming system that was designed to be easy to read, I think we all know what that creates). I used a simple form Allen-Bradley form back at college (many moons ago!) I appear to have lost all reference I had for it. The situation is the system works, I don't want to risk breaking it. So if anyone has a reference it would be very nice! Glenn

                    F Offline
                    F Offline
                    fgs1963
                    wrote on last edited by
                    #9

                    Glenn, The latest Siemens PLC development tool is called TIA (Totally Integrated Automation). It is a free download and has a 14 day demo license. It also includes full help files. I think its at v17 or v18. If you don't find what you need elsewhere, this might be an avenue to get there. BTW: Previous to TIA they used Step 7 (v5.x) and it had the same free d/l, demo and help system concept. It might be more appropriate if you're dealing with "old" logic. Not sure if its still available from Siemens.

                    G N 2 Replies Last reply
                    0
                    • F fgs1963

                      Glenn, The latest Siemens PLC development tool is called TIA (Totally Integrated Automation). It is a free download and has a 14 day demo license. It also includes full help files. I think its at v17 or v18. If you don't find what you need elsewhere, this might be an avenue to get there. BTW: Previous to TIA they used Step 7 (v5.x) and it had the same free d/l, demo and help system concept. It might be more appropriate if you're dealing with "old" logic. Not sure if its still available from Siemens.

                      G Offline
                      G Offline
                      glennPattonWork3
                      wrote on last edited by
                      #10

                      Aah version 18! The PLC wouldn't run if I compiled in 18, I had to use 17. Also have you tried the Siemens site for help it's a nightmare! try to create an account it opens Outlook if you have open already, in Browser tab. Has the font set too small to read at a distance. Also which genius created the acronym TIA for Totally Integrated Automation, we have another pointless TLA...

                      F 1 Reply Last reply
                      0
                      • P PIEBALDconsult

                        If only they were similar to these binary load lifters I have...

                        G Offline
                        G Offline
                        glennPattonWork3
                        wrote on last edited by
                        #11

                        Hmm Sigourney Weaver reference?

                        1 Reply Last reply
                        0
                        • G glennPattonWork3

                          Aah version 18! The PLC wouldn't run if I compiled in 18, I had to use 17. Also have you tried the Siemens site for help it's a nightmare! try to create an account it opens Outlook if you have open already, in Browser tab. Has the font set too small to read at a distance. Also which genius created the acronym TIA for Totally Integrated Automation, we have another pointless TLA...

                          F Offline
                          F Offline
                          fgs1963
                          wrote on last edited by
                          #12

                          Yup - been a Siemens customer for ~25 years. Step 7 from the start and TIA for the last 5 years. As for the Siemens site being a nightmare... 100% agree but its way better than it used to be. X|

                          G 1 Reply Last reply
                          0
                          • G glennPattonWork3

                            Hi All, I have been given the task (read 'saddle with') of reverse engineering and modifying a Siemens conveyor system. The thing uses a version of Ladder Logic (if you don't know it's a Programming system that was designed to be easy to read, I think we all know what that creates). I used a simple form Allen-Bradley form back at college (many moons ago!) I appear to have lost all reference I had for it. The situation is the system works, I don't want to risk breaking it. So if anyone has a reference it would be very nice! Glenn

                            R Offline
                            R Offline
                            Ralf Meier
                            wrote on last edited by
                            #13

                            Hi Glen, I can't find a real question from you - no matter ... I would say that I'm very familiar especially with Siemens-PLC's - I'm working with it the last 35 years ... so if I could help you ...? Independant : there is a very good PLC-Forum in Germany (www.SPS-Forum.de) where you can ask questions (normally in German but English is also possible) which I would recommend to you ...

                            G 1 Reply Last reply
                            0
                            • R Ralf Meier

                              Hi Glen, I can't find a real question from you - no matter ... I would say that I'm very familiar especially with Siemens-PLC's - I'm working with it the last 35 years ... so if I could help you ...? Independant : there is a very good PLC-Forum in Germany (www.SPS-Forum.de) where you can ask questions (normally in German but English is also possible) which I would recommend to you ...

                              G Offline
                              G Offline
                              glennPattonWork3
                              wrote on last edited by
                              #14

                              Hi, Sorry about that don't really have any questions yet, before I open the box I kinda like to know I have access to someone who might know enough to help me shut the box. A pre-emptive cry for help if you like. There are issues that need sorting that aren't directly software linked (like a sensor going into error constantly, the patch cable had come out!). I was more after someone I could ask if my Ladder Logic was correct. It seems from the way it's set up, it won't need as much alteration as I thought. One line going a speed when called via a push button, another line going the opposite way when called by a button and a roller table non-powered between them. At the moment it looks like we can just flatten the square and go from there with no alteration (until the ammount of room is changed so we either need to lengthen it or shorten it) Thanks Glenn :-D

                              R 1 Reply Last reply
                              0
                              • G glennPattonWork3

                                Hi, Sorry about that don't really have any questions yet, before I open the box I kinda like to know I have access to someone who might know enough to help me shut the box. A pre-emptive cry for help if you like. There are issues that need sorting that aren't directly software linked (like a sensor going into error constantly, the patch cable had come out!). I was more after someone I could ask if my Ladder Logic was correct. It seems from the way it's set up, it won't need as much alteration as I thought. One line going a speed when called via a push button, another line going the opposite way when called by a button and a roller table non-powered between them. At the moment it looks like we can just flatten the square and go from there with no alteration (until the ammount of room is changed so we either need to lengthen it or shorten it) Thanks Glenn :-D

                                R Offline
                                R Offline
                                Ralf Meier
                                wrote on last edited by
                                #15

                                So let's make it short ... if you have any specific questions feel free to ask me - or do it inside the Forum I suggested to you (where I am one of the Moderators). Independant - I'm quite sure that you could be helped to solve your issue ... but for that it's necessary to habe the relevant source-code. But some question from me : - which kind of Siemens-SW are you using ? - is that code written in Step7-Classic or TIA ? - do you know that normally you could switch from Ladder (KOP) to Instructions-List (AWL - sorry I only know the German words) or Function-Plan (FUP)

                                G 1 Reply Last reply
                                0
                                • R Ralf Meier

                                  So let's make it short ... if you have any specific questions feel free to ask me - or do it inside the Forum I suggested to you (where I am one of the Moderators). Independant - I'm quite sure that you could be helped to solve your issue ... but for that it's necessary to habe the relevant source-code. But some question from me : - which kind of Siemens-SW are you using ? - is that code written in Step7-Classic or TIA ? - do you know that normally you could switch from Ladder (KOP) to Instructions-List (AWL - sorry I only know the German words) or Function-Plan (FUP)

                                  G Offline
                                  G Offline
                                  glennPattonWork3
                                  wrote on last edited by
                                  #16

                                  I think we are using TIA version 17... if that makes sense, the ladder appears inside funtion blocks (which confused me!) I will get over to the Forum you suggested, I know the registering process can take a little time. The source code is a collection of three files (does that sound right?). I'm having to pick up a project that got part done, then Covid happened and the guilty party (person that had all the knowledge) left!

                                  F 1 Reply Last reply
                                  0
                                  • G glennPattonWork3

                                    Hi All, I have been given the task (read 'saddle with') of reverse engineering and modifying a Siemens conveyor system. The thing uses a version of Ladder Logic (if you don't know it's a Programming system that was designed to be easy to read, I think we all know what that creates). I used a simple form Allen-Bradley form back at college (many moons ago!) I appear to have lost all reference I had for it. The situation is the system works, I don't want to risk breaking it. So if anyone has a reference it would be very nice! Glenn

                                    N Offline
                                    N Offline
                                    Nelek
                                    wrote on last edited by
                                    #17

                                    I can help you out with that, Glenn. I am maybe not as good as Ralf aobve, but I am pretty good too. Give me a PM here and I will answer you per mail, where we can continue writing or arrange a live conversation

                                    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                    G 1 Reply Last reply
                                    0
                                    • F fgs1963

                                      Glenn, The latest Siemens PLC development tool is called TIA (Totally Integrated Automation). It is a free download and has a 14 day demo license. It also includes full help files. I think its at v17 or v18. If you don't find what you need elsewhere, this might be an avenue to get there. BTW: Previous to TIA they used Step 7 (v5.x) and it had the same free d/l, demo and help system concept. It might be more appropriate if you're dealing with "old" logic. Not sure if its still available from Siemens.

                                      N Offline
                                      N Offline
                                      Nelek
                                      wrote on last edited by
                                      #18

                                      v17.x.x

                                      fgs1963 wrote:

                                      It also includes full help files.

                                      And they actually are not that bad.

                                      fgs1963 wrote:

                                      It might be more appropriate if you're dealing with "old" logic.

                                      Not only might, should. There are "breaking" changes in some important libraries

                                      M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                      1 Reply Last reply
                                      0
                                      • F fgs1963

                                        Yup - been a Siemens customer for ~25 years. Step 7 from the start and TIA for the last 5 years. As for the Siemens site being a nightmare... 100% agree but its way better than it used to be. X|

                                        G Offline
                                        G Offline
                                        glennPattonWork3
                                        wrote on last edited by
                                        #19

                                        Quote:

                                        As for the Siemens site being a nightmare... 100% agree but its way better than it used to be. Dead | X|

                                        Oh dear :bob: worse? :wtf:

                                        1 Reply Last reply
                                        0
                                        • N Nelek

                                          I can help you out with that, Glenn. I am maybe not as good as Ralf aobve, but I am pretty good too. Give me a PM here and I will answer you per mail, where we can continue writing or arrange a live conversation

                                          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                          G Offline
                                          G Offline
                                          glennPattonWork3
                                          wrote on last edited by
                                          #20

                                          Hi, Thanks for that, I was having a minor panic attack! I have been billed as an expert, I am not, I have used Allen-Bradley (strangely while I was doing a contract at Siemens). Before that a course at college too long ago. I have access to experts Yayy CP! Glenn

                                          N 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups