The invention discloses an Android-based real-time monitoring method for NC machine tool machining status, which includes acquiring machine tool status information data during the running process of the NC machine tool, then converting the machine tool status information data into string data types and storing them in a string array, adopting socket communication to use the machine tool server. Each socket corresponds to a port, and the socket of each port is responsible for sending a data message string; Android terminal establishes a client through socket to receive the basic information data of each axis from the NC machine tool, and each socket corresponds to the IP address and port number of the machine tool that needs to obtain the information. After obtaining the information, the status information is displayed on the Android terminal. Thus, the real-time processing state information of the machine tool can be displayed in real time on the Android system. The invention can make the status information on the machine tool panel display on the Android terminal in real time. The information monitoring method has the mobility and portability, and extends the way of information monitoring of the numerical control machine tool.
【技术实现步骤摘要】
一种基于Android的数控机床加工状态实时监测方法
本专利技术涉及工业
,尤其涉及一种基于Android的数控机床加工状态实时监测方法。
技术介绍
数控机床在中国发展迅速,在生产领域得到了越来越广泛的应用。目前多数高端数控系统都带有以太网功能跟,数控技术正向智能化、信息化、网络化方向发展。开展数控机床实时状态信息采集的研究,将会促进企业的办公、管理和生产趋于自动化、智能化和网络化,从而达到加强企业管理、减少工作失误、提高工作效率的目的。只有采用有效的信息采集技术,充分、实时、准确地获得各类设备的状态信息,才会实现对制造过程的有效控制和管理。传统最开始数控机床加工状态信息主要通过数控系统面板展现操作人员了解机床的状态信息是通过机床上的显示器来查看。这种此方式下,多台机床运行状态信息无法同时查看操作人员无法同时查看多台机床的运行状况。后来随着网络技术的发展信息化,自动化技术的发展,先进数控机床状态信息逐渐采用基于通过有线的方式总线方式,将数控车床的状态信息输送传送到PC端上,通过PC端监测整个车间所有机床车床的运行。这种方式虽说解决了同时监测所有机车床信息的问 ...
【技术保护点】
1.一种基于Android的数控机床加工状态实时监测方法,其特征在于,包括:在数控机床运行过程中,获取机床状态信息数据,然后将机床状态信息数据转换为字符串数据类型并存入到一个字符串数组中;采用socket通信,以机床服务器端建立多个套接字,每个套接字对应一个端口,每个端口对应的套接字负责发送一个数据信息字符串;Android终端通过socket建立客户端,接收从数控机床发出的机床状态信息数据 ,每个套接字对应需要获取信息的机床的IP地址和端口号,获取完信息后,机床状态信息在Android终端上显示。
【技术特征摘要】
1.一种基于Android的数控机床加工状态实时监测方法,其特征在于,包括:在数控机床运行过程中,获取机床状态信息数据,然后将机床状态信息数据转换为字符串数据类型并存入到一个字符串数组中;采用socket通信,以机床服务器端建立多个套接字,每个套接字对应一个端口,每个端口对应的套接字负责发送一个数据信息字符串;Android终端通过socket建立客户端,接收从数控机床发出的机床状态信息数据,每个套接字对应需要获取信息的机床的IP地址和端口号,获取完信息后,机床状态信息在Android终端上显示。2.根据权利要求1所述的一种基于Android的数控机床加工状态实时监测方法,其特征在于:机床状态信息数据的获取周期以及机床服务器端数据的发送周可根据网络情况进行自动调整。3.根据权利要求1所述的一种基于An...
【专利技术属性】
技术研发人员:李波,李行,向华,刘克非,陈国华,
申请(专利权)人:湖北文理学院,
类型:发明
国别省市:湖北,42
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。