MVME51005E-0163自動化模塊備件
新值顯示在監(jiān)視器設置窗格中。歷史緩沖區(qū)有一些限制:?以毫秒為單位的值必須至少與間隔一樣大。?該值不得超過2147483647毫秒(幾乎25天)。?該值不能小于當前x軸長度。?該值必須是間隔的倍數。例如,如果間隔為3毫秒,則歷史緩沖區(qū)大小10秒無效。?如果歷史緩沖區(qū)大小較大且間隔較小,則可能會耗盡虛擬內存。趨勢6-26 DriveWindow 2如果值無效,單擊OK(確定)按鈕時將顯示錯誤消息。您必須確認錯誤消息并編輯無效值或取消操作。一些錯誤消息會詢問,是否希望DriveWindow為您找到合適的值。趨勢DriveWindow 2 6-27如果單擊“是”按鈕,對話框中的值將從您輸入的值更改為DriveWindow建議的值。因此,您仍有機會編輯值(或取消操作)。如果輸入的值小于x軸長度,則可以選擇將x軸長度減小為等于歷史緩沖區(qū)大小。如果單擊“是”,則接受歷史緩沖區(qū)大小,但x軸長度也會更改。另請參閱:通用趨勢設置恢復默認設置設置監(jiān)視器監(jiān)視器和數據記錄器監(jiān)視器設置監(jiān)視器菜單監(jiān)視器設置趨勢6-28驅動窗口2 3.4設置和刪除監(jiān)控變量只有在清除監(jiān)視器時,才能設置、添加和刪除要監(jiān)控的變量。此外,更改受監(jiān)控變量的驅動需要清除監(jiān)視器。原則上,如果您使用正常模式,您可以監(jiān)視任何未讀保護的項目??焖倌J礁呦拗菩?。受監(jiān)控的變量可以位于不同的驅動器中。但是,DriveOPC將所有監(jiān)測值轉換為實際值。這意味著監(jiān)視字符串類型的值沒有意義,因為通常情況下,它們不能轉換為實數。如果要監(jiān)視除實數或整數以外的其他類型的變量:?枚舉值以整數或布爾值的形式收集。當被監(jiān)控時,它們不會轉換為枚舉字符串。?布爾值false被轉換為0,true被轉換為-1。?矢量或數組類型的變量無法被監(jiān)控。有幾種方法可以添加和刪除要監(jiān)視的變量。3.4.1添加和刪除在項目集窗格中選擇的項目通常,您可以使用瀏覽的項目集添加和刪除受監(jiān)視的項目。也可以從所有參數和用戶定義的項目集進行添加。要使用項目集添加尚未監(jiān)控的項目和刪除瀏覽的項目集中當前監(jiān)控的項目,您需要在項目集中顯示項目,然后:?如果尚未選中,請選擇趨勢設置窗格中的“監(jiān)控”選項卡。?在瀏覽的項目集中選擇要添加到監(jiān)視器或從監(jiān)視器中刪除的項目,或在所有參數或用戶定義的項目集中,選擇要添加至監(jiān)視器的項目。?在項目集中聚焦時,單擊監(jiān)視器工具欄中的添加監(jiān)視項目按鈕,或選擇監(jiān)視器菜單中的添加/刪除項目命令?;騎rends DriveWindow 2 6-29如果您正在查看瀏覽的項目集,則顯示當前監(jiān)控項目前面的頻道號的數字圖像將消失,并且該圖像將顯示在添加到監(jiān)視器中的項目前面。如果您正在查看類型為all parameters或user defined的項目集,則項目集不會發(fā)生任何更改。但是,添加到監(jiān)視器中的項目也會添加到瀏覽的項目集,其中數字圖像顯示了前面的頻道號。刪除項目的描述性名稱將從監(jiān)視器設置窗格中的頻道中消失,而添加項目的此類名稱將顯示在設置中。描述性名稱是項目集窗格中顯示的名稱,不一定與驅動器中的名稱相同。
The new value is shown in the monitor settings pane. There are restrictions about the history buffer: ? The value in milliseconds must be at least as big as the interval. ? The value must not exceed 2147483647 ms (almost 25 days). ? The value cannot be less than the current x-axis length. ? The value must be multiple of the interval. For example, if interval is 3 ms, history buffer size 10 s is invalid. ? If the history buffer size is big and the interval is small, you may run out of virtual memory. Trends 6-26 DriveWindow 2 If the value is invalid, an error message is displayed, when you click the OK button. You have to acknowledge the error message and edit the invalid value or cancel the operation. Some of the error messages ask, if you want DriveWindow to find a proper value for you. Trends DriveWindow 2 6-27 If you click the Yes button, the value in the dialog box is changed from the value you entered to a value suggested by DriveWindow. So, you still have the opportunity to edit the value (or cancel the operation). If you have entered a value, which is less than the x-axis length, you have the option to reduce the xaxis length to be equal to the history buffer size. If you click Yes, your history buffer size is accepted, but the x-axis length is changed, too. See Also: Common Trend Settings Restoring Default Settings Setting Monitor Monitor and Dataloggers Monitor Settings Monitor Menu Context Menu of Monitor Settings Trends 6-28 DriveWindow 2 3.4 Setting and Removing Monitored Variables You can set, add, and remove variables to be monitored only when the monitor is cleared. Also changing the drive of monitored variables requires the monitor to be cleared. In principle, you can monitor any item as long as it is not read-protected, if you use the normal mode. Fast mode is more restrictive. The monitored variables can reside in different drives. However, all monitored values are converted into real by DriveOPC. It means that it is not meaningful to monitor string type of values, because in general, they cannot be converted to a real number. If you are monitoring other types of variables than real or integer: ? Enumerated values are collected as integers or Booleans. They are not converted to enumeration strings when monitored.? Boolean value false is converted to 0 and true to -1. ? Vector or array types of variables cannot be monitored. There are several ways to add and remove variables to be monitored. 3.4.1 Adding and removing items selected in the item sets pane Typically you add and remove monitored items by using the browsed item set. Adding can be done also from all parameters and user defined item sets. To use an item set in adding items not yet monitored and removing items now monitored in the browsed item set, you need to have the items shown in the item set, and then: ? If not yet selected, select the Monitor tab in the trend settings pane. ? Select items, which you want to add to or remove from the monitor, in the browsed item set, or select items, which you want to add to the monitor in an all parameters or user defined item set. ? While focus in the item set, either click the add monitored items button in the monitor toolbar, or select the Add/Remove Items command in the Monitor menu. or Trends DriveWindow 2 6-29 If you are viewing the browsed item set, the numeric images showing the channel number in front of the now monitored items disappear, and such an image appears in front of the items, which were added into the monitor. If you are viewing an item set of type all parameters or user defined, there is no change in the item set. However, the items added to the monitor are also added to the browsed item set with numeric images showing the channel number in front of them. The descriptive names of the removed items disappear from the channels in the monitor settings pane, and such names of the added items appear in the settings. The descriptive name is the one shown in the item sets pane, which is not necessarily the same as in the drive.






