Menu

Connection to S7-400 fails

Help
Stavros C
2013-05-20
2013-05-23
  • Stavros C

    Stavros C - 2013-05-20

    First terrific job for this library. I am a Siemens S7/S5 programmer and now i am trying your library as well.
    Nevertheless I am having problem connecting to PLC.
    I always get -1 in result of the connection.
    I am trying to connect via ethernet to the PLC. Firewall is down .
    What this -1 means so i can search for the problem more efficiently?

    Thank you

     
  • Dmitry

    Dmitry - 2013-05-23

    I have a problem with connect to s400, and solved the problem as follows change rack, slot, MPI's differs that s300:

    s300: dc = new libnodave.daveConnection(di, 0, 0, 2);
    s400: dc = new libnodave.daveConnection(di, 2, 0, 0);

    Sorry for my English =)

     

Anonymous
Anonymous

Add attachments
Cancel