PI系统管理培训详细版.ppt_第1页
PI系统管理培训详细版.ppt_第2页
PI系统管理培训详细版.ppt_第3页
PI系统管理培训详细版.ppt_第4页
PI系统管理培训详细版.ppt_第5页
已阅读5页,还剩328页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、PI 系统管理 I 基本技能 Version 3.4,2,课程概述,与PI服务器相关的文档: 参考手册 系统管理手册 系统应用使用手册,3,课程安排,课时: 2 天 互动课程: 讲解部分 练习和用例部分,4,培训目标,了解PI系统的体系结构 学会安装和配置PI服务器 学会安装和配置PI接口 学会创建和维护测点 学会配置PI系统安全机制 学会PI系统的备份和恢复 学会发现和处理PI系统出现的故障 整个课程中您可以随时提问,5,课程内容 (第一天),PI系统简介 PI客户端工具 PI 数据流 PI 测点配置 PI 系统管理工具 PI 接口 测点配置及优化,6,课程内容 (第二天),PI 测点配置

2、PI 安全机制 PI 系统管理 PI系统故障及解决办法,1.0 PI系统简介,8,OSIsoft,成立于1980年 在美国、加拿大、墨西哥、德国、澳大利亚、新西兰、巴西和新加坡都拥有办事处 关于PI系统: 已经有超过一万套PI系统在全世界八十多个国家使用 是世界上最优秀的实时信息管理系统 为企业的信息化建设打下坚实的基础,9,什么是PI系统?,从你的生产过程获得数据的一套实时数据管理系统 包含成熟的分析工具来帮助人们进行决策 随时随地可通过可配置、交互式的界面获得需要的数据 PI 可以存储近乎无限的数据 OSIsofts Real-time Performance Management (Rt

3、PM) 平台的一部分,10,什么是RtPM 平台?,Enterprise Resource Planning,Supply Chain Management,Customer Relationship Management,Programmable Logic Controller,Distributed Control System,1.1 PI 系统结构,12,PI 系统 基本结构,Interface node,Analytical tools ACE Sigmafine,Data Source (DCS, PLC, etc),Other system - ERP - Maintenanc

4、e - Lims,PI Server,Interface node,Data Source (DCS, PLC, etc),13,PI 系统 平台,PI Version 2.x Released 1985 OpenVMS OS Alpha and Vax processor,PI Version 3.x Released 1995 Microsoft Windows Compaq Unix IBM AIX Sun Solaris,Microsoft Windows,Available for Windows OpenVMS Compaq Unix HP UX IBM AIX Sun Solar

5、is,接口端,PI Server,客户端,Available for Windows,1.2 PI 系统安装,15,安装前的准备,选择可靠的系统结构 使用可靠的硬件(品牌) 考虑使用冗余结构 考虑使用数据采集端 选择操作系统 (软件) 根据OSIsoft提供的性能要求来决定使用的硬件的性能,16,需要的内存,以下是一个比较理想的内存需求建议: 1 000 data streams: 512 MB RAM 10 000 data streams: 1 GB to 2 GB RAM 20 000 data streams: 2 GB to 4 GB RAM Sizing Spreadsheet:

6、,17,PI 系统管理员账号,PI系统管理员账号需要有安装和运行系统服务、修改注册表、创建和复制文件夹的权限,PI服务器安装示例,19,PI Server Installation - 1,20,PI Server Installation - 2,21,PI Server Installation - 3,22,PI Server Installation - 4,23,PI Server Installation - 5,24,PI Server Installation - 6,25,PI Server Installation - 7,26,PI Server Installation

7、 - 8,27,PI Server Installation - 9,28,PI Server Installation - 10,29,练习,Start the PI server services Go to PIADM Run PISRVSTART.BAT (not PISTART.BAT!) Note: to stop the PI Server, go to PIADM Run PISRVSTOP.BAT (not PISTOP.BAT!),1.3 PI 时间格式,31,PI 时间格式,绝对时间 (时间轴上精确的一点) * : (当前) t :今天 00:00:00 18-dec-0

8、2 16:00:00 相对时间 (另外一个时间的偏移量) +8h : + 8 hours 组合时间 t+8h : today + 8 hours,32,绝对时间,DD-MMM-YY hh:mm:ss,DD日 MMM月(Jan, Feb, Mar, Apr, May, ) YY年 hh小时 mm分钟 ss秒,例子: 18-dec-02 10:43:29,33,绝对时间,DD-MMM-YY hh:mm:ss,日期缺省为当天 时间缺省为 00.,34,绝对时间 其他格式,绝对时间格式,35,相对时间,天、小时、分钟、秒数 前面需要加 +或-号 没有缺省的时间单位,必须标明 相对时间很少单独使用,一般

9、都作为组合时间的一部分,36,组合格式,同时使用绝对时间和相对时间格式,37,练习,PI Time Express the following timestamps using a specific day and date: Tuesday-2d 1 6: y+8h *-30m Express the following times in valid PI timestamps: Today at 6:00 AM The 4th of the current month at 16:00 12 hours ago,1.4 PI 测点,39,什么是测点?,测点是PI系统中为一个数据流提供的唯一

10、的存储位置 例子 一个流量计的流速 一个控制器的运行模式 一个产品的批号 一个操作人员的文本注释 计算或统计的结果,40,PI 测点属性 1,Tag name: PI测点名称(唯一) Descriptor: PI 测点描述 (26 个字符) Engunits: 工程单位,41,测点名,测点名需符合下列要求: 第一个字符必须是字母或数字 不允许使用控制键 以下符号不允许使用: * ? ; “ ! 测点名长度应小于80个字符,Back,42,缺省测点,如果在安装PI服务器的时候选择了 “Install default tags”项系统就会创建10个测点作为“测试测点”用 可以用这些测点来测试PI系

11、统而不会影响正常的数据,43,PI 测点属性 - 2,Point Type: 变量的存储类型 Zero, Span 和Typical value: 量程起点、量程范围和典型值 Step: (On/Off): 是否将数据以梯形方式显示,44,数据类型,Int16: 整型, 16 位 (0 to 32767) Int32:整型, 32位 (-2147450880 to 2147483647) Float16:浮点型, 16 位(acc: 1/32767) Float32:浮点型, 32 位 (单精度) Float64:浮点型, 64 位(双精度) Digital:开关量 (On/Off) Stri

12、ng:文本,最大 976 字节 Blob:二进制数,最大 976 位 Timestamp: 时间,范围在1-jan-1970 到 1-Jan-2038 之间,45,Float32 - Float64,Float32 有 8 个有效位 Float64 有 17 有效位 例子: Float32 as 834 568 766.76 Float64 as 2.1234567890123456789,insignificant,46,Zero, Span 和 Typical Value,47,Step,2.0 PI 客户端工具,49,PI 开发工具,PI API (Application Program

13、ming Interface) 版本为2的客户端和大多数接口使用 PI SDK (Software Development Kit object oriented) 版本为3的客户端和系统管理工具使用,2.1 命令对话窗口,51,PI Server 连接窗口 (1/2)客户端工具,显示所有PI服务器的状态 Connect: 与PI服务器进行连接 Disconnect: 断开于PI服务器的连接 Add: 增加一个PI服务器到列表里 Remove: 从列表里删除一个PI服务器 Set as default: 设置缺省PI服务器 注意: 一个应用程序可以有多个连接,52,PI Server连接窗口

14、(2/2)客户端工具,建立一个新的连接: Node: PI服务器的名称或IP地址 User Name: pidemo 或其他的PI用户名 Port: 5450,如果需要输入密码的话将会弹出如下窗口:,53,测点查询窗口客户端工具,进入测点查询窗口: 在PI ProcessBook: 通过菜单栏上的Tag Search 按钮 通过工具条上的按钮 通过对象的属性窗口 在PI DataLink: 通过PI菜单中的按钮,54,Tag Search WindowClient Tools,子字符串查询,不支持通配符,支持通配符查询,显示结果: 当这个窗口打开时,前一次查询的结果将显示 需要更新查找结果点击

15、Search 按钮,55,测点查找策略客户端工具,使用通配符查找: 使用* 代替任意字符 例子: trc* = trc100.pv, trc14.pv, trc3114.pv 使用 ? 代替一个字符 例子: trc42?.pv = trc420.pv, trc421.pv, trc422.pv 提示1: 测点查询中对 descriptor 的查找是以文本为基础的,因此如果使用了通配符的话测点查询将会去查找描述中有*或?符号的测点 提示2: 查找不区分大小写 提示3: 查找条件可以组合 例子: 查找 Tagmask = sin* 和 PtSource = P的测点,56,测点信息窗口客户端工具,

16、57,Exercise 1,PI Client Tools Common Dialog Windows Objectives: Learn how to connect to a PI Server from a Client Tool Learn how to use the Client Tools Tag Search Window,2.2 PI ProcessBook,59,PI ProcessBook,PI ProcessBook: 绘制画面、数值、趋势图的客户端软件,60,PI ProcessBook 模式,Run Mode: 浏览 PI ProcessBook 的画面元素 Bui

17、ld Mode:绘制或编辑 PIProcessBook 画面 可以通过Tools菜单或者Drawing 工具条上的按钮来进行模式的切换,61,创建 PI ProcessBook 文件,点击File/New 或 图标 PB File (.piw): 包含ProcessBook画面的文件 PB Entry:PI ProcessBook 画面 - 画面及画面链接 - 到 PB 文件的链接- 操作系统命令- 文本 PB Display (.pdi):单独的页面,62,创建趋势 “General” Tab,63,Exercise 2,PI ProcessBook Objective: Learn how

18、 to build a simple trend using PI ProcessBook,2.3 PI DataLink,65,PI DataLink,PI DataLink: Microsoft Excel/Lotus 123 add-In 将数据直接从PI系统取到表格中进行分析,66,Exercise 3 (optional),PI DataLink Objective: Learn how to make a simple query in PI DataLink,3.0 数据流,Reference Guide, Chapter 2,68,数据流,PI compression algo

19、rithm,PIArchives,Snapshot,New value (scan or exception based),Exception Report,Exception,Compression69,原始数据,从数据源扫描过来的原始数据 未经过Exception 和Compression 测试, 数据将会被归档保存,Time,Temperature,70,Exception 测试 (接口层),Exception 测试:,ExcMax (time),+ Excdev,- Excdev,Current Snapshot,新数值如果在该矩形外就会触发 Exceptio

20、n 测试 Exception 测试是在 接口进行 当一个数值触发Exception测试时,这个数值和之前的那个数值就会被送到PI服务器,71,PI Exception 测试,Scan = 1m ExcDev = 1 ExcMax = 10m,DCS Value Exception Current Snapshot,72,Exception 测试,Time,Temperature,P,E,P,P,P,E,E,E,E,E,E,E,E,E,E: Exception P: Previous,E,73,Exception 测试 结果,Time,Temperature,通过测试的数值将会不断的送到PI服务

21、器,送的那个数值将是当前的实时值,74,Exception 测试,当一个数值通过测试的时候,这个数值和之前的那个数值将会被报告 Why? To have a better representation of the actual tag behavior,Snapshot value,+/- Excdev,Temperature,Time,75,Directed Exercise,Consider the following parameters: Excdevpercent:2 Span;200 Excmax:180 The current snapshot value and timest

22、amp are: 70.310:00:00 Which of the following values pass the exception test:,76,关闭 Exception测试?,将 ExcDev=0 (Exception 开关) 所有的数据都将送到 PI. 这样会增加接口和服务器之间的网络负荷,77,Compression 测试 (PI Server),Compression 测试:,Last archived value,如果有一个在上次归档数值和当前值之间的数值超出了这个平行四边形的话那就触发了compression 测试,那么当前值之前的那个数值就会被归档存储 Compre

23、ssion 测试是在PI Server进行的 Compression 测试的开关可以通过Compressing 属性来控制,+ Compdev,- Compdev,Current snapshot, Compmax (s),78,Compression 测试,Time,Temperature,A: Archived Value,A,A,A,A,A,A,A,compression 的运算法则是不断与实时值进行比较以决定那些值需要保存在PI数据库中,79,Compression 结果,Time,Temperature,当用户给定任一时间获得数值的时候,数值的偏差不会大于compdev,存储在PI数

24、据库中的数值,80,Compression 结果,Raw values scanned,Time,Temperature,After Exception,Compression之后,81,关闭 Compression?,将Compressing属性设为Off: 所有通过exceptions测试的数值将会被存储 *最好* 将Compressing 属性设为 ON, compdev属性 设为 0: 同样或排列整齐的数值将不会被存储,这样效率会更高,82,数据流,exception测试和compression测试应该是把数据调整成存储效率高但同时不失精度 硬盘空间、性能 vs 数据精度,83,Exc

25、eption 和 Compression 属性,每一个PI测点都可以单独配置自己的exception 测试和 compression 测试属性,84,推荐的属性设置,把例外报告偏离值设置为仪表所能测量出的最小变化值。 将 Exception Deviation 设置成compression deviation的一半 提示: ExcMin, ExcMax, CompMin 和 CompMax 属性的单位是秒,4.0 PI 测点配置,86,PI Tag 属性 - 3,Point Class: PI 测点种类(从接口过来的测点通常使用 “Classic”) Archiving (On/Off): 设

26、成 0 (Off), PI 会采集数据但不存储 Shutdown (On/Off): 当PI服务器停止的时候,一个shutdown事件将会写到 shutdown 标志设为1 (On)的测点中 Scan (On/Off): 扫描标志,87,Point Class (Database View),39 attributes,57 attributes,54 attributes,61 attributes,注意!测点的类型是不能改变的,Base +18,Base +15,Base +22,65 attributes,Base +26,Totalizer Adds the point attribu

27、tes for totalizer tags,SQC_Alarm Adds the point attributes for SQC Alarm tags,Classic Adds the point attributes for interface tags,Alarm Adds the point attributes for alarm tags,BASE Included in all point types,88,Sub-second timestamps,归档最短时间间隔是15.26 s 也就是 1/65535 秒 15.26 s 的精度意味着: 小数点后可以保持四位 Ex: 14

28、-oct-03 15:31:31.1234 remains 14-oct-03 15:31:31.1234 超过5位后的小数将会被四舍五入 Ex: 14-oct-03 15:31:000025 becomes 14-oct-03 15:31:000030,89,Sub-second timestamps,在客户端的表示: DataLink: 支持小数点后3位 (ms) ProcessBook 2.3: 不支持 ProcessBook 3.0:支持小数点后3位 (ms),90,PI 测点属性 测点安全,控制PI测点访问权限的属性 PtOwner, PtGroup, PtAccess: 控制谁能修

29、改和看到测点属性. DataOwner, DataGroup, DataAccess: 控制谁能读写测点数据. 这些属性的设置将会在安全章节中详细介绍,5.0 PI 系统管理工具,5.1 公用对话框窗口,93,PI 服务器连接窗口 (1/2)PI SMT,Changes made here are stored in the Windows Registry,94,PI 服务器连接窗口 (2/2)PI SMT,95,测点查询窗口PI SMT,注意: SMT 测点查询窗口支持在描述栏中使用通配符查询,96,测点信息窗口PI SMT,97,PI 连接: SDK vs API,如果API 连接中有了

30、变化,这个变化将会同样影响SDK 连接: 一段时间后 PINet 服务启动时 PI SDK 连接时 如果SDK 连接中有了变化,这个变化不会到影响API连接,98,Exercise 4,PI System Management Tools Common Dialog Windows Objectives Learn how to connect to a PI Server from a System Management Tool Learn how to use the System Management Tools Tag Search Window,5.2 系统管理工具简介,100,系

31、统管理工具,PI System Management Tools (PI-SMT) 是一个图形界面应用程序,用户可以通过它在远程管理PI系统 PI System Management Tools 包含在PI服务器软件中,101,系统管理工具 3,102,系统管理工具,PI System Management Tools 3.0 同样提供 PI SMT 2 tools 的快捷方式,103,Directed Exercise,Use the System Management Tools to access the following: Stale and Bad tags on your PI

32、server PI Point Builder,5.4 PI Point Builder,105,PI PointBuilder,允许用户创建和配置PI测点的图形工具,106,Exercise 5,PI Point Builder Objective: Learn how to create a tag with PI Point Builder,5.3 状态集的创建,108,离散型测点,离散型测点是以整型存储,但以文本显示 Point Type 属性 = digital 离散型测点有一个状态集( Digital Set) 将 DigitalSet 属性设置为相关联的状态集名 状态集必须在创建

33、离散型测点前就已经存在,109,状态集,状态集是一组状态,110,Exercise 6,Add a New Digital State Set Objective: Create a new digital state set,111,Exercise 7,Add a digital tag Objective: Create a digital tag that will use the digital state set created in the last exercise,6.0 PI 接口,System Management Guide, Chapter 1: Managing I

34、nterfaces,113,What is a PI Interface?,它是用于PI服务器和数据源间通讯的软件 从数据源中采集数据传送到PI服务器中,PI Server,DCS/PLC/Data Source,6.1 接口安装,115,Interface Installation,安装操作系统 测试到数据源的连接 安装 PI API 安装PI SDK (如果需要) 测试到PI服务器的连接 安装接口 配置数据缓存服务,116,接口安装,接口安装过程 运行安装包或者将接口文件拷贝到安装路径下如c:pipcinterfacesifc. PI ICU进行接口配置 或者根据接口文档的要求手动修改.b

35、at 文件里的命令行参数 通过交互方式启动接口: ifc.bat 提示:如果接口不能以交互方式启动,那它可能将不能作为服务运行,只有在接口能够以交互方式启动后再将接口作成服务启动,117,PI 接口启动,使用脚本文件启动 脚本文件和接口在同一机器上 每一个接口都必须有各自的脚本文件,WindowsIfc.bat UnixIfc.sh,118,通用接口参数说明(对所有接口适用),/PS:数据源名 /ID:接口ID号,当在同一台机器上运行同一个数据源的多个接口时可以起到区分的作用 /F:接口扫描频率,可设多个. (ex: /F=00:10:00 /F=08:00:00,07:00:00) /HOS

36、T:PI服务器名称和端口号 (ex: /HOST=localhost:5450) /EC:I/O Rate 测点ID号 /STOPSTAT:当接口停止后写到各个测点的状态,119,扫描频率,PI接口可以使用多个不同的时间频率进行数据采集 一个扫描频率由时间和偏移量决定 有四种定义扫描频率的方法: /f=SSor/f=SS,SSor /f=HH:MM:SSor/f=HH:MM:SS,hh:mm:ss,120,Directed Exercise,Which of the following scan classes is different from the others? /f=5,10 /f=

37、00:00:05, 00:03:05 /f=5,0 /f=00:00:05 Define scan classes for: A scan every hour which scans at 10:25:00 A scan every minute, on the minute A scan every 15 seconds. No preferences on when the first scan is done.,121,接口安装建议,在数据采集端设置Buffering服务 接口 安装成为自动的服务 接口如安装在PI服务器上的话应包含site-specific 脚本文件,这样可以随着PI

38、服务器的启停而启停 (pisvrsitestart.bat and pisrvsitestop.bat) 同步接口端和PI服务器的时钟,如果接口端的时钟比PI服务器时钟快10分钟以上的话数据将会被PI服务器拒绝,6.2 Uniint-Based Interfaces,123,Uniint-based Interfaces,Uniint: Universal Interface的简写 集成的很多OSIsoft接口中的可复用代码 包含一些通用的功能例如: 建立与PI服务器的连接 处理PI测点数据库的变化,124,将接口设置为服务,将接口安装为 Windows 服务: Ifc.exe Install

39、 依赖与其他服务可以如下表示: IFC.exe install depend “bufserv” 当系统重启的时候自启动 IFC.exe install auto 在服务窗口中显示服务名 IFC.exe install auto display “display name”,125,Directed Exercise,Install the PI Ping_basic interface as an automatic service Open a command prompt Access the interface installation directory (pipcinterface

40、sping_basic) Use the Following command: piping_basic.exe install auto Open the Services applet to make sure the service has been installed Start the PI Ping_Basic interface,126,接口运行步骤,建立与PI服务器的连接 建立与数据源的连接 从PI服务器中获得测点列表 通过数据源验证测点配置的有效性 开始数据采集 注意: 接口启动以后每两分钟连接一次PI服务器以处理测点的变化(如测点增加、修改或删除),127,基础 PI接口,

41、PI服务器缺省安装5个接口 Simulators Random Interface Ramp_Soak Interface Basic IT Monitoring interfaces PI Ping Basic Interface (limited to 32 data streams) PI SNMP Basic Interface (limited to 32 data streams) PI Performance Monitor Basic Interface (limited to 512 data streams and to local data collection),128

42、,缺省测点数据源,PI Alarm Alarm GroupsG PI Performance EquationC PI TotalizerT PI RTSQCQ PI PerfMon# PI PingJ PI SNMP$ Ramp_soak9 RandomR,129,已经被使用的数据源,如果一定要修改缺省数据源的话: PI Performance Equation, PI PerfMon, PI Ping, PI SNMP, Ramp_soak 和 Random 接口可以通过修改.bat文件修改数据源 PI Alarm和 PI RTSQC 可以通过修改注册键来修改数据源 PI Totalize

43、r 接口数据源不能被修改,6.3 PI 测点属性 接口,131,PI 测点属性 接口,Instrument Tag: 数据源中测点的位置或名称 Extended Descriptor: 详细的查询指令 Exception Specifications: 定义值的变化多大才算有意义 Point Source: 数据源名,将测点按接口分组 Location Codes: 定义数据在数据源系统中如何定位 Scan: 是否扫描列表中的PI测点 (On/Off),132,使用的典型属性,Location1:接口ID号 Location4: 扫描频率号 (见接口启动部分的 /f 参数),6.5 I/O R

44、ate 测点和 Performance 测点,134,I/O Rate 测点,I/O Rate 测点记录每分钟送到PI服务器的事件数 (每十分钟进行一次平均). I/O Rate可以通过手动或PI ICU (Interface Configuration Utility)来创建,135,Performance 测点,测点记录接口扫描一次的秒数 每一次扫描结束后数据将更新 每个performance测点每8小时(可配置)将统计结果送到PI API日志文件里 扫描完成时间越接近于0,接口性能越好,扫描完成时间精确到毫秒,136,Performance 测点,Performance 测点可以通过手动

45、或 PI ICU创建,137,Directed Exercise,You have missed scans and skipped scans on an interface. Here are the scan classes used: /f=10,5 /f=5,0 /f=15,0 How should we modify the offsets to avoid having 2 or more scan classes launched at the same time?,6.6 PI 接口配置工具(Interface Configuration Utility),139,PI 接口

46、配置工具 (PI ICU),接口配置界面包括: 安装服务 管理 .bat 文件 显示日志 配置缓存服务 创建接口监控测点,140,PI ICU Tabs,141,PI ICU Tabs(continued),142,PI ICU Tabs(continued),143,PI ICU Tabs(continued),144,接口测点配置,145,通过 ICU配置,配置一个新的接口或修改当前接口配置 一旦通过ICU修改接口启动文件就不要再用手动去修改 注意: ICU 需要连接到一个正在运行的PI服务器,同时还需要对模块数据库有写的权限 Help 菜单包含接口文档,146,Exercise 9,Cr

47、eate I/O Rates Tags and Performance Points Using ICU Objective: Create I/O Rates Tags and Performance Points Using PI ICU,147,Exercise 10,Using PI ICU to Manage Interfaces Objectives: Learn how to install PI interfaces as services using PI ICU Learn how to configure PI interfaces using PI ICU,6.7 分布

48、式接口和缓存,149,Bufserv 服务,Without buffering,With buffering,PI Server,数据采集端,Interface,Buffering Service,Snapshot Subsystem,150,Bufserv 服务,OSIsoft 推荐安装并使用接口的缓存功能 Buffering 是一个 Windows 服务 bufserv 服务必须由一个具有管理员权限的本地用户来运行 Buffering 可以通过 pipcdatpiclient.ini 文件或 PI ICU进行配置,151,Buffering,使用 pipcbinbufutil 程序监控 b

49、uffering 活动,Interface,PI Server,Memory Buffer #1,Memory Buffer #2,File Buffer (APIBUF.DAT),1,1,1,2,2,2,3,3,4,4,6,5,7,8,5,6,7,8,9,13,12,11,10,14,9,10,11,12,13,14,15,17,16,15,16,17,9,10,11,12,13,14,3,4,14,18,18,5,6,19,19,7,20,20,15,16,17,18,19,20,9,10,11,12,13,14,21,21,15,16,17,18,19,20,22,22,23,23,24

50、,24,数据通常以时间顺序送到PI服务器中,When full, Memory Buffer #2 is flushed to disk and filled again,When the PI server is not available, Memory Buffer #1 fills,Then Memory Buffer #2 fills,In normal operation, data flows through Memory Buffer #1,When communication resumes, Memory Buffer #1 is sent to the server,An

51、d new values are sent to Memory Buffer #2,8,9,10,11,12,13,15,16,17,18,19,20,21,22,23,24,152,PIClient.ini 文件,基本设置 APIBUFFERBUFFERING=1 PISERVERPIHOMENODE=MyPIServer TCP/IP PORT=5450 其他推荐设置 PAUSERATE=2RETRYRATE=600MAXFILESIZE=2000000MAXTRANSFEROBJS=500,仅在 UNIX 系统中使用,要使缓存服务生效必须设为1,153,PIPC Log Server 服

52、务,The PIPC Log 服务是一个 Windows 服务 它控制着: PIPC.log 文件的大小 PIPC.log文件的数量 PIPC Log Server 可通过pipc.ini 文件或 PI ICU来进行配置.,154,PI Shutdown 事件 Vol. II, p. 450,当PI重启时会将shutdown事件送给每一个Shutdown 属性设为1的测点 接口重启时将会传送接口启动文件里 /stopstat 参数设置的shutdown 事件 (如 “Intf Shut”),155,Directed Exercise,Open the pipc.log file: Browse

53、 to the following directory pipcdat Open the file named pipc.log,7.0 测点配置及优化,157,测点创建,测点可以通过以下工具创建: PI Tag Configurator PI Point Builder PI Config 下面的工具可以创建专用测点: PI Auto Point Sync (APS), Interface Configuration Utility (ICU), PI Batch Generator Configurator, PI Alarm Group Creator, PI Totalizer Edi

54、tor, PI ACE, PI PerfCreator, PI SNMPUtil,158,设置恰当的 Zero & Span,定义 Zero 和 Span 属性是要注意因为: Excdevpercent compdevpercent 的值自动根据 span进行调整 Float16 数值的精度和范围跟Zero 和 Span属性相关 Zero和 Span 被 PI ProcessBook中的很多功能使用,159,Step 属性,Step属性影响画面和数据压缩 : exception 测试使用的是CompDev 属性值而不是使用compression 算法,160,测点修改,删除测点 历史数据将会丢

55、失! 没有快速的恢复方法 测点重命名 使用 Newtag 属性 测点可以在保持历史数据的同时进行重命名 DataLink 报表需要根据新测点名进行手动修改 重命名对 ProcessBook 画面没有影响 (存储了PointID) Performance 计算表达式也需要进行手动修改.,161,更有效的存储数据,有多种因素影响数据的存储: Exception 测试 Compression 测试 扫描频率 可以通过调整这些设置来优化数据的存储 需要考虑的因素: 数据的精度 性能 存储空间 网络,162,DisplayDigits 属性,范围从 10 到 5 缺省值是 5 正数表示小数位, 负数表示

56、有意义的位.,163,FilterCode 属性,Filtercode indicates the time constant of a first-order filter used to smooth incoming data. OSIsoft 推荐的缺省值是 0. 其他的设置为:,164,系统指定的属性,PointID 系统指定的唯一的 ID RecNo 在PI Archive中的记录号 Creator 创建测点的用户 CreationDate 创建测点的时间 Changer 修改测点的用户 ChangeDate - 修改测点的时间,165,SourceTag 和 srcptid属性,

57、Sourcetag 输出点的源测点,一些接口使用扩展描述 (ExDesc) 来实现这个功能,这个属性不保存在测点数据库里,它仅仅是一个 srcptid 属性更直观的表示方法. srcptid 保存源测点的 ID.,这个属性不能直接修改而是修改 SourceTag 属性.,166,其他属性,SquareRoot 一些接口程序会用到这个属性,具体使用情况见接口文档. TotalCode 一些接口程序会用到这个属性,具体使用情况见接口文档.,167,字符测点,可以用于实验室数据或其他手工输入数据 存储其他系统发来的信息并将这些信息保存在字符测点里,168,字符测点,以下工具可以显示字符测点: PI

58、DataLink 1.7x 及以上版本 (最大 256 个字符) PI ProcessBook 3.0及以上版本 PI Xval ActiveX (Insertable in any ActiveX control container: PI ProcessBook, Excel, Word, VB, IE 4, IE5, .) Custom application (使用 Extended API) Piconfig session (PISnap 和 Piarc table),169,字符测点,以下工具也有可能讲字符信息写到测点里: PI Datalink里的 “piputvalx” (使

59、用对象的.run方法) Custom application. (必须使用扩展 API. 如 pipcexcel 下的PIPUTX32.xls 文件.) 一些新的 PI 接口 (ABBIMS Advant, PI OPC, Batch File) Piconfig session (PISnap和Piarc table),170,Lab Tags (手工输入),PointSource = L Compressing = OFF (0) Step = ON (1) Shutdown = OFF (0) PointType can be any of the valid point types Location1, Location2, Location3, Location4, Location5, Ex

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论