计算机科学 ›› 2009, Vol. 36 ›› Issue (10): 150-152.

• 软件工程与数据库技术 • 上一篇    下一篇

应用于PLC控制程序的Petri网执行模型

孟庆春,刘云卿   

  1. (中国科学院力学研究所技术发展部 北京 100190)
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受科研院所技术开发专项基金(国科计字[2000]056号)资助。

Executive Model of Petri Net Applied in the PLC Control Program

MENG Qing-chun, LIU Yun-qing   

  • Online:2018-11-16 Published:2018-11-16

摘要: 在现有的工业控制系统中经常使用PLC实现顺序控制、定时等功能。控制程序经常需要执行同步操作且输入开关量的触发时机具有不确定性,因此无法充分描述真实的执行过程。为此提出下述解决方法:首先在控制程序的编译阶段,使用Pctri网建立网模型以表示程序执行逻辑,其次在控制程序的执行阶段,根据程序真实执行状况动态运行上述网模型,当程序运行结束时网模型停止执行,由此判断程序中存在的逻辑错误。

关键词: Petri网,PLC,执行模型,抑止弧

Abstract: In existing industrial control system,PLC(Programmable Logic Controller) is often applied to realize sequential control, timing and etc. For the reason that control program often performs synchronous control and the occasions of input switches triggered are undermined, it is inevitably to cause the problem that control program cannot describe real executing process of control program fully. In view of it this paper put forward a method as follows: Firstly, we can use Petri net to construct net model representing the control logic during the process of compiling control program, this model represents executing logic of the PLC program. Secondly, we can dynamically run the net model mentioned above according to the actual execution route of the control program until the program stops executing. So we can find out some of the logical errors.

Key words: Petri net, PLC, Execution model , Prohibit arc

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!