PKS 组态笔记.docx
《PKS 组态笔记.docx》由会员分享,可在线阅读,更多相关《PKS 组态笔记.docx(19页珍藏版)》请在冰豆网上搜索。
PKS组态笔记
PKS组态笔记
在2009年11月27日装上了PKS。
11月27日:
看到:
CM中的AICHANNEL模块的参数
LASTPV:
lastprocessvariable,showthevalueofthePVbeforethevaluebecameBAD.
PVRAW:
processvariable(pv)rawvalue.showtherawinputvalueofthePVbeforeorafterinitialprocessinghasbeenapplied,dependingonthetypeofI/OProcessorthatisinvolved.
Thefieldsensortypedeterminestheunitsofvalueasfollows:
0-5V,0.4-2V,1-5VSensor:
Percent(%)
PVEXHIFL:
processvariableextendedhighrangeflag.showsifthepvhasexceededtheextendedhighrangetrippoint.off:
extendedhighrangelimitnotexceeded;on:
extendedhighrangelimitexceeded.
PVEXLOFL:
processvariableextendedlowrangeflag.showsifthepvhasexceededtheextendedlowrangetrippoint.
11月28日:
CM中的AICHANNEL模块的参数
PVCLAMP:
processvariableclampingoption.specifieswhetherornotpvclampingactionistobeusedwiththisdatapoint.NOCLAMP:
noclampingofthepvvalue;CLAMP:
clamppvvalueattheextendedrangelimit.Remarks:
ifPVCLAMPissettoCLAMPandPVextendedrangelimitisexceeded,PVstatus(PVSTS)ismarkedUncertainandthePVissetequaltotheextendedlimitthatwasviolated.
单词:
pertenient-------中肯的,合适的。
查找系统画面文件detailandgroupdisplays,可以用关键字:
DACA查找--------aboutdetailandgroupdisplays。
可以通过修改这些模板来做自己的画面。
在C:
\ProgramFiles\Honeywell\ExperionPKS\Client\System\R210中。
CM中的DATAACQ模块的参数:
LowSignalCutOff(LOCUTOFF)--LetsyouspecifythelowsignalcutofflimitfortheP1inputafterfilteringandclamping.WhenPVAUTOisbelowthelimit,theblocksetsthePVAUTOvaluetothePVEULOvalue.OnlyapplicablewithPVcharacterselectionofLinearorSquareRoot.ThedefaultvalueisNaN(Not-a-Number),whichmeansthereisnocutofflimit.
ClampingOption(P1CLAMPOPT)-LetsyouspecifywhetherornotyouwantP1tobeclampedwithinthePVhigh(PVEXHILM)andlow(PVEXLOLM)limits.ThedefaultsettingisDISABLE,whichmeansnoclampingisapplied.如果选择了clampingoption----ENABLE,那么输入钳制在PVEXHILM和PVEXLOLM之间。
LagTime(P1FILTIME)-LetsyouspecifyafirstorderfiltertimeinminutesfortheP1input.Whentimeisnon-zero(1to60minutes),afirst-orderfilterisappliedtoP1EUandtheresultisstoredinanintermediateparametercalledFilteredP1(notavisibleparameter).AslongasFilteredP1iswithinPVlimits,itiscopiedtoPVAUTO.SeeInputFilteringinthissectionformoredetails.Thedefaultvalueis0.
对于LagTime中的一阶滤波具体是怎么样起作用的还没有细看。
alarm中的priority优先级选项中有JOURNAL表示AlarmisloggedbutitdoesnotappearontheAlarmSummarydisplay.只记录报警,但不显示。
alarm中的Severity-Letsyouassignarelativeseverityindividuallyforeachalarmtype(PVHHALM.SV,PVHIALM.SV,PVLOALM.SV,PVLLALM.SV,ROCPOSALM.SV,ROCNEGALM.SV,andBADPVALM.SV)asanumberbetween0to15,with15beingthemostsevere.Thisdeterminesthealarmprocessingorderrelativetootheralarms.Thedefaultvalueis0.这个决定了报警相对于其他报警的处理顺序,最高是15。
DeadbandValue(ALMDB)其中强调了当CM装载后,对于不同的报警死区是单独对应的,如果在monitoringparameters中单独的组态了报警死区,那么在监视这个CM时,可以单独改变报警值(alarmvalue?
),这个需要试验一下。
NaN的意思是Not-a-Number,不是一个数值。
DATAACQ模块的P1值来自于别的模块,如果送过来的值既有值value又有状态status,那么DATAACQ模块获取两者,如果只有value,,在P1是NaN时,状态P1STS为bad,其他情况下状态P1STS为Normal。
如果P1不能被获取,那么P1被设置为NaN,P1STS被设置为bad。
PVcharacterization--pv特性描述:
Linear-convertsP1toengineeringunitsbasedontheinputspan(0-100)(基于输入的量程)andtheconfiguredPVengineeringunitspan(PVEUHI-PVEULO)asfollows:
P1EU=(P1/100)*(PVEUHI-PVEULO)+PVEULO
线性(LINEAR):
P1EU=(P1/100)*(PVEUHI-PVEULO)+PVEULO。
所以当需要增加DATAACQ模块来增加报警时,前后两个DATAACQ模块的量程设置是一样的。
CM中的control0涉及的知识还没有查到!
!
11月30日
CM中的一些参数还没有看完。
因为白天向honeywell的工程师问了diskfullerror,历史归档报警的问题,所以现在看historyarchieve。
HistorytypeDescription
StandardStoresthefollowingsnapshotsandaverages:
1-minutesnapshots
6-minuteaveragesofthe1-minutesnapshots
1-houraveragesofthe1-minutesnapshots
8-houraveragesofthe1-minutesnapshots
24-houraveragesofthe1-minutesnapshots
FastStoressnapshotsatregularintervals—calledthefasthistoryinterval.(Thisinterval,whichissetwheninstallingExperionPKS,canbebetween1and30seconds.)
ExtendedStoresthefollowingsnapshots:
1-hoursnapshots
8-hoursnapshots
24-hoursnapshots
用于收集历史数据的点参数的最大数目是:
standard50,000
fast1,000
extended5,000
PKS在一个分开的历史文件中存储每种类型的采样。
例如:
对于standardhistory有5个历史文件,分别是1-minutesnapshots6-minuteaveragesofthe1-minutesnapshots1-houraveragesofthe1-minutesnapshots8-houraveragesofthe1-minutesnapshots24-houraveragesofthe1-minutesnapshots。
历史归档生成的文件是有命名规则的。
名字格式:
ayYYYYmMMdDDhHHmNNtTT
YYYY表示归档产生的年;
MM表示归档产生的月;
DD表示归档产生的日;
HH表示归档产生的小时;
NN表示归档产生的分钟数;
TT表示历史类型。
其中历史类型:
TT有01、02、03、04、05、06、07、08、09九种。
01表示standardhistory1-minutesnapshot;
02表示standardhistory6-minuteaverage;
03表示standardhistory1-houraverage;
04表示standardhistory8-houraverage;
05表示standardhistory24-houraverage;
06表示fasthistory1to30-secondsnapshot;
07表示extendedhistory1-hoursnapshot;
08表示extendedhistory8-hoursnapshot;
09表示extendedhistory24-hoursnapshot;
具体看serverandclientconfigurationguide.pdf文件中的historyarchive。
如果需要从一个已经被转移的归档趋势文件中查询趋势,那么需要恢复归档文件(归档必须恢复到恢复归档文件夹,就是c:
\ProgramFiles\Honeywell\ExperionPKS\server\RestoredArchives或者你在安装中指定的文件夹。
不要把归档恢复到缺省的历史归档文件夹。
看到了HMIWebDisplayBuilder不能编辑dsp文件,而在默认的画面文件夹中有个历史趋势组的dsp文件,只能用DisplayBuilder编辑————想到能够自己修改一下,作为一个弹出窗口。
?
?
?
?
?
?
12月1日
在自己的笔记本上测试一下:
点击按钮弹出历史趋势组dsp画面,发现不行,出现错误。
看MEDE中的用单元格公式获取历史数据。
HistoryTypeHistorytypeofthepointtoretrieve.Forexample,6forfasthistory.
Thehistorytypesandtheparametervaluesare:
1—H1M(oneminutehistory)
2—H6M(sixminutehistory)
3—H1H(1hourhistory)
4—H8H(8hourhistory)
5—H24H(24hourhistory)
6—H5SF(fasthistorysnapshots)
7—H1HE(1hourextendedhistory)
8—H8HE(8hourextendedhistory)
9—H24HE(24hourextendedhistory)
利用MicrosoftExcelDataExchangeFunctions获取历史数据:
利用公式:
GetHisVal_Date:
首先高亮选中用来填入数据的单元格(需要168?
行的一列?
?
?
)。
然后点击fx按钮,弹出“插入函数”对话框,选择类型为:
UserDefined,选择GetHisVal_Date函数,点击确定,再在下一个对话框中填入(例如----Server:
HYYWSVRA,PointID:
IT_1815,PointParameter:
DACA.PV,HistoryType:
H1H,HistoryDate:
"27/11/09",注意需要加上双引号,这是历史数据的开始日期,HistoryTime:
"12:
00:
00"注意也需要加上双引号,24小时格式,是历史数据的开始时间,NumHistoryValues:
168,ArchivePath:
""就是没有,直接是双引号。
)
最后单元格的公式是:
=GetHistVal_Date("HYYWSVRA","IT_1815","DACA.PV","H1H","27/11/09","12:
00:
00",168,"")
利用公式:
GetHisValArray_Date:
也是要选中一定数量的单元格。
插入公式,NumPoints:
53?
,Server:
HYYWSVRA,PointIDList:
填入点位号,点之间用逗号格开,所列的点数要和NumPoints对应,PointParameterList:
填入点的参数,也用逗号格开,数目也要和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,时间列用原来的方式得到,位号拷贝以前的表格。
如果不知道选中多少单元格,就多选些。
看MEDE的同时看到了formulaarrays数组公式,在网上download一个帮助文件,还没有看完,至此microsoftexceldataexchange看完了。
12月2日
昨天看的MEDE的单元格公式,在今天,试了,不行。
今天看了CM的属性中的controllevel200,这个表示权限大于等于200的用户可以访问这个点,查看了mngr的controllevel是255,所以能够访问这个点。
查看TOTALIZERblock,
azero-flowcutofffeatureisprovidedsuchthatwhenP1isbelowthecutoffvalueitclampstozero.
提供零流量切除的特性就是当P1低于cutoffvalue(切除值)时,P1被钳制到零。
12月3日
还是看TOTALIZERblock:
Whentheaccumulatedvalue(PV)reachestheaccumulatedtargetvalue(ACCTV),theaccumulatedtargetvalueflag(ACCTVFL)turnsON.
例子:
我们设置了四个TripPoints1to4设置的targetvalue是100.
TripPoint1(ACCDEV.TP[1]=10
TripPoint2(ACCDEV.TP[2]=20
TripPoint3(ACCDEV.TP[3]=30
TripPoint4(ACCDEV.TP[4]=40
根据trippoint,在一下累积值时,相应的累积偏差标志会变为ON:
ACCDEV.FL[1]turnsONatPV=90
ACCDEV.FL[2]turnsONatPV=80
ACCDEV.FL[3]turnsONatPV=70
ACCDEV.FL[4]turnsONatPV=60
确保DACAACQ和AICHANNEL块的执行顺序(ORDERINCM)参数是比TOTALIZER块的ORDERINCM低的数值,这样DACAACQ和AICHANNEL块早于TOTALIZER块执行。
这样是为了避免在热重启情况下TOTALIZER可能的中断。
可选择的操作:
Start-requeststheTOTALIZERtostarttheaccumulation(changeSTATEtoRunning).TheTotalizerblockmustberesetusingtheresetpin(RESETFL)priortocounting.
Stop-requeststheTOTALIZERtostoptheaccumulation(changeSTATEtoStopped).
Reset-requeststheTOTALIZERtoresettheaccumulatedvalue(PV)withauser-specifiedresetvalue(RESETVAL).STATEwillnotchange;iftheaccumulatorisrunning,itcontinuesfromtheresetvalue.
Totalizermustberesetusingtheresetpinbeforethetotalizercanstartcounting.OtherwiseP1willhaveagoodvalue,butPVwillremainatzero.
WhentheTOTALIZERreceivesaresetcommand,itcopiesthecurrentvalueofPVtoOLDAV(oldaccumulationvalue),andthensetsPVequaltoRESETVAL.ThisallowsothersystemfunctionsusingthetotalizedvaluetoresettheTOTALIZERwithoutlosingany"accumulation".
怀疑部分TOTALIZER块中的ResetValue有值,致使下次reset时,开始值不是零!
!
!
!
!
到二期看了,的确看到有问题,并修改了错误。
看DICHANNEL模块:
DITYPE:
STATUS:
Pointistobeusedforalarmandeventreporting。
LATCHED:
Pointistobeusedforeventreporting。
default:
STATUS。
查看FLAG模块:
accesslock(ACCLOCK):
从下列的选项中指定哪个用户组可以改变功能块的状态(用PV和PVFL):
·OPERATOR=operator(defaultselection)
·ENGINEER=applicationengineer,processengineer,etc.
·OTHERFB=otherfunctionblock
|||||||||||(认为