首页 | 本学科首页   官方微博 | 高级检索  
     

PLC梯形图中内嵌C语言编程的实现
引用本文:黄小强,严义,邬惠峰,吴盼盼. PLC梯形图中内嵌C语言编程的实现[J]. 机电工程, 2012, 29(4): 421-424
作者姓名:黄小强  严义  邬惠峰  吴盼盼
作者单位:杭州电子科技大学计算机学院,浙江杭州,310018
摘    要:针对现有梯形图语言适合实现逻辑控制而不适合实现复杂算法这一问题,从基于构件技术的梯形图实现原理出发,对构件的属性定义以及编译方法进行了分析,提出了一种PLC梯形图内嵌C语言实现混合编程的方法,并在CASS(computer assist specialsystem)梯形图算法生成平台上进行了验证。实验结果表明,提出的方法适于复杂算法的实现,并且能够减少程序的代码量。

关 键 词:梯形图  C语言  混合编程  CASS

Implementation of embedding C language programming in PLC ladder diagram
HUANG Xiao-qiang , YAN Yi , WU Hui-feng , WU Pan-pan. Implementation of embedding C language programming in PLC ladder diagram[J]. Mechanical & Electrical Engineering Magazine, 2012, 29(4): 421-424
Authors:HUANG Xiao-qiang    YAN Yi    WU Hui-feng    WU Pan-pan
Affiliation:(College of Computer,Hangzhou Dianzi University,Hangzhou 310018,China)
Abstract:Aiming that the ladder diagram(LD) language is incompetent in realizing complex algorithms,a mix programming method of ladder diagram and C language was proposed.The component technology for ladder diagram implementation was analyzed and the way to embed C language inside ladder diagram was introduced.Experiments were carried out based on the computer assist special system(CASS) platform.Results show that the proposed method is fit for complex algorithm implementation,and the code size could also be reduced.
Keywords:ladder diagram(LD)  C language  mixed programming  computer assist special system(CASS)
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号