Menu

Connection timed out on S7-1511

2014-09-18
2014-09-18
  • Dragos Paraschiv

    Hello evertbody.
    Dave, thanks a lot for developing Snap7.
    I tried out your examples, and i think i need some guidance.
    First i tried on S7-300, it works.

    After that i tried with S7-1511-1.
    It times out, can you give me some suggestions about where can i go further ?
    http://s2.postimg.org/zfx437ng9/Snap7.png

    I've just found out about Snap7, i'm afraid i missed something.
    I've read http://snap7.sourceforge.net/snap7_client.html#1200_1500 i did checked for Full Access and PUT/GET. Is there anything else i can try ?

    Thank you,
    Dragos

     
    • Dragos Paraschiv

      Hello again, i figured it out, it only works if i use the calling:
      client.exe <ip> 0 0 (Rack 0, Slot 0)</ip>

      Still, if you read this, please tell me if it can work if i set a password.
      What do i have to do to make it work with password, is there a function to deliver the password before asking db-info out of it ?

      Thank you

       
  • Davide Nardella

    Davide Nardella - 2014-09-18

    Hi,
    It's correct, S71200/1500 family need Rack=0 and Slot=0 as connection params, as you can see at page 94 of the reference manual.

    Don't close the manual and go to page 31, you will find the compatibility chapter, unluckily S71200/1500 family doesn't implement the security part of the S7Protocol.
    For S7300/400 family there is no problem to login/logout with the password.

    Regards
    Dave

     

Log in to post a comment.

MongoDB Logo MongoDB