DISPLAY DEVICE, AND DISPLAY METHOD
20230315040 ยท 2023-10-05
Assignee
Inventors
Cpc classification
G05B2219/37082
PHYSICS
G05B19/19
PHYSICS
G05B19/4068
PHYSICS
International classification
Abstract
The objective of the present invention is to display a correspondence relationship between a specific location in a machining program and specific position in a machining trajectory in such a way as to be immediately understandable, in a display device capable of simultaneously displaying the machining program and the machining trajectory. Acquired position data of a tool, and a character string from a machining program are saved in association with one another, a part of interest of a displayed tool machining trajectory is selected, and a program block comprising a character string from the machining program associated with the selected part of the machining trajectory is selected and is displayed on the displayed machining program, thereby making the relationship between the operation of the tool and the machining program more readily understandable.
Claims
1. A display device comprising: a position data acquirer that acquires tool position data; a machining program acquirer that acquires a machining program; an associated data saver that saves the tool position data acquired by the position data acquirer and a character string of the machining program acquired by the machining program acquirer in association with each other; a machining trajectory display that calculates a tool machining trajectory from the tool position data acquired by the position data acquirer and displays the tool machining trajectory; a machining trajectory selector that selects a portion on the machining trajectory from the tool machining trajectory displayed on the machining trajectory display; an associated portion selector that selects a program block including the machining program character string saved in the associated data saver in association with the portion, which has been selected by the machining trajectory selector, on the machining trajectory; and a machining program display that displays, on the displayed machining program, the program block selected by the associated portion selector distinctively from other character strings.
2. The display device according to claim 1, further comprising: a program block selector that selects a program block of the machining program, wherein the associated portion selector selects a portion on the machining trajectory, which is saved in the associated data saver in association with the program block selected by the program block selector, and the portion, which has been selected by the associated portion selector, on the machining trajectory is displayed distinctively from other portions on the machining trajectory displayed on the machining trajectory display.
3. The display device according to claim 1, wherein the machining program acquirer sequentially acquires the machining program character string every time the position data acquirer acquires the tool position data, thereby acquiring the machining program, and the associated data saver saves, at each point of time of acquisition, the position data acquired by the position data acquirer and the machining program character string acquired by the machining program acquirer in association with each other.
4. The display device according to claim 1, wherein the machining program acquirer acquires an index of the machining program every time the position data acquirer acquires the tool position data, and separately acquires the machining program independently of acquisition of the tool position data by the position data acquirer, and the associated data saver saves, at each point of time of acquisition, the position data acquired by the position data acquirer and the machining program index acquired by the machining program acquirer in association with each other.
5. A display method comprising: a step of acquiring tool position data; a step of acquiring a machining program; a step of saving the acquired tool position data and a character string of the acquired machining program in association with each other; a step of calculating a tool machining trajectory from the acquired tool position data and displaying the tool machining trajectory; a step of selecting a portion on the displayed tool machining trajectory; a step of selecting a program block including the machining program character string associated with the selected portion on the machining trajectory; and a step of displaying, on the displayed machining program, the selected program block.
6. The display method according to claim 5, further comprising: a step of selecting a program block of the machining program; a step of selecting a portion on the machining trajectory, which is associated with the selected program block; and a step of displaying the selected portion on the displayed tool machining trajectory.
7. The display method according to claim 5, wherein in the step of acquiring the machining program, the machining program character string is sequentially acquired every time the tool position data is acquired, and the machining program is acquired accordingly, and in the step of saving the acquired tool position data and the acquired machining program character string in association with each other, the acquired tool position data and the acquired machining program character string are, at each point of time of acquisition, saved in association with each other.
8. The display method according to claim 5, wherein in the step of acquiring the machining program, an index of the machining program is acquired every time the tool position data is acquired, and the machining program is separately acquired independently of acquisition of the tool position data, and in the step of saving the acquired tool position data and the acquired machining program character string in association with each other, the acquired tool position data and the acquired machining program index are, at each point of time of acquisition, saved in association with each other.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
PREFERRED MODE FOR CARRYING OUT THE INVENTION
[0023] Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings.
[0024]
[0025] A display device 20 is a device that displays the machining program for the machine tool and a machining trajectory of a tool of the machine tool, and has a display data acquirer 21, a storage 22 with a ROM/RAM, etc., a date processor/display 23, and a transmitter/receiver 24.
[0026] The display data acquirer 21 is a component that acquires data to be displayed from the machine tool control device 10 and the display device 20 which is also a user interface, and includes a position data acquirer 211, a machining program acquirer 212, a machining trajectory selector 213, and a program block selector 214.
[0027] The tool position data on the machine tool, i.e., position data on the tool according to a command value of the machining program, is sent from the machine tool control device 10 to the position data acquirer 211 via the transmission/reception unit 13 of the machine tool control device 10 and the transmitter/receiver 24 of the display device 20. The tool position data is data obtained in such a manner that tool information such as the diameter, length, and tip end shape of the tool is added to position data on a feed shaft. The tool position data acquired by the position data acquirer 211 is, as described later, saved in association with data such as a character string and index of the machining program, and is used in calculation of the tool machining trajectory.
[0028] The character string of the machining program and the index data are sent from the machine tool control device 10 to the machining program acquirer 212 via the transmission/reception unit 13 of the machine tool control device 10 and the transmitter/receiver 24 of the display device 20. Some machining programs have indices called N-numbers and each assigned to program character strings (program blocks) by a program user (a machine user, a machine builder), others do not. A technique of automatically assigning indices (e.g., program line numbers) to a program, to which no indices are assigned by the user, by the machine tool control device 10 for the sake of convenience in management has also been known.
[0029] The machining trajectory selector 213 acquires data on a particular portion selected on the displayed tool machining trajectory. As a side note, when the user selects a particular portion of interest on the tool machining trajectory displayed on a later-described machining trajectory display 232, the machining trajectory selector 213 acquires data on the selected portion on the tool machining trajectory, and then, such data is saved in a later-described selected data saver 222 of the storage 22. For the acquired and saved portion on the tool machining trajectory, a corresponding (associated) character string (program block) of the machining program is obtained, and is displayed on a machining program display 233 of the data processor/display 23, as described later.
[0030] The program block selector 214 acquires data on a particular character string (program block) selected on the displayed machining program. As a side note, when the user selects a character string (program block) of interest on the machining program displayed on the later-described machining program display 233, the program block selector 214 acquires data on the selected program block, and then, such data is saved in the later-described selected data saver 222 of the storage 22. For the acquired and saved program block, a corresponding (associated) portion on the tool machining trajectory is obtained, and is displayed on the machining trajectory display 232 of the data processor/display 23, as described later.
[0031] The storage 22 has storage devices such as a RPM and a RAM. For example, the ROM stores a program (application) for drawing the tool machining trajectory from the tool position data and data on a display form (design) on the display device 20, and the RAM saves various types of display data acquired by the display device 20, etc. The storage 22 includes an associated data saver 221 and the selected data saver 222.
[0032] In the associated data saver 221, the tool position data acquired by the position data acquirer 211 and the program block (the machining program character string itself or the index of the machining program) acquired by the machining program acquirer 212 are stored as a data set acquired simultaneously, and therefore, these pieces of data are saved as associated data.
[0033] In the selected data saver 222, the data, which is acquired by the machining trajectory selector 213, on the portion selected on the tool machining trajectory on the machining trajectory display 232 and the data, which is acquired by the program block selector 214, on the program block selected on the machining program displayed on the machining program display 233 are saved.
[0034] The data processor/display 23 is a component that performs various types of arithmetic processing or data processing for forming final display data from various types of data acquired by the display data acquirer 21 to display the formed data or that displays the acquired data in its original form. The user can select a location of interest on the tool machining trajectory or the machining program displayed on the data processor/display 23, and therefore, it can be said that the data processor/display 23 also has a user interface function. The data processor/display 23 includes an associated portion selector 231, the machining trajectory display 232, and the machining program display 233.
[0035] The associated portion selector 231 obtains a program block of the machining program corresponding to the portion, which is of interest to the user, acquired by the machining trajectory selector 213, and saved in the selected data saver 222, on the tool machining trajectory with reference to the association between the tool position data and the machining program data in the associated data saver 221. Moreover, the associated portion selector 231 obtains a portion, which corresponds to a program block of interest to the user, acquired by the program block selector 214, and saved in the selected data saver 222, on the tool machining trajectory with reference to the association between the tool position data and the machining program data in the associated data saver 221.
[0036] The machining trajectory display 232 displays the tool machining trajectory calculated based on the tool position data acquired by the position data acquirer 211, and on the entirety (or a large portion) of the displayed machining trajectory, displays the particular portion obtained (selected) on the tool machining trajectory by the associated portion selector 231, e.g., in a color for distinguishing such a portion from other portions. On the tool machining trajectory displayed on the machining trajectory display 232, the user can select a portion of interest with, e.g., a pointer, and the selected data is sent to the machining trajectory selector 213.
[0037] The machining program display 233 displays the entirety (or a large portion) of the machining program acquired by the machining program acquirer 212, and on the entirety (or a large portion) of the displayed machining program, displays the particular program block obtained (selected) by the associated portion selector 231, e.g., in a highlighted form for distinguishing such a portion from other portions. On the machining program displayed on the machining program display 233, the user can select a program block of interest with, e.g., a cursor, and the selected data is sent to the program block selector 214.
[0038] Next,
[0039] Next, a technique of saving the tool machining trajectory and the machining program in association with each other according to a machining program acquisition method will be described with reference to the drawings of the tool machining trajectory and the machining program displayed on the display device. As described above, some machining programs have indices called N-numbers and each assigned to program blocks by a program user (a machine user, a machine builder), others do not. As a method for acquiring the machining program by the display device, there are a technique of acquiring data on a program character string (program block) of the machining program every time the tool position data is sent from the machine tool control device 10 and a technique of acquiring the index of the machining program every time the tool position data is sent and separately acquiring a program character string of the machining program.
[0040]
[0041] On the other hand,
[0042] In the method in which the machining program is read and acquired together with the data on the tool position on the machining trajectory, the character string of the machining program needs to be read at each point of time of acquisition of the data on the tool position on the machining trajectory, and for this reason, there is a problem that it takes time to acquire the data on the entire machining program associated with the data on the tool position on the machining trajectory. On the other hand, in the method in which the machining program is read and acquired separately from the data on the tool position on the machining trajectory, only the index may be read at each point of time of acquisition of the data on the tool position on the machining trajectory, and the entire machining program may be read separately. Thus, the data with the association between the data on the tool position on the machining trajectory and the machining program can be quickly saved. In terms of the speed of data reading/saving, the method using the index is better.
[0043] In a case where the machining program has no indices, the method in which the machining program is read and acquired together with the data on the tool position on the machining trajectory is inevitably employed. In other words, the method in which the machining program is read and acquired together with the data on the tool position on the machining trajectory is applicable to the machining program having no indices, and is higher in versatility.
[0044] Next, a technique of displaying the tool machining trajectory and the machining program in association with each other in the present disclosure will be described with reference to a flowchart of
[0045] As described above, the tool position data and the machining program (character string) are acquired simultaneously in some cases, and the tool position data and the index of the machining program are acquired simultaneously and the machining program (character string) itself is separately acquired in other In a case of simultaneously acquiring the tool position data and the machining program character string, the tool position data and the machining program character string (program block) at the time of acquisition are saved in association with each other. On the other hand, in a case of acquiring the machining program (character string) itself separately from the tool position data, the tool position data and the index of the machining program are saved in association with each other, and accordingly, the tool position data and the machining program are associated with each other. That is, at the time of acquisition of the tool position data and the machining program from the machine tool control device, the tool position data and the machining program are saved in association with each other.
[0046] Next, the tool machining trajectory is calculated from the tool position data and is displayed (Step St3). The displayed tool machining trajectory includes the three-dimensional entire machining trajectory and the two-dimensional machining trajectories displayed in three directions, i.e., directions from above, the front, and the side.
[0047] Next, it is determined, as a purpose for displaying an associated portion, whether a: the user intends Co obtain a program block corresponding to a particular portion on the tool machining trajectory, i.e., the user selects a portion on the machining trajectory to display a corresponding program block, or b: the user intends to obtain a particular portion, which corresponds to a particular program block, on the tool machining trajectory, i.e., the user selects a program block to display a corresponding portion on the machining trajectory (Step St4).
[0048] In a case of selecting the portion on the machining trajectory to display the corresponding program block, i.e., a case where a has been selected in Step St4, the processing transitions to Step St5. In a case of selecting the program block to display the corresponding portion on the machining trajectory, i.e., a case where b has been selected in Step St4, the processing transitions to Step St8.
[0049] In Step St5, the user selects the portion on the displayed tool machining trajectory. This step is performed by the user via the display device (user interface) (e.g., the user traces a predetermined area on the tool machining trajectory with the pointer).
[0050] Then, on the display device, the program block of the machining program associated with the selected portion on the machining trajectory is selected (Step St6), and the selected program block is, by, e.g., highlighting or coloring of the corresponding character string, displayed distinctively from other character strings on the machining program (Step St7). In this manner, the user can grasp the program block corresponding to (associated with) the target portion on the tool machining trajectory, and the purpose is accomplished. Then, this flow ends.
[0051] In Step St8, the user selects the program block of interest on the displayed machining program. This step is performed by the user via the display device (user interface) (e.g., the user moves the cursor to highlight a predetermined area on the machining program).
[0052] Then, on the display device, the portion, which is associated with the selected program block, on the tool machining trajectory is selected (Step St9), and the selected portion on the tool machining trajectory is, by, e.g., coloring of the corresponding location, displayed distinctively from other portions on the tool machining trajectory (Step St10). In this manner, the user can grasp the Portion, which corresponds to (associated with) the target program block, on the tool machining trajectory, and the purpose is accomplished. Then, this flow ends.
[0053] According to the display device and method of the invention of the present disclosure, a relationship between axis operation of the machine, i.e., tool operation, and the machining program is easily grasped. Thus, if a machining defect has been caused during a process in the machine tool, such as cutting/griding, the user easily grasps where on the machining program the machining defect has been caused. Thus, improvement in work efficiency is expected by the display device and method of the invention of the present disclosure.
[0054] Implementation of the present invention has been described above with reference to the illustrative embodiment, but the present invention is not limited to such an illustrative embodiment and can be implemented in various forms without departing from the spirit of the present invention.
EXPLANATION OF REFERENCE NUMERALS
[0055] 10 Machine Tool Control Device [0056] 11 Control Unit (CPU) [0057] 12 Storage Unit (RAM, ROM) [0058] 13 Transmission/Reception Unit [0059] 20 Display Device [0060] 21 Display Data Acquirer [0061] 211 Position Data Acquirer [0062] 212 Machining Program Acquirer [0063] 213 Machining Trajectory Selector [0064] 214 Program Block Selector [0065] 22 Storage (ROM, RAM) [0066] 221 Associated Data Saver [0067] 222 Selected Data Saver [0068] 23 Data Processor/Display (User Interface) [0069] 231 Associated Portion Selector [0070] 232 Machining Trajectory Display [0071] 233 Machining Program Display [0072] 24 Transmitter/Receiver [0073] 30 Machined Product