Belekz

CIP: Forward close fault

3 posts in this topic

I'm writing an CIP-driver in C# for communication between a Rockwell PLC and a Raspberry Pi.

Currently I'm debugging the Connect/Disconnect process. Everything works fine, I register a session, I start an start forward. When I press disconnect, I send an forward close to the PLC. En this seams to work. Only in Wireshark I see an error: "Destination Unknown". But I can't figure out why the destination is wrong. I filed everything in the correct order according to the table below.

 

temp.JPG

temp.JPG

Share this post


Link to post
Share on other sites

Does your Connection_Path match that of the Forward Open and the Connection Serial Number match that of what was returned by the Forward Open?

 

If you need reference packets or something to test on the Pi for comparison, AdvancedHMI works on the Pi and has a full working CIP driver. It is a .NET application.

advancedhmi.com/forum/index.php?topic=666.0

 

Edited by arj3090

Share this post


Link to post
Share on other sites

Hello,

Download the demo for PeakHMI and use it to capture packets in Wireshark. If you need any help contact PeakHMI support.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now