Host Engineering Forum

General Category => Obsolete Products => WinPLC => Topic started by: milandmm on March 31, 2008, 09:09:35 PM

Title: WinPLC MAC Address
Post by: milandmm on March 31, 2008, 09:09:35 PM
Greetings,

I am using VB 2005 .NET to communicate to an Entivity WinPLC. I would like to get the MAC address of the WinPLC into my VB app. Can I do this with a Host  API call? If so, could you provide me with an example.

The IP address will be known and I will use TCP/IP to communicate to the WinPLC. The IP address assigned to the WinPLC is 10.0.1.100, subnet 255.0.0.0.

Thank you.
Title: Re: WinPLC MAC Address
Post by: MikeS on April 01, 2008, 09:36:23 AM
you can see the winplcs mac address externally through the heireadsetupdata() api call.

there's a similar api in the runtime we provide to entivity that may be callable from within thinkndo, which would let you get the mac address into your thinkndo project if you need it there too.