Machine tool cutter management method, knob screen, machine tool control system and storage medium
Through the communication connection between the knob screen and the control processor, automatic tool selection of CNC machine tools is realized, which solves the problem of low tool selection efficiency of CNC machine tools, improves operating efficiency and simplifies the tool selection process.
Patent Information
- Application Number
- CN202410827524.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-08-30
AI Technical Summary
CNC machine tools have low efficiency in the tool selection process, and it is difficult for operators to observe the status of the tool magazine in real time. Manually loading and unloading tools is inefficient, and the tool selection process is complicated.
The knob screen is used to establish a communication connection with the control processor. Automatic tool selection is realized through the knob and display screen, and tool information and status are displayed in real time. This reduces the number of manual rotations of the tool head and improves tool selection efficiency.
Through the flexible installation position of the knob screen and the automatic tool selection function, the tool selection efficiency of CNC machine tools is improved, the tool selection process is simplified, and the operation complexity is reduced.
Smart Images

Figure CN118567291A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to but are not limited to the technical field of CNC machine tools, and in particular to a method for managing machine tool tools, a knob screen, a machine tool control system, and a storage medium. Background Art
[0002] In the application of CNC machine tools, it is often necessary to replace the tools at the processing position of the machine tool body due to processing requirements. However, in actual applications, it is still necessary to manually load and unload the tools in the tool magazine, and the control module with buttons for tool selection control is often set in front of the tool magazine. It is difficult to observe the situation in the tool magazine in real time in the manual loading and unloading scenario. Therefore, it is necessary to often go to the back of the tool magazine to operate the tool. In the tool selection process, in the related art, the manual loading and unloading of tools in the tool magazine of CNC machine tools is usually achieved by controlling the forward and reverse rotation of the tool disc with two buttons; each time a button is pressed, the tool disc rotates once, and the operation efficiency is low. In addition, after the control module selects the tool number of the tool, it is necessary to wait until the tool disc moves the tool target to the position where the selected tool number is located before it can determine whether there is a tool at the position where the selected tool number is located. The tool selection process is very complicated and inefficient. Summary of the invention
[0003] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of protection of the claims. The embodiments of the present application provide a method for managing machine tool tools, a knob screen, a machine tool control system, and a storage medium, which can solve the problem of low tool selection efficiency of CNC machine tools.
[0004] In the first aspect, according to the management method of machine tool tools provided by the embodiment of the present application, the control processor applied to the knob screen, the knob screen also integrates a knob part and a display screen, and the management method of machine tool tools includes:
[0005] Establishing a communication connection with a control module of a numerically controlled machine tool; wherein the control module is in communication connection with a tool magazine of the numerically controlled machine tool;
[0006] In response to a rotation operation request, determining a tool number when the knob portion stops rotating and displaying tool information on the display screen according to the tool number, wherein the tool information includes the tool number and a corresponding tool state;
[0007] In response to the pressing request, taking the tool number when the knob screen is in the pressed state as the target tool number;
[0008] According to the target tool number, a tool selection request is sent to the control module, so that the control module controls the tool magazine to move the tool corresponding to the target tool number to the target tool position according to the tool selection request.
[0009] In the second aspect, according to the knob screen proposed in the embodiment of the present application, the knob screen integrates a display screen, a knob part and a control processor, and the knob part is used to trigger a rotation operation request; the control processor is used to execute the machine tool tool management method as described in any one of the first aspects, and the display screen is used to display the display information output by the control processor.
[0010] In a third aspect, a machine tool control system according to an embodiment of the present application includes:
[0011] A numerically controlled machine tool, the numerically controlled machine tool comprising a machine tool body, a control module and a tool magazine, the control module being communicatively connected with the machine tool body and the tool magazine;
[0012] A knob screen, wherein the knob screen integrates a display screen, a knob part and a control processor, wherein the control processor is communicatively connected with the control module, and wherein the control processor executes the machine tool tool management method as described in any one of the first aspects.
[0013] In a fourth aspect, a computer-readable storage medium provided according to an embodiment of the present application includes storing computer-executable instructions, wherein the computer-executable instructions are used to implement the machine tool tool management method as described in any one of the first aspects.
[0014] The above-mentioned embodiments of the present application have at least the following beneficial effects: the control processor of the knob screen establishes a communication connection with the control module of the CNC machine tool and triggers the control module to perform the actual tool selection operation through the control processor. The installation position of the knob screen is more flexible, so that the tool magazine status can be observed in real time and automatic tool selection can be achieved. At the same time, the knob operation request can be triggered by the knob part, so that the control processor outputs the tool status corresponding to the tool number on the display screen, and the status of each tool in the tool magazine can be obtained in advance before the tool corresponding to the target tool number is selected. The control processor sends a tool selection request to the control module based on the press request, and there is no need to move each tool to the target tool position during the tool selection process to check whether there is a tool, and the tool selection process is simpler. Therefore, compared with the related art, the embodiment of the present application can make the tool selection efficiency higher by adding a knob screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0016] Figure 1 It is a flowchart of an embodiment of a method for managing machine tool tools provided by the present application;
[0017] Figure 2aThis is a schematic diagram of an interface of an embodiment of a method for managing machine tool tools provided by the present application;
[0018] Figure 2b This is a schematic diagram of an interface of another embodiment of the method for managing machine tool tools provided by the present application;
[0019] Figure 2c This is a schematic diagram of an interface of another embodiment of the method for managing machine tool tools provided by the present application;
[0020] Figure 2d This is a schematic diagram of an interface of another embodiment of the method for managing machine tool tools provided by the present application;
[0021] Figure 2e This is a schematic diagram of an interface of another embodiment of the method for managing machine tool tools provided by the present application;
[0022] Figure 3 It is a schematic diagram of the system structure position corresponding to the machine tool tool management method provided by the present application;
[0023] Figure 4 It is a hardware structure diagram of the machine tool tool management method provided by this application. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art belonging to the technical field of the present application. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application. The terms "first", "second", "third", "fourth", etc. (if present) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order.
[0026] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.
[0027] In the application of CNC machine tools, it is often necessary to replace the tool at the processing position of the machine tool body due to processing requirements. At this time, the control module (such as the operation screen) of the CNC machine tool needs to be used to realize the tool selection of the tool magazine and the tool change processing after the tool selection. However, in actual applications, it is still necessary to manually load and unload the tools in the tool magazine, and the control module with buttons for tool selection control is often set in front of the tool magazine. It is difficult to observe the situation in the tool magazine in real time in the manual loading and unloading scenario. Therefore, it is necessary to often go to the back of the tool magazine to operate the tool. In the tool selection process, in the related art, the manual loading and unloading of tools in the tool magazine of the CNC machine tool is usually realized by controlling the forward and reverse rotation of the tool disk with two buttons; each time a button is pressed, the tool disk rotates once, and the operation efficiency is low. In addition, after the control module selects the tool number of the tool, it is necessary to wait until the tool disk moves the tool target to the position where the selected tool number is located before it can be determined whether there is a tool at the position where the selected tool number is located. The tool selection process is very complicated and inefficient. Based on this, the embodiments of the present application provide a method for managing machine tool tools, a knob screen, a machine tool control system and a storage medium, which can improve the efficiency of tool selection for CNC machine tools.
[0028] Understandably, referring to Figure 1 As shown, according to a method for managing machine tool tools provided in an embodiment of the present application, the method is applied to a control processor of a knob screen, the knob screen also integrates a knob part and a display screen, and the knob screen is located behind a tool magazine of a CNC machine tool. The method for managing machine tool tools includes:
[0029] Step S100, establishing a communication connection with a control module of a CNC machine tool; wherein the control module is in communication connection with a tool magazine of the CNC machine tool;
[0030] Step S200, in response to a rotation operation request, determining the tool number when the knob portion stops rotating and displaying tool information on a display screen according to the tool number, wherein the tool information includes the tool number and a corresponding tool state;
[0031] Step S300, in response to the pressing request, taking the tool number when the knob screen is in the pressed state as the target tool number;
[0032] Step S400: sending a tool selection request to the control module according to the target tool number, so that the control module controls the tool magazine to move the tool corresponding to the target tool number to the target tool position according to the tool selection request.
[0033] Therefore, the control processor of the knob screen establishes a communication connection with the control module of the CNC machine tool and triggers the control module to perform the actual tool selection operation through the control processor. The installation position of the knob screen is more flexible, so that the tool magazine status can be observed in real time and automatic tool selection can be achieved. At the same time, the knob operation request can be triggered by the knob part, so that the control processor outputs the tool status corresponding to the tool number on the display screen, and the status of each tool in the tool magazine can be obtained in advance before the tool corresponding to the target tool number is selected. The control processor sends a tool selection request to the control module based on the press request. There is no need to move each tool to the target tool position during the tool selection process to check whether the tool exists, and the tool selection process is simpler. Therefore, the embodiment of the present application can make the tool selection more efficient by adding a knob screen.
[0034] It should be noted that, compared with buttons, the efficiency of rotation control is higher by rotating the knob screen to trigger the rotation operation request.
[0035] It should be noted that since the knob screen is mainly used for display and message triggering processing, the overall volume can be set smaller, the installation space occupied is smaller, and the installation space requirement is lower. Therefore, the position of the knob screen can be flexibly set according to actual needs, thereby further improving the convenience of tool selection. For example, the control module is in front of the tool magazine of the CNC machine tool, and the knob screen is placed behind the tool magazine, which can further facilitate the observation of the status of the tool magazine and manual operation of the tool magazine.
[0036] It should be noted that the control module is used to perform processing operations on the CNC machine tool and control operations on the tool magazine, such as actual tool selection operations.
[0037] It should be noted that the control module includes an operation screen and a processor, and the embodiment of the present application does not impose too many restrictions on the specific implementation of the control module. The processor can be set as a PLC.
[0038] It should be noted that the rotation operation request will be triggered when the knob part stops rotating. In some embodiments, the knob part includes an encoder, so that the tool number is calculated by recording the number of rotations by the encoder. In other embodiments, the knob part may also include an angle detector for calculating the angle of deflection of the knob screen, so that the tool number can be converted based on the deflection angle. Exemplarily, taking the knob part including an encoder as an example, every time the knob part rotates one grid clockwise, the encoder count is triggered to increase; the knob part rotates counterclockwise, the encoder count is triggered to decrease. Assuming that the number of tools is set to 40, in the initial state, every time the knob part rotates one grid clockwise, the encoder count is triggered, and the encoder counts from zero to add one; when the knob part rotates counterclockwise, the encoder count starts from the number of tools to subtract one. Then, starting from the clockwise rotation, the initial tool number is 1. According to the encoder count, the number of rotations of the knob screen can be known, so the prop code of the tool at the current knob screen position can be converted according to the initial tool number.
[0039] It should be noted that before executing step S200, the control module has already obtained the tool status of each tool in the tool magazine. The tool status can be obtained from the control module in real time when executing step S200, or can be obtained by matching all tool statuses obtained by the control module before the tool selection process starts (i.e., before step S200). Among them, the tool status of the control module is obtained by real-time detection of each tool in the tool magazine before the tool selection process starts.
[0040] It should be noted that the target tool position is selected in the control module, and when the tool moves to the target tool position, the tool can be automatically changed.
[0041] It should be noted that in S300, the knob screen may be in a pressed state, which may be the entire knob screen in a pressed state or part of it in a pressed state, wherein the part in a pressed state may include the display screen in a pressed state or the rotating part in a pressed state, and this embodiment of the present application does not impose any limitation on this.
[0042] It should be noted that the control device can be set as a single-chip microcomputer or a microcontroller chip. The present application does not restrict the selection of the control device. Those skilled in the art can selectively set it according to the volume requirements of the knob screen and the execution function of the control device.
[0043] It is understandable that, in response to the rotation operation request, determining the tool number when the knob portion stops rotating includes:
[0044] In response to the rotation operation request, acquiring an encoder count of an encoder of the knob portion when the knob portion stops rotating;
[0045] Get the preset initial tool number;
[0046] The tool number is obtained based on the initial tool number and the encoding count.
[0047] It should be noted that, in some embodiments, in the initial state, in the case of clockwise rotation, the encoder count of the encoder starts to accumulate from zero. In the initial state, in the case of counterclockwise rotation, the encoder count of the encoder starts to decrease from the preset maximum number of tools.
[0048] Therefore, by determining the calculation method of the tool number based on the initial tool number and the encoding count, the determination of the tool number is simpler.
[0049] For example, assuming that the maximum number of tools is 40 and the initial tool number is 1, the knob rotates one grid clockwise, triggering the encoder count in the knob, and the encoder count increases by one. At this time, the encoder count is 1 and the tool code is 2. That is, 2 and the tool status corresponding to 2 need to be displayed.
[0050] It should be noted that the tool information can be displayed by real-time rendering on the display screen, or after the tool selection display interface of the specified tool number is determined, the tool status in the tool selection display interface can be rendered in real time and displayed, or before entering S200, the tool selection display interface corresponding to each tool number can be pre-rendered and the interface can be loaded and displayed according to the operation of the knob.
[0051] It is understood that the tool information is displayed on the display screen according to the tool number, including:
[0052] Obtain the tool status corresponding to the tool number and the tool selection display interface; wherein the tool status is obtained by the control module through automatic detection of the tool magazine;
[0053] Update the tool selection display interface according to the tool status;
[0054] After the tool selection display interface is updated, the display interface currently displayed on the display screen is switched to the updated tool selection display interface.
[0055] It should be noted that by setting a tool selection display interface corresponding to each tool number, it is only necessary to render, refresh and load the tool status on the tool selection display interface after entering the tool selection process, thereby reducing the number of page renderings and rendering time, and making page processing simpler.
[0056] It should be noted that, in other embodiments, the tool status in the tool selection display interface will be updated when the knob screen enters the tool selection process. At this time, after determining the tool number, the corresponding tool selection display interface can be directly switched.
[0057] It should be noted that after step S100, after receiving the knob screen activation request from the control module, the knob screen will enter the tool selection process. At this time, steps S200 and S300 can be executed to complete the tool selection process.
[0058] For example, Figure 2a As shown, when the knob stops rotating, the tool number is 11, and the tool status is with tool, the tool number is displayed on the knob screen, and with tool is displayed below the tool number, so that it can be quickly determined whether there is a tool based on the tool selection interface, without the need to confirm after the control module rotates the tool to the target tool position.
[0059] It is understandable that the tool status of each tool in the tool magazine is obtained by the control module through the following steps:
[0060] Control the tool in the tool magazine to rotate one circle, and receive the detection result of each tool rotated to a preset detection point by the photoelectric sensor located in the tool magazine;
[0061] According to each detection result, the tool status of each tool in the tool magazine is obtained and the tool status is bound and saved with the corresponding tool number.
[0062] It should be noted that, in some embodiments, the tool is placed on a cutter disc, and the rotation of the tool can be achieved by driving a motor that drives the cutter disc to rotate.
[0063] It should be noted that by setting up a photoelectric sensor in the tool magazine and combining the storage function of the control module to record the detection results of the tool at each tool detection point, it is possible to use one photoelectric sensor to detect the tool status of multiple tools at one time, which is lower in cost and simpler to detect.
[0064] It should be noted that by controlling the tools in the tool magazine to rotate one circle, the status of each tool can be obtained at one time, so that when selecting a tool, there is no need to dynamically obtain the status of the tool in real time, and the tool selection efficiency is higher.
[0065] It is understandable that according to the target tool number, a tool selection request is sent to the control module, including:
[0066] Get the predefined press flag value;
[0067] Add the pressing identification value and the target tool number to obtain the target control value;
[0068] The target control value is encapsulated to obtain a tool selection request and the tool selection request is sent to the control module.
[0069] It should be noted that since the type of data requested by the knob screen to the control module is relatively simple, mainly to obtain the tool status and send a tool selection request, the actual request sent by the knob screen can be distinguished by the size of the target control value (such as defining a target control value below 300 as a tool selection request, and a target control value of 300 and above as a request for tool status). Therefore, by adding the press identification value and the target tool number to obtain a target control value, the amount of data transmitted between the knob screen and the control module can be reduced, thereby reducing the time taken during data transmission and improving the interaction efficiency between the knob screen and the control module.
[0070] For example, in some embodiments, the pressing flag value of the pressing flag g_byRecpressData defined in the program is set to an integer greater than the total number of tools, such as g_byRecpressData=200. Assuming that the target tool number is 15, the target control value is 215. After the control module obtains the target control value 215, 215-200=15 is executed to obtain the target tool number 15.
[0071] It is understood that the method further comprises:
[0072] receiving an operation request from a control module, the operation request including at least one of an activation request, a spindle in-position prompt request, a tool selection activation request, an operation status prompt request, and a door closing prompt request;
[0073] Parsing the operation request to obtain the operation indication value;
[0074] Analyze each bit of the operation indication value to determine the valid bit;
[0075] Determine the request type according to the predefined bits and valid bits of each operation request definition;
[0076] According to the request type, the currently displayed display interface is switched to the prompt interface corresponding to the operation request.
[0077] It should be noted that the activation request is used to prompt whether the knob screen is working normally, the spindle in-position prompt request is used to prompt whether there is a tool on the spindle, and the tool selection activation request is used to allow the tool selection display interface to be displayed; the running status prompt request is used to prompt that the tool in the tool magazine is rotating, and the door closing prompt request is used to prompt that the tool magazine door is open.
[0078] It should be noted that each operation request occupies one bit to represent the operation content, so that the specific operation can be determined based on one byte while clarifying the operation type, and the occupied transmission bandwidth is small. Therefore, this method makes the transmission efficiency between the knob screen and the control module higher.
[0079] It should be noted that the valid bit indicates that the value on the bit is used to indicate that the prompt interface needs to be displayed. Therefore, according to the valid bit, the specific request type can be confirmed to display the corresponding prompt interface. The request type is used to identify whether the operation request is an activation request, a spindle in-position prompt request, a tool selection activation request, an operating status prompt request, or a door closing prompt request.
[0080] For example, Figure 2b As shown, when the request type is a spindle in-position prompt request, Figure 2b As shown, the "spindle tool position" is displayed. When you see this information, you can be sure that the spindle has a tool position and there is no need to repeat the tool change.
[0081] For example, Figure 2c As shown in the figure, when the request type is a door closing prompt request, Figure 2c As shown, it displays "Close Door". When you see this message, you can be sure that the tool magazine door is not closed and you need to close the door first.
[0082] For example, Figure 2d As shown in the figure, when the request type is a running status prompt request, Figure 2d As shown, it displays "in operation". When you see this information, you can determine that the tool magazine is in the process of moving the tool with the target tool number to the target tool position.
[0083] For example, Figure 2e As shown, when the request type is an activation request, Figure 2e As shown, "Activating" is displayed (in some embodiments, an icon may also be displayed). When you see this information, you can determine that the control module has sent an activation request to the knob screen, and you can perform the tool selection operation on the knob screen.
[0084] For example, the 0th to 5th bytes of a byte are assigned to the door closing prompt request, tool position status, tool selection activation request, activation request, operation status prompt request, and spindle in-position prompt request, respectively; wherein the activation request, the door closing prompt request, the operation status prompt request, and the spindle in-position prompt request all correspond to a prompt interface (corresponding to Figure 2e , Figure 2c , Figure 2d as well as Figure 2b ), therefore, when the value of the corresponding bit indicates that it needs to be displayed, the corresponding prompt interface will be directly displayed. The tool selection activation request and the activation request display an activation prompt screen correspondingly, and the tool position status and the tool selection activation request jointly display the tool selection display interface. At this time, when the corresponding bit values all indicate that they need to be displayed, you can choose to display the corresponding prompt interface.
[0085] It is understandable that the door closing prompt request is generated by the control module through the following steps:
[0086] Get the opening and closing status of the tool magazine door.
[0087] When the door opening and closing state indicates that the tool magazine is in an open state, the bit corresponding to the door closing prompt request in the operation indication value is set to a preset valid value;
[0088] The operation indication value set with a preset effective value is encapsulated to obtain a door closing prompt request.
[0089] For example, when the tool magazine door is closed, the control module of the CNC machine tool in normal mode sends a signal 01000001 or 01000011 to the knob screen, and the knob screen displays the initial screen. If the tool magazine door is not closed, the control module of the CNC machine tool sends the sentbyte.0=0 signal to the knob screen, and the knob screen displays the "close door" prompt interface corresponding to the door closing prompt request. Among them, 01000001 and 01000001 represent the operation indication value, and the 0th bit of the operation indication value represents the switch door status of the tool magazine. The 6th bit represents the activation status of the initial screen. That is, when the initial screen is activated, the tool magazine door is in the closed state, the initial screen activation is displayed, and the tool magazine door is in the open state, the "close door" prompt interface is displayed. It should be noted that since the tool magazine must process the closed state before selecting a tool, when the bit corresponding to the door closing prompt request and the bit corresponding to the activation request are both valid values, the request type is determined as a door closing prompt request.
[0090] Therefore, by performing real-time detection on the tool magazine door and initiating a door closing prompt request, the safety of tool magazine operation can be further improved.
[0091] It is understandable that the spindle in-position prompt request is generated by the control module through the following steps:
[0092] A tool selection request is received;
[0093] When the tool selection request indicates that the tool is to be changed at the preset spindle tool position, it is detected whether there is a tool at the spindle tool position;
[0094] When it is detected that there is a tool at the spindle tool position, the bit corresponding to the spindle in-position prompt request in the operation indication value is set to a preset valid value;
[0095] The operation indication value with a preset valid value is encapsulated to obtain a spindle in-position prompt request.
[0096] It should be noted that the target tool position is the position that the tool corresponding to the target tool number should reach in the tool magazine. After the tool reaches the target tool position, the tool change operation between the target tool position and the spindle can be realized through the control module.
[0097] It should be noted that by adding the spindle in-position prompt request, the risk of repeated collisions causing damage to the machine tool can be avoided. The preset effective value indicates that the corresponding prompt screen needs to be displayed.
[0098] For example, if the selected tool position is a tool already on the spindle, the control module of the CNC machine tool will send a signal of 00100101 or 00100111 to the knob screen MCU, and the knob screen will display the "spindle tool position" animation; wherein, 00100101 and 00100111 are both operation indication values, wherein the 5th bit of the operation indication value is used to indicate whether there is a tool on the spindle, and the 2nd bit indicates whether the tool selection function is activated. The 0th bit indicates the status of the tool magazine door, and the 1st bit indicates whether there is a tool. That is, when the selected tool number has been installed on the spindle, "spindle tool position" is displayed to remind the operator that the upper and lower tool operations cannot be performed at this tool position.
[0099] It is understandable that if Figure 2a to 2e as well as Figure 3 As shown, an embodiment of the present application also provides a knob screen, which integrates a display screen, a knob part and a control processor, wherein the knob part is used to trigger a rotation operation request; the control processor is used to execute the above-mentioned machine tool tool management method, and the display screen is used to display the display information output by the control processor.
[0100] It should be noted that the present application does not limit the shape of the knob portion or the shape of the display screen. In some embodiments, Figure 2a As shown, the knob part can be arranged around the display screen, and the control processor is packaged in the housing of the knob screen. The control processor can be a small single-chip microcomputer or microcontroller chip.
[0101] like Figure 3 As shown, a machine tool control system provided by the present application includes:
[0102] The CNC machine tool 100 includes a machine tool body 110, a control module 120 and a tool magazine 130, and the control module 120 is in communication connection with the machine tool body 110 and the tool magazine 130;
[0103] The knob screen 200 integrates a display screen 210, a knob part 220 and a control processor 230. The control processor 230 is connected to the control module 120 for communication. The control processor 230 executes the management method of the machine tool as described above.
[0104] Therefore, by respectively arranging the knob screen 200 and the control module 120 on opposite sides of the tool magazine 130, and by interconnecting the knob screen 200 and the control module 120, it is possible to observe the tool magazine 130 at close range while monitoring the tool magazine 130 and controlling the tool selection process.
[0105] It should be noted that if Figure 2a to 2e As shown, in some embodiments, the knob screen 200 is detachably disposed on the machine tool body 110. It should be noted that, in some embodiments, an emergency stop button 240 is disposed on the knob screen 200, and the tool selection process can be stopped directly by pressing the emergency stop button 240.
[0106] Reference Figure 4 As shown, an embodiment of the present application further provides an electronic device, including:
[0107] One or more processors 301;
[0108] The memory 302 stores one or more programs. When the one or more programs are executed by the one or more processors 301, the one or more processors 301 implement the method provided in any embodiment of the present application.
[0109] The memory 302, as a non-transient network system, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 302 may optionally include a memory 302 remotely arranged relative to the processor 301, and these remote memories 302 may be connected to the processor 301 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0110] The memory 302 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 302 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 302, and the processor 301 is used to call and execute the methods of the embodiments of this application.
[0111] The processor 301 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0112] In some embodiments, the electronic device further comprises:
[0113] Input / output interface, used to realize information input and output;
[0114] Communication interface, used to realize communication interaction between this device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0115] A bus that transfers information between the various components of the device (e.g., processor 301, memory 302, input / output interface, and communication interface);
[0116] The processor 301 , the memory 302 , the input / output interface and the communication interface can be connected to each other in communication within the device via a bus.
[0117] It can be understood that an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, which are used to execute the method provided in any embodiment of the present application.
[0118] An embodiment of the present application also provides a computer program product, including a computer program or computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes a method provided in any embodiment of the present application.
[0119] It is understandable that the system architecture and application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will know that with the evolution of the system architecture and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0120] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0121] In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0122] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process or an execution thread, and a component may be located on a computer or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may communicate, for example, through local or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).
[0123] The above describes some embodiments of the present application with reference to the accompanying drawings, but does not limit the scope of the present invention. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present invention shall be within the scope of the present application.
[0124] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A method for managing machine tool tools, characterized in that: A control processor applied to a knob screen, wherein the knob screen further integrates a knob portion and a display screen, and the management method of the machine tool tool comprises: Establishing a communication connection with a control module of a numerically controlled machine tool; wherein the control module is in communication connection with a tool magazine of the numerically controlled machine tool; In response to a rotation operation request, determining a tool number when the knob portion stops rotating and displaying tool information on the display screen according to the tool number, wherein the tool information includes the tool number and a corresponding tool state; In response to the pressing request, taking the tool number when the knob screen is in the pressed state as the target tool number; According to the target tool number, a tool selection request is sent to the control module, so that the control module controls the tool magazine to move the tool corresponding to the target tool number to the target tool position according to the tool selection request.
2. The method for managing machine tool tools according to claim 1, characterized in that: In response to the rotation operation request, determining the tool number when the knob portion stops rotating comprises: In response to a rotation operation request, acquiring an encoder count of an encoder of the knob portion when the knob portion stops rotating; Get the preset initial tool number; The tool number is obtained according to the initial tool number and the encoding count.
3. The method for managing machine tool tools according to claim 2, characterized in that: The step of displaying tool information on the display screen according to the tool number includes: Acquire a tool state corresponding to the tool number and a tool selection display interface; wherein the tool state is obtained by the control module automatically detecting the tool magazine; According to the tool status, updating the tool selection display interface; After the tool selection display interface is updated, the display interface currently displayed on the display screen is switched to the updated tool selection display interface.
4. The method for managing machine tool tools according to claim 1, characterized in that: The tool status of each tool in the tool magazine is obtained by the control module through the following steps: Controlling the tool in the tool magazine to rotate one circle, and receiving the detection result of each tool rotated to a preset detection point by the photoelectric sensor located in the tool magazine; According to each of the detection results, the tool status of each tool in the tool magazine is obtained and the tool status is bound to and saved with the corresponding tool number.
5. The method for managing machine tool tools according to claim 1, characterized in that: The step of sending a tool selection request to the control module according to the target tool number includes: Get the predefined press flag value; Adding the pressing identification value to the target tool number to obtain a target control value; The target control value is encapsulated to obtain the tool selection request and the tool selection request is sent to the control module.
6. The method for managing machine tool tools according to claim 1, characterized in that: The method further comprises: receiving an operation request from the control module, the operation request comprising at least one of an activation request, a spindle in-position prompt request, a tool selection activation request, an operation status prompt request, and a door closing prompt request; Parsing the operation request to obtain an operation indication value; Parsing each bit of the operation indication value to determine a valid bit; Determine the request type according to the predefined bits defined in each operation request and the valid bits; According to the request type, the currently displayed display interface is switched to a prompt interface corresponding to the operation request.
7. The method for managing machine tool tools according to claim 6, characterized in that: The door closing prompt request is generated by the control module through the following steps: Obtain the door opening and closing status of the tool magazine, When the door opening and closing state indicates that the tool magazine is in an open state, the bit corresponding to the door closing prompt request in the operation indication value is set to a preset valid value; The operation indication value with a preset valid value is encapsulated to obtain the door closing prompt request.
8. The method for managing machine tool tools according to claim 6, characterized in that: The spindle in-position prompt request is generated by the control module through the following steps: receiving the tool selection request; When the tool selection request indicates changing the tool at a preset spindle tool position, detecting whether there is a tool at the spindle tool position; When it is detected that there is a tool at the spindle tool position, the bit corresponding to the spindle in-position prompt request in the operation indication value is set to a preset valid value; The operation indication value with a preset valid value is encapsulated to obtain the spindle in-position prompt request.
9. A knob screen, characterized in that: The knob screen integrates a display screen, a knob part and a control processor, wherein the knob part is used to trigger a rotation operation request; the control processor is used to execute the machine tool tool management method as described in any one of claims 1 to 8, and the display screen is used to display the display information output by the control processor.
10. A machine tool control system, characterized in that: include: A numerically controlled machine tool, the numerically controlled machine tool comprising a machine tool body, a control module and a tool magazine, the control module being communicatively connected with the machine tool body and the tool magazine; A knob screen, wherein the knob screen integrates a display screen, a knob part and a control processor, wherein the control processor is communicatively connected to the control module, and wherein the control processor executes the machine tool tool management method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The method comprises storing computer executable instructions, wherein the computer executable instructions are used to implement the method for managing machine tool tools as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
Property assessing method based on instruction domain analyzing and of numerical control machine tool magazine
CN106695454A
Intelligent tool magazine system suitable for numerical control machine tool and control method of intelligent tool magazine
CN108393724A
External tool supplying and changing method for CNC machine tool
CN115091245A
Method, system and device for rapidly scanning tool positions of tool magazine, processor and computer readable storage medium thereof
CN115542842A
Tool weight detecting system for machine tool
JP1996115113A
Cited By
Numerical control comprehensive practical training system
CN119596840A
