1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 最严谨的计算机语言p 用于PLC的华P语言编译器设计及实现.pdf

最严谨的计算机语言p 用于PLC的华P语言编译器设计及实现.pdf

时间:2022-06-28 04:26:35

相关推荐

最严谨的计算机语言p 用于PLC的华P语言编译器设计及实现.pdf

10月 沈阳理工大学学报 V01.28No.5

OFSHENYANGUGONGUNIVERSITYOct.2

第28卷第5期 TRANSACTIONS 0 09

文章编号:1003—1251()05—0030—04

用于PLC的华P语言编译器设计与实现

郑 阳,付丽君,黄志钢

(沈阳理工大学信息科学与工程学院,辽宁沈阳110168)

摘要:PLC已广泛应用于工业领域中,PLC的软件设计大多采用梯形图编程,文中设计实现

了一种新的PLC编程语言一一华P语言,并采用自顶向下逐句分析的方法设计了相应的华P

语言到8051汇编语言的编译器。通过该编译器,可直接编译生成底层CPU需用的hex格式的

机器码文件。最后通过对比梯形图指令,以实例分析得出华P语言的优势及应用的可行性。.

关键词:PLC;华P语言;编译器;语义分析

中图分类号:TP393 文献标识码:A

and oftheHua—P ForPLC

DesignRealization LanguageCompiler

ZHENG Zhi—gang

Yang,FULi-jun,HUANG

1 10168,China)

(ShenyangLigongUniversity,Shenyang

Abstract:PLCis usedinthe PLCsoftware usesthelad—

widely industrydomain,The designmostly

is realizedinthis

derchart kindofnewPLC and

languagedesigned

programming.A programming

the sentencesentence methodto the hua—P

article,usingtop-down by analysis designcorresponding

for8051 the call thebi—

language languagecompiler.Throughcompiler,itdirectlygenerate

assembly

fileofhexformat thebottom theladderchartin—

throughcontrasting

nary requiredby CPU.Finally

andthe ofhua—P areobtainedtheexam·

struetion,thesuperiorityapplicationfeasibility language by

pleanalysis.

words:PLC;Hua—Pl

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。