MVME5110-2261自動化模塊備件
已建立與DriveOPC的連接,但您無法看到任何驅動器。因此,您需要在嘗試新連接之前斷開OPC服務器。無論如何,當前沒有任何PC指示的OPC服務器顯示在標題欄中:另請參閱:連接到OPC服務器遠程連接2.2遠程連接由于DCOM涉及安全風險,我們不建議遠程使用DriveOPC。如果要遠程連接,請選擇ABB。當出現(xiàn)“選擇OPC服務器”對話框時,單擊SMP。通過單擊復選框“From a Remote PC”(從遠程PC)來標記該復選框。在編輯字段中輸入遠程計算機的完全限定域名、IP地址或UNC名稱,然后單擊“確定”按鈕:OPC Server 7-6 DriveWindow 2注意,根據(jù)操作系統(tǒng)及其配置方式,也可以“遠程”連接到本地服務器(EXE)。通常,遠程連接到\\localhost或127.0.0.1實際上連接到同一臺PC中的本地服務器。連接需要一段時間,這是因為建立了DCOM,并且DriveOPC標識了DDCS網絡(除非因為另一個客戶端而已在運行)。光標變?yōu)樯陈瑺顟B(tài)欄通知您連接。如果遠程計算機不存在、已關閉或未正確配置遠程使用(RPC服務尚未啟動),您將收到錯誤消息。如果不允許您訪問遠程計算機,您將收到一條錯誤消息。聯(lián)機功能要求遠程計算機連接到您的計算機。如果您的計算機保護不允許遠程連接,DriveWindow可以連接,但聯(lián)機功能不起作用。這表明您多次收到消息框,告知遠程計算機無法使用聯(lián)機功能(每個聯(lián)機功能對應一個消息框)。如果對任何消息單擊“否”,DriveWindow將立即停止嘗試連接并保持脫機狀態(tài)。OPC服務器驅動窗口2 7-7如果連接成功,則標題欄中會顯示帶有遠程PC指示的當前OPC服務器:但是,請注意,即使遠程OPC服務器無法使用通信硬件(例如,它當前由其他應用程序使用),也會進行連接。在這種情況下,DriveWindow不顯示任何驅動器。另請參閱:連接到OPC服務器本地連接2.3脫機連接自版本2.10起,DriveWindow也可以通過脫機OPC脫機工作。您從未直接連接到OfflineOPC。當您恢復為脫機保存的工作空間或打開保存的圖形文件(.dwt)時,DriveWindow將脫機。在脫機模式下,DriveWindow的外觀和感覺就像它真的連接到了驅動器一樣。您可以通過查看DriveWindow標題欄中的網絡(OPC)服務器來區(qū)分聯(lián)機和脫機模式。在脫機模式下,服務器名稱為ABB。離線OPC,在線模式下為ABB。SMP(或其他一些真正的OPC服務器)。您可以通過斷開OPC服務器或打開未保存為脫機的工作區(qū)來退出脫機模式。
Connection to the DriveOPC is established, however, but you cannot see any drives. So, you need to disconnect the OPC Server before trying a new connection. Anyway, the current OPC Server without any PC indication is shown in the title bar: See Also: Connecting to OPC Server Remote Connection 2.2 Remote Connection Because of security risks involved in DCOM, we do not recommend using DriveOPC remotely. If you want to connect remotely, select ABB.SMP by clicking it, when the Select OPC Server dialog box is presented. Mark the check field “From a Remote PC” by clicking it. Enter the fully qualified domain name, the IP address, or the UNC name of the remote computer into the edit field, and click the OK button: OPC Server 7-6 DriveWindow 2 Note that depending on your operating system and how it is configured, it may also be possible to connect to the local server (EXE) “remotely”. Typically, connecting remotely to \\localhost or 127.0.0.1, actually connects to the local server in the same PC. Connecting takes for a while, because of establishing the DCOM and because DriveOPC identifies the DDCS network (unless it is already running because of another client). The cursor turns to hour-glass and the status bar informs you about connecting. If the remote computer does not exist, it is down, or it is not configured properly for remote use (RPC service has not been started), you will get an error message. If you are not allowed to access the remote computer, you will get an error message. On-line features require that the remote computer connects to your computer. If your computer protection does not allow the remote to connect, DriveWindow is able to connect, but the on-line features do not function. Indication of this is that you get several times a message box telling that the remote computer cannot use on-line features (one message box for each on-line feature). If you click No to any of the messages, DriveWindow stops immediately trying to connect and stays offline. OPC Server DriveWindow 2 7-7 If connecting succeeded, the current OPC Server with the remote PC indication is shown in the title bar: However, note that connection is made even if the remote OPC Server is not able to use the communication hardware (it is currently used by some other application, for example). DriveWindow just does not show any drives in such a case. See Also: Connecting to OPC Server Local Connection 2.3 Off-line Connection Since version 2.10, DriveWindow is able to work also off-line by the help of OfflineOPC. You never connect directly to OfflineOPC. DriveWindow goes off-line when you either restore a workspace that was saved for off-line, or open a saved graph file (.dwt). In off-line mode the look and feel of DriveWindow are the same as if it was really connected to drives. You can differentiate between on-line and off-line mode by looking at the Network (OPC) server in the title bar of DriveWindow. In off-line mode, the server name is ABB.OfflineOPC, while in on-line mode it is ABB.SMP (or perhaps some other real OPC Server). You exit off-line mode by either disconnecting the OPC Server, or by opening a workspace that was not saved for off-line.