【正文】
ts reserved, OSI Software, Inc. 169。 2022 73 PI測(cè)點(diǎn)屬性 ? Creator ? CreationDate ? Changer ? ChangeDate ? PointID ? RecNo UserInt1 UserInt2 UserReal1 UserReal2 System Assigned attributes User Assigned Attributes All rights reserved, OSI Software, Inc. 169。 2022 65 測(cè)點(diǎn)類(lèi)型 ? Digital: Discrete value (On/Off) ? Int16: Integer value, 16 bits (0 to 32767, acc: 1/32767) ? Int32: Integer value, 32 bits (2147450880 to 2147483647) ? Float16: Scaled Floating Point number, 16 bits (acc: 1/32767) ? Float32: Floating Point number, 32 bits (single precision) ? Float64: Floating Point number, 64 bits (double precision) ? String: Text value up to 1000 characters ? Blob: Binary large object up to 1000 bytes ? Timestamp: Any Time/Date in the Range 1jan1970 to 1Jan2038 BacK All rights reserved, OSI Software, Inc. 169。 2022 58 絕對(duì)時(shí)間格式 ddmmmyy HH:mm:ss dd Day mmm Month (Jan, Feb, Mar, Apr, May) yy Year hh Hour in 24 hours format mm Minutes ss Seconds Example: 18dec99 10:43:29 Back All rights reserved, OSI Software, Inc. 169。 2022 50 PI 設(shè)置工具 ? PISMT All rights reserved, OSI Software, Inc. 169。 2022 42 多服務(wù)器映射 Due to a Growing log file... All rights reserved, OSI Software, Inc. 169。 2022 34 PI 報(bào)警子系統(tǒng) (Chap. 9) ? 報(bào)警子系統(tǒng) PI報(bào)警點(diǎn) . PI報(bào)警子系統(tǒng)被設(shè)計(jì)為控制系統(tǒng)報(bào)警點(diǎn)的有益補(bǔ)充 ,而不是替代物 . 因?yàn)?PI系統(tǒng)可以采集不同數(shù)據(jù)源的數(shù)據(jù) , 所以可以對(duì)報(bào)警點(diǎn)集中管理 . ? 報(bào)警點(diǎn)類(lèi)型 ? 高于或低于給定的報(bào)警限 ? 與特定的狀態(tài)相同或不同 ? 變化率的改變 ? 在 PI測(cè)點(diǎn)中保存報(bào)警信息 (報(bào)警條件和報(bào)警統(tǒng)計(jì) ) All rights reserved, OSI Software, Inc. 169。 2022 27 PI 系統(tǒng)服務(wù) (Chap. 1, pp 56) ? 核心子系統(tǒng) ? PI 網(wǎng)絡(luò)管理 ? PI 日志子系統(tǒng) ? PI 數(shù)據(jù)更新子系統(tǒng) ? PI 基本子系統(tǒng) ? PI 快照子系統(tǒng) ? PI 數(shù)據(jù)檔案子系統(tǒng) ? PI 停機(jī)時(shí)間管理子系統(tǒng) ? PI SQL子系統(tǒng) ? PI Redirector All rights reserved, OSI Software, Inc. 169。 2022 19 壓縮 (Chap. 2) 0 . 10 . 10 . 30 . 50 . 70 . 91 . 11 0 1 2 3 4 5 6 7 8 9 10 11T i m e我們存儲(chǔ)前一個(gè)事件 All rights reserved, OSI Software, Inc. 169。 2022 12 PI 數(shù)據(jù)流 (Chap. 2) All rights reserved, OSI Software, Inc. 169。 2022 4 課程內(nèi)容 (2nd Day) ? 4. PIConfig 工具 (PI 測(cè)點(diǎn)設(shè)置 ) (Chap. 12) ? PI 系統(tǒng)表 ? PI 點(diǎn)類(lèi)型 ? 幫助命令 ? 列出測(cè)點(diǎn) ? 創(chuàng)建測(cè)點(diǎn) ? 刪除測(cè)點(diǎn) ? 輸入 /輸出結(jié)構(gòu) ? 5. 圖形化設(shè)置工具 ? PISMT (Chap 11) ? Point Builder All rights reserved, OSI Software, Inc. 169。 2022 3 課程內(nèi)容 (1st Day) ? 1. PI 系統(tǒng)結(jié)構(gòu) ? PI System綜述 (Chap. 1) ? PI System 數(shù)據(jù)流 (Chap. 2) ? 數(shù)據(jù)壓縮 (Chap. 2) ? PI 系統(tǒng)服務(wù) (Chap. 1) ? 2. PI 客戶(hù)端工具 ? 3. PI 測(cè)點(diǎn)設(shè)置 (Chap. 3) ? PI 測(cè)點(diǎn)屬性 ? 開(kāi)關(guān)量狀態(tài)表 All rights reserved, OSI Software, Inc. 169。 2022 11 PI – 系統(tǒng)平臺(tái) PI PI 2 VMS/OVMS Vax/AXP PI 3 Windows NT Intel Unix IBM/DEC/HP/SUN Windows Client PI PIAPI node PI PINet node (VMS) All rights reserved, OSI Software, Inc. 169。 2022 18 時(shí)間處理 (Chap. 2) S n ap S h o t 1 2 3 4 5 n Re c No New E v e n t Com p r e s s io n O ver Fl o w t o d i sk \ pi \ dat \ p i ventq .d a t A rc hi v e C a c he 0 0 m n P r i m ar y A r ch i v e O t h e r On L i n e A r ch i v e s af t e r e x e c. r e p . A rch iv e Q u eu e (m em o ry ) PIARCHSS PI Interface PISNAPSS All rights reserved, OSI Software, Inc. 169。 2022 26 數(shù)據(jù)流 數(shù)據(jù)采集點(diǎn) (PIAPI Node) PI 服務(wù)器 PI 壓縮算法 PI 數(shù)據(jù)檔案 快照 讀取新值 (on exception or by scan) 例外報(bào)告 建議 : 數(shù)據(jù)采集要盡可能快 . 例外和壓縮的設(shè)置要恰如其分 All rights reserved, OSI Software, Inc. 169。 All rights reserved, OSI Software, Inc. 169。 2022 40 All rights reserved, OSI Software, Inc. 169。 2022 49 PI客戶(hù)端工具 ? PIData Link: Microsoft Excel AddIn ? This AddIn lets you extract values from the PI System and copy them to a spreadsheet for further analysis All rights reserved, OSI Software, Inc. 169。 2022 57 PI 時(shí)間戳格式 Absolute ? The time stamp does not depend on the current time Example: 18dec99 16:00:00 Go Relative ? The time stamp depends on the current time ? Every time the values are updated, the time stamps are updated Example: t+8h Sets the time for midnight plus 8 hours (today)+8 hours Go All rights reserved, OSI Software, Inc. 169。 { } [ ] ? \ ` ? “ ? Also, avoid “_” because it is used in SQL queries as the wildcard character. ? Tagname limited to 80 characters All rights reserved, OSI Software, Inc. 169。 2022 72 PI測(cè)點(diǎn)屬性 (Interface Specific) ? Point Source (O=OPC, W=Westinghouse) ? Location Codes (Location 1 to 5) ? InstrumentTag ? Extended Descriptor ? SourceTag ? Convers ? Scan Flag ? SquareRoot Typical PI UDS layout All rights reserved, OSI Software, Inc. 169。 Changes the Command char. ? quot $ Changes the Quotation char. ? stat Shows current status ? echo Toggles echo of mands to screen. ? output Redirects output to the file specified. All rights reserved, OSI Software, Inc. 169。 mand or the 171。 2022 練習(xí) 2 用逗號(hào)分界的文件創(chuàng)建測(cè)點(diǎn) All rights reserved, OSI Software, Inc. 169。 2022 94 PIConfig 結(jié)構(gòu)類(lèi)型 ? Delimited (ex: tag, descriptor) ? stype delim ? delim。 2022 98 Using the mand to load a predefined structure files ? Traditional way ? istr tag,descriptor,zero,span ? New way ? istr ? Content of ? tag,descriptor,zero,span All rights reserved, OSI Software, Inc. 169。 2022 106 表 PIARC ? Table that contains pressed data for all the PI tags. ? Tag: PI Tag name ? Value: Value ? Time: Timestamp DDMMMYY HH:mm: ? PointID: Unique point ID ? Type: Point Type (Float32, Digital,…) ? Status: Status of the value ? TimeNum: Timestamp in seconds since 01jan1970 ? Required fields for queries: ? Mode: mode piconfig list (even or p), mode piconfig create/edit/ delete (noreplace, append, replace, replacex, remove, appendx) ? Count: Number of values to return ? Starttime and Endtime: Start time and end time for the query