MVME51005E-0163 DCS模块卡件
另请参阅:什么是OPC服务器脱机OPC脱机模式3。有关OPC服务器的信息如果您想了解当前连接的OPC服务器的相关信息,请从“网络”菜单中选择“网络服务器状态”。OPC服务器7-8 DriveWindow 2显示OPC服务器状态对话框。您可能特别感兴趣的信息是,正在使用进程内服务器(DLL)还是本地服务器(EXE)。您还可以看到版本号和内部版本号。单击“确定”按钮关闭对话框。另请参阅:什么是OPC服务器OPC服务器驱动窗口2 7-9 4。查看和更改OPC设置可以查看和更改当前显示的项目集的联机项目或故障和事件的OPC设置。每个项目集都有自己的设置。实际上,OPC设置可以被视为项目集的属性。但是,您很少需要对它们进行任何更改,因此它们在DriveWindow中单独显示。请注意,每个项目集都有自己的OPC组。为了保持低通信流量,仅激活当前显示的项目集的组。请注意,您所做的更改将与工作区一起保存/恢复。我们不鼓励你做任何改变。只有当您连接到网络相对较慢的远程OPC服务器时,和/或您希望在项目集中有大量项目联机时,您才能为该项目集使用比正常(本地:1秒,远程:3秒)更高的更新率。注意,DriveWindow使用的OPC服务器中还有其他组。但是,您无法查看和更改其设置。要查看或更改当前显示的项目集的OPC设置,请从桌面菜单的项目集子菜单中选择OPC设置命令。此时将显示OPC设置对话框。如果OPC服务器是DriveOPC,则服务器不使用死区、时间偏差和LCID值,尽管这些值可以接受。笔记不要取消选中Active字段。如果您这样做,在线值的更新将停止,因为在OPC服务器中进行读取的线程将停止。实际上,唯一可以更改的字段是“更新速率”。OPC服务器7-10 DriveWindow 2如果未进行任何更改,请单击“取消”按钮。单击确定按钮将新值写入OPC服务器并关闭对话框。单击应用按钮将值写入OPC服务器,而不关闭对话框。请注意,不能通过单击“应用”取消已写入的值。实际上,首先单击“应用”,然后单击“取消”与单击“确定”具有相同的效果。另请参阅:什么是OPC服务器5.断开OPC服务器请注意,如果要打开图形(.dwt)文件或工作区(.ddw)文件,则无需断开OPC Server。如果需要,DriveWindow会在连接到新的OPC服务器之前自动执行此操作。要断开当前连接的OPC服务器,请从“网络”菜单中选择“断开服务器”,或按Ctrl+Shift+N。在上下文菜单中可以找到相同的命令,当连接时,当浏览树窗格为空时,即没有驱动器且没有打开的参数文件时,可以通过在浏览树窗格上单击鼠标右键获得该命令。如果您已控制,则需要确认释放控制。OPC服务器驱动窗口2 7-11成功断开连接后,标题栏中显示:断开连接的副作用是:•释放控制。•监视器停止并清除。将从监视器中删除所有通道。
See Also: What is OPC Server OfflineOPC Off-line Mode 3. Information about OPC Server If you want information about the currently connected OPC Server, select Network Server Status from the Network menu. OPC Server 7-8 DriveWindow 2 An OPC Server Status dialog box is presented. Information of special interest to you might be, whether the in-process server (DLL) or local server (EXE) is in use. You can also see version and build numbers. Click the OK button to close the dialog box. See Also: What is OPC Server OPC Server DriveWindow 2 7-9 4. Viewing and Changing OPC Settings The OPC settings of the on-line items or faults and events of the currently shown item set can be viewed and changed. Each item set has settings of its own. Actually OPC settings can be regarded as properties of the item set. However, you seldom need to make any changes to them, so they are presented separately in DriveWindow. Note that that each item set has an OPC group of its own. To keep the communication traffic low, only the group of the currently displayed item set is made active. Note that the changes you make are saved/restored with a workspace. We discourage you to make any changes. Only if you are connected to a remote OPC Server with a relatively slow network, and/or you want to have a huge amount of items on-line in an item set, you can use bigger update rate than the normal (local: 1 s, remote: 3 s) for that item set. Note that there are also other groups in the OPC Server used by DriveWindow. However, you are not able to view and change their settings. To view or change the OPC settings of the currently displayed item set, select the OPC Settings command from the Item Set submenu of the Desktop menu. An OPC Settings dialog box is presented. If the OPC Server is DriveOPC, the values Deadband, Time Bias, and LCID are not used, although accepted, by the server. Note! Do not uncheck the Active field. If you do, updating of the on-line values ceases, because the thread doing the reading in the OPC Server stops. In practice, the only field you may change is Update Rate. OPC Server 7-10 DriveWindow 2 If you did not make any changes, click the Cancel button. Clicking the OK button writes the new values to the OPC Server and closes the dialog box. Clicking the Apply button writes the values to OPC Server without closing the dialog box. Note that you cannot cancel the values already written by clicking Apply. Actually, clicking first Apply and then Cancel has the same effect as clicking OK. See Also: What is OPC Server 5. Disconnecting OPC Server Note that you do not need to disconnect the OPC Server in case you are opening a graph (.dwt) file or a workspace (.dww) file. DriveWindow does it automatically, if required, before connecting to a new OPC Server. To disconnect the currently connected OPC Server, select Disconnect Server from the Network menu or by pressing Ctrl+Shift+N. The same command can be found in the context menu, which you get by clicking with the right mouse button on the browse tree pane when it is empty while you are connected, i.e., there is no drive and you do not have a parameter file open. If you have control taken, you need to confirm releasing of control. OPC Server DriveWindow 2 7-11 After successful disconnection, is shown in the title bar: Side effects of disconnecting are: • Control is released. • The monitor is stopped and cleared. All channels are removed from the monitor.