MVME320A-1机器人模块卡件
要禁用进程内服务器(DLL),请检查SMP.DLL位置,并通过运行RegSvr32注销它(假设SMP.DLL位于文件夹C:\Program Files\Common Files\DriveWare\DriveOPC中):RegSvr32-u“C:\Program Files\Common Files\DriveWare\DriveOPC\SMP.DLL”注意,在Windows Vista/7/8中,您可能需要自定义开始菜单属性中的开始菜单,以便在开始菜单中看到运行命令。但是,通过按Windows键+R,您将在所有操作系统版本中看到“运行”对话框。Regsvr32应该告诉您注销成功的情况。高级信息10-10 DriveWindow 2由于注销进程内服务器会删除本地服务器所需的一些信息,因此需要重新注册本地服务器(EXE)。要重新注册SMP.EXE,请检查SMP.EXE的位置,然后运行它(假设SMP.EXE位于文件夹C:\Program Files\Common Files\DriveWare\DriveOPC中):“C:\Program Files\Common Files\DriveWare\DriveOPC\SMP.EXE”-RegServer注意,在Windows Vista/7/8中,您可能需要自定义开始菜单属性中的开始菜单,以便在开始菜单中看到运行命令。但是,通过按Windows键+R,您将在所有操作系统版本中看到“运行”对话框。现在,所有在本地使用DriveOPC的应用程序都将使用本地服务器(EXE)而不是进程内服务器(DLL)。如果要将进程内服务器(DLL)恢复到使用状态,请检查SMP.DLL位置,并通过运行RegSvr32注册它(假设SMP.DLL位于文件夹C:\Program Files\Common Files\DriveWare\DriveOPC中):RegSvr32“C:\Program Files\Common Files\DriveWare\DriveOPC\SMP.DLL”注意,在Windows Vista/7/8中,您可能需要自定义开始菜单属性中的开始菜单,以便在开始菜单中看到运行命令。但是,通过按Windows键+R,您将在所有操作系统版本中看到“运行”对话框。高级信息驱动窗口2 10-11 Regsvr32应该告诉您成功注册的信息。2.2.3检查服务器例如,您可以使用任务管理器进行检查。当应用程序连接到DriveOPC时,有一个名为SMP.EXE的进程正在运行。您还可以询问有关OPC服务器的信息,它应该显示Local DriveOPC(SMP.EXE)是正在使用的服务器。另请参阅:DriveOPC什么是OPC服务器OPC服务器高级信息10-12 DriveWindow 2 3.OfflineOPC OfflineOPC是基于OPC数据访问标准1.0A的OPC服务器。它实现了必需的自定义接口、IOPCBrowseServerAddressSpace接口和IPersistFile接口。通常,OPC服务器是一个软件模块,它实现OPC基金会(www.opcfoundation.org)制定的OPC数据访问规范。OPC代表“OLE for Process Control”。有关OPC规范的更多信息,请参阅DriveOPC。只有服务器的进程内版本(OfflineOPC.DLL)。OfflineOPC能够从真实的OPC服务器或客户端收集数据,将数据保存到文件中,并从文件中恢复数据。OfflineOPC从2.10版开始包含在DriveWindow中。DriveWindow在以下方面使用它:•将图形保存到图形文件中。•将图形保存到工作区文件中。•为脱机保存工作区。•在离线模式下模拟驱动器。需要时,可在DriveWindow内部连接OfflineOPC。用户不应直接连接到OfflineOPC。模拟驱动器时,DriveWindow可以创建两个OfflineOPC实例。一个是模拟驱动器,另一个是为离线保存图形和工作空间。OfflineOPC的详细规范以及如何使用不在本文件的范围内。
To disable the in-process server (DLL), check SMP.DLL location, and unregister it by running RegSvr32 (assuming SMP.DLL is in folder C:\Program Files\Common Files\DriveWare\DriveOPC): Regsvr32 -u "C:\Program Files\Common Files\DriveWare\DriveOPC\SMP.DLL" Note than in Windows Vista/7/8 you may need to customize the start menu in start menu properties in order to see the Run command in the start menu. However, by pressing Windows key + R, you will get the Run dialog box in all operating system versions. Regsvr32 should tell you about successful unregistration. Advanced Information 10-10 DriveWindow 2 Because unregistering the in-process server removes some information needed by the local server, you need to re-register the local server (EXE). To re-register it, check SMP.EXE location, and run it (assuming SMP.EXE is in folder C:\Program Files\Common Files\DriveWare\DriveOPC): "C:\Program Files\Common Files\DriveWare\DriveOPC\SMP.EXE" -RegServer Note than in Windows Vista/7/8 you may need to customize the start menu in start menu properties in order to see the Run command in the start menu. However, by pressing Windows key + R, you will get the Run dialog box in all operating system versions. Now all applications, which use DriveOPC locally, will use the local server (EXE) instead of the inprocess server (DLL). If you want to restore the in-process server (DLL) into use, check SMP.DLL location, and register it by running RegSvr32 (assuming SMP.DLL is in folder C:\Program Files\Common Files\DriveWare\DriveOPC): Regsvr32 "C:\Program Files\Common Files\DriveWare\DriveOPC\SMP.DLL" Note than in Windows Vista/7/8 you may need to customize the start menu in start menu properties in order to see the Run command in the start menu. However, by pressing Windows key + R, you will get the Run dialog box in all operating system versions. Advanced Information DriveWindow 2 10-11 Regsvr32 should tell you about successful registration. 2.2.3 Checking the Server You can check it by using task manager, for example. When an application has connected to DriveOPC, there is a process called SMP.EXE running. You can also ask information about the OPC Server, and it should show that Local DriveOPC (SMP.EXE) is the server in use. See Also: DriveOPC What is OPC Server Information about OPC Server Advanced Information 10-12 DriveWindow 2 3. OfflineOPC OfflineOPC is an OPC Server based on OPC Data Access Standard 1.0A. It implements the obligatory custom interfaces, IOPCBrowseServerAddressSpace interface, and IPersistFile interface. In general, an OPC Server is a software module, which implements OPC data access specification made by OPC Foundation (www.opcfoundation.org). OPC stands for “OLE for Process Control”. See DriveOPC for more information about OPC Specification. There is only an in-process version of the server (OfflineOPC.DLL). OfflineOPC is capable of collecting data from a real OPC Server or from a client, saving the data into a file, and restoring data from a file. OfflineOPC is included in DriveWindow since version 2.10. DriveWindow uses it in: • Saving graphs into a graph file. • Saving graphs into a workspace file. • Saving a workspace for off-line. • Simulating drives in off-line mode. Connection to OfflineOPC is done internally in DriveWindow when needed. A user should never connect directly to OfflineOPC. When simulating drives, there can be two instances of OfflineOPC created by DriveWindow. One is simulating the drives and the other is for saving graphs and workspaces for off-line. Detailed specifications of OfflineOPC and how to use it are out of scope of this document.