摘要
在实现软件PLC的语言转换中,为了增强系统的可维护性、可扩展性以及可复用性,文章运用面向对象设计思想进行分析,采用设计模式中的COMPOSITE模式进行开发设计,不但使代码简洁明了,而且提高了运行速度,增强了系统的可维护性。
In order to realize the languages translation of the PLC software platform, the object oriented programming (OOP) idea and the COMPOSITE mode analysis and design the system to strengthen the systematic maintainability, expandability, and reusability. In this way, not only the codes will be simplified and the execution speed will be increased, but also increased the system' s maintainability.
出处
《机电一体化》
2006年第5期37-39,共3页
Mechatronics
关键词
软件PLC
梯形图
语句表
设计模式
softPLC
ladder diagram
instruction list
design pattern