Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Fmoura

Pages: [1]
1
ARCHIE

I don't know how can I to thank you, It is working perfectly!
Thank you very much for quckly reply and solve my problem.

haha I can't belive it's working with ControLogix.

I will do tests with a large amount of data and I will show here the results.

2
Hi,

I have made a test reading three tags from PLC, then analyzing with WireShark I get three ForwardOpens and Closes. You can download this capute in http://we.tl/jjy3qLnXWd

On attachment is a ForwardClose bits using OPC.

And now I'm not closing the connection explicitly, but I already made tests using CloseConnection() and Dispose() and I had the same error.

3
I don't know what else to do.
This error can be on my PLC? Or in my Ethernet Card? Because in all tested versions I dont could communicate directly with the ControlLogix without data loss, but with OPC its work very well. I have made a lot of changes in the code, but always a I get the same error.

4
How can I see what is inside the packet? Looking at the bits?

I forgot to say, this error (Connection failure) not occurs often, but always shown "Too Much Data".

And I saved the WireShark capture at http://we.tl/ICMmvRy7UR. If you open it, add on filter: ip.addr==192.168.1.60

5
Hi,
Thanks for reply.

To me it seems normal, it is opening and closing the connection.

6
These are what I got using WireShark (on attachment)


7
Hello,

I'm developing a simple (Windows Service) Data Logger using AdvancedHMI Drivers and C#, and I'm taking the following error  'Object reference not set to an instance of an object'.

This error is given only when I use ControLogix PLC, but it's alright when I use MicroLogix.

I'm using:
  • .NET 4.0 Full
  • AdvancedHMI Drivers 3.98t
  • ONLY the AdvancedHMIDrivers.dll and MfgControl.AdvancedHMI.Drivers.dll

Edit:
Adding AdvancedHMIControls.dll as a reference I solved the error above, but I get those errors when running my project:
'Read Failed. Check Processor Slot. Connection In Use or Duplicate forward Open.,  Status Code=256'

Edit 2:
Communicating with OPC it's OK.

Have I tried:

Setted the packet size to 220. As seen here http://advancedhmi.com/forum/index.php?topic=868.msg4340#msg4340
Added references. As seen here http://advancedhmi.com/forum/index.php?topic=771.msg3713#msg3713
Added SubscriptionPollTimer. As seen here http://advancedhmi.com/forum/index.php?topic=505.msg2012#msg2012

And I continue with the same error.

Edit 3:
Analyzing with WireShark I got these errors: 0x01 and 0x15. In Common Industrial Protocol (CIP) documentation these errors are defined as:
  • Error 0x01 - Connection failure -  A connection related service failed along the connection path.
  • Error 0x15 - Too much data -  The service supplied more data than was expected

Pages: [1]