机械设计与制造
機械設計與製造
궤계설계여제조
MACHINERY DESIGN & MANUFACTURE
2012年
12期
154-156
,共3页
解释器%工业机器人%机器人编程语言%错误处理
解釋器%工業機器人%機器人編程語言%錯誤處理
해석기%공업궤기인%궤기인편정어언%착오처리
对一个基于Wince平台的四轴台式工业机器人的解释器进行了研究设计.结合控制系统的特点和机器人所需执行的功能,设计了正交完备的编程语言IRL语言.将解释器的整体构架分为前后端并进行了具体的构建,运用词法分析工具LEX和语法分析工具YACC构造了词法和语法分析模块;采用预置错误陷阱的思想进行错误处理,以三地址码作为中间代码,最终产生可执行的Motionnet目标函数.实验结果表明,设计的解释器能正确高效的解释IRL语言,而且可以准确的提示错误.
對一箇基于Wince平檯的四軸檯式工業機器人的解釋器進行瞭研究設計.結閤控製繫統的特點和機器人所需執行的功能,設計瞭正交完備的編程語言IRL語言.將解釋器的整體構架分為前後耑併進行瞭具體的構建,運用詞法分析工具LEX和語法分析工具YACC構造瞭詞法和語法分析模塊;採用預置錯誤陷阱的思想進行錯誤處理,以三地阯碼作為中間代碼,最終產生可執行的Motionnet目標函數.實驗結果錶明,設計的解釋器能正確高效的解釋IRL語言,而且可以準確的提示錯誤.
대일개기우Wince평태적사축태식공업궤기인적해석기진행료연구설계.결합공제계통적특점화궤기인소수집행적공능,설계료정교완비적편정어언IRL어언.장해석기적정체구가분위전후단병진행료구체적구건,운용사법분석공구LEX화어법분석공구YACC구조료사법화어법분석모괴;채용예치착오함정적사상진행착오처리,이삼지지마작위중간대마,최종산생가집행적Motionnet목표함수.실험결과표명,설계적해석기능정학고효적해석IRL어언,이차가이준학적제시착오.