Author Login Chief Editor Login Reviewer Login Editor Login Remote Office

Computer Engineering ›› 2009, Vol. 35 ›› Issue (7): 283-封三.

• Developmental Research • Previous Articles    

PLC Universal Programmer Based on SIPN

ZHONG Yan-ru, HONG Lei   

  1. (School of Computer and Control, Guilin University of Electronic Technology, Guilin 541004)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-04-05 Published:2009-04-05

基于SIPN的PLC通用编程器

钟艳如,洪 磊   

  1. (桂林电子科技大学计算机与控制学院,桂林 541004)

Abstract: Aiming at the shortcoming of PLC programmer, this paper presents an abstract model for PLC universal programmer, based on which the downloadable PLC program is generated using intermediate codes and configuration files. Intermediate codes are transformed from the specific Signal Interpreted Petri Net(SIPN) control system model. To different kinds of PLC systems, it can extract one’s own systematic characteristic information, and produce the disposition file of XML type in the same schema. According to the selection of the machine, PLC universal programmer extracts the corresponding configuration files, links with the intermediate codes, recombines codes and generates the executable program adapting to the PLC system.

Key words: Signal Interpreted Petri Net(SIPN), PLC universal programmer, configuration files, XML schema, code generation

摘要: 针对PLC编程器的缺陷,建立PLC通用编程器抽象模型,采用中间格式代码和配置文件链接生成可下载的PLC程序。利用信号解释Petri网对控制系统模型进行规格并将其转换成中间格式代码。抽象出不同机型PLC系统的特性信息,生成统一模式的XML类型配置文件。根据机型选择,通过PLC通用处理器提取相应配置文件,与中间格式代码链接,重组代码并生成与机型适配的可执行程序。

关键词: 信号解释Petri网, PLC通用编程器, 配置文件, XML模式, 代码生成

CLC Number: