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

Pages: [1]
1
Support Questions / Re: DataSubscriber vs DataSubscriber2
« on: November 11, 2018, 07:17:33 PM »
So then something as simple as:

        _PLCController = New AdvancedHMIDrivers.EthernetIPforCLXCom
        _PLCController.IPAddress = _Settings.PLCIPAddress
        MyTag1SubScribeID = _PLCController.Subscribe("MyTag1", 1, 0, AddressOf ProcessMyTag)
       MyTag2SubScribeID = _PLCController.Subscribe("MyTag2", 1, 0, AddressOf ProcessMyTag)

Even if there is going to be 50+ Subscriptions? If I point them all to "ProcessMyTag" can I then use the e.PLCAddress to get the source of the changed data (MyTag1 or MyTag2)?

And then just so I'm clear, setting a poll rate of 0 will cause it to fire anytime the data is changed, correct?

2
Support Questions / DataSubscriber vs DataSubscriber2
« on: November 11, 2018, 04:25:27 PM »
All --

I'm trying to make the right decision on subscribing to a bunch of random data from a single PLC. I wish to get some Floats, Ints, Bits, and other various data from various tags then process them in my application.

That said, since none of the data is sequential, what is the recommendation for gathering up this host of random data?

A) Create a series of _PLCController.Subscribe(...) items and then process each "bit" of data as it comes in?
B) Create a single DataSubscriber2 and then parse the incoming data to determine which function / sub to call based on the incoming address?

I'm using WPF and am doing all the data processing without going through the AHMI controls.

My gut tells me the DataSubscriber2 method is probably preferred, however, if that is the case, I am not 100% certain on how to set it up. When using WinForms, you give it the ComComponent in the properties windows, however, when I try to do this via code in the WPF, I get an error about needing to have System.Windows.Forms referenced, even though it already is.

Any words of wisdom would be greatly appreciated.

3
Support Questions / Re: Anybus HMS Connectivity
« on: June 25, 2018, 09:40:32 AM »
So they offer the OPC server that talks to their gateway.. Looks like I would need to go that route then (maybe?).

Thanks for the info thus far!

Brian.

4
Support Questions / Re: Anybus HMS Connectivity
« on: June 25, 2018, 09:12:29 AM »
It's the Ethernet/IP Adapter/Slave to Ethernet/IP Adapter/Slave interface.

https://www.anybus.com/products/gateway-index/anybus-xgateway/detail/anybus-x-gateway-ethernet-ip-adapter--ethernet-ip-adapter

Personally, it seems a bit redundant or silly since it's only copying the I/O data from one side of the EIP adapter to the other side of the EIP adapter. Why add an extra point of failure? But, the customer is always right, right?

5
Support Questions / Anybus HMS Connectivity
« on: June 24, 2018, 09:50:53 PM »
I am looking to connect to an Anybus HMS Ethernet/IP to Ethernet/IP gateway device. The client is using this as a "firewall" or "router" between the customer network and the device network. I would like to connect to the Anybus device and then read / write tags using Advanced HMI.

Has anyone performed this sort of connection? Suggestions on the proper driver to use?

Thanks.
Brian.

6
Open Discussion / Re: Documentation
« on: July 16, 2016, 09:14:09 PM »
>none of the documentation has been made publicly available

Okay.. So what's the chances of buying the documentation? I understand you want to make money off of training and such, however, to cover all the travel expenses for a training class is going to be a bit out of my budget.

7
Open Discussion / Documentation
« on: July 15, 2016, 08:28:04 PM »
All --

I'm either blind, or more than likely completely lost due to incompetence.. but I have been searching high and low for the namespace documentation on the various AdvancedHMI namespaces. In particular, I am hunting at the moment the MfgControl.AdvancedHMI.Drivers documentation to understand the various classes, methods, etc that are in there.

As mentioned.. I'm sure it's staring me right in the face and if it were a snake, I would be dead by now, but any help someone can provide to point me in the right direction would be greatly appreciated.

Thanks.
Brian.

Pages: [1]