1、PKS 组态笔记PKS 组态笔记在2009年11月27日装上了PKS。 11月27日: 看到: CM中的AICHANNEL 模块的参数 LASTPV :last process variable ,show the value of the PV before the value became BAD . PVRAW :process variable(pv) raw value. show the raw input value of the PV before or after initial processing has been applied,depending on the typ
2、e of I/O Processor that is involved. The field sensor type determines the units of value as follows: 0 - 5V, 0.4 - 2V, 1 - 5V Sensor: Percent (%) PVEXHIFL:process variable extended high range flag. shows if the pv has exceeded the extended high range trip point. off: extended high range limit not ex
3、ceeded; on: extended high range limit exceeded. PVEXLOFL:process variable extended low range flag.shows if the pv has exceeded the extended low range trip point. 11月28日: CM中的AICHANNEL模块的参数 PVCLAMP:process variable clamping option.specifies whether or not pv clamping action is to be used with this da
4、ta point. NOCLAMP:no clamping of the pv value; CLAMP :clamp pv value at the extended range limit . Remarks : if PVCLAMP is set to CLAMP and PV extended range limit is exceeded, PV status (PVSTS) is marked Uncertain and the PV is set equal to the extended limit that was violated. 单词:pertenient-中肯的,合适
5、的。 查找系统画面文件detail and group displays,可以用关键字:DACA 查找-about detail and group displays 。 可以通过修改这些模板来 做自己的画面。在C:Program FilesHoneywellExperion PKSClientSystemR210 中。 CM 中的DATAACQ模块的参数: Low Signal Cut Off (LOCUTOFF) - - Lets you specify the low signal cutoff limit for the P1 input after filtering and cla
6、mping. When PVAUTO is below the limit, the block sets the PVAUTO value to the PVEULO value. Only applicable with PV character selection of Linear or Square Root. The default value is NaN (Not-a-Number), which means there is no cutoff limit. Clamping Option (P1CLAMPOPT) - Lets you specify whether or
7、not you want P1 to be clamped within the PV high (PVEXHILM) and low (PVEXLOLM) limits. The default setting is DISABLE, which means no clamping is applied. 如果选择了clamping option-ENABLE,那么输入钳制在 PVEXHILM 和PVEXLOLM 之间。 Lag Time (P1FILTIME) - Lets you specify a first order filter time in minutes for the P
8、1 input. When time is non-zero (1 to 60 minutes), a first-order filter is applied to P1EU and the result is stored in an intermediate parameter called FilteredP1 (not a visible parameter). As long as FilteredP1 is within PV limits, it is copied to PVAUTO. See Input Filtering in this section for more
9、 details. The default value is 0. 对于Lag Time 中的 一阶滤波 具体是怎么样 起作用的 还没有 细看。 alarm 中的 priority 优先级 选项中有 JOURNAL 表示Alarm is logged but it does not appear on the Alarm Summary display. 只记录报警,但不显示。 alarm 中的Severity - Lets you assign a relative severity individually for each alarm type (PVHHALM.SV, PVHIALM.
10、SV, PVLOALM.SV, PVLLALM.SV, ROCPOSALM.SV, ROCNEGALM.SV, and BADPVALM.SV) as a number between 0 to 15, with 15 being the most severe. This determines the alarm processing order relative to other alarms. The default value is 0. 这个决定了 报警相对于其他报警的处理顺序,最高 是15。 Deadband Value (ALMDB) 其中强调了 当CM 装载后,对于不同的报警死
11、区 是单独对应的,如果在 monitoring parameters 中 单独的组态了 报警死区,那么在 监视这个 CM时 ,可以单独 改变 报警 值(alarm value ?) , 这个需要 试验 一下。 NaN 的意思是 Not-a-Number ,不是一个数值。 DATAACQ模块 的P1 值 来自于别的模块,如果送过来的值 既有 值value 又有 状态status,那么 DATAACQ模块 获取两者, 如果 只有value,在 P1 是 NaN时 ,状态P1STS为bad, 其他情况下 状态 P1STS 为Normal。 如果 P1 不能被获取,那么 P1 被设置为 NaN,P1S
12、TS 被设置为 bad 。 PV characterization -pv 特性描述: Linear - converts P1 to engineering units based on the input span (0-100) (基于输入的量程)and the configured PV engineering unit span (PVEUHI - PVEULO) as follows: P1EU = (P1/100) * (PVEUHI - PVEULO) + PVEULO 线性(LINEAR):P1EU=(P1/100) * (PVEUHI-PVEULO) + PVEULO 。所
13、以 当需要增加 DATAACQ模块来增加 报警时,前后两个DATAACQ模块的量程设置是一样的。 CM 中的control 0 涉及的知识还没有查到! 11月30日 CM 中的一些参数还没有看完。 因为白天向honeywell 的工程师问了disk full error ,历史归档报警的问题,所以现在看 history archieve。 History type Description Standard Stores the following snapshots and averages: 1-minute snapshots 6-minute averages of the 1-minu
14、te snapshots 1-hour averages of the 1-minute snapshots 8-hour averages of the 1-minute snapshots24-hour averages of the 1-minute snapshots Fast Stores snapshots at regular intervals called the fast history interval. (This interval, which is set when installing Experion PKS, can be between 1 and 30 s
15、econds.) Extended Stores the following snapshots: 1-hour snapshots 8-hour snapshots 24-hour snapshots 用于收集历史数据的点参数的最大数目是: standard 50,000 fast 1,000 extended 5,000 PKS 在一个分开的历史文件中存储每种类型的采样。例如:对于standard history 有 5 个历史文件,分别是1-minute snapshots 6-minute averages of the 1-minute snapshots 1-hour averag
16、es of the 1-minute snapshots 8-hour averages of the 1-minute snapshots 24-hour averages of the 1-minute snapshots 。 历史归档生成的文件 是有命名规则的。 名字格式: ayYYYYmMMdDDhHHmNNtTT YYYY 表示 归档产生的年; MM 表示归档产生的月; DD 表示归档产生的日; HH 表示归档产生的小时; NN 表示归档产生的分钟数; TT 表示历史类型。 其中 历史类型:TT 有 01、02、03、04、05、06、07、08、09 九种。 01 表示 stand
17、ard history 1-minute snapshot; 02 表示 standard history 6-minute average; 03 表示 standard history 1-hour average; 04 表示 standard history 8-hour average; 05 表示 standard history 24-hour average; 06 表示 fast history 1 to 30-second snapshot; 07 表示 extended history 1-hour snapshot; 08 表示 extended history 8-h
18、our snapshot ; 09 表示 extended history 24-hour snapshot; 具体看 server and client configuration guide.pdf 文件中的 history archive。 如果需要从一个已经被转移的归档趋势文件中查询趋势,那么需要恢复归档文件(归档必须恢复到 恢复归档文件夹,就是c:Program FilesHoneywellExperion PKSserverRestoredArchives 或者 你在安装中指定的文件夹。不要把归档恢复到缺省的历史归档文件夹。 看到了HMIWeb Display Builder 不能
19、编辑 dsp 文件,而在 默认的画面 文件夹中有个 历史趋势组 的dsp 文件,只能用Display Builder 编辑想到能够 自己修改一下 ,作为一个弹出窗口。? 12月1日 在自己的笔记本上测试一下:点击 按钮弹出 历史趋势组dsp 画面,发现 不行,出现错误。 看 MEDE 中的用单元格公式获取 历史数据。 HistoryType History type of the point to retrieve. For example, 6 for fast history. The history types and the parameter values are: 1 H1M (o
20、ne minute history) 2 H6M (six minute history) 3 H1H (1 hour history) 4 H8H (8 hour history) 5 H24H (24 hour history) 6 H5SF (fast history snapshots) 7 H1HE (1 hour extended history) 8 H8HE (8 hour extended history) 9 H24HE (24 hour extended history) 利用Microsoft Excel Data Exchange Functions 获取历史数据:
21、利用公式 :GetHisVal_Date: 首先高亮选中 用来填入 数据的 单元格(需要 168 ?行的 一列 ?)。 然后 点击 fx 按钮 ,弹出 “插入函数”对话框, 选择类型为: User Defined,选择GetHisVal_Date 函数,点击 确定, 再在 下一个对话框中 填入(例如 Server: HYYWSVRA, PointID:IT_1815,PointParameter:DACA.PV,HistoryType:H1H,HistoryDate:27/11/09 ,注意 需要加上 双引号,这是历史数据的开始日期, HistoryTime: 12:00:00 注意也需要加上
22、 双引号,24小时格式,是历史数据的开始时间, NumHistoryValues:168, ArchivePath:就是没有,直接是双引号。) 最后单元格的公式是:=GetHistVal_Date(HYYWSVRA,IT_1815,DACA.PV,H 1H,27/11/09,12:00:00,168,) 利用公式 :GetHisValArray_Date: 也是要选中 一定数量的单元格。 插入公式,NumPoints: 53 ?, Server:HYYWSVRA,PointIDList:填入点位号,点之间用逗号格开,所列的点数要和 NumPoints 对应, PointParameterLis
23、t:填入 点的参数,也用逗号格开,数目也要和 NumPoints 对应, HistoryType:H1H,HistoryData:27/11/09,开始日期, HistoryTime:12:00:00, NumHistoryValues: 168, ArrayOrientation: h 代表 水平排列,v 代表 垂直排列 , ArchivePath: 。 得到的公式是:=GetHistValArray_Date(53,HYYWSVRA, DACA.PV,H1H,27/11/09,12:00:00,168,V,) 希望在星期五 取数据时 利用公式 :GetHisValArray_Date, 时
24、间列 用原来的方式得到, 位号 拷贝以前的表格。 如果 不知道 选中多少 单元格,就多 选些。 看MEDE的同时 看到了 formula arrays 数组公式,在网上download 一个帮助文件,还没有看完,至此 microsoft excel data exchange 看完了。 12月2日昨天看的MEDE 的 单元格公式,在今天 ,试了,不行。 今天看了 CM 的属性 中的 control level 200,这个表示 权限大于等于200 的用户可以访问 这个点,查看了 mngr 的 control level 是255, 所以能够访问这个点。 查看TOTALIZER block, a
25、 zero-flow cutoff feature is provided such that when P1 is below the cutoff value it clamps to zero. 提供零流量切除的特性就是当 P1 低于 cutoff value (切除值)时,P1被钳制到 零。 12月3日 还是看TOTALIZER block: When the accumulated value (PV) reaches the accumulated target value (ACCTV), the accumulated target value flag (ACCTVFL) t
26、urns ON. 例子:我们设置了四个 Trip Points 1 to 4 设置的 target value 是100. Trip Point 1 (ACCDEV.TP1 = 10 Trip Point 2 (ACCDEV.TP2 = 20 Trip Point 3 (ACCDEV.TP3 = 30 Trip Point 4 (ACCDEV.TP4 = 40 根据trip point ,在一下累积值时,相应的累积偏差标志会变为 ON : ACCDEV.FL1 turns ON at PV = 90 ACCDEV.FL2 turns ON at PV = 80 ACCDEV.FL3 turns
27、 ON at PV = 70 ACCDEV.FL4 turns ON at PV = 60 确保 DACAACQ 和AICHANNEL 块的 执行顺序(ORDERINCM)参数 是比TOTALIZER块 的ORDERINCM 低的数值,这样DACAACQ和AICHANNEL块 早于 TOTALIZER 块 执行。这样是为了避免在热重启情况下 TOTALIZER可能的中断。 可选择的操作: Start - requests the TOTALIZER to start the accumulation (change STATE to Running). The Totalizer block
28、must be reset using the reset pin (RESETFL) prior to counting. Stop - requests the TOTALIZER to stop the accumulation (change STATE to Stopped). Reset - requests the TOTALIZER to reset the accumulated value (PV) with a user-specified reset value (RESETVAL). STATE will not change; if the accumulator
29、is running, it continues from the reset value. Totalizer must be reset using the reset pin before the totalizer can start counting. Otherwise P1 will have a good value, but PV will remain at zero. When the TOTALIZER receives a reset command, it copies the current value of PV to OLDAV (old accumulati
30、on value), and then sets PV equal to RESETVAL. This allows other system functions using the totalized value to reset the TOTALIZER without losing any accumulation. 怀疑部分 TOTALIZER 块 中的 Reset Value 有 值,致使 下次 reset 时 ,开始值 不是零! 到二期看了,的确看到 有问题,并修改了错误。 看DICHANNEL 模块: DITYPE: STATUS:Point is to be used for alarm and event reporting。 LATCHED:Point is to be used for event reporting。 default: STATUS。 查看 FLAG 模块: access lock(ACCLOCK): 从下列的选项中指定哪个用户组可以改变功能块的状态(用 PV和 PVFL): OPERATOR = operator (default selection) ENGINEER = application engineer, process engineer, etc. OTHERFB = other function block |( 认为
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1