使用搜索功能查看 Kepware 的信息库,其中包含 500 多篇知识库文章。缩小搜索结果范围,或在下面的搜索字段中输入您的查询。

或者,如果您无法找到解决方案,我们还有另一个资源:我们的 PTC eSupport Portal。 如果系统提示您登录 eSupport Portal,您可以使用“我的 Kepware”凭据。需要一个“我的 Kepware”帐户吗?在此处创建

搜索解决方案结果:
View All Solutions

Kepware Knowledge Base: Solution


Unable to Connect to a GE 90/30 Controller via the CMM 321 Ethernet Card on Windows Vista/2008/7


Last Update: 2018/11/7

Problem:
A server project running on a Windows 2003 or older operating system can connect to and receive data from the GE controller without any problems, but will fail when running on a Windows Vista or higher operating system.

Possible Cause:
The dynamic port range used by the Windows operating system exceeds the range of source ports that are allowed by the communications card for connectivity. Windows 2003 and older operating systems have a default dynamic port range of 1025 to 5000. These ports are assigned by the operating system to the server when it asks to create a socket for communications with a device. To comply with Internet Assigned Numbers Authority (IANA) recommendations, Microsoft has increased the dynamic client port range for outgoing connections in Windows Vista, Windows Server 2008, and Windows 7. The new default start port is 49152, and the default end port is 65535. GE CMM321 communications models running older firmware versions do not support this new range of ports as source ports on connections.

Solution:
1. Update the communications card's firmware if possible.
2. Change the operating system's dynamic port range using the netsh command. For more information, refer to the subtopics below.

Windows Vista and 2008 Server Netsh Commands

  1. To start, open the DOS command prompt.
  2. Type "netsh int ipv4 show dynamicport tcp" and press Enter to display the current default port range.
  3. Next, change the default port range by entering "netsh int ipv4 set dynamicport tcp start=10000 num=10000". Choose the starting port number and the number of dynamic ports.
  4. Once the port range has been set, the operating system will return an OK.
  5. Next, restart the operating system. Then, check the port range to ensure that it is now set correctly.

Windows 7 Netsh Commands

  1. To start, open the DOS command prompt.
  2. Type "netsh int ipv4 show dynamicportrange tcp" and press Enter to display the current default port range.
  3. Next, change the default port range by entering "netsh int ipv4 set dynamicportrange tcp startport=10000 numberofports=20000". Choose the starting port number and the number of dynamic ports.
  4. Once the port range has been set, the operating system will return an OK.
  5. Next, restart the operating system. Then, check the port range to ensure that it is now set correctly.

Note: Check with the network manager to ensure that there are no group policies in place that will prohibit the PC's dynamic port range from changing.

Related Products
GE Ethernet, GE Suite