Waveform display device that performs automatic extraction
10345778 ยท 2019-07-09
Assignee
Inventors
Cpc classification
G05B19/408
PHYSICS
G05B2219/36177
PHYSICS
G05B19/4068
PHYSICS
G05B2219/40558
PHYSICS
International classification
G08B23/00
PHYSICS
Abstract
A waveform display device is provided that extracts data of a required portion from data outputted from a numerical control. A waveform display device includes: a data acquisition part that acquires a predetermined type of data from output data outputted from a numerical control; a condition determination part that determines a start condition and end condition for extracting partial data from the predetermined type of data based on information from the numerical control; a data extraction part that extracts the partial data corresponding to the start condition and end condition from the predetermined type of data; and a waveform display part that displays the partial data extracted as a waveform.
Claims
1. A waveform display device, comprising: a data acquisition part that acquires a plurality of predetermined types of data from output data outputted from a numerical control, wherein the plurality of predetermined types of data include a program number of a processing program outputted from the numerical control, line number of a program, position command and operating state of the numerical control; a condition determination part that determines a start condition and an end condition for extracting partial data from the plurality of predetermined types of data based on at least one among the program number of the processing program outputted from the numerical control, line number of the program, position command and operating state of the numerical control; a data extraction part that extracts each partial data corresponding to the start condition and end condition from each of the plurality of predetermined types of data; and a waveform display part that displays the partial data associates waveforms of each partial data with time, unifies and displays waveforms of each partial data.
2. The waveform display device according to claim 1, wherein the condition determination part determines the start condition and the end condition, based on input information from external equipment and information from the numerical control.
3. The waveform display device according to claim 2, wherein the input information is a time set in advance, and the condition determination part determines the start condition and the end condition based on the time set in advance and the information from the numerical control.
4. The waveform display device according to claim 2, wherein the condition determination part determines an elapse of a fixed time period since the start condition being established as the end condition.
5. The waveform display device according to claim 1, wherein the condition determination part determines an event of the position command of the processing program starting as the start condition, at a specific program number and specific program line number of the processing program outputted from the numerical control, and wherein the condition determination part determines the event of the position command ending as the end condition, at a specific program number and specific program line number of the processing program outputted from the numerical control.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
DETAILED DESCRIPTION OF THE INVENTION
(4) Hereinafter, an example of an embodiment of the present invention will be explained.
(5) The waveform display device 1 includes a data acquisition part 11, temporary storage part 12, condition determination part 13, data extraction part 14, data storage part 15, and waveform display part 16. Herein, the data acquisition part 11, condition determination part 13, data extraction part 14 and waveform display part 16 are realized by the control unit running predetermined software (program) stored in the waveform display device 1. In addition, the temporary storage part 12 and data storage part 15 are configured by storage devices such as internal memory, non-volatile memory and hard disks.
(6) The data acquisition part 11 acquires a predetermined type of data from the output data outputted from the computer numerical control 2. The data acquisition part 11 stores the acquired predetermined type of data in the temporary storage part 12. Herein, the output data outputted from the numeric control 2 is data included in the processing program outputted from the numeric control 2, for example. The predetermined type of data is set in advance, and can include the program number, program line number, position command of the processing program, condition of the computer numeric control 2, etc., for example.
(7) The temporary storage part 12 temporarily stores the predetermined type of data acquired by the data acquisition part 11. The temporary storage part 12 is configured by a ring buffer, for example. The ring buffer ensures a fixed amount of space, and if the data in the fixed amount of space becomes full, erases in order from oldest data, and overwrites new data.
(8) The condition determination part 13 is connected to the numerical control 2 and external equipment 3, and determines the start condition and end condition for extracting partial data from the predetermined type of data stored in the temporary storage part 12, based on information from the numerical control 2 and external equipment 3.
(9) More specifically, the condition determination part 13, for example, determines the event of a position command of the processing program starting as the start condition, at a specific program number and specific program line number of the processing program outputted from the numerical control 2. In addition, after starting the position command, the condition determination part 13 determines the event of the position command ending as the end condition, at a specific program number and specific program line number of the processing program outputted from the numerical control 2.
(10) As another example, the condition determination part 13 may determine the start condition and end condition based on input information from the external equipment 3 and information from the numerical control 2. For example, the condition determination part 13 determines the start condition and end condition based on the start time and end time set in advance, as the input information from the external equipment 3. In this case, the external equipment 3 is a timer, computer including a timer, or the like, for example.
(11) In addition, instead of the aforementioned end condition, the condition determination part 13 may determine the elapse of a fixed time period since the start condition being established as the end condition, based on the input information from the external equipment 3.
(12) Furthermore, the condition determination part 13 may determine the start condition and end condition based on at least one of the program number of the processing program outputted from the numerical control 2, line number of the program, position command of the processing program and operating state of the numerical control 2, as the information from the numerical control 2.
(13) For example, the condition determination part 13 may determine a condition combining any among the program number of the processing program, line number of the program, position command of the processing program and operating state of the numerical control (CNC) 2 (for example, program number and operating state of the numerical control 2), as the start condition and end condition.
(14) The data extraction part 14 extracts, from the predetermined type of data stored in the temporary storage part 12, partial data corresponding to the start condition and end condition determined by the condition determination unit 13. Then, the data extraction part 14 stores the extracted partial data in the data storage part 15.
(15) The data storage part 15 stores the partial data extracted by the data extraction part 14 to be associated with time. The waveform display part 16 displays the partial data stored in the data storage part 15 by the data extraction part 14 on the display device 4 as a waveform. More specifically, the waveform display part 16 associates the partial data with time, and displays on the display device 4 as a waveform. In other words, the waveform display part 16 unifies the partial data and displays on the display device 4. The display device 4 is a liquid crystal display, organic EL display, etc., for example.
(16)
(17) In the example of
(18) In addition, the condition determination part 13 determines the event of the position command of the processing program 5 ending in program number O0001 and program line number N417 of the processing program 5 outputted from the numerical control 2 as the end condition (end point B of the waveform display 6).
(19) Then, the data extraction part 14 extracts the partial data 61 (shaded part in
(20) The waveform display part 16 displays the extracted partial data 61 on the display device 4 as a waveform. In other words, the waveform display part 16 displays, on the display device 4, a graph in which the horizontal axis is time, and the vertical axis is the partial data 61 (program number, program line number, position command, and operating state of numerical control (CNC) 2).
(21) In the example of
(22) In addition, the operating state of the numerical control 2 is constituted by M_CODE (auxiliary function during execution), S_CODE (spindle-speed function during execution), T_CODE (tool function during execution), AUX_CODE (auxiliary function during execution), POSITIONING (during positioning), CUTTINGFEED (during cutting feed), INPOS_CHECK (during in-position check), DWELL (during dwell), PMCAXIS (PMC axis during execution), SPDL_SARCHK (waiting for spindle speed reached signal), and SPDL_ORIENT (during spindle orientation).
(23) However, the above-mentioned partial data 61 and operating state of the numerical control 2 are examples, and the present invention is not to be limited to these items. In addition, the waveform display device 1 can also use other data outputted from the numerical control 2 as the partial data 61 and operating state of the numerical control 2.
(24)
(25) In Step S2, the condition determination part 13 determines the start condition and end condition for extracting data from the predetermined type of data stored in the temporary storage part 12, based on the information from the numerical control 2 and external equipment 3.
(26) In Step S3, the data extraction part 14 extracts the partial data corresponding to the start condition and end condition determined by the condition determination part 13, from the predetermined type of data stored in the temporary storage part 12. Then, the data extraction part 14 stores the extracted partial data in the data storage part 15. In other words, the data extraction part 14 automatically extracts only the data of the required portion for the user, from the predetermined type of data stored in the temporary storage part 12, and stores in the data storage part 15.
(27) In Step S4, the waveform display part 16 displays the partial data stored in the data storage part 15 by the data extraction part 14 on the display device 4 as a waveform. By displaying the extracted data as a waveform, the user can easily understand the state of the extracted data.
(28) According to the present embodiment, the waveform display device 1 determines the start condition and end condition for extracting the partial data from the output data outputted from the numerical control 2, and extracts the partial data corresponding to the start condition and end condition from the output data. It is thereby possible for the waveform display device 1 to economize the area for data storage in order to store data, compared to a case of storing all of the output data. In addition, the waveform display device 1 can accurately collect data of a required portion for automatically extracting partial data corresponding to the start condition and end condition from the output data. Consequently, it is possible to perform high-precision analysis upon analyzing using a large volume of output data, for example.
(29) In addition, the waveform display device 1 determines the start condition and end condition using input information from the external equipment 3, along with information from the numerical control 2. The waveform display device 1 can thereby more accurately collect data of a required portion.
(30) In addition, the waveform display device 1 determines the start condition and end condition using a time set in advance, along with information from the numerical control 2. The waveform display device 1 can thereby more accurately collect data of a required portion in the set time.
(31) In addition, the waveform display device 1 determines after an elapsed of a fixed time period since the start condition is established as the end condition. The waveform display device 1 can thereby more accurately collect data of a required portion with a fixed time period.
(32) In addition, the waveform display device 1 can more accurately collect data of a required portion outputted from the numerical control 2, by determining the start condition and end condition using at least one among the program number of the processing program, program line number, position command, and operating state of the numerical control 2.
(33) Although an embodiment of the present invention is explained above, the present invention is not to be limited to the aforementioned embodiment. In addition, the effects described in the present embodiment are merely listing the most preferred effects generating from the present invention, and the effects according to the present invention are not to be limited to those described in the present embodiment.
(34) The control method according to the waveform display device 1 is realized by way of software. In the case of being realized by software, the programs constituting this software are installed into a computer (waveform display device 1). In addition, these programs may be recorded on removable media and distributed to the user, or may be distributed by being downloaded to the user's computer via a network.
EXPLANATION OF REFERENCE NUMERALS
(35) 1 waveform display device 2 numerical control 3 external equipment 4 display device 11 data acquisition part 12 temporary storage part 13 condition determination part 14 data extraction part 15 data storage part 16 waveform display part