How To Replace ACM DLLs
- Disconnect any OPC clients such as your HMI or OPC Test Client.
- Disconnect any Configuration clients that are pointing at asiDATA.
- Stop all ACM Services via the ACM Communication Monitor.
Navigate to the ACM installation folder.
(Default: C:\Program Files (x86)\AutoSol\Communication Manager). Inside there are four folders which contain DLLs: \Server, \Server\OPCUA, \Client, & \Client\Controls. The \Server folder contains protocol DLLs & executables for ACM services, the \Client folder contains DLLs & executables used by the ACM client, and the \Client\Controls folder contains DLLs for the forms shown in the client which are specific to each object type.
Move or rename the old DLL.
Place the new DLL in the directory.
Restart all ACM services.
- Verify the version of the new DLL with these steps:
- In the Configuration, select Tools > View Client/Server Info.
- In the new window, expand Assemblies and find your DLL.
NOTE: Another method to verify DLL version is to click the Server Information button at the bottom of the ACM Monitor Status page and scroll down until you find the DLL.
Troubleshooting
- If asiDATA will not restart, start the standalone ACM logger to find any errors.
- If you restart ACM and the Protocol is not appearing, it may be that the DLL needs to be registered.
- If it's a Server-side DLL (the name starts with "asi"), you may need to register it.
You can register a DLL by running the Command Prompt in administrative mode. Before doing so, stop at least the asiDATA service.
To access the Command Prompt
Windows 7/Windows Server 2008 R2
- Click the Start button
- Navigate to All Programs > Accessories > Command Prompt
- Right-click on the Command Prompt and select Run as administrator.
Windows 8/Windows Server 2012
- Click Start
- Right-click an empty space on the start screen. Select "All Apps", which should be at the bottom of the screen.
- Navigate to Windows System > Command Prompt
- Right-click on the Command Prompt and select Run as administrator.
Windows 10/Windows Server 2016
- Click the Windows icon
- Navigate to W> Windows System > Command Prompt
- Right-click on the Command Prompt and select Run as administrator.
In the Command Prompt window, navigate to the location of the DLL that needs to be registered using the "cd" (change directory) command.
For example: cd\Program Files (x86)\AutoSol\Communication Manager\Server (and press enter)
Register each file copied with the command: regsvr32 <filename>
For example: regsvr32 asiMODBUS.dll
Restart asiDATA.
For assistance, please submit a ticket via our Support Portal, email autosol.support@autosoln.com or call 281.286.6017 to speak to a support team member.