Zuviel Werbung? - > Hier kostenlos beim SPS-Forum registrieren

Results 1 to 2 of 2

Thread: S7-1200 multiple ISO-on-TCP connections

  1. #1
    Join Date
    Erhielt 0 Danke für 0 Beiträge


    Zuviel Werbung?
    -> Hier kostenlos registrieren
    I have written my own dll (wrapping parts of libnodave) to communicate with a 1214 S7-1200 PLC via the builtin ethernet port. It is working fine for a single instance of my .net C# program, and I have it working on a PC and on a CE panel device. But what is not working is multiple connections. So when I run one instance the connection is successfull. When I start the second instance I cannot get a connection. Then when I kill the first instance the second instance gets connected. I think the problem has something to do with the ISO packet. My question is what is the location of the parameter in the ISO packet for changing this mode in the 1200?

    There is parameter in the ISO packet that tells the 1200 what connection mode to use. In the libnodave _daveConnectPLCTCP function the packet data is somewhat documented for the CP243 communications, and this parameter is there. But I don't know where this parameter is in the regular TCP ISO packet. I think the default for this parameter is 1 (PG) and I need to change it to 2 (OP) so that the 1200 will support up to 3 connections. Can anyone tell me where this parameter is in the TCP ISO packet data block so I can change it?
    Reply With Quote Reply With Quote S7-1200 multiple ISO-on-TCP connections  

  2. #2
    Join Date
    Erhielt 407 Danke für 326 Beiträge


    When you download my Version of libnodave, i've documented it in my version!

    You can get it here:


    Maybe you can also share your source with us? (You know libnodave is under LGPL!)
    Jochen Kühner
    http://jfk-solutions.de/ - Softwareentwicklung, Programmierung, ...
    https://github.com/jogibear9988/DotN...ToolBoxLibrary - Bibliothek zur Kommunikation mit PLCs und zum öffnen von Step 5/7 Projekten
    IPhoneS7 - Inbetriebnahme Tool fürs IPhone (VarTab, Baustein-, PLC-Status)

Similar Threads

  1. Datenaustausch zwischen S7-1200 und S7-1200
    By baschan in forum Simatic
    Replies: 4
    Last Post: 09.12.2011, 00:27
  2. PLCS¡m + NetToPLCSim + multiple connections
    By jondownloads in forum Simatic
    Replies: 1
    Last Post: 20.05.2011, 23:04
  3. Replies: 6
    Last Post: 07.02.2011, 07:49
  4. LibNodave und Multiple Read (mit nicht existierenden Elementen)
    By Jochen Kühner in forum Hochsprachen - OPC
    Replies: 2
    Last Post: 25.08.2010, 23:27
  5. VB libnodave Read multiple items
    By Rmorasch in forum Hochsprachen - OPC
    Replies: 9
    Last Post: 19.10.2009, 10:05


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts