S7-1200 multiple ISO-on-TCP connections

tkamrath

Member
Join Date
Aug 2010
Location
Cypress, Tx
Posts
18
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?
 
How??

I have tried to post on that site and it is all in german. I have not been successfull in doing so. Do you know how to post there?
 

Similar Topics

Program structure - s7-1200 MODBUS RTU Master with multiple slaves & multiple registe I'm having problem to make a appropriate structure of my...
Replies
7
Views
11,247
I am looking for some assistance with Modbus tcp/ip to read and write data to a third party plc. I can read data with one mb client instruction...
Replies
1
Views
5,241
I currently have three S7-1214C CPU's running multiple lines of presses. Our company is trying to avoid using any HMI's, to display information...
Replies
3
Views
1,876
I am dealing with a machine shop using several (10-12) AB Micrologix 1200's on their machines. They are using 1761-NET-AIC DH485 for...
Replies
2
Views
4,440
Guys, I have posted 2 programs that are identical, other than I have added multiple instances of the same S:4/xx flags in the same routines. I am...
Replies
7
Views
3,004
Back
Top Bottom