9/11/2007 1:15 AM | |
Joined: 6/1/2007 Last visit: 7/11/2024 Posts: 9 Rating: (0) |
Thank you, attached are some zipped trace files. Did it with Wireshark but could them open with Etheral without any problem.The files 10092007_3_50pm_Server Disconnected.pcap and 10092007_3_50pm_Server Disconnected.pcap contain traces from a Foxboro to a Invensys Tricon PLC which was used as test. The files S7_IP_5_........ contain traces using the original system configuration Foxboro / S7 The S7 address is 172.16.203.5 The Foxboro address is 172.16.203.151 What I miss is a sysnch responce from the Siemens system but I do not know enough about the protocol and the package sequence if it is necesary. The Invensys to Invensys system on the other hand shows 3 synch from theClient, some delay after 3 synch / ackn from the Server and after this a "172.16.203.5 where are you tell172.16.203.151" What is strange to me is that the Client port number is differnd. Is it normal that the client port number is dynamic?? As mentioned I do not know enough about the protocolif this is normal. Thanks for your help TryOut AttachmentTrace.ZIP (1405 Downloads) |
9/11/2007 10:50 PM | |
Joined: 6/1/2007 Last visit: 7/11/2024 Posts: 9 Rating: (0) |
Thank you UnimogMan what I would like to know is how the packages for the user data packages send with Modbus TCP are marked. I use Wireshark as sniffer and can not capture (maybe not see or recognize) when user data packages are transmitted. (Wireshark is the former Etheral) In may case, when I use Modbus Poll or Modscan32 as substitute of the Foxboro client I can read/write data without any problem but can not determine the user data package at my sniffer trace. In the attached zip file some traces of communication between S7 and Modbus Poll as a client. I assume the problem not being able to establish data exchange between S7and the real client (Foxboro/Invensys) is that Invensys uses Modbus TCP multitasking or any wrong setup. When I analyze the behavior it looks like the synchronization is lost and never established again. Bad luck for me is that to finish this job I would like to get technical support from Invensys but Invensys is not willing to analyzeor check anything on their site except at user level. Invensys prove that their site works ok is to setup a Modbus TCP connection to an Invensys PLC. To me having problems to do this would be like Siemens systems can not exchange data with Siemens.However, people from Invensys Ihave to work with are barely able to understandhow toparameterize the Foxboro Modbus TCP driver and do not knowmuch about Modbus TCP. They also refused tocheck their used Foxboro functionality against theSiemensopen Modbus descriptionmentioned at the user manual of the Modbus FB (like no multitasking etc.)To me after all the analyzing it looks like Invensys is using more than the Siemens Modbus TCP is capable of or the setup (timeout supervision etc.) of the Foxboro driver has to be corrected.However I have to solve it from the S7 site since I do not get technical support from Invensys and to do this I need all the help I can get.
AttachmentTrace.ZIP (1588 Downloads) |
9/13/2007 7:52 AM | |
Joined: 5/19/2006 Last visit: 10/23/2024 Posts: 549 Rating: (107)
|
Ack flag specifies that the portion of the header that has the acknowledgement number is valid; Push flagtells the TCP/IP stack that this should be pushed up to the application layer program that needs it or requires it as soon as time allows; Reset flag used to reset the connection; Syn flag is used to synchronize sequence numbers with acknowledgement numbers for both hosts; Fin flag used to specify that a connection is finished according to the side that sent the packet with the FIN flag set.
These 2 captured packets it looks bizarre to me: #1 The Server (172.16.203.5) acknowledge a connection request [SYN,ACK] on port 1086 instead of 1085. Are you missing packets? I believe the client closed the socket (1085) and opened 1086 and start SYN again but you don't have these packets. #2 Where are theModbus data exchange packets? Are you missingpackets? Use an Ethernet hub or program the switch to forward allthe packets to the port where you sniff the packets.
From S7_IP_5_6_55pm.pcap I see 9 Modbus requests in one TCP frame. A TCP frame must transport only one Modbus Application Data Unit at a time. "Although it’s possible, it is not recommended to send multiple Modbus requests on the same PDU". Sounds like you are screwed up Although I am not familiarly with Siemens "Open Modbus" implementation it should not matter if client sends 9 ADU in one TCP frame or in 9 frames according to Siemens "Native-TCP" implementation in S7-CP. See variable length case below (I still have hard time to understand the logic behind this note).https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objid=1235645&caller=view Dec |
Last edited by: Dec at: 13.09.2007 10:38Last edited by: Dec at: 13.09.2007 10:15Last edited by: Dec at: 13.09.2007 10:12 |
|
Follow us on