MVME55006E-0161工控自動(dòng)化卡件
單擊“保存”,將顯示“導(dǎo)出圖形”對(duì)話框。如果文件已經(jīng)存在,單擊“保存”時(shí)會(huì)詢問是否要替換該文件。導(dǎo)出圖形對(duì)話框允許您選擇:?要導(dǎo)出的通道。請(qǐng)注意,未監(jiān)測或記錄的通道呈灰色。?要導(dǎo)出多少樣本。?是否導(dǎo)出原始樣本或顯示的點(diǎn)。此外,您還可以編輯或添加注釋。趨勢驅(qū)動(dòng)窗口2 6-117如果選擇第一個(gè)或最后一個(gè),將顯示一個(gè)額外的采樣字段。如果選擇范圍,將顯示兩個(gè)附加字段(從和到)。請(qǐng)注意,選擇“全部”或“可見”也會(huì)將“采樣數(shù)”、“從”和“到”字段更改為相應(yīng)的(全部或可見)采樣數(shù)以及開始和結(jié)束點(diǎn),盡管這些字段未顯示。此外,更改測量/顯示會(huì)更改“采樣”字段,無論其是否可見。因此,在選擇第一個(gè)/最后一個(gè)/范圍和測量/顯示后,最好編輯“采樣”或“從”和“到”字段。注意,注釋實(shí)際上由一行組成,盡管它在編輯字段中自動(dòng)換行和滾動(dòng)。按下Enter鍵實(shí)際上與單擊OK按鈕相同。編輯時(shí),可以使用普通的Windows快捷鍵和編輯鍵,如箭頭鍵、Home鍵、End鍵、Del鍵等,也可以使用Ctrl鍵和/或Shift鍵。但是,請(qǐng)注意,按Esc鍵與單擊“取消”按鈕相同。準(zhǔn)備就緒后,單擊“確定”。如果要取消操作,請(qǐng)單擊“取消”按鈕。趨勢6-118 DriveWindow 2 12.2.1導(dǎo)出的趨勢示例注意,無論導(dǎo)出的是監(jiān)視器還是數(shù)據(jù)記錄器,導(dǎo)出文件的內(nèi)容都非常相似。導(dǎo)出測量的監(jiān)視器與其他監(jiān)視器最為不同,因?yàn)槊總€(gè)導(dǎo)出通道的每個(gè)樣本都會(huì)導(dǎo)出時(shí)間戳。以下顯示了兩個(gè)測量的監(jiān)測器通道的輸出。趨勢驅(qū)動(dòng)窗口2 6-119當(dāng)導(dǎo)入(打開)Excel并調(diào)整通道寬度時(shí),結(jié)果是:前兩行包含文件標(biāo)識(shí)標(biāo)簽和注釋。接下來的兩行顯示在“導(dǎo)出圖形”對(duì)話框中所做的選擇。一條空行將它們與包含監(jiān)控變量以外的監(jiān)控設(shè)置的七行分隔開,但包括x軸原點(diǎn)的時(shí)間。頻道設(shè)置遵循空行。在它們后面有一個(gè)空行和一個(gè)標(biāo)題行。其余部分包含時(shí)間戳和未縮放的監(jiān)控值。注意,時(shí)間戳是相對(duì)于x軸原點(diǎn)的。趨勢6-120 DriveWindow 2以下顯示了所示相同兩個(gè)監(jiān)視器通道的導(dǎo)出。Trends DriveWindow 2 6-121當(dāng)導(dǎo)入(打開)Excel并調(diào)整通道寬度時(shí),結(jié)果是:文件的開頭包含與測量導(dǎo)出情況相同的信息。但是,結(jié)束部分不包括時(shí)間戳,但所有通道值都有一個(gè)共同的時(shí)間。這些值也會(huì)縮放。趨勢6-122驅(qū)動(dòng)窗口2以下顯示了測量的兩個(gè)數(shù)據(jù)記錄器通道的輸出。Trends DriveWindow 2 6-123當(dāng)導(dǎo)入(打開)Excel并調(diào)整通道寬度時(shí),結(jié)果是:文件的開頭包含與監(jiān)視器導(dǎo)出情況類似的信息,如圖所示。然而,存在差異。文件標(biāo)識(shí)標(biāo)簽還包含數(shù)據(jù)記錄器的OPC地址。沒有x軸原點(diǎn)時(shí)間。
Click Save and an Export Graph dialog box is presented. If the file already exists, confirmation to replace it asked, when you click Save. The Export Graph dialog box allows you to select: ? Which of the channels to export. Note that channels not monitored or logged are grayed. ? How many samples to export. ? Whether to export the raw samples or shown points. In addition, you can edit or add a comment. Trends DriveWindow 2 6-117 If you select first or last, an additional Samples field is shown. If you select range, two additional fields (From and To) are shown. Note that selecting all or visible also changes the Samples, From, and To fields to corresponding (all or visible) number of samples and to starting and ending point, although the fields are not shown. Also, changing measured/shown changes the Samples field, whether it is visible or not. So, it is better to edit the Samples or From and To fields after selecting the first/last/range and measured/shown. Note that the comment actually consists of one line, although it automatically wraps and scrolls within the edit field. Pressing the Enter key is actually the same as clicking the OK button. While editing, you can use the normal Windows shortcut and editing keys like the arrow keys, Home, End, Del, etc. keys, with or without Ctrl and/or Shift key down. Note, however, that pressing the Esc key is same than clicking the Cancel button. When you are ready, click OK. If you want to cancel the operation, click the Cancel button. Trends 6-118 DriveWindow 2 12.2.1 Examples of exported trends Note that contents of the exported files are quite similar, whether the monitor or a datalogger is exported. Exporting the monitor as measured differs most from the others, because the time stamp is exported for each sample of each exported channel. The following shows exporting of two monitor channels as measured. Trends DriveWindow 2 6-119 When imported (opened) into Excel and adjusting widths of channels, the result is: The first two lines contain the file identification tag and the comment. The next two lines show the selections made in the Export Graph dialog box. An empty line separates them from the seven lines containing monitor settings other than monitored variables, but including the time at x-axis origin. The channel settings follow an empty line. After them there is an empty line and a title line. The rest contains the time stamps and unscaled monitored values. Note that the time stamps are relative to the x-axis origin. Trends 6-120 DriveWindow 2 The following shows exporting of the same two monitor channels as shown. Trends DriveWindow 2 6-121 When imported (opened) into Excel and adjusting widths of channels, the result is: The beginning of the file contains the same information as in case the export was done as measured. The end part, however, does not include time stamps, but there is a common time for all channel values. The values are scaled, too. Trends 6-122 DriveWindow 2 The following shows exporting of the two datalogger channels as measured. Trends DriveWindow 2 6-123 When imported (opened) into Excel and adjusting widths of channels, the result is: The beginning of the file contains the similar information as in case the monitor export was done as shown. There are differences, however. The file identification tag contains also the OPC address of the datalogger. There is no x-axis origin time.