CN104298173B - Method for acquiring parameters of numerical control machine tool machining process facing networked real-time monitoring - Google Patents

Method for acquiring parameters of numerical control machine tool machining process facing networked real-time monitoring Download PDF

Info

Publication number
CN104298173B
CN104298173B CN201410505522.7A CN201410505522A CN104298173B CN 104298173 B CN104298173 B CN 104298173B CN 201410505522 A CN201410505522 A CN 201410505522A CN 104298173 B CN104298173 B CN 104298173B
Authority
CN
China
Prior art keywords
machine tool
lathe
control machine
group
digit control
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.)
Active
Application number
CN201410505522.7A
Other languages
Chinese (zh)
Other versions
CN104298173A (en
Inventor
李星
张加波
张斌
李晓星
梁岩里
刘从华
李群
王文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Satellite Manufacturing Factory Co Ltd
Original Assignee
Beijing Satellite Manufacturing Factory Co Ltd
Filing date
Publication date
Application filed by Beijing Satellite Manufacturing Factory Co Ltd filed Critical Beijing Satellite Manufacturing Factory Co Ltd
Priority to CN201410505522.7A priority Critical patent/CN104298173B/en
Publication of CN104298173A publication Critical patent/CN104298173A/en
Application granted granted Critical
Publication of CN104298173B publication Critical patent/CN104298173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a method for acquiring parameters of a numerical control machine tool machining process facing networked real-time monitoring, which is based on a server to realize networked real-time monitoring of the machining states of a plurality of numerical control machine tools with different control system types and different communication interface modes, can finish real-time acquisition and recording of process parameters of FANUC, SIEMENS and HEIDENHAIN system machine tools based on NC programs with specific post-processing formats and program names of rules, and realizes automatic transmission, storage and reuse of the process parameters in the process And transferring and reusing the digital workshop information system, and completing the integrated application of the digital workshop information system based on the transfer and reuse.

Description

The Digit Control Machine Tool course of processing parameter collecting method that Based on Networked monitors in real time
Technical field
The present invention relates to the Digit Control Machine Tool course of processing parameter collecting method that Based on Networked monitors in real time, Belong to Digitized Manufacturing Technology field.
Background technology
In current fierce manufacturing industry global competition, plan of the most scientifically arranging production, maximum journey Degree ground plays the utilization rate of manufacture equipment and seems more and more important.Additionally, the improvement of Technology is often Set up in technological data bank on the basis of a large amount of statistical analysiss manufacturing field data on the other hand, and these Accurately obtaining of data is always a bottleneck problem.For a long time, workshop lacks a kind of effective prison Control means, the manual type traditional mainly by scene inspection, telephone contact, manual record etc. understands machine Bed operating situation, lacks real-time and intuitive, and relies on manpower to carry out hand-kept and not only can consume Take substantial amounts of manpower and time cost, and be difficult to ensure that the accurate of recorded process data and integrity.
At present, workshop on different lathes, uses different cutters and process program to specific component Used cutting parameter is empirically determined, even if after cutting test trial cut by workman mostly The rational cutting parameter decided succession in follow-up processing and reuse and also lack preferably ginseng Number transfer means and normalized management method, empirical data is relatively strong to the dependency of personnel, on-the-spot number Stop according to record, become scattered about in the minute book of different personnel, even without the record being correlated with, data can Retrospective is poor.
By NC lathing install by the way of high-definition camera can with real time image collection workshop appliance and The working order of personnel, can realize the operating to equipment by means of certain harvester and acquisition software Situation carries out Real-time Collection, but still there is problems in that
(1) mode of image acquisition stores collection data volume greatly, and the data of collection mostly are top layer data, The inherent operation information of controller cannot be collected.
(2) existing acquisition method compatibility is poor, it is impossible to contain all of control system distinct interface The Digit Control Machine Tool of type, it is impossible to realize the comprehensive standardized management to workshop appliance.
(3) existing acquisition method is only limitted to the rotation of main shaft to the judgement of the running status of lathe, right Limitation is also compared in the judge of other states, it is impossible to configuration adapts to different types of conditions of machine tool judgment rule.
(4) existing acquisition method reads the warning message of different lathe based on API, by CNC system The impact of the language environment of system, API system and operating system etc., easily produces irreversible mess code Phenomenon.
(5) existing acquisition method cannot realize machining state information (product designation, journey to product Sequence number, cutter number, the speed of mainshaft set and feeding, rotating speed multiplying power, feeding multiplying power and machining Time) Real-time Collection, the fabrication plan performance of product cannot based on gather data real-time assessment, Integrated more difficulty between acquisition system and digitized workshop information system.
Summary of the invention
It is an object of the invention to overcome the above-mentioned deficiency of prior art, it is provided that Based on Networked is supervised in real time The Digit Control Machine Tool course of processing parameter collecting method of control, this acquisition method adds based on spacecraft product numerical control Work flow process and standardization numerical control program format, complete the in real time monitoring to CNC Machine Equipment, The warning message of Auto-matching based on numbering of reporting to the police shows and automatically depositing parameters of technique process entirely Store up, transmit and reuse, and complete the integrated application to digitized workshop information system based on this, have The advantages such as real-time, intuitive, integrity and accuracy.
The above-mentioned purpose of the present invention is mainly achieved by following technical solution:
The Digit Control Machine Tool course of processing parameter collecting method that Based on Networked monitors in real time, including walking as follows Rapid:
Step (one), set up parameter acquisition system, described parameter acquisition system include two groups of Digit Control Machine Tools, Collecting terminal, switch, fire wall, monitoring client, server, client;Wherein first group Digit Control Machine Tool is not comprise machine tool data collection communication agreement or do not comprise the lathe of RJ45 interface, second Group Digit Control Machine Tool is to comprise machine tool data collection communication agreement and the lathe comprising RJ45 interface;
Step (two), first group of Digit Control Machine Tool is connected with collecting terminal, collecting terminal RJ45 interface and switch connect into workshop LAN, wherein by first group of Digit Control Machine Tool and intelligent acquisition The concrete grammar that terminal connects is as follows:
(1), by the alarm signal of first group of Digit Control Machine Tool and run signal from Digit Control Machine Tool electricity cabinet relay Normally opened point or PLC output module export to collecting terminal, whether collecting terminal powers on and makees It is that the standby signal of first group of Digit Control Machine Tool, even collecting terminal do not power on, shows first group of number Control lathe is in off-mode, if collecting terminal powers on, shows that first group of Digit Control Machine Tool is in out Machine state, if described first group of Digit Control Machine Tool is in holding state, the alarm signal of first group of Digit Control Machine Tool Number and run signal extraction voltage signal from the PLC output module of first group of Digit Control Machine Tool electricity cabinet, and Corresponding with the tri coloured lantern signal of first group of Digit Control Machine Tool respectively, red light is defined as the alarm signal of lathe, Green light is defined as run signal, and amber light is standby signal, and alarm signal has precedence over run signal, runs Signal priority is in standby signal;
(2), induction coil is installed on the spindle motor power line of first group of Digit Control Machine Tool, by as follows Formula is calculated the real output P of first group of main shaft of numerical control machine toolActual:
Wherein:
PSpecifiedIt it is the rated output power of first group of main shaft of numerical control machine tool;
USpecifiedIt it is the load voltage value of first group of main shaft of numerical control machine tool;
ISensing _ actualFor crossing the faradic actual value of induction coil;
ISensing _ specifiedFor the faradic current rated value of induction coil under rated voltage;
ISpecified: the current rating under rated voltage;
N:ISensing _ specifiedAnd ISpecifiedConversion constant;
K: the coefficient of association of the induction coil number of turns;
Step (three), second group of Digit Control Machine Tool is connected with switch, and configures, described second Group Digit Control Machine Tool is divided into three kinds according to the machine tool data collection communication agreement comprised, and respectively comprises FANUC 0i and the system above lathe of FOCAS agreement, comprise iTNC530 agreement HEIDENHAIN system lathe and the SIEMENS 840D system lathe comprising OPC agreement, tool The collocation method of body is as follows:
(1), FANUC system lathe is arranged the IP address of CNC, subnet mask, COM1 Information;
(2), the user of three assemblies under SIEMENS 840D system lathe configuration OPC is read Authority;
(3), to #18 parameter in the HEIDENHAIN system lathe configuration SIK page, open " point Cloth is digital control " function, open " outside access " function simultaneously;
Step (four), on server end, set up the data base of form, set up the machine comprising lathe Bed numbering, lathe title, device code, control system type, grab type, IP address, port Number, the lathe base of operator scheme, collection formula, device location, spindle power field, running status Plinth data form;For described machine tool basic data form logging data be stored in number on client end interface According in storehouse;In described running status 0 for shutdown, 1 be standby, 2 for run, 3 for warning;
Step (five), it is based respectively on HEIDENHAIN SDK software development kit, FANUC system The opening of FOCAS packet, SIEMENS system OPC secondary development bag and collecting terminal Give out a contract for a project, set up the monitoring client of lathe, it is thus achieved that the bottom status information of lathe, implementing of monitoring client Process is as follows:
(5.1) call the connectivity function of described four kits respectively, set up the first Digit Control Machine Tool, second Digit Control Machine Tool and the connection of server, and obtain handle value, described connectivity function comprises lathe respectively IP address, port numbers Port, spilling time Timeout, handle value;
(5.2) newly-built variable R, by the tri coloured lantern of first group of Digit Control Machine Tool that described step (two) obtains The real output P of signal and first group of main shaft of numerical control machine toolActualIt is stored in variable R;By second group Digit Control Machine Tool obtains the operator scheme of lathe, routine processes shape by the built-in function of described three kinds of kits State, actual speed value, actual feed value, spindle power value, coordinate figure information, program number are stored in change In amount R;
(5.3) call releasing handle function and disconnect the first or second Digit Control Machine Tool and the connection of server;
(5.4) per interval t repeats step (5.1)~(5.3), the new conditions of machine tool letter that will obtain Breath is replaced original state and is stored in variable R, and described time t is the setting time;
(5.5) according to the collection formula of client typing, the running status of second group of Digit Control Machine Tool is done and sentences Disconnected, when the operator scheme variate-value of lathe is " MDA or AUTO ", and routine processes state is for " to enter In row " time, or operator scheme variate-value is " JOG " and actual speed value S > 0 and actual feed value During F < 0, server database will be written as 2 at the running status of second group of Digit Control Machine Tool, standby shape The network state that state is returned by ping instruction judges, alarm condition is by the warning function in built-in function 1 or 0 returned judges, the warning of lathe is numbered when returning 1 and is stored in variable alarm, with The start and end time reported to the police described in Shi Jilu;
(5.6) running status of first group of Digit Control Machine Tool and second group of Digit Control Machine Tool is stored in described step (4) in the machine-tool database of IP address corresponding in machine tool basic data form;
Step (six), set up a real-time monitoring electronics in client and check board interface, show machine in real time The running status of bed.
In the Digit Control Machine Tool course of processing parameter collecting method that above-mentioned Based on Networked monitors in real time, step Suddenly electronics described in (six) is checked and is shown as lathe name label on the left of board interface, the title mark of lathe Sign the IP address of corresponding lathe, set lathe shutdown, operation, standby, alarm condition four mark successively Sign 4 state tags for lathe, the title of each lathe arranged in parallel and 4 state tags;Machine When the running status of bed is 0, shutdown is highlighted, when the running status of lathe is 1, standby highlighted Display, when the running status of lathe is 2, operation is highlighted, when the running status of lathe is 3, Warning is highlighted.
In the Digit Control Machine Tool course of processing parameter collecting method that above-mentioned Based on Networked monitors in real time, step Suddenly at electronics, (six) check that board interface checks that electronic layout's figure shows the running status of lathe in real time, Described electronic layout figure is to place different lathe bitmaps on static plant layout's figure dynamically to show Showing the real-time status of lathe, concrete grammar is as follows:
(1), a static workshop comprising described first group of Digit Control Machine Tool and second group of Digit Control Machine Tool is drawn Layout;
(2), on the corresponding position of each lathe overlapping place 4 be respectively redness, green, yellow, The lathe bitmap of Lycoperdon polymorphum Vitt, respectively to should the warning of lathe of IP address, operation, standby, shutdown 4 Individual state;
(3) coordinate figure of the lathe bitmap center, recording this IP address is stored in variable pos;
(4) if the conditions of machine tool of this IP address is for running, then green picture shows, other pictures are hidden Hiding, for running status, during state change, the state of 4 pictures moves in turn;
(5), the position of lathe is when moving, and 4 pictures move simultaneously, and record the coordinate figure of this new position, Being substituted into variable pos, at this, picture IP address is constant, the corresponding real-time machine that state is this new position Bed state.
In the Digit Control Machine Tool course of processing parameter collecting method that above-mentioned Based on Networked monitors in real time, step Suddenly to second group of Digit Control Machine Tool in (5.5), based on the warning table reported to the police in numbering and data base obtained The matching inquiry of numbering of reporting to the police obtain complete warning message, its concrete methods of realizing is as follows:
(1), corresponding in client typing each IP address lathe is reported to the police numbering, alarm content, and is deposited Enter in data base's warning table;
(2), the lathe that each IP address in warning table is corresponding is arranged by numbering ascending order of reporting to the police;
(3) warning, step (5.5) obtained is numbered, is sequentially stored into this lathe IP address correspondence In chained list;
(4), a display Realtime Alerts instruction is triggered in client;
(5), the warning numbering of lathe corresponding in report to the police numbering and the warning table in chained list is compared successively, If less than the numbering in warning table, then continue to inquire about, until inquire equal to the report in warning table backward Alert numbering;
(6), by SELECT and WHERE of data base instruct by warning table to volume of should reporting to the police Number IP address of lathe, lathe title, alarm content, the start and end time of warning show visitor Family end;
(7), repeat step (5), (6), until all of warning numbering inquires in chained list, will simultaneously All warning numberings inquired are deleted from chained list;
(8) if not inquiring this warning numbering in warning table, then by this warning numbering, alarm content In the warning table being stored in data base;
(9), when client triggers a display Realtime Alerts instruction again, step (5)~(8) is repeated.
In the Digit Control Machine Tool course of processing parameter collecting method that above-mentioned Based on Networked monitors in real time, step Suddenly the tri coloured lantern signal of first group of Digit Control Machine Tool is stored in variable R by (5.2) method particularly includes: read Take 1 or 0 value of the tri coloured lantern that on collecting terminal, in memory address section, PLC signal passes over, Three states of corresponding first group of Digit Control Machine Tool respectively, and it is deposited into variable R.
The present invention compared with prior art has the advantages that
(1), the inventive method realizes multiple stage difference control system type, difference based on a station server The networking of machining state of Digit Control Machine Tool of communication interface mode monitor in real time, and can be based on spy The program name of the NC program and rule of determining post processing form complete to comprise FANUC, SIEMENS, The Real-time Collection of the parameters of technique process of HEIDENHAIN system lathe and record, it is achieved that technique mistake Journey parameter is the most automatically transmitted, stores and is reused, and it is existing that the inventive method changes traditional employing The mode collection site data deficiency real-times such as inspection, telephone contact, manual record, intuitive, The shortcoming such as integrity and accuracy, based on spacecraft product digital control processing flow process and standardization numerical control program Form, completes the monitoring in real time to CNC Machine Equipment, Auto-matching based on numbering of reporting to the police Warning message entirely show and automatically storing, transmit and reusing parameters of technique process, and based on This integrated application completed digitized workshop information system, has real-time, intuitive, integrity With advantages such as accuracys;
(2), the present invention uses collecting terminal to achieve the nineties without RJ45 based on PLC signal The monitoring of the lathe real-time status of interface;Achieve SIEMENS 840D SL based on OPC technology Condition monitoring and the collection of parameters of technique process of the control system lathe of latest edition, store, transmit With reuse, there is stronger practicality;
(3), the present invention judgement of the running status of lathe is not limited only to the rotation of main shaft, also include behaviour Operation mode, program state, feed rate etc., the accuracy of state collected is more preferable;
(4), the present invention establish the warning message dictionary of different CNC system, use numbering of reporting to the police Character match algorithm realize the collection of warning message more comprehensively correct display;
(5), the present invention based on product digital control processing flow process and standardization numerical control program format, it is right to complete The in real time monitoring of CNC Machine Equipment and to the storage automatically of site technique procedure parameter, transmission With reuse, the follow-up part similar with this product can directly invoke this parameters of technique process data number Control processing, the improvement to the statistical analysis gathering data can be Technology provides data supporting intuitively;
(6), the invention provides a kind of Digit Control Machine Tool covering every kind of control system type distinct interface The solution carrying out accurately judging in monitoring and the state of running status in lathe, compiled by warning Number the mode of character match solve the mess code of alarm content, innovation uses the note analyzed in program header Release information and program name itself obtains product designation, operation number, cutter name, and then obtain the completeest Whole technical process data, it is achieved that parameters of technique process automatically gathers, stores, transmits and reuses;
(7), present invention achieves the parameters of technique process to the lathe that three kinds of control system network interface cards connect (comprise product designation, operation number, cutter name, the speed of mainshaft, feed speed, main shaft multiplying power, enter To multiplying power, processing time started, process finishing time data item) collection, for digitized workshop Information is integrated has established important foundation, is fabrication process flow by a large amount of data accurately obtained Optimize and the improvement of Technology provides strong support.
Accompanying drawing explanation
Fig. 1 is course of processing parameter acquisition system block diagram of the present invention.
Fig. 2 is that lathe hardware of the present invention gathers wiring schematic diagram;
Fig. 3 is Digit Control Machine Tool course of processing parameter acquisition flow chart of the present invention;
Fig. 4 is that the present invention reports to the police numbering Auto-matching workflow diagram.
Detailed description of the invention
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings:
Be illustrated in figure 1 course of processing parameter acquisition system block diagram of the present invention, main represent realize towards The hardware connection of the Digit Control Machine Tool course of processing parameter acquisition that networking monitors in real time and showing of functional realiey Being intended to, initially set up parameter acquisition system, parameter acquisition system includes that two groups of Digit Control Machine Tools, intelligence are adopted Collection terminal, switch, fire wall, monitoring client, server, client;Wherein first group of numerical control machine Bed for not comprise machine tool data collection communication agreement or not comprise the lathe of RJ45 interface, second group of numerical control Lathe is to comprise machine tool data collection communication agreement and the lathe comprising RJ45 interface.
It is illustrated in figure 3 Digit Control Machine Tool course of processing parameter acquisition flow chart of the present invention, to first group of number Control lathe and second group of Digit Control Machine Tool carry out lathe end configuration, and concrete grammar is as follows:
One, the wiring that first group of Digit Control Machine Tool hardware gathers
To first group of Digit Control Machine Tool, collecting terminal is installed in Machine Tool Electric Appliance cabinet, uses hardware to adopt The mode of collection, real-time monitoring machine bed operating state.Will first group of Digit Control Machine Tool and collecting terminal Connecting, the RJ45 interface of collecting terminal and switch connect into workshop LAN, wherein by first The concrete grammar that group Digit Control Machine Tool is connected with collecting terminal is as follows:
(1), by the alarm signal of first group of Digit Control Machine Tool and run signal from Digit Control Machine Tool electricity cabinet relay The normally opened point of device or PLC output module export to collecting terminal, and whether collecting terminal powers on Do not power on as the standby signal of first group of Digit Control Machine Tool, even collecting terminal, show first group Digit Control Machine Tool is in off-mode, if collecting terminal powers on, shows that first group of Digit Control Machine Tool is in Open state, if described first group of Digit Control Machine Tool is in holding state, the warning of first group of Digit Control Machine Tool Signal and run signal extraction voltage signal from the PLC output module of first group of Digit Control Machine Tool electricity cabinet, And corresponding with the tri coloured lantern signal of first group of Digit Control Machine Tool respectively, red light is defined as the warning of lathe, green Lamp is defined as run signal, and amber light is standby signal, and alarm signal has precedence over run signal, runs letter Number have precedence over standby signal.
As a example by DMC1035V lathe, it is illustrated in figure 2 lathe hardware of the present invention and gathers wiring signal Figure, this figure is the connection figure of collecting terminal and the PLC signal of lathe, wherein isolating and protecting device For electric protection device for installing, it is ensured that Acquisition Circuit is surprisingly burnt, do not interfere with original electricity of lathe Road;By installing acquisition terminal at machine tool electric cabinet, the signal needed is exported from the PLC of machine tool electric cabinet 1 foot and 2 feet in modules A 5-30K10 are drawn, the warning of the lathe defined respectively and run signal, Whether standby signal is powered on by acquisition terminal judges, and corresponding with the tri coloured lantern signal of lathe respectively, Red light is defined as the warning of lathe, and green light is defined as run signal, and amber light is standby signal.
(2), one induction coil of carry, sense on the spindle motor power line of first group of Digit Control Machine Tool Answer the faradic rated value of coil according to spindle motor of machine tool rated power PSpecifiedWith lathe access Rated voltage USpecifiedAfter calculating, it is converted into by the coefficient of association k of conversion coefficient n and the induction coil number of turns Corresponding faradic rated value ISensing _ specifiedAfter, corresponding induction coil is installed, now crosses this coil Faradic actual value be ISensing _ actual, the real output P of first group of main shaft of numerical control machine toolActual Can be calculated by equation below.
Wherein:
PActualIt it is the real output of first group of main shaft of numerical control machine tool;
PSpecifiedIt it is the rated output power of first group of main shaft of numerical control machine tool;
USpecifiedIt it is the load voltage value of first group of main shaft of numerical control machine tool;
ISensing _ actualFor crossing the faradic actual value of induction coil;
ISensing _ specifiedFor the faradic current rated value of induction coil under rated voltage;
ISpecified: the current rating under rated voltage;
N:ISensing _ specifiedAnd ISpecifiedConversion constant;
K: the coefficient of association of the induction coil number of turns;
Two, second group of Digit Control Machine Tool end configuration requirement
Second group of Digit Control Machine Tool is connected with switch, and configures, second group of Digit Control Machine Tool according to The machine tool data collection communication agreement comprised is divided into three kinds, respectively comprises FOCAS agreement FANUC 0i and system above lathe, comprise the HEIDENHAIN system lathe of iTNC530 agreement With comprise the SIEMENS 840D system lathe of OPC agreement, concrete collocation method is as follows:
(1), FANUC system lathe is arranged the IP address of CNC, subnet mask, communication ends Message ceases;
(2), the user of three assemblies under SIEMENS 840D system lathe configuration OPC is read Weighting limits;
(3), to #18 parameter in the HEIDENHAIN system lathe configuration SIK page, open " point Cloth is digital control " function, open " outside access " function simultaneously.
Set the RJ45 interface on lathe RJ45 interface and collecting terminal after lathe end parameter Via switch access network and acquisition server communication, set up lathe and gather net.On server end Set up the data base of form, set up comprise the lathe numbering of lathe, lathe title, device code, Control system type, grab type, IP address, port numbers, operator scheme, collection formula, equipment Position, spindle power field, the machine tool basic data form of running status;Client end interface is This machine tool basic data form logging data is also stored in data base;In above-mentioned running status 0 for shutdown, 1 be standby, 2 for run, 3 for report to the police.
It is based respectively on the FOCAS number of HEIDENHAIN SDK software development kit, FANUC system According to bag, SIEMENS system OPC secondary development bag and the kit of collecting terminal, set up machine The monitoring client of bed, it is thus achieved that the bottom status information of lathe, monitoring client to implement process as follows:
(1) call the connectivity function of aforementioned four kit, respectively, set up the first Digit Control Machine Tool, Two Digit Control Machine Tools and the connection of server, and obtain handle value, this function comprises the IP ground of lathe respectively Location, port numbers, spilling time, handle value, i.e. connectivity function (IP, Port, Timeout, Handle), Wherein IP, Port, Timeout, Handle are respectively IP address, port numbers, spilling time, sentence Bin value;
(2), newly-built variable R is distinguished, by the tri coloured lantern signal of first group of Digit Control Machine Tool of aforementioned acquisition Real output P with first group of main shaft of numerical control machine toolActualIt is stored in the variable that at this, unification is newly-built.And The information of second group of Digit Control Machine Tool is by the built-in function of above three kinds of kits, it is thus achieved that the operation mould of lathe Formula, routine processes state, actual speed value, actual feed value, spindle power value, coordinate figure information, Program number is stored in this newly-built variable the most respectively, i.e. operator scheme built-in function (Handle, a, OperateMode), wherein Handle, a, OperateMode are respectively handle value, operation mould Formula relevant parameter, operator scheme.
Above-mentioned the tri coloured lantern signal of first group of Digit Control Machine Tool is stored in variable R method particularly includes: read 1 or 0 value of the tri coloured lantern that on collecting terminal, in memory address section, PLC signal passes over, point Three states of the most corresponding first group of Digit Control Machine Tool, and it is deposited into variable R.
(3), call releasing handle function and disconnect the first or second Digit Control Machine Tool and the connection of server.
(4), per interval t repeats step (1)~(3), the new conditions of machine tool information that will obtain Replacing original state to be stored in variable R, described time t is the setting time, is 1s in the present embodiment.
(5), according to the collection formula of client typing, the running status of second group of Digit Control Machine Tool is done Judge, when the operator scheme variate-value of lathe is " MDA or AUTO ", and routine processes state During for " in carrying out ", or operator scheme variate-value is " JOG " and actual speed value S > 0 and reality During feed value F < 0, server database will be written as 2 at the running status of second group of Digit Control Machine Tool, The network state that holding state is returned by ping instruction judges, alarm condition is by the report in built-in function 1 or the 0 of alert function return judges, the warning of lathe is numbered when returning 1 and is stored in variable alarm, Record the start and end time of described warning simultaneously, be illustrated in figure 4 the present invention and report to the police numbering automatically Coupling workflow diagram.
To second group of Digit Control Machine Tool, warning based on the warning table reported to the police in numbering and data base obtained The matching inquiry of numbering obtains complete warning message, and its concrete methods of realizing is as follows:
(1), corresponding in client typing each IP address lathe report to the police numbering, alarm content, and It is stored in data base's warning table;
(2), the lathe that each IP address in warning table is corresponding is arranged by numbering ascending order of reporting to the police;
(3) warning, step (5.5) obtained is numbered, is sequentially stored into this lathe IP address pair Answer in chained list;
(4), a display Realtime Alerts instruction is triggered in client;
(5), by the warning numbering of lathe corresponding in report to the police numbering and the warning table in chained list successively than Relatively, if less than the numbering in warning table, then continue to inquire about backward, until inquiring equal in warning table Warning numbering;
(6), by SELECT and WHERE of data base instruct by warning table to reporting to the police The IP address of numbering lathe, lathe title, alarm content, the start and end time display of warning exist Client;
(7), step (5), (6) are repeated, until all of warning numbering inquires, simultaneously in chained list All warnings inquired numbering is deleted from chained list;
(8) if not inquiring this warning numbering in warning table, then by this warning numbering, warning Hold in the warning table being stored in data base;
(9), client again trigger one display Realtime Alerts instruction time, repeat step (5)~ (8)。
(6), the tri coloured lantern that on collecting terminal, in memory address section, PLC signal passes over is read 31 or 0 value, three states of corresponding first group of Digit Control Machine Tool respectively, and it is deposited into variable R, Real output P by first group of main shaft of numerical control machine tool of aforementioned acquisitionActualIt is stored in data base;
(7), the running status of first group of Digit Control Machine Tool and second group of Digit Control Machine Tool is stored in above-mentioned lathe In the machine-tool database of IP address corresponding in basic data list;
Set up a real-time monitoring electronics in client and check board interface, show the operation shape of lathe in real time State.Electronics is checked and is shown as lathe name label on the left of board interface, the name label correspondence lathe of lathe IP address, set successively lathe shutdown, run, standby, four labels of alarm condition are as lathe 4 state tags, the title of each lathe arranged in parallel and 4 state tags;The running status of lathe When being 0, shutdown is highlighted, and when the running status of lathe is 1, standby is highlighted, lathe When running status is 2, operation is highlighted, and when the running status of lathe is 3, warning is highlighted.
Check that board interface passes through electronic layout's figure and shows the running status of lathe, electronics cloth in real time at electronics Office's figure is the reality placing different lathe bitmap Dynamic Announce lathes on static plant layout's figure Time state, concrete grammar is as follows:
(1), a static car comprising above-mentioned first group of Digit Control Machine Tool and second group of Digit Control Machine Tool is drawn Between layout;
(2), on the corresponding position of each lathe, overlapping placement 4 is the most red, green, yellow Color, the lathe bitmap of Lycoperdon polymorphum Vitt, respectively to should the warning of lathe of IP address, operation, standby, close 4 states of machine;
(3) coordinate figure of the lathe bitmap center, recording this IP address is stored in variable pos;
(4) if the conditions of machine tool of this IP address is for running, then green picture shows, other pictures Hiding, for running status, during state change, the state of 4 pictures moves in turn;
(5), the position of lathe is when moving, and 4 pictures move simultaneously, and record the coordinate of this new position Value, is substituted into variable pos, and at this, picture IP address is constant, the corresponding reality that state is this new position Time conditions of machine tool.
Present invention process procedure parameter acquisition method, be based on normalized FANUC, The post-processing approach of the program of SIEMENS, HEIDENHAIN control system is by analyzing program header In annotation information, program name information and Real-time Collection to cutting parameter carry out the form of data base Computing processed after Product Process overall process supplemental characteristic, comprise product designation, operation number, cutter Signature, the speed of mainshaft, feed speed, main shaft multiplying power, feeding multiplying power, processing time started, processing End time.
Above-mentioned steps (two) does not obtains the product designation of second group of Digit Control Machine Tool, cutter name, operation Number, the product work including product designation, cutter name, operation number can be obtained by the following method Skill overall process supplemental characteristic, parameters of technique process extracting method is as follows:
(1), monitoring client is from speed of mainshaft built-in function (Handle, s, Spindle), it is thus achieved that main shaft turns Speed value, wherein Handle, s, Spindle are respectively handle value, speed of mainshaft relevant parameter, main shaft Tachometer value, feed speed, main shaft multiplying power, feeding multiplying power obtain the similar speed of mainshaft, record simultaneously and be somebody's turn to do The IP address of lathe, lathe title the process parameter table being stored in data base;
(2), to FANUC, HEIDENHAIN system lathe in second group of Digit Control Machine Tool, note The program name that the lathe that record monitoring client obtains currently runs, if program name changes, monitoring End downloads part NC program from lathe, and the annotation information in progressive scan program header obtains product generation Number, operation number and cutter number;
(3), program name is when changing, and records the time started, and the master term of execution of recording it Axle rotating speed, feed speed, rotating speed multiplying power and feeding multiplying power.When program name changes again, Being recorded as the end time, retrieval setting speed, setting feeding, when rotating speed multiplying power and feeding multiplying power continue Between the longest value preserve for record data, the process time duration of then adding up this program is also These group data are stored in the process parameter table in data base correspondence every in.
(4), to the SIEMENS system lathe in second group of Digit Control Machine Tool, by program name by with Lower form is named: product designation _ cutter name _ operation .mpf, and monitoring client obtains what lathe currently performed Program name, splits out product designation, cutter name, operation number from the program name obtained;
(5), repeat step (three) process obtain the speed of mainshaft, feed speed, main shaft multiplying power, Feeding multiplying power, processing time started, process finishing time;
(6), instructed corresponding in process parameter table by SELECT and WHERE of data base The IP address of this lathe, lathe title, product designation, operation number, cutter name, the speed of mainshaft, enter To speed, main shaft multiplying power, feeding multiplying power, processing time started, process finishing time showing client End;
(7), this process parameter table is set in client and derives Excel form instruction.
The above, the detailed description of the invention that only present invention is optimal, but protection scope of the present invention is also Be not limited to this, any those familiar with the art in the technical scope that the invention discloses, The change that can readily occur in or replacement, all should contain within protection scope of the present invention.
The content not being described in detail in description of the invention belongs to the known of professional and technical personnel in the field Technology.

Claims (5)

1. the Digit Control Machine Tool course of processing parameter collecting method that Based on Networked monitors in real time, its feature exists In: comprise the steps:
Step (one), set up parameter acquisition system, described parameter acquisition system include two groups of Digit Control Machine Tools, Collecting terminal, switch, fire wall, monitoring client, server and client side;Wherein first group Digit Control Machine Tool is not comprise machine tool data collection communication agreement or do not comprise the lathe of RJ45 interface, second Group Digit Control Machine Tool is to comprise machine tool data collection communication agreement and the lathe comprising RJ45 interface;
Step (two), first group of Digit Control Machine Tool is connected with collecting terminal, collecting terminal RJ45 interface and switch connect into workshop LAN, wherein by first group of Digit Control Machine Tool and intelligent acquisition The concrete grammar that terminal connects is as follows:
(1), by the alarm signal of first group of Digit Control Machine Tool and run signal from Digit Control Machine Tool electricity cabinet relay Normally opened point or PLC output module export to collecting terminal, whether collecting terminal powers on and makees It is that the standby signal of first group of Digit Control Machine Tool, even collecting terminal do not power on, shows first group of number Control lathe is in off-mode, if collecting terminal powers on, shows that first group of Digit Control Machine Tool is in out Machine state, if described first group of Digit Control Machine Tool is in holding state, the alarm signal of first group of Digit Control Machine Tool Number and run signal extraction voltage signal from the PLC output module of first group of Digit Control Machine Tool electricity cabinet, and Corresponding with the tri coloured lantern signal of first group of Digit Control Machine Tool respectively, red light is defined as the alarm signal of lathe, Green light is defined as run signal, and amber light is standby signal, and alarm signal has precedence over run signal, runs Signal priority is in standby signal;
(2), induction coil is installed on the spindle motor power line of first group of Digit Control Machine Tool, by as follows Formula is calculated the real output P of first group of main shaft of numerical control machine toolActual:
Wherein:
PSpecifiedIt it is the rated output power of first group of main shaft of numerical control machine tool;
U is specifiedIt it is the load voltage value of first group of main shaft of numerical control machine tool;
ISensing _ actualFor crossing the faradic actual value of induction coil;
ISensing _ specifiedFor the faradic current rated value of induction coil under rated voltage;
ISpecified: the current rating under rated voltage;
N:ISensing _ specifiedAnd ISpecifiedConversion constant;
K: the coefficient of association of the induction coil number of turns;
Step (three), second group of Digit Control Machine Tool is connected with switch, and configures, described second Group Digit Control Machine Tool is divided into three kinds according to the machine tool data collection communication agreement comprised, and respectively comprises FANUC 0i and the system above lathe of FOCAS agreement, comprise iTNC530 agreement HEIDENHAIN system lathe and the SIEMENS 840D system lathe comprising OPC agreement, tool The collocation method of body is as follows:
(1), FANUC system lathe is arranged IP address, subnet mask and the COM1 of CNC Information;
(2), the user of three assemblies under SIEMENS 840D system lathe configuration OPC is read Authority;
(3), to #18 parameter in the HEIDENHAIN system lathe configuration SIK page, open " point Cloth is digital control " function, open " outside access " function simultaneously;
Step (four), on server end, set up the data base of form, set up the machine comprising lathe Bed numbering, lathe title, device code, control system type, grab type, IP address, port Number, operator scheme, collection formula, device location, spindle power field and the lathe base of running status Plinth data form;For described machine tool basic data form logging data be stored in number on client end interface According in storehouse;In described running status 0 for shutdown, 1 be standby, 2 for run, 3 for warning;
Step (five), it is based respectively on HEIDENHAIN SDK software development kit, FANUC system The opening of FOCAS packet, SIEMENS system OPC secondary development bag and collecting terminal Give out a contract for a project, set up the monitoring client of lathe, it is thus achieved that the bottom status information of lathe, implementing of monitoring client Process is as follows:
(5.1) call the connectivity function of described four kits respectively, set up first group of Digit Control Machine Tool, Two groups of Digit Control Machine Tools and the connection of server, and obtain handle value, described connectivity function comprises machine respectively The IP address of bed, port numbers Port, spilling time Timeout and handle value;
(5.2) newly-built variable R, by the tri coloured lantern of first group of Digit Control Machine Tool that described step (two) obtains The real output P of signal and first group of main shaft of numerical control machine toolActualIt is stored in variable R;By second group Digit Control Machine Tool obtains the operator scheme of lathe, routine processes shape by the built-in function of described three kinds of kits State, actual speed value, actual feed value, spindle power value, coordinate figure information and program number are stored in change In amount R;
(5.3) call releasing handle function and disconnect first group or second group of Digit Control Machine Tool and the connection of server;
(5.4) per interval t repeats step (5.1)~(5.3), the new conditions of machine tool letter that will obtain Breath is replaced original state and is stored in variable R, and described time t is the setting time;
(5.5) according to the collection formula of client typing, the running status of second group of Digit Control Machine Tool is done and sentences Disconnected, when the operator scheme variate-value of lathe is " MDA or AUTO ", and routine processes state is for " to enter In row " time, or operator scheme variate-value is " JOG " and actual speed value S > 0 and actual feed value During F < 0, server database will be written as 2 at the running status of second group of Digit Control Machine Tool, standby shape The network state that state is returned by ping instruction judges, alarm condition is by the warning function in built-in function 1 or 0 returned judges, the warning of lathe is numbered when returning 1 and is stored in variable alarm, with The start and end time reported to the police described in Shi Jilu;
(5.6) running status of first group of Digit Control Machine Tool and second group of Digit Control Machine Tool is stored in described step (4) in the machine-tool database of IP address corresponding in machine tool basic data form;
Step (six), set up a real-time monitoring electronics in client and check board interface, show machine in real time The running status of bed.
The Digit Control Machine Tool course of processing ginseng that Based on Networked the most according to claim 1 monitors in real time Number acquisition method, it is characterised in that: electronics described in described step (six) is checked on the left of board interface aobvious It is shown as lathe name label, the IP address of the name label correspondence lathe of lathe, set lathe successively and close Machine, operation, 4 state tags that standby, four labels of alarm condition are lathe, arranged in parallel respectively The title of individual lathe and 4 state tags;When the running status of lathe is 0, shutdown is highlighted, When the running status of lathe is 1, standby it is highlighted, when the running status of lathe is 2, runs height Bright display, when the running status of lathe is 3, warning is highlighted.
The Digit Control Machine Tool course of processing ginseng that Based on Networked the most according to claim 1 monitors in real time Number acquisition method, it is characterised in that: at electronics, described step (six) checks that board interface checks electronics Layout shows that the running status of lathe, described electronic layout figure are at a static workshop cloth in real time The upper real-time status placing different lathe bitmap Dynamic Announce lathes of office's figure, concrete grammar is as follows:
(1), a static workshop comprising described first group of Digit Control Machine Tool and second group of Digit Control Machine Tool is drawn Layout;
(2), on the corresponding position of each lathe overlapping place 4 be respectively redness, green, yellow, The lathe bitmap of Lycoperdon polymorphum Vitt, respectively to should the warning of lathe of IP address, operation, standby, shutdown 4 Individual state;
(3) coordinate figure of the lathe bitmap center, recording this IP address is stored in variable pos;
(4) if the conditions of machine tool of this IP address is for running, then green picture shows, other pictures are hidden Hiding, for running status, during state change, the state of 4 pictures moves in turn;
(5), the position of lathe is when moving, and 4 pictures move simultaneously, and record the coordinate figure of this new position, Being substituted into variable pos, at this, picture IP address is constant, the corresponding real-time machine that state is this new position Bed state.
The Digit Control Machine Tool course of processing ginseng that Based on Networked the most according to claim 1 monitors in real time Number acquisition method, it is characterised in that: to second group of Digit Control Machine Tool in described step (5.5), based on obtaining The matching inquiry of the numbering of reporting to the police of the warning table reported to the police in numbering and data base taken obtains complete warning Information, its concrete methods of realizing is as follows:
(1), corresponding in client typing each IP address lathe is reported to the police numbering, alarm content, and is deposited Enter in data base's warning table;
(2), the lathe that each IP address in warning table is corresponding is arranged by numbering ascending order of reporting to the police;
(3) warning, step (5.5) obtained is numbered, is sequentially stored into this lathe IP address correspondence In chained list;
(4), a display Realtime Alerts instruction is triggered in client;
(5), the warning numbering of lathe corresponding in report to the police numbering and the warning table in chained list is compared successively, If less than the numbering in warning table, then continue to inquire about, until inquire equal to the report in warning table backward Alert numbering;
(6), by SELECT and WHERE of data base instruct by warning table to volume of should reporting to the police Number IP address of lathe, lathe title, alarm content, the start and end time of warning show visitor Family end;
(7), repeat step (5), (6), until all of warning numbering inquires in chained list, will simultaneously All warning numberings inquired are deleted from chained list;
(8) if not inquiring this warning numbering in warning table, then by this warning numbering, alarm content In the warning table being stored in data base;
(9), when client triggers a display Realtime Alerts instruction again, step (5)~(8) is repeated.
The Digit Control Machine Tool course of processing ginseng that Based on Networked the most according to claim 1 monitors in real time Number acquisition method, it is characterised in that: by the tri coloured lantern of first group of Digit Control Machine Tool in described step (5.2) Signal is stored in variable R method particularly includes: PLC letter in memory address section on reading collecting terminal 1 or 0 value of number tri coloured lantern passed over, respectively three states of corresponding first group of Digit Control Machine Tool, And it is deposited into variable R.
CN201410505522.7A 2014-09-26 Method for acquiring parameters of numerical control machine tool machining process facing networked real-time monitoring Active CN104298173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410505522.7A CN104298173B (en) 2014-09-26 Method for acquiring parameters of numerical control machine tool machining process facing networked real-time monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410505522.7A CN104298173B (en) 2014-09-26 Method for acquiring parameters of numerical control machine tool machining process facing networked real-time monitoring

Publications (2)

Publication Number Publication Date
CN104298173A CN104298173A (en) 2015-01-21
CN104298173B true CN104298173B (en) 2017-01-04

Family

ID=

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060087799A (en) * 2005-01-31 2006-08-03 주식회사정림산업 Apparatus and method with micom control for total monitoring and controlling of small water supply system
EP1927829A3 (en) * 2006-11-30 2008-10-22 Matsushita Electric Works, Ltd. Working process monitoring device
CN203133563U (en) * 2012-11-12 2013-08-14 天津冶金职业技术学院 Remote online detection apparatus for numerical control machine tool
CN103823409A (en) * 2014-02-27 2014-05-28 电子科技大学 Numerical machine tool machining state multi-parameter online active monitoring system and implement method thereof
CN103941645A (en) * 2014-04-09 2014-07-23 南京航空航天大学 Thin-wall part complex working condition machining state monitoring method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060087799A (en) * 2005-01-31 2006-08-03 주식회사정림산업 Apparatus and method with micom control for total monitoring and controlling of small water supply system
EP1927829A3 (en) * 2006-11-30 2008-10-22 Matsushita Electric Works, Ltd. Working process monitoring device
CN203133563U (en) * 2012-11-12 2013-08-14 天津冶金职业技术学院 Remote online detection apparatus for numerical control machine tool
CN103823409A (en) * 2014-02-27 2014-05-28 电子科技大学 Numerical machine tool machining state multi-parameter online active monitoring system and implement method thereof
CN103941645A (en) * 2014-04-09 2014-07-23 南京航空航天大学 Thin-wall part complex working condition machining state monitoring method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
数控机床加工过程网络化监控技术的研究;郭晓军 等;《组合机床与自动化加工技术》;20081231(第9期);第56-58页 *
精密机械加工中的无线网络监控系统探讨;闫清龙;《科技资讯》;20111231(第22期);第56页 *

Similar Documents

Publication Publication Date Title
CN109726234B (en) Integrated circuit test informatization management system based on industrial Internet
CN109144007B (en) Automatic construction system for integration and interconnection of digital workshop manufacturing equipment
CN110971666A (en) Internet of things management system and communication method thereof
CN106597991A (en) Numerically controlled machine tool remote monitoring method and device
CN111611855A (en) Three-dimensional visual robot intelligence system of patrolling and examining of transformer substation
CN105892423A (en) Intelligent-terminal-based intelligent work ticket system for digital workshop
CN109815096A (en) The classified statistic method and system of equipment fault and based on keyword statistics the real-time quality control method of equipment and system
CN110031791A (en) Monitoring method, device, equipment and the readable storage medium storing program for executing of measurement verification system
WO2011105641A1 (en) Resources configuration automation system for relocation of production facilities and method thereof
CN112327780A (en) Digital twin system construction method and architecture of electronic equipment test production line
CN115150589A (en) Video monitoring operation and maintenance management system for coal mine enterprise
CN110689148A (en) Metering equipment fault detection method based on AR technology
CN111168195B (en) IPv 6-based electric welding machine cluster monitoring control method
CN112687022A (en) Intelligent building inspection method and system based on video
CN104007703B (en) System and method is realized in communication between a kind of product virtual parts and actual parts
CN116165484A (en) Fault positioning robot-assisted fixed inspection, inspection and scheduling method based on electric power automation operation and maintenance
CN104298173B (en) Method for acquiring parameters of numerical control machine tool machining process facing networked real-time monitoring
CN103569421A (en) Data collection and analysis device for cigarette packing machine
CN202815512U (en) Informationalized system of remanufactured machine tool
CN108200062B (en) Data management method and system for intelligent instrument equipment
CN110942163A (en) Intelligent maintenance method and system based on big data
Qiang et al. Research of visualization monitoring technology based on internet of things in discrete manufacturing process
CN104238419B (en) Hand-held energy-saving monitoring intelligent work system and method for work
CN110415136A (en) A kind of electric power scheduling automatization system service ability assessment system and method
CN108242028A (en) Substation Bus Arrangement figure and intelligent alarm test case visualization automatic correlation method

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant