基于RCS库实现跨平台远程通信.pdf
文本预览下载声明
第 6 期 组合机床与自动化加工技术 No. 6
2016 年6 月 Modular Machine Tool Automatic Manufacturing Technitjue Jun. 2016
文章编号:1001 -2265(2016)06 -0088 -04 D0I:10.13462/j. cnki. mmtamt. 2016. 06. 023
基于RC S 库实现跨平台远程通
桑冠林1,2,王 品 2,3,胡 毅 3
( 1 . 中国科学院大学,北 京 1 0 0 0 4 9 ; 2 . 中国科学院沈阳计算技术研究所高档数控国家工程研究中
心 ,沈 阳 1 1 0 1 6 8 ;3 .沈阳高精数控技术有限公司 ,沈 阳 1 1 0 1 6 8 )
摘要 :数控系统的信息采集存在处理速度较慢、区域限制等问题,不能满足快速多变的需求,因此文
章提出一种利用 R C S 库实现安卓终端与数控系统间远程连接和通信的方法,安卓终端成为数控系统
信息显示的载体。该方法使用 J a v a 版 R C S 库 ,先写配置文件,定义消息结构,然 后 使 用 R C S 库提供
的方法建立远程连接,读取数控系统的消息并显示在安卓终端。实验结果表明了方法的可行性,配
合安卓终端的优势,可以提升工作的灵活性。
关键词 :数控系统 ; R C S 库 ;安卓终端;远程连接和通信
中图分类号 :T H 1 6 5 ;T G 659 文献标识码 :A
R em ote Com m unication B ased on R C S L ib r a r y
S A N G G u an -lin 1 2 W,A N G P i n 2 3 H,U Y i 3
(1. University of C hinese A cadem y of S cien ce s ,Beijing 1 0 0 0 4 9 ,C h in a 2. ;N ational Engineering R esearch C en
ter for H igh- End C N C , Shenyang Institute of Com puting T echnology C,hinese A cadem y of S cien ce s ,Shenyang
1 1 0 1 6 8 C,h in a )
A b s tr a c t :
processing and regional restric tio n this , has b een unable to m eet tlie rapidly changing dem and. In this p a p e r ,
system w as proposed based on R CS lib ra ry w,hich m akes the term inal becom es the carrier o f the inform ation
display o f the num erical control system . T he m ethod is based on the J
the configuration file w as w ritten and the m essage structure w as d e fin e d ,then the R CS library w as used to
provide rem ote co n n ectiv ity and , the m essage can b e recognized w ith th
显示全部