Author Topic: How to use CIP messaging  (Read 1470 times)

uhlira

  • Newbie
  • *
  • Posts: 1
    • View Profile
How to use CIP messaging
« on: April 26, 2016, 08:12:18 AM »
Hi,
i have an EIP driver other then AdvancedHMI, which allows me read data by Class, Instance and Attribute. This driver has parameters:
IPAdress, Port, Class, Instance, Attribute and return array of bytes (or write array of bytes to device by the same parameters).

So, my question sounds:
Is there a simple way, how to realize the same behavior with AdvancedHMI?

What I know:
Im using class CIP, EIPEncapsulation and EPath. But i dont know, how to use this classes for realize my function.

Im LabView programmer using graphical language - this is my code (its quite intuitive :))



Im getting this error (its LV specific error but may be usable):
Property Node (Arg :1) Error accessing field MfgControl.AdvancedHMI.Drivers.CIP.EIPEncap, (System.Reflection.TargetException: Pro pole, které není statické, je požadován cíl.)

Thanks for answer :)

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5270
    • View Profile
    • AdvancedHMI
Re: How to use CIP messaging
« Reply #1 on: April 26, 2016, 12:32:35 PM »
If you are trying to use AdvancedHMI drivers or components in LabView, this is not permitted by the license.

You may want to check a project like this, that has the proper licesing:

http://eipnet.codeplex.com/