计算机与数字工程
計算機與數字工程
계산궤여수자공정
COMPUTER & DIGITAL ENGINEERING
2014年
8期
1403-1406
,共4页
开放式数控系统%G代码解释器%运动控制卡%正则表达式
開放式數控繫統%G代碼解釋器%運動控製卡%正則錶達式
개방식수공계통%G대마해석기%운동공제잡%정칙표체식
open CNC system%G code compiler%motion control card%regular expression
为了实现基于工控机和运动控制卡的开放式数控系统中G代码解释器的设计开发,采用GRETA正则表达式设计了一种G代码编译器,给出G代码检错和翻译的部分程序.获得了对G代码的检错功能和G代码到运动控制卡可识别代码之间的转换结果.采用研华PCI-1240运动控制卡控制三个伺服电机的供给.该G代码解释器经过试验验证得到良好的效果.
為瞭實現基于工控機和運動控製卡的開放式數控繫統中G代碼解釋器的設計開髮,採用GRETA正則錶達式設計瞭一種G代碼編譯器,給齣G代碼檢錯和翻譯的部分程序.穫得瞭對G代碼的檢錯功能和G代碼到運動控製卡可識彆代碼之間的轉換結果.採用研華PCI-1240運動控製卡控製三箇伺服電機的供給.該G代碼解釋器經過試驗驗證得到良好的效果.
위료실현기우공공궤화운동공제잡적개방식수공계통중G대마해석기적설계개발,채용GRETA정칙표체식설계료일충G대마편역기,급출G대마검착화번역적부분정서.획득료대G대마적검착공능화G대마도운동공제잡가식별대마지간적전환결과.채용연화PCI-1240운동공제잡공제삼개사복전궤적공급.해G대마해석기경과시험험증득도량호적효과.