Author Topic: change Network Adapter settings  (Read 1307 times)

Darrell

  • Full Member
  • ***
  • Posts: 198
  • Electrician / PLC Technician
    • View Profile
change Network Adapter settings
« on: June 16, 2015, 11:39:34 PM »
Has anyone change come up with a way to change the Network Adapter settings from within AHMI as a computer may not be dedicated only for use of a HMI, and would save searching for the network adapter as Ive seen people accidentally change the wrong one an wondering why it doesn't work.

Darrell


Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: change Network Adapter settings
« Reply #1 on: June 17, 2015, 12:28:57 AM »
Some time ago, in another topic which I can't find now, another user explained to Archie of how to have computer use the 2nd IP address on the same network adapter.

This setting is available on TCP/IP properties page of the network adapter (check the attached picture).

This way, unless those users change it as well, the HMI communication should still remain active if assigned to that 2nd IP address.

Otherwise, creating a script/code that will force specific TCP/IP settings on the network adapter might be rather challenging.
Here is a link on the web where a guy talks about using PowerShell Script to switch between Static and Dynamic settings:

http://blogs.technet.com/b/danstolts/archive/2012/01/31/using-powershell-to-get-or-set-networkadapterconfiguration-view-and-change-network-settings-including-dhcp-dns-ip-address-and-more-dynamic-and-static-step-by-step.aspx
« Last Edit: June 17, 2015, 12:40:50 AM by Godra »