EMERSONProcessManagementEducationalServicesCopyrightedMaterial/DuplicationProhibited阶段逻辑模块(PLMs)EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-2Course7009-Rev7-2/1/04目标通过本模块的学习,您将能够:了解PLM的应用了解PLM的状态为FAIL_MONITOR定义NamedSetEMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-3Course7009-Rev7-2/1/04PhaseLogicModule(阶段逻辑模块)EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-4Course7009-Rev7-2/1/04PhaseLogicModulePhaseLogicModule时定义阶段状态以及每个状态之间相关的逻辑关系的模块。EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-5Course7009-Rev7-2/1/04Failure_MonitorEMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-6Course7009-Rev7-2/1/04Failure_MonitorFailure_Monitor不断监视故障状况从而把FAIL_INDEX参数赋值为故障值。当FAIL_INDEX为非零时,阶段会转移到正财保持状态。EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-7Course7009-Rev7-2/1/04Failure_MonitorDefaults缺省值EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-8Course7009-Rev7-2/1/04FAIL_INDEXEMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-9Course7009-Rev7-2/1/04练习-PLM工厂停车第一步:修改NamedSets:phase_failures并为之添加名称为:XVSTAT-101开启EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-10Course7009-Rev7-2/1/04练习-PLM工厂停车第二步:通过DeltaVExplorer创建模块:PLM-SHUTDOWN。把Objecttype更改为:PhaseLogicModule。EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-11Course7009-Rev7-2/1/04练习-PLM工厂停车第三步:使用ControlStudio打开模块PLM-SHUTOWN。创建PLM参数:SHUTDOWN-LEVEL(floatingpoint)EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-12Course7009-Rev7-2/1/04练习-PLM工厂停车第四步:向FAIL_MONITOR添加Condition功能模块,以判断Tank101的截断阀时否打开(XVSTAT-101)并把Condition功能块的Disable参数设置为:1第五步:修改BLOCK1的表达式,让它包含IFTHEN的语句来检查Condition功能块的OUT_D,若截断阀处于打开状态,则为FAIL_INDEX参数赋值。EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-13Course7009-Rev7-2/1/04练习-PLM工厂停车第六步:定义RUN_LOGIC。注:为了使RUN_LOGIC能够工作,假定过程中串级主副回路按照正常模式在工作RUN_LOGIC执行停止Tank101加料所需的动作并带有Confirms定义把FAIL_MONITOR中的Condition功能块的Disable参数设置为0.把LIC-20X的SP参数设置为SHUTDOWN_LEVEL等待液位满足条件停泵MTR-203等待泵停.关闭FIC-20X阀把FAIL_MONITOR中的Condition功能块的Disable参数设计为1。Waitforflowvalvetoclose.利用PENDING_CONFIRMS参数等待上述动作满足条件EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-14Course7009-Rev7-2/1/04练习-PLM工厂停车第七步:定义HOLD_LOGIC.检测到故障(‘/FAIL_INDEX.CV’!=0)True把FAIL_MONITOR中的condition功能块的Disable参数设置为1停泵MTR-203并确认,关闭流量FIC-20X阀并确认利用PENDING_CONFIRMS参数等待上述设备满足条件关闭Tank101的截断阀Step激活时间超过2秒(Step参数r-TIME)HOLD_LOGICEMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-15Course7009-Rev7-2/1/04练习-PLM工厂停车第八步:定义RESTART_LOGIC.第九步:把PLM分配至控制器第十步:保存并下装PLM.第十一步:使用Check按钮检查PLM的语法第十二步:从frsModules图符集向操作员画面添加PLM_图符。把FIC-20X的模式设置为CAS启泵MTR-203把FAIL_MONITOR中的Condition功能块的Disable参数设置为0等待马达启动RESTART_LOGICEMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-16Course7009-Rev7-2/1/04练习-PLM工厂停车第十三步:启动DeltaVOperate(Run)界面并选择PLM面板EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-17Course7009-Rev7-2/1/04练习-PLM工厂停车第十四步:点击切换按钮令阶段所有者切换为外部。EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-18Course7009-Rev7-2/1/04练习-PLM工厂停车第十五步:点击阶段命令旁的...按钮,打开当前有效的阶段命令列表发出启动命令。第十六步:当PLM处于正在运行状态时,打开XV-101以产生故障,验证PLM执行正在保持逻辑EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-19Course7009-Rev7-2/1/04练习-PLM工厂停车第十七步:利用详细信息画面验证故障状态。EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-20Course7009-Rev7-2/1/04练习-PLM工厂停车第十八步:清除故障EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-21Course7009-Rev7-2/1/04练习-PLM工厂停车第十九步:发送重新启动命令第二十步:当PLM处于正在运行状态时,发出保持命令第二十一步:在保持逻辑完成后,重启PLMEMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-22Course7009-Rev7-2/1/04练习-PLM工厂停车第二十二步:当PLM程序完成后复位PLM,验证PLM状态转移为空闲状态EMERSONProcessManagement–EducationalServicesCopyrightedMaterial/DuplicationProhibited11-23Course7009-Rev7-2/1/04总结现在您应该能够:了解PLM的应用了解PLM的状态为Failure_Monitor定义NamedSet