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 - uthaman

Pages: [1]
1
Open Discussion / Re: New Version 3.99t Now Available
« on: January 27, 2017, 05:13:17 PM »
This new version, I am not able to use the driver components in a windows service (Error:Missing Components from AdvancedHMI - Please refer to the licensing agreement.), I am creating a windows service to read the tags from PLC and store it locally (Local sql express). I was able to do this with previous version but not with this version. Also not able to package as an .exe as well. Is there anything changed in this version, please let me direct to right resources regarding this.

I need this setup for testing and demo a POC, and later explore other options with this driver.
Are you using it outside of the AdvancedHMI solution?

I am the below approach and still my windows service shows " Please refer to the licensing agreement."

1. Open AdvancedHMIv35 solution in VS 2013
2.  Add new Project and then select Windows Service Type.
3. Add my cs files in the project.
4. Add AdvanceHMIDriver solution as reference to the new Windows Service project and add Mfgcontrols.AdvanceHMIDrivers as reference from AdvanceHMI solution project.
5. Start the windows service, it gives the error " Please refer to the licensing agreement."

Please let me know if you have any documentation on usage within the solution.

2
Open Discussion / Re: New Version 3.99t Now Available
« on: January 27, 2017, 03:05:20 PM »
Does the stand-alone licensed driver listed on the site covers the following as in the open source version.

Drivers
   Mature
      DF1Comm - Allen Bradley serial
      EthernetIPforSLCMicro - Allen Bradley Ethernet for SLC and Micrologix series (PCCC)
      EthernetIPforCLX - Allen Bradly ControlLogix and CompactLogix series (Tag based)
      EthernetIPforMicro800
      TwinCAT - Beckhoff TwinCAT (only runs on PCs without TwinCAT installed)
      ModbusTCP - Modbus over Ethernet TCP/IP
      
   Alpha (Preliminary)
      OmronEthernetFINSCom - Ethernet for newer controllers such as CP1H with Ethernet module
      OmronSerialFINSCom - Serial (RS232) for newer controller such as CP1H
      OmronSerialHostLinkCom - Serial (RS232) for older controllers such as C200

3
Open Discussion / Re: New Version 3.99t Now Available
« on: January 27, 2017, 02:34:54 PM »
Yes, I m using the dll's (AdvancedHMIDrivers.dll and MfgControls.AdvancedHMIDrivers.dll) in a differnt solution which has a windows service and a windows application.

4
Open Discussion / Re: New Version 3.99t Now Available
« on: January 27, 2017, 01:22:25 PM »
After looking in the component implementation, there are few set methods along with IP address, I used the same and it is working now. Thanks for the help.

This new version, I am not able to use the driver components in a windows service (Error:Missing Components from AdvancedHMI - Please refer to the licensing agreement.), I am creating a windows service to read the tags from PLC and store it locally (Local sql express). I was able to do this with previous version but not with this version. Also not able to package as an .exe as well. Is there anything changed in this version, please let me direct to right resources regarding this.

I need this setup for testing and demo a POC, and later explore other options with this driver.

5
Open Discussion / Re: New Version 3.99t Now Available
« on: January 26, 2017, 03:58:01 PM »
Not sure about the firmware here.

When I tried to read a tag value using Read(String tagName) in a main program using the driver, I am getting an error saying "Read Failed. Path Segment error (Invalid Tag name) status code=4",
but when I use the default VB project, add a BasicLabel to the form and set PLCAddressValue to the same PLC and read the same tag, it is displaying the correct tag value.

It is working with the VB form controls and not standalone.

6
Open Discussion / Re: New Version 3.99t Now Available
« on: January 26, 2017, 03:06:14 PM »
I am not sure about the firmware, I can check on that. I have attached the working PLC wireshark logs, in case you need.

On a side note, One of my team member is able to read the tags in the same PLC using a JAVA API (ethernet-ip https://github.com/EPICSTools/etherip), which is not working using the advancedHMI drivers. I double checked with him :)

7
Open Discussion / Re: New Version 3.99t Now Available
« on: January 26, 2017, 02:49:04 PM »
I have attached the wireshark file, please take a look and let me know.

8
Open Discussion / Re: New Version 3.99t Now Available
« on: January 26, 2017, 02:24:01 PM »
Thanks Archie, this helps. I am facing a weird behavior, the old driver which is used to work with PLC A is not working now with the new driver.
The old driver which was not working with PLC B is working with new driver.
Both the PLC's are same model Allen Bradley Compact logix 5380.

9
Open Discussion / Re: New Version 3.99t Now Available
« on: January 26, 2017, 01:35:23 PM »
Below is the code.


using System;
using AdvancedHMIDrivers;
using MfgControl.AdvancedHMI.Drivers;
namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            EthernetIPforCLXCom comobj = new EthernetIPforCLXCom();

            comobj.IPAddress = "X.X.X.X";
           

            MfgControl.AdvancedHMI.Drivers.CLXTag[] x = comobj.GetTagList();

            Console.WriteLine(comobj.Read("AFI"));

            foreach (CLXTag item in x)
            {
                Console.WriteLine(item.TagName);
            }
            Console.Read();
        }
     
    }
}

10
Open Discussion / Re: New Version 3.99t Now Available
« on: January 26, 2017, 01:22:57 PM »
Yes, I tried that, it works, but If am using the driver class EthernetIPCLXCom in a simple main program, its timing out.

11
Open Discussion / Re: New Version 3.99t Now Available
« on: January 26, 2017, 01:03:38 PM »
Hi Archie,
I am using the drivers only in my C# project, the new version 3.99t is throwing Timeout Exception for all EthernetIPCLXCom methods (GetTagList(), Read()). The previous version (V3.99r) which we were using works just fine.

Pages: [1]