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

Pages: [1]
1
Support Questions / Re: Read ControlLogix Serial Number
« on: April 03, 2017, 03:34:18 PM »
Thank you for the answer. I didn't know that you have created documentation.
The sample from the article works correctly. However, the code snippet about the serial number doesn't work.  _driver.BeginGetAttributeSingle(1, 1, 6); It returns an array - 142,0,0,0,23,235, 61, 0

By the way I found another public method - _driver.ListIdentity(500); It returns Serial Number: 4058050 while my actual serial number is 003DEB17.

What am I missing ?

-----
I just found the answer. In order to get the serial number I need the last four digits from e.RawData
After that I have to convert them to hexadecimal and to concatenate them starting from the last to the first one.

2
Support Questions / Read ControlLogix Serial Number
« on: April 02, 2017, 10:58:33 AM »
Hi Archie,
Is it possible to read the serial number of ControlLogix plc with AdvancedHMI driver ?
I found this article on Internet where the CIP messages for that are described. - http://www.plctalk.net/qanda/archive/index.php/t-39940.html 
So can I somehow send these CIP messages through the AHMI driver ?

3
Support Questions / Two driver objects with equal IP - Error
« on: December 01, 2015, 08:04:15 AM »
Hello,

I'm using two objects of EthernetIPforCLXCom. The two object have the same IP but different ports/slots. Obviously one of them has wrong port number. When I try to use the correct one it returns error.
Is that a bug or this is expected ?
Here is the code:

           _clxDriver = new EthernetIPforCLXCom();
            _clxDriver2 = new EthernetIPforCLXCom();

            _clxDriver.IPAddress = "192.168.1.102";
            _clxDriver.Port = 44818;
            _clxDriver.ProcessorSlot = 0;

            _clxDriver2.IPAddress = "192.168.1.102";
            _clxDriver2.Port = 44819;      //wrong port number
            _clxDriver2.ProcessorSlot = 0;
           
          _clxDriver.ComError += _clxDriver_ComError;
----
          _clxDriver.Subscribe(tagName, 1, 1000, _clxDriver_CallBack);   //this should be working but _clxDriver_ComError returns Error

Thanks!

4
Open Discussion / Re: Ethernet/IP Socket Server
« on: October 17, 2015, 09:41:39 AM »
Hi,

Does AHMI allow reading a Tag value on a Tag-value-change ? As far as I know the OPC Servers allows that.
I know that AHMI can read the value every X mseconds but I was wandering if it can subscribe to an event on the PLC.

Thanks

5
Support Questions / Reading a list of Tags
« on: October 15, 2015, 08:13:42 AM »
Hello,

Does AdvancedHMI support reading a list of all the tags from the PLC ? I need to know what tags are already there in the PLC.

Thanks

6
Support Questions / Re: Modbis TCP micro 850 troubles
« on: October 31, 2014, 07:27:33 AM »
I just tested your AdvancedHMIBetaV380 version of the project. And the result was the same. I receive these messages:
Com. Error. Check processor slot
Com Error. No presponsle from PLC(21)
Exception of type 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' was thrown

Yes, there is a ping to the controller. Also I found out that your driver makes asucessfully a tcp connection to the controller but can't read the tag value.
I tested the product of Ingear - their NET.LOGIX 5.0 DEVELOPER EDITION. However, I'm not sure if their library makes simple TCP connection or EthernetIP. However, since they want money , it should be EthernetIP connection.

7
Support Questions / Re: AdvancedHMI and Micro850
« on: October 29, 2014, 10:14:19 AM »
Hi Archie,
 
 I'm trying to use AdvancedHMI with Micro850 controller. But I recieved errors.
 I tried to read tab based variables from the controller. I used your BasicLabel control and specified PlcAddressValue property - "Test13".
 Also I used EthernetIPforCLXCom driver in order to communicate over EthernetIP and specified only the IP address.
 
 I recieved these message in the output: A first chance exception of type 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' occurred in MfgControl.AdvancedHMI.Drivers.dll
The thread 0x2564 has exited with code 259 (0x103).
 A few times it says: "Check processor slot" and finally: "No response from PLC(21)"
 
 Can you help ?
 
 PS. I tested a similar comunication with one of the paid alternatives and it worked so the problem is not in the hardware or in the network infrastructure. I also don't want to use Modbus.

Thanks in advance

Pages: [1]