软件PLC中梯形图编译的C 实现研究 |
| |
作者单位: | 上海新侨职业技术学院汽车数控系 |
| |
摘 要: | 研究了软件PLC中梯形图的逻辑化表达以及编译为指令表的实现方法,对梯形图元素之间的串并联关系进行了深入探讨,在此基础上给出了基于C 的梯形图逻辑表达模型,实现了梯形图到指令表的转换。该实现在可扩展性以及支持复杂梯形图转换方面具有一定优势。
|
关 键 词: | 软件PLC 梯形图 逻辑表达模型 |
On Implementing Ladder-diagram Compilation with C in Soft-PLC |
| |
Authors: | YUAN Chun-hua SHI Jing BO Zhan-chun |
| |
Abstract: | The logic expression of the ladder diagram(LD) and the realization method of compiling the LD to the instruction list(IL) in soft PLC were studied.The series-parallel connection between the LD elements was thoroughly analyzed.Based on this work, the logic expression model of the LD based on C was given and the conversion from LD to IL implemented.The implementation has certain advantages in its expansibility and in supporting complicated LD conversion. |
| |
Keywords: | soft PLC ladder diagram logic expression model |
本文献已被 CNKI 等数据库收录! |