1、PI-TR-002-I PI 3 系统管理 I基本技能Version 3.3234567810数据源(PLC/DCS/Other)工厂仪表PI-UDS(PI 服务器)PI-客户端工具客户端工具-ProcessBook-DataLink-PI-Profile数据采集(缓存)节点企业管理企业管理-ERP-LIMS-Maintenance工艺改进工艺改进-SimcaP-Loop tuning-Sigmafine-APC-SQCIntranet/Internet-PI ICE-PI ActiveView-ReportsConfig Tools-ICU-SMT11PI 2VMS/O-VMS-Vax/AX
2、PPI 3Windows NT-IntelUnix-IBM/DEC/HP/SUNWindows ClientPI-API node PI-Net node(VMS)1213PI Data(from the snapshot,archive,or pibasess)RedirectorCOM callReturn DataCOMConnector 外部数据外部数据 System#1COMConnector外部数据外部数据 System#2COMConnector外部数据外部数据 System#3PI NetMgrRequestResponse14151617Time DCS value Exce
3、ption Snapshot 12:00:00 50.0 Yes 50.0 12:00:10 50.3 No 50.0 12:00:20 51.1 Yes 51.1 No 51.1 12:10:20 51.4 Yes 51.4 18 SnapShot 1 2 3 4 5 n RecNo New Event Compression Over-Flow to disk pidatpiventq.dat Archive Cache 0 0 m n Primary Archive Other On-Line Archives after exec.rep.Archive Queue(memory)PI
4、ARCHSSPI InterfacePISNAPSS19-0.10.10.30.50.70.91.1-101234567891011Time我们存储前一个事件20-0.10.10.30.50.70.91.1-101234567891011TimeBack某一特定时间的实际值在内差值的范围内某一特定时间的实际值在内差值的范围内,该内差值位于邻近的,该内差值位于邻近的PI数值加上或减去数值加上或减去压缩偏差之间。压缩偏差之间。33934034134234334434534634734834935012:00:0012:00:1512:00:3012:00:4512:01:0012:01:1512:
5、01:3012:01:4512:02:0012:02:1512:02:3012:02:4512:03:0012:03:1512:03:3012:03:4512:04:0012:04:1512:04:3012:04:4512:05:0012:05:1512:05:3012:05:4512:06:0012:06:1512:06:3012:06:4512:07:00+/-1degree 339340341342343344345346347348349350 33934034134234334434534634734834935012:00:0012:00:1512:00:3012:00:4512:
6、01:0012:01:1512:01:3012:01:4512:02:0012:02:1512:02:3012:02:4512:03:0012:03:1512:03:3012:03:4512:04:0012:04:1512:04:3012:04:4512:05:0012:05:1512:05:3012:05:4512:06:0012:06:1512:06:3012:06:4512:07:00This value passes compression.so the previous value is archived.and these values are not archived.Compr
7、ession Deviation2223242526数据采集点(PI-API Node)PI 服务器PI 压缩算法PI数据档案快照读取新值(on exception or by scan)例外报告建议:数据采集要尽可能快.例外和压缩的设置要恰如其分 272829303132Regions that are includedand excluded for a time-weighted calculation usingPI TotalizerEvents that fail compression testEvents that pass compression testRegion con
8、sidered inTime-Weighted calculationusing Compressed Values33343536373839404142Due to a Growing log file.434445474849505152此处所作的修改存储在此处所作的修改存储在 pipcdatpilogin.ini文件中文件中。5354555657绝对形式u时间戳不依赖当前时间例如:18-dec-99 16:00:00 Go相对形式u时间戳依赖于当前时间u每次更新数据,时间戳也被更新例如:t+8h 设置时间为午夜加8小时(today)+8 hoursGo58dd-mmm-yy HH:mm
9、:ssdd日mmm 月(Jan,Feb,Mar,Apr,May)yy年hh时,24小时格式mm分ss秒例子:18-dec-99 10:43:29Back59 Code Examples Now*Midnight at specified date and current month dd 25=midnight the 25th of the current month Midnight at specified date dd-mmm-aa 25-aug-92=midnight the 25 august 1992 Specified hour at current date h:8:=8h
10、00 at current date Specified hour and day of current month,year and minute dd h:25 8:=8h00 on the 25th day of the current month Today at 00:00:00 t T+7h is today at 7 a.m.Yesterday at 00:00:00 y Y+15h is yesterday at 3 p.m.Day of the week at 00:00:00 sa,s,m,tu,w,th,f Time interval(day)n.nd 1.3d=1.3
11、days Time interval(hour)n.nh 1.5h=one hour and a half Time interval(minute)nnm 32m=32 minutes Time interval(seconds)nns 49s=49 seconds 606263Back6465BacK66Back67Back-50050100150Zero=50Span=100-50050100150Zero=0Span=100-50050100150Zero=-50Span=10068Back Set Name Number of States States MySet 5 Manual
12、 Auto Cascade Bypass Failed MySet2 2 ON OFF MySet3 3 Crude Richmond Rework 6970STEP=1STEP=0Back71测点安全性72 73UserInt1UserInt2UserReal1UserReal2系统分配的属性用户分配的属性747677TotalizerAdds the point attributes fortotalizer tagsSCQ_AlarmAdds the point attriutes forSQC Alarm tagsClassicAdds the point attributes for
13、for interface tagsAlarmAdds the point attributes foralarm tagsBASEIncluded in all point types警告警告!不可能改变测点的点类型。不可能改变测点的点类型。Base+18Base+15Base+22Base+26787980818384858789919294959899100103104可通过编辑快照表将数值发送到存档文件中(mode edit)。如果该值的时间戳比快照值早,该值将直接被写入到PI存档文件中(没有压缩)10610810911011111211511611711811912012312412
14、5126127129130131132134135136137139uPISetpass工具使你能改变PIUser的密码.u这个工具可在 piadm目录中找到。u此工具只能在PIServer的控制台下运行。140141PINetMGRPIFireWallPI-TRUST鉴定User鉴定(通过 user 和 password)访问访问PI数据库数据库(按连接信任按连接信任)Group鉴定信任记录可被配置为信任记录可被配置为3种类型的登录:种类型的登录:1.PI-API 应用应用2.PI-SDK on Windows 95,98,Me3.PI-SDK on Windows NT,2000非交互登录
15、非交互登录交互登录交互登录1421431441451461 如果使用IP地址,网络掩码也必须被配置。Field inTrust Record Req orOpt.PI-APIPI-SDK(on NT or 2000)Trust namereqAppNameoptyesyesDomainoptnoyesIPAddr1optyesyesNetmaskoptyesyesHostnameoptyesyesOSUseroptnoyesPIUserreq1478.Domain match l处理优先级的细节可在 PI-UDS手册中找到,Chapter 10,529页到552页148RowTrust IPA
16、ddr Trust Netmask Machine IPAddrResult of ANDMatch10.0.0.00.0.0.0192.168.168.1210.0.0.0Yes2192.168.168.0255.255.255.0192.168.168.121192.168.168.0Yes3192.168.168.0255.255.255.0192.168.175.004192.168.175.0No4192.168.168.22255.255.255.255192.168.168.22192.168.168.22Yes5192.168.168.22255.255.255.255192.
17、168.168.20192.168.168.20No149RowTrust IPAddr Trust Netmask Machine IPAddrResult of ANDMatchA192.168.168.128255.255.255.192192.168.168.178192.168.168.128YesB192.168.168.128255.255.255.192192.168.168.121192.168.168.64NoStep1-AndStep2-CompareStep3-Match150152153或或155156PI-UDS 3.3+157159161162允许数据缓存允许数据
18、缓存允许数据缓存,允许数据缓存,建议所有机器位建议所有机器位于同一个域内于同一个域内163接口启动接口启动164165166167168169NT Service Installation Commands on an API node or a PI Server node with Bufserv implemented Manualservice ifc.exe install depend“tcpip bufserv”Automaticservice ifc.exe install auto depend“tcpip bufserv”NT Service Installation Co
19、mmands on an API node or a PI Server node without Bufserv implemented Manualservice ifc.exe install depend tcpipAutomaticserviceifc.exe install auto depend tcpip 170u接口通过脚本文件启动.u脚本文件和接口在同一台计算机中。(即,PI 宿主节点,API节点或 PINet节点的任意一个).u如果在同一台计算机中启动了接口的多个副本,那么每个接口必须用它自己的脚本文件启动。17117217317417517617717817918018
20、1182183DCS-APIPI-API/PI-SDKNext接口告诉缓冲PI 服务器API-NodeDCS/PLC/数据源184185DSTMISMATCH0-2,000,0000服务器和客户端工具本地时间偏移允许跳跃的时间。典型地,如果节点所作的时区的DST规则不同的化,为3600(seconds)186187File BufferAPIBUF.DATMemory Buffer#1Memory Buffer#2缓冲总是激活,缓冲总是激活,当连接到当连接到PI服务器时,只激活内存缓冲区,服务器时,只激活内存缓冲区,但当到但当到PI服务器的连接停止时,内存缓冲区被填满,同时激服务器的连接停止时
21、,内存缓冲区被填满,同时激活文件缓冲区。活文件缓冲区。188189190191192194195196197198199200201202 实例:(sinusoid 50 and flow.pv 90)20320420520720820911h3012h001-插入存档事件插入存档事件2-平均值受到影响平均值受到影响3-平均值被重新计算平均值被重新计算2101-新值被加入到存新值被加入到存档档2-计算新值计算新值3-相关的值重新被计算相关的值重新被计算Source 1(Point A)Source 2(Point B)Calculation result211212213214215216 B
22、ack217218220221222223224Piarch.001Archive Position 0Piarch.002Piarch.003Piarch.004InitialPiarch.004Piarch.001Piarch.002Piarch.003After 1st shiftPiarch.003Piarch.004Piarch.001Piarch.002After 2nd shiftArchive Position 1Archive Position 2Archive Position 3225226227记录头(24字节)主记录(1000 字节)溢出记录每秒数值的个数每秒数值的个数Float 16,Int16 和 Digital(3 字节):330Float32 and Int32(5 字节):200Float64(9 字节):110228存档文件1K 主记录1K 溢出记录229230231233234235236237238 239240241242243244245246247248Phone:510-297-5828Email:Web:http:/249250251252254255PI-UDS(PI server)客户端工具客户端工具-Internet Explorer-ActiveView网页服务器256257
侵权处理QQ:3464097650--上传资料QQ:3464097650
【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。