CN104008201B - A kind of Digit Control Machine Tool production information acquisition methods - Google Patents
A kind of Digit Control Machine Tool production information acquisition methods Download PDFInfo
- Publication number
- CN104008201B CN104008201B CN201410267870.5A CN201410267870A CN104008201B CN 104008201 B CN104008201 B CN 104008201B CN 201410267870 A CN201410267870 A CN 201410267870A CN 104008201 B CN104008201 B CN 104008201B
- Authority
- CN
- China
- Prior art keywords
- machine tool
- report
- information
- log
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/04—Manufacturing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- General Health & Medical Sciences (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- Manufacturing & Machinery (AREA)
- General Factory Administration (AREA)
Abstract
Description
技术领域technical field
本发明属于制造业信息化领域,更具体地说,涉及一种数控机床生产信息获取与统计方法。The invention belongs to the field of manufacturing informatization, and more specifically relates to a method for acquiring and counting production information of a numerically controlled machine tool.
背景技术Background technique
数控机床可以通过循环执行加工程序实现高效的生产,在现代制造业中得到广泛的运用。数控机床可以组合多品种零件编写加工程序,实现程序循环执行一次可同时完成多个零件加工,如利用数控激光切割机床在一次装夹钢板后可批量切割出多品种多规格零件。这在提升效率的同时为管理工作带来了复杂性,对生产管理来说,需要统计原材料消耗、产成品种类与数量、废品数量以及班组生产的开始与结束时间;对设备管理来说,需要统计设备的总运行时间、故障时间、关键工艺的执行时间或次数等。目前,对上述信息缺少有效的自动统计方法,很难获得机床工作过程的完整信息,而这类信息对于如何提高生产效率具有十分重要的参考意义。CNC machine tools can achieve efficient production through cyclic execution of processing programs, and are widely used in modern manufacturing. CNC machine tools can combine multiple parts to write processing programs, and realize that the program can be executed in a cycle to complete the processing of multiple parts at the same time. For example, using CNC laser cutting machine tools can cut out multiple types and specifications of parts in batches after clamping steel plates at one time. This brings complexity to management while improving efficiency. For production management, it is necessary to count the consumption of raw materials, the type and quantity of finished products, the number of waste products, and the start and end time of team production; for equipment management, it is necessary to Statistics of the total running time of equipment, failure time, execution time or times of key processes, etc. At present, there is no effective automatic statistical method for the above information, and it is difficult to obtain complete information on the working process of the machine tool, and this type of information has very important reference significance for how to improve production efficiency.
CNC(计算机数控)系统运行于机床的主控电脑中,通过执行数控程序来控制机床作业。CNC系统在运行过程中会生成日志文件,该文件按时间序列记录了机器状态信息、程序执行过程信息以及其他操作信息。目前,日志文件仅用于技术人员对设备的事后故障排查或运行分析,尚未应用于生产管理信息化的统计。The CNC (Computer Numerical Control) system runs in the main control computer of the machine tool, and controls the operation of the machine tool by executing the NC program. The CNC system will generate a log file during operation, which records the machine status information, program execution process information and other operation information in time series. At present, log files are only used for technical personnel to troubleshoot or analyze equipment after the event, and have not been applied to the statistics of production management informatization.
公开号103064905A的专利申请文件,公开了一种数控系统的日志管理方法。该方法包括日志生成过程和日志使用过程,日志生成过程包括:将数控系统的信息分为六大类日志文件,在数控系统开机时对日志文件进行容量管理,将记录的日志存储在对应类别的日志文件中;日志使用过程包括:将日志文件以列表的形式显示给用户,将日志文件导出为文本文件,部分截取操作日志中的连续操作过程,根据该连续操作过程生成脚本文件,并利用脚本文件对连续操作过程进行回放,分别提取故障日志、加工日志、文件修改日志和操作日志中的所有信息,并根据该信息生成对应的日志报表。该发明解决了现有系统中由于没有日志记载所带来的数控机床信息化管理的数据缺失以及没有数控机床使用状况的统计分析的问题。由于机床日志是面向机床操作过程的,并没有解决生产管理信息化统计分析相关问题,具体来说,利用当前技术不能自动获取产成品规格与数量、原材料种类与数量、废品数量、关键工艺的执行时长或次数、设备的利用率等信息报表。The patent application document with publication number 103064905A discloses a log management method of a numerical control system. The method includes a log generation process and a log use process. The log generation process includes: dividing the information of the numerical control system into six types of log files, managing the capacity of the log files when the numerical control system is turned on, and storing the recorded logs in corresponding categories. In the log file; the log usage process includes: displaying the log file to the user in the form of a list, exporting the log file as a text file, partially intercepting the continuous operation process in the operation log, generating a script file according to the continuous operation process, and using the script The file plays back the continuous operation process, extracts all the information in the fault log, processing log, file modification log and operation log respectively, and generates the corresponding log report according to the information. The invention solves the problems of lack of data in the information management of the numerical control machine tool and the statistical analysis of the use status of the numerical control machine tool in the existing system due to the absence of log records. Since the machine tool log is oriented to the machine tool operation process, it does not solve the problems related to the statistical analysis of production management information. Specifically, the current technology cannot automatically obtain the specifications and quantities of finished products, the types and quantities of raw materials, the quantity of waste products, and the execution of key processes. Duration or times, equipment utilization and other information reports.
发明内容Contents of the invention
1.技术问题1. Technical issues
现有数控机床一般具有日志系统功能,但日志系统生成的日志文件仅针对机床运行过程而且信息不全,无法完整或直接地统计出面向生产管理的数据报表,本发明针对上述问题提供了一种数控机床生产信息获取方法,它可以基于现有的机床日志系统实现生产管理相关数据的自动获取与管理报表的自动生成,可以实时、简单的获取数控机床及产品的在生产加工过程中的信息。Existing CNC machine tools generally have the function of a log system, but the log files generated by the log system are only aimed at the operation process of the machine tool and have incomplete information, so it is impossible to completely or directly count the data reports for production management. The machine tool production information acquisition method can realize the automatic acquisition of production management related data and the automatic generation of management reports based on the existing machine tool log system, and can obtain the information in the process of production and processing of CNC machine tools and products in real time and simply.
2.技术方案2. Technical solution
本发明的目的通过以下技术方案实现。The purpose of the present invention is achieved through the following technical solutions.
一种数控机床生产信息获取方法,该系统包括机床主控电脑、数据库服务器、报表服务器和客户端;所述的机床主控电脑中设置有日志读取模块;所述的数据库服务器设置有生产信息数据库;所述的报表服务器中设置有报表模块;A method for obtaining production information of a CNC machine tool, the system includes a machine tool main control computer, a database server, a report server and a client; the machine tool main control computer is provided with a log reading module; the database server is provided with production information A database; a report module is set in the report server;
该信息获取方法,其步骤为:The steps of the information acquisition method are as follows:
(1)将机床主控电脑连接到局域网,并在网上部署好数据库服务器和报表服务器;编写机床数控加工代码,操作数控机床系统读入所述数控加工代码进行生产,数控机床系统自动生成日志文件;(1) Connect the main control computer of the machine tool to the local area network, and deploy the database server and report server on the Internet; write the CNC machining code of the machine tool, operate the CNC machine tool system to read the CNC machining code for production, and the CNC machine tool system automatically generates log files ;
(2)在机床主控电脑中,根据机床日志文件格式编写日志读取模块,日志读取模块的内部过程如下:(2) In the main control computer of the machine tool, the log reading module is written according to the log file format of the machine tool. The internal process of the log reading module is as follows:
a.获取日志文件列表;a. Obtain a list of log files;
b.逐个读入列表中的日志文件;b. Read the log files in the list one by one;
c.逐行扫描日志文件中的字符串信息;c. Scan the string information in the log file line by line;
d.对日志行进行时间序列分析和结构化处理并保存结构化数据,建立数控程序执行信息表和零件加工信息表进行存储;所述的结构化数据包括机床运行信息以及编写数控代码时所备注的产品、材料信息;d. Carry out time series analysis and structured processing on log lines and save structured data, establish CNC program execution information table and parts processing information table for storage; said structured data includes machine tool operation information and notes when writing CNC code product and material information;
e.依次读取剩余日志文件并提取数据;e. Read the remaining log files in sequence and extract the data;
f.将读取完的日志文件重命名并移动到备份文件夹;f. Rename the read log file and move it to the backup folder;
(3)所述的日志读取模块自动将数据保存到所述的生产信息数据库中,生产信息数据库由安装在数据库服务器中的数据库管理系统创建,该数据库用于存储日志读取模块所读取的数据,同时作为报表模块的数据源,其中,数据表中的字段包含“机床编码”、“程序名称”、“材料编号”、“零件厚度”、“钢板尺寸”、“程序运行开始时间”、“程序运行结束时间”、“程序重复执行次数”、“零件名称”、“零件开始切割时间”、“零件重量”、“激光穿孔次数”、“切割长度”、“空走长度”、“切割时间”、“工作时间”、“停机时间”和“故障停机时间”;(3) The described log reading module automatically saves data in the described production information database, the production information database is created by the database management system installed in the database server, and the database is used to store the information read by the log reading module. At the same time, as the data source of the report module, the fields in the data table include "machine tool code", "program name", "material number", "part thickness", "steel plate size", "program start time" , "Program running end time", "Program repetition times", "Part name", "Part start cutting time", "Part weight", "Laser perforation times", "Cutting length", "Idle length", " Cutting time", "working time", "downtime" and "failure downtime";
(4)在报表服务器中,根据生产信息数据库中的数据和用户要求的报表样式设置报表模块;(4) In the report server, set the report module according to the data in the production information database and the report style required by the user;
报表模块负责响应所述的客户端发送的请求,生成用户所需的统计报表,在报表模块中根据需求定义报表格式,从生产信息数据库的表中统计相应的数据;报表视图可分别按日、月、年的时间周期或材料、程序、零件的类别设计,所有报表的数据源均从上述生产信息数据库的数据表中建立;The report module is responsible for responding to the request sent by the client, generating the statistical report required by the user, defining the report format according to the requirements in the report module, and counting the corresponding data from the table of the production information database; the report view can be divided into daily, The time period of month and year or the category design of materials, procedures and parts, the data sources of all reports are established from the data tables of the above-mentioned production information database;
(5)用户通过客户端访问报表服务器,获得在报表模块中定义的多种信息统计报表。(5) The user accesses the report server through the client to obtain various information statistical reports defined in the report module.
进一步地,在所述的步骤(1)中,在编写机床数控代码时,将产品的规格、型号以及材料的规格信息以注释形式写入数控代码中。Further, in the step (1), when writing the numerical control code of the machine tool, the specification information of the product, the model and the specification information of the material are written into the numerical control code in the form of comments.
3.有益效果3. Beneficial effect
本发明与现有技术相比,其有益效果是:The present invention compares with prior art, and its beneficial effect is:
(1)生产报表的原始数据是通过信息化手段从机床PLC日志系统中自动获取的,免去了人工记录与输入;(1) The original data of the production report is automatically obtained from the log system of the machine tool PLC through information technology, eliminating the need for manual recording and input;
(2)本发明通过在数控代码中添加与该代码所加工的对象有关的注释信息,如原材料类型、尺寸,成品名称、规格、重量等信息,由于这些注释信息能随着数控代码的执行而输出到日志文件中,使得本发明的日志读取模块能获取完整的生产管理信息,不仅包括机床运行过程信息,还包括以编程注释的方式添加的产品规格等业务信息;(2) The present invention is by adding in the numerical control code the comment information relevant to the object of this code processing, as raw material type, size, finished product name, specification, weight and other information, because these comment information can follow the execution of the numerical control code Output to the log file, so that the log reading module of the present invention can obtain complete production management information, including not only machine tool operation process information, but also business information such as product specifications added in the form of programming notes;
(3)本发明的机床生产信息报表自动统计的信息全面,能以机床、班组、时间区间等为统计条件生成用户所关心的生产信息报表,可实现机床生产信息统计的自动化;(3) The automatic statistical information of machine tool production information report form of the present invention is comprehensive, can generate the production information report form that user cares about with machine tool, team and group, time interval etc. as statistical conditions, can realize the automation of machine tool production information statistics;
(4)本发明中的信息获取与发布均是基于网络的,使得所管理机床对象不受区域地点限制,可实现跨地域的信息化管理;(4) The information acquisition and release in the present invention are all based on the network, so that the managed machine tool objects are not restricted by regional locations, and cross-regional information management can be realized;
(5)本发明的可扩展性高、成本低,使用本发明管理的数控机床数量不受限制,当增加机床时,仅需在相应的机床计算机中安装日志读取系统并连接网络即可。(5) The present invention has high scalability and low cost, and the number of CNC machine tools managed by the present invention is not limited. When adding machine tools, it is only necessary to install a log reading system in the corresponding machine tool computer and connect to the network.
附图说明Description of drawings
图1为单台机床的加工信息提取系统网络拓扑图;Figure 1 is a network topology diagram of the processing information extraction system of a single machine tool;
图2为数控机床生产信息获取系统的功能框架图;Figure 2 is a functional frame diagram of the production information acquisition system of CNC machine tools;
图3为日志读取系统的工作流程图;Fig. 3 is the working flowchart of log reading system;
图4为使用本发明所得到的机床生产信息报表示意图。Fig. 4 is a schematic diagram of a machine tool production information report obtained by using the present invention.
具体实施方式detailed description
下面结合附图和具体的实施例对发明的技术方案进行详细说明。The technical solution of the invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
实施例1Example 1
结合图2,以管理一台数控激光切割机床的生产信息为例,该机床使用著名的德国产Global Control数控系统:Combined with Figure 2, take the production information management of a CNC laser cutting machine tool as an example. This machine tool uses the famous German Global Control CNC system:
首先准备好日志读取模块,该模块使用C#语言开发,处理对象为Global Control数控系统运行所生成的日志文件,该日志为文本格式,日志片段示例如下:First prepare the log reading module, which is developed in C# language, and the processing object is the log file generated by the operation of the Global Control CNC system. The log is in text format, and the log fragment example is as follows:
由于日志记录很长,在此随机截取一段以示例。可以看出,日志文件以文本行为记录单元,每行由三部分组成,起首第一部分为时间戳,如“2011-04-22_19-14-12”,表示2011年4月22日19时14分12秒,第二部分为状态码,如“1213”、“1211”、“138”、“302”等,第三部分为状态信息,如“X=0.0Y=0.0”,“S:0”,“Part-Cut-Length/1383/525-FBM29-1”、“M:MildSteel T:6.0X:1282.0Y:859.0P:'/Part Programs/k1/test program_GC/01852580.txt'”、“Part-Cut-Length/2620/525-FBM29-2”,这三部分之间由多个空格字符隔开,其中状态码表示机器的状态,如“1240”表示CNC系统装载数控程序,后续的状态信息则表示所装载的程序文件路径,“137”表示开始切割,“138”表示切割结束,状态码往往要与后续的状态信息相配合才能表示具体含义,如“312S:2”表示机床自动运行状态下开始运行,“312S:1”表示机床自动运行状态下停止运行,有时还需要与前后日志行的状态码相配合来判断机床的具体状态,如“180”状态码行的后续行中出现“132”状态码,则表示机床停机。此处的状态码含义是以德国Global Control数控系统为例,其他厂商数控系统的日志含义请查阅相关资料或根据生产经验猜解。Since the log record is very long, a random section is intercepted here as an example. It can be seen that the log file uses text as a record unit, and each line consists of three parts. The first part at the beginning is a timestamp, such as "2011-04-22_19-14-12", which means April 22, 2011 at 19:14 Minutes and 12 seconds, the second part is the status code, such as "1213", "1211", "138", "302", etc., and the third part is the status information, such as "X=0.0Y=0.0", "S:0 ", "Part-Cut-Length/1383/525-FBM29-1", "M:MildSteel T:6.0X:1282.0Y:859.0P:'/Part Programs/k1/test program_GC/01852580.txt'", " Part-Cut-Length/2620/525-FBM29-2", these three parts are separated by multiple space characters, where the status code indicates the status of the machine, such as "1240" indicates that the CNC system loads the NC program, and the subsequent status The information indicates the path of the loaded program file, "137" indicates the start of cutting, "138" indicates the end of cutting, and the status code often needs to cooperate with the subsequent status information to express the specific meaning, such as "312S:2" indicates that the machine tool runs automatically “312S:1” means that the machine tool stops running under the automatic running state. Sometimes it is necessary to cooperate with the status codes of the front and rear log lines to judge the specific status of the machine tool, such as the following line of the “180” status code line "132" status code means that the machine tool is stopped. The meaning of the status code here is based on the German Global Control CNC system as an example. For the log meaning of other manufacturers’ CNC systems, please refer to relevant information or guess based on production experience.
日志读取模块的编程是根据上述的日志规则含义,提取结构化的机床加工过程信息,以便用于报表模块的统计。如图3,设计日志读取模块的工作流程为:1、首先获取日志文件列表;2、读入列表中的日志文件;3、逐行扫描日志文件中的字符串信息;4、识别并过滤日志信息,由于日志信息是伴随着机器工作实时产生的,有些时候机器处于故障状态、停机状态、空运转状态,此时产生的大量日志行记录是用户不关心的无效信息,可以将其过滤,对有效信息对照前段代码示例说明的含义进行结构化处理,转化为结构化数据并保存到数据库;5、依次读取剩余日志文件并提取信息;6、将读取完的日志文件重命名并移动到备份文件夹。The programming of the log reading module is to extract the structured machine tool processing process information according to the meaning of the above log rules, so as to be used for the statistics of the report module. As shown in Figure 3, the workflow of designing the log reading module is as follows: 1. First obtain the log file list; 2. Read the log files in the list; 3. Scan the string information in the log file line by line; 4. Identify and filter Log information, because the log information is generated in real time along with the machine's work, sometimes the machine is in a fault state, shutdown state, or idle state. At this time, a large number of log line records generated are invalid information that the user does not care about, and can be filtered. Structuralize the effective information according to the meaning of the previous code example, convert it into structured data and save it to the database; 5. Read the remaining log files in sequence and extract information; 6. Rename and move the read log files to the backup folder.
日志读取模块编译好后安装到数控激光切割机床的主控电脑中,日志读取系统可设置为定时运行,保证CNC系统的日志信息能及时被读取。提取后的结构化数据分两个数据表存储,数据表结构如下(表1、表2),表1与表2使用jobId字段进行关联,其中,表1用于存储机床执行某个数控程序的信息,如执行该程序所使用的机床编码、该程序加工所需的材料规格、该程序所生产产品的规格,该程序的执行次数、开始运行时间、结束运行时间等等,表2用于存储与表1行信息相对应的零件加工过程信息,如切割时间、切割长度、穿孔个数、工作时间、故障时间等信息。After the log reading module is compiled, it is installed in the main control computer of the CNC laser cutting machine tool. The log reading system can be set to run regularly to ensure that the log information of the CNC system can be read in time. The extracted structured data is stored in two data tables. The structure of the data tables is as follows (Table 1, Table 2). Table 1 and Table 2 are associated using the jobId field. Table 1 is used to store the machine tool to execute a certain CNC program. Information, such as the code of the machine tool used to execute the program, the specifications of the materials required for processing the program, the specifications of the products produced by the program, the number of executions of the program, the start time, the end time, etc., Table 2 is used for storage The part processing information corresponding to the information in the row of Table 1, such as cutting time, cutting length, number of perforations, working time, failure time and other information.
表1 数控程序执行信息表Table 1 NC program execution information table
表2 零件加工信息表Table 2 Parts processing information table
部署数据库服务器,在数据库服务器中安装SQL server2005数据库系统,创建生产信息数据库,该数据库用于存储日志读取模块所读取的数据,同时作为报表模块的数据源,因此,该数据库表结构设计只要满足日志读取模块以及报表模块的数据定义与访问要求即可,一般来说,数据表中要包含“机床编码”、“程序名称”、“材料编号”、“零件厚度”、“钢板尺寸”、“程序运行开始时间”、“程序运行结束时间”、“程序重复执行次数”、“零件名称”、“零件开始切割时间”、“零件重量”、“激光穿孔次数”、“切割长度”、“空走长度”、“切割时间”、“工作时间”、“停机时间”、“故障停机时间”等字段,如表1、表2所示,用于存储日志读取模块所提取的结构化信息,即构成本发明中的数据库模块。Deploy the database server, install the SQL server2005 database system in the database server, and create the production information database. This database is used to store the data read by the log reading module and also serves as the data source of the report module. Therefore, the design of the database table structure only needs It is enough to meet the data definition and access requirements of the log reading module and the report module. Generally speaking, the data table should include "machine tool code", "program name", "material number", "part thickness", and "steel plate size" , "Program running start time", "Program running end time", "Program repetition times", "Part name", "Part start cutting time", "Part weight", "Laser perforation times", "Cutting length", Fields such as "idling length", "cutting time", "working time", "downtime" and "failure downtime", as shown in Table 1 and Table 2, are used to store the structured data extracted by the log reading module. Information constitutes the database module in the present invention.
部署报表服务器,在报表模块中按车间管理的需求定义报表格式,从数据库服务器的表中统计相应的数据。报表服务器中的报表模块采用Microsoft公司的RDLC报表工具设计实现,也可以用水晶报表(Crystal Report)进行设计,报表视图可分别按日、月、年等时间周期或材料、程序、零件等类别设计,所有报表的数据源均从上生产信息数据库的数据表中建立。数据库系统与Web报表模块也可以安装在同一台服务器中。Deploy the report server, define the report format according to the needs of workshop management in the report module, and count the corresponding data from the tables of the database server. The report module in the report server is designed and realized by the RDLC report tool of Microsoft Corporation, and can also be designed by Crystal Report (Crystal Report). The report view can be designed according to time periods such as day, month, year, or materials, programs, and parts. , the data sources of all reports are established from the data tables of the upper production information database. The database system and the Web report module can also be installed in the same server.
日志读取模块从CNC日志中读取信息并保存到数据库服务器的生产信息数据库中,生产信息数据库为报表模块提供了数据源。报表模块负责响应用户通过Web浏览器发送的请求,生成用户所需的统计报表,典型报表如图4所示。The log reading module reads information from the CNC log and saves it in the production information database of the database server. The production information database provides a data source for the report module. The report module is responsible for responding to the request sent by the user through the Web browser, and generating the statistical report required by the user. A typical report is shown in Figure 4.
将日志读取模块安装在机床主控计算机中并接入局域网,在网络上部署好数据库服务器和报表服务器。当数控机床生产时,机床操作人员根据产品要求编制数控代码,需要注意的是,由于数控程序仅针对产品的加工工艺过程控制,因此,日志文件在通常情况下只会包含机床系统状态和工艺过程信息,而对于一些生产中有管理价值但又与机床运行控制无关的信息就不能直接获取,但可以将这类信息以注释的形式在编程时编写到数控程序中,如产品名称、编码、重量、尺寸规格、坯料的材料与尺寸规格等,这样机床在执行数控代码的同时,便会将上述注释信息写入到日志文件中,从而大大丰富了日志文件的信息,日志读取模块根据这些注释信息实现对所加工产品的相关信息读取。这里的注释就是普通的程序代码注释,一般注释是为了帮助理解代码含义,这里的注释是为了添加信息到日志文件中。The log reading module is installed in the main control computer of the machine tool and connected to the local area network, and the database server and report server are deployed on the network. When the CNC machine tool is produced, the machine tool operator compiles the CNC code according to the product requirements. It should be noted that since the CNC program only controls the processing process of the product, the log file will usually only contain the machine tool system status and process. Information, and for some information that has management value in production but has nothing to do with machine tool operation control, it cannot be directly obtained, but such information can be written into the CNC program in the form of comments, such as product name, code, weight, etc. , size specification, material and size specification of the blank, etc., so that when the machine tool executes the NC code, it will write the above comment information into the log file, thus greatly enriching the information of the log file. The information realizes the reading of the relevant information of the processed products. The comments here are ordinary program code comments. The general comments are to help understand the meaning of the code, and the comments here are to add information to the log file.
用户查看报表时,使用PC机或笔记本电脑以有线或无线的方式访问报表服务器,网络拓扑如图1所示。报表模块从数据库服务器中检索相关数据并返回到用户电脑中。When users view reports, they use PCs or laptops to access the report server in a wired or wireless manner. The network topology is shown in Figure 1. The reporting module retrieves relevant data from the database server and returns it to the user's computer.
实施例2Example 2
对多台数控机床进行生产信息管理。使用本发明对多台数控机床进行管理时,方法与步骤与实施例1相同,只需将所有数控机床的主控电脑分别安装日志读取系统并接入车间局域网即可,所有机床的管理共用数据库服务器与报表模块,在数据库表中用数控机床编号区分不同机床,日志读取模块在上传各自机床数据时,同时上传机床编号。这样便能在报表模块中实现按机床编号统计生产信息。Manage production information of multiple CNC machine tools. When the present invention is used to manage multiple CNC machine tools, the method and steps are the same as in Embodiment 1, only the main control computers of all CNC machine tools need to be installed with a log reading system and connected to the workshop LAN, and the management of all machine tools is shared. The database server and the report module use the CNC machine number to distinguish different machine tools in the database table, and the log reading module uploads the machine tool number at the same time when uploading the respective machine data. In this way, statistics of production information by machine number can be realized in the report module.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410267870.5A CN104008201B (en) | 2014-06-16 | 2014-06-16 | A kind of Digit Control Machine Tool production information acquisition methods |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410267870.5A CN104008201B (en) | 2014-06-16 | 2014-06-16 | A kind of Digit Control Machine Tool production information acquisition methods |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104008201A CN104008201A (en) | 2014-08-27 |
| CN104008201B true CN104008201B (en) | 2017-07-28 |
Family
ID=51368858
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410267870.5A Expired - Fee Related CN104008201B (en) | 2014-06-16 | 2014-06-16 | A kind of Digit Control Machine Tool production information acquisition methods |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104008201B (en) |
Families Citing this family (22)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104503362B (en) * | 2014-12-30 | 2017-07-07 | 重庆大学 | Batch workpiece digital control processing progress automatic acquiring method based on Multi-information acquisition |
| CN105116842B (en) * | 2015-07-13 | 2018-05-11 | 华中科技大学 | A kind of fault data visualization analytic method based on digital control system daily record |
| CN106600133A (en) * | 2016-12-08 | 2017-04-26 | 郑州同心创远生物科技有限公司 | Rubber product supply chain management system |
| JP6496332B2 (en) | 2017-01-27 | 2019-04-03 | ファナック株式会社 | Information management system, server, information management method and program |
| JP2018151917A (en) * | 2017-03-14 | 2018-09-27 | オムロン株式会社 | Control device |
| CN107153927B (en) * | 2017-06-19 | 2021-02-09 | 南京南瑞继保电气有限公司 | Steel production malfunction management method |
| CN107179745B (en) * | 2017-06-23 | 2019-05-03 | 东莞市中泰模具股份有限公司 | The CNC of computer readable storage medium and the application medium opens circular hole lathe |
| WO2019053899A1 (en) * | 2017-09-15 | 2019-03-21 | 株式会社牧野フライス製作所 | Electronic manual system for machine tool |
| CN107798081B (en) * | 2017-10-17 | 2021-05-07 | 西北工业大学 | Hierarchical database model based on material-structure-process correlation |
| CN109062141A (en) * | 2018-08-01 | 2018-12-21 | 成都飞机工业(集团)有限责任公司 | A kind of NC Machining Process information acquisition method based on coding |
| CN109165143A (en) * | 2018-08-17 | 2019-01-08 | 张家港康得新光电材料有限公司 | Database detection method, system, server and storage medium |
| CN109739941A (en) * | 2019-01-07 | 2019-05-10 | 广州市酷匠信息科技有限公司 | A kind of manufacturing schedule collecting method based on equipment performance log |
| CN110135678A (en) * | 2019-03-29 | 2019-08-16 | 广州明珞汽车装备有限公司 | A kind of process timing sequence analysis method, system and storage medium based on station |
| CN110990457A (en) * | 2019-11-30 | 2020-04-10 | 航天科技控股集团股份有限公司 | A production report management system |
| CN111308959A (en) * | 2020-03-04 | 2020-06-19 | 武汉华中数控股份有限公司 | Numerical control machine tool monitoring system and method based on instruction domain data synchronization |
| CN112000552A (en) * | 2020-08-25 | 2020-11-27 | 上海控软网络科技有限公司 | Monitoring method, device, system, electronic device and storage medium for machine tool |
| CN112000553A (en) * | 2020-08-25 | 2020-11-27 | 上海控软网络科技有限公司 | Machine tool monitoring method and device, electronic device and storage medium |
| CN112000551A (en) * | 2020-08-25 | 2020-11-27 | 上海控软网络科技有限公司 | Monitoring method, device, system, electronic device and storage medium for machine tool |
| CN114428482A (en) * | 2021-12-16 | 2022-05-03 | 沈阳富创精密设备股份有限公司 | Data acquisition method applied to numerical control machine tool in manufacturing industry |
| CN115357432A (en) * | 2022-09-05 | 2022-11-18 | 梅州市志浩电子科技有限公司 | Automatic backup and cleaning method and device for circuit board machining data and machining equipment |
| CN115476373A (en) * | 2022-10-31 | 2022-12-16 | 重庆文理学院 | Automatic production system and method for disc hub |
| CN115952142A (en) * | 2022-12-19 | 2023-04-11 | 普元信息技术股份有限公司 | System, method, device, processor and storage medium for realizing transaction log storage and message information extraction and summarization under Xinchuang environment |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102495591A (en) * | 2011-12-21 | 2012-06-13 | 江南大学 | Method for monitoring numerical control machine |
| CN103064905A (en) * | 2012-12-18 | 2013-04-24 | 武汉华中数控股份有限公司 | Log management method of numerical control system |
| CN103076766A (en) * | 2013-01-30 | 2013-05-01 | 佛山市定中机械有限公司 | Can printing machine numerical-control system based on digital motion controller |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006085469A1 (en) * | 2005-02-14 | 2006-08-17 | Komatsu Ltd. | Working machine failure information centralized managing system |
| US8655480B1 (en) * | 2010-11-11 | 2014-02-18 | The Boeing Company | Automated filler production method |
| CN102360199B (en) * | 2011-08-22 | 2013-03-13 | 无锡压缩机股份有限公司 | Processing workpiece quantity on-line statistical method under numeric control environment |
| CN102681504A (en) * | 2012-04-18 | 2012-09-19 | 华中科技大学 | Industrial data collection and feedback system |
-
2014
- 2014-06-16 CN CN201410267870.5A patent/CN104008201B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102495591A (en) * | 2011-12-21 | 2012-06-13 | 江南大学 | Method for monitoring numerical control machine |
| CN103064905A (en) * | 2012-12-18 | 2013-04-24 | 武汉华中数控股份有限公司 | Log management method of numerical control system |
| CN103076766A (en) * | 2013-01-30 | 2013-05-01 | 佛山市定中机械有限公司 | Can printing machine numerical-control system based on digital motion controller |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104008201A (en) | 2014-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104008201B (en) | A kind of Digit Control Machine Tool production information acquisition methods | |
| CN112347071B (en) | Power distribution network cloud platform data fusion method and power distribution network cloud platform | |
| CN114218218A (en) | Data processing method, device and equipment based on data warehouse and storage medium | |
| EP2672397A1 (en) | Generating reports based on materialized view | |
| CN109299074B (en) | Data verification method and system based on templated database view | |
| CN103679384A (en) | Method for workflow cooperative office work | |
| Azzolini et al. | The Data Quality Monitoring software for the CMS experiment at the LHC: past, present and future | |
| CN103294724A (en) | Method for managing database structures and system for method | |
| CN109669975B (en) | Industrial big data processing system and method | |
| WO2015008026A1 (en) | Optimising data integration | |
| CN104461671A (en) | Method and system for periodically managing code modification report | |
| CN104516989A (en) | Incremental data pushing system and method | |
| CN101968858A (en) | Software configuration management auxiliary system | |
| CN103577614B (en) | A kind of collecting method towards SAP PI application integration platform and system | |
| CN105069556A (en) | User behavior analysis method and system of ERP management system | |
| CN106227862A (en) | E-commerce data integration method based on distribution | |
| CN111177173A (en) | System and method for realizing data synchronization optimization processing under big data environment | |
| CN115617767A (en) | Management system and management method for shortening information system account data synchronization time | |
| Gupta et al. | Process cube for software defect resolution | |
| Schneider | The Data Quality Monitoring Software for the CMS experiment at the LHC: past, present and future | |
| CN112134927A (en) | Power grid data exchange platform and data exchange method based on plug-in mode | |
| Zasadzien et al. | Implementation of maintenance employees' work time scheduling | |
| CN113051254B (en) | A method for structuring system file data based on database and Internet | |
| CN117436740A (en) | Asset benefit evaluation method, device and storage medium | |
| CN117609362A (en) | Data processing method, device, computer equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170728 Termination date: 20200616 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |