Applies To:
  • CitectSCADA
  • CitectHMI

I have a PC running Win2000 and have recently uninstalled a Network Interface Card (NIC) driver because I am using a new NIC card. However, I am unable to connect to any of my PLCs on the network using the new NIC and corresponding driver; and Citect keeps returning a network error. Why is this? 

To correct this problem, you must do one of the following:

1. You must use the specific LanA number being used by Win2000 and define it in the [LAN]LanA=<n> section of the citect.ini file. [LAN]LanA = -1 which is the default Local Area Network parameter will simply tell Citect to use every available protocol. To verify which LanA number is being used by the currently installed Network Interface Card (NIC), you must run Microsoft's LANACFG.EXE command line utility which enumerates the logical adapter numbers being used by each NIC using which protocol (i.e. TCP/IP, NetBEUI). This utility is available for download from the Citect Toolbox in the Win Tools & Utils | Networking Tools & Utilities section:

The link address:

Deployment of the LanA Configuration utility:

  • Go to Start menu | Run... and type cmd to run the Command Prompt.
  • At the Command Prompt, type lanacfg and hit Enter for a list of options. You will see the following [options] displayed:

Network Configuraton Diagnostic
View, manipulate, or test network configuration.
lanacfg [options]
showlanapaths - Show bind paths and component descriptions for each exported lana
setlananumber - Change the lana number of a bind path
rewritelanainfo - Verify and write out lana info to the registry
showlanadiag - Show lana diagnostic info

  • Type the following command-line options:

lanacfg showlanapaths <Enter>
lanacfg showlanadiag <Enter>

The following is an example of what you might see at the Command Prompt window after typing lanacfg showlanapaths:

Lana: 13
-->NetBEUI Protocol-->Network Everywhere Fast Ethernet Adapter(NC100 v2)
Lana: 5
-->NetBEUI Protocol-->Intel(R) PRO/100+ Alert on LAN* Management Adapter
Lana: 6
-->NetBEUI Protocol-->WAN Miniport (NetBEUI, Dial Out)
Lana: 10
-->NetBEUI Protocol-->WAN Miniport (NetBEUI, Dial Out) #2
Lana: 11
-->NetBEUI Protocol-->WAN Miniport (NetBEUI, Dial Out) #3
Lana: 12
-->NetBEUI Protocol-->WAN Miniport (NetBEUI, Dial Out) #4
Lana: 14
-->WINS Client(TCP/IP) Protocol-->Internet Protocol (TCP/IP)-->Network Everywhere
Fast Ethernet Adapter(NC100 v2)
Lana: 0
-->WINS Client(TCP/IP) Protocol-->Internet Protocol (TCP/IP)-->Intel(R) PRO/100+
Alert on LAN* Management Adapter

2. Or you can edit the registry (Win2000 platform only) in the following manner:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT/2000 to correct them. Citect cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  • Start Registry Editor (REGEDT32.EXE) and locate the following Registry subkeys in the HKEY_LOCAL_MACHINE subtree:



\SOFTWARE\Microsoft\&lt;Directory Specifying Manufacturer&gt


(where <number> is the number of any network adapter that appears in the Installed Adapter Cards section in Control Panel | Network)

  • Manually remove all subkeys pertaining to the uninstalled network adapter.
  • Quit Registry Editor.
  • Shut down and restart Win2000.