Demonstrator, control method and device thereof and electronic equipment

By using custom window modes and key combination swipe patterns to bypass the damaged screen area, the problem of returning the teach pendant to the factory for repair due to screen damage was solved, achieving efficient on-site maintenance and avoiding production interruptions and increased costs.

CN118893612AActive Publication Date: 2024-11-05GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411141832.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-05
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

The screens of existing industrial robot teach pendants are easily damaged, resulting in screen wear, screen distortion, and unresponsive touch. Large screens may become unresponsive, requiring return to the factory for repair, which affects production and increases repair costs and time.

Method used

By using a custom window mode, the faulty screen area can be bypassed. The teach pendant can be operated in faulty screen mode using key combinations and swipe patterns, allowing for the adjustment and replacement of the custom window area and ensuring the normal use of the teach pendant.

Benefits of technology

No need to return to the factory for repairs, saving repair time and costs, and ensuring normal production in the production workshop.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118893612A_ABST
    Figure CN118893612A_ABST
Patent Text Reader

Abstract

The invention relates to a demonstrator, a control method and device thereof and electronic equipment, and the method comprises the steps: responding to a first touch operation on the demonstrator, starting a user-defined window mode, and switching each key in a first sub-key group in a key group contained in the demonstrator from a first function to a second function; in response to a second touch operation on the first sub-key group, determining a user-defined window area in the touch screen, the user-defined window area determined in the touch screen comprising at least one of the following: selecting a window area in the touch screen and selecting a replacement area of a bad screen area in the touch screen; and in response to the mode switching instruction, switching to a bad screen mode, and in the bad screen mode, realizing a first function by each key in the first sub-key group. By adopting the method and the device, a user can bypass the bad screen area which cannot be touched in the operation process by customizing the window area and replacing the bad screen area, so that the problem that the demonstrator cannot be used after the screen is damaged and needs to be returned to a factory for maintenance is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot teaching pendants, and in particular to a teaching pendant and a control method, device and electronic equipment thereof. Background Art

[0002] Industrial robots are often used in complex production environments. Improper operation by operators, such as touching the teach pendant screen with fingernails, a signature pen, or even a screwdriver, can cause wear and tear on the teach pendant screen. This will not only reduce the service life of the teach pendant screen, but in severe cases, the teach pendant screen will have problems such as screen noise, insensitive touch, and large areas of the screen cannot be touched.

[0003] When the touch is poor or some areas cannot be touched, the teach pendant needs to be returned to the factory for repair. Since the teach pendant must be used in conjunction with the industrial robot in the production workshop, returning the teach pendant to the factory for repair will cause the industrial robot to stop production. It can be seen that the existing method of returning the teach pendant to the factory for repair is time-consuming and costly, and will affect the normal production of the production workshop. Summary of the invention

[0004] In order to overcome the problems existing in the related art, a first aspect of an embodiment of the present invention provides a teaching pendant control method, wherein the teaching pendant includes a touch screen and a button group, wherein the method includes:

[0005] In response to a first touch operation on the teaching pendant, a custom window mode is turned on, and each key in a first sub-key group in the key group is switched from a first function to a second function;

[0006] In response to a second touch operation on the first sub-key group, determining a custom window area in the touch screen, wherein determining the custom window area in the touch screen comprises at least one of the following: selecting a window area in the touch screen, selecting a replacement area for a bad screen area in the touch screen;

[0007] In response to the mode switching instruction, the mode is switched to the bad screen mode, in which each button in the first sub-button group implements the first function.

[0008] Optionally, in an implementation manner, after the step of switching to the bad screen mode in response to the mode switching instruction, the method further includes:

[0009] Receiving a touch operation on a combination key in the key group;

[0010] Determine a first control instruction corresponding to the key combination, wherein the first control instruction includes: displaying an event log, turning on an automatic function, and setting program operation to a single-step mode;

[0011] In response to the first control instruction, a corresponding operation is performed.

[0012] Optionally, in an implementation manner, after the step of switching to the bad screen mode in response to the mode switching instruction, the method further includes:

[0013] Monitoring a sliding screen pattern received by the touch screen;

[0014] Determine a second control instruction corresponding to the sliding screen pattern, wherein the second control instruction includes: displaying a log on the touch screen, opening a robot operation status interface, and pausing an operation task;

[0015] In response to the second control instruction, a corresponding operation is performed.

[0016] Optionally, in an implementation manner, in response to a second touch operation on the first sub-key group, the step of determining a custom window area in the touch screen includes:

[0017] receiving a touch operation on a second button and / or a third button in a first sub-button group in the button group, and adjusting a size of the custom window area in a horizontal direction;

[0018] receiving a touch operation on a fourth button and / or a fifth button in a first sub-button group in the button group, and adjusting a size of the custom window area in a vertical direction;

[0019] After the size of the customized window area is determined, receiving a touch operation on the sixth button in the second sub-button group in the button group, and switching the second button, the third button, the fourth button, and the fifth button in the first sub-button group from the second function to the third function;

[0020] receiving a touch operation on a second button and / or a third button in a first sub-button group in the button group, and adjusting a position of the custom window area in a horizontal direction;

[0021] A touch operation on a fourth button and / or a fifth button in a first sub-button group in the button group is received, and a vertical position of the custom window area is adjusted to select a window area in the touch screen.

[0022] Optionally, in one implementation, the method further includes:

[0023] In the process of adjusting the display parameters of the custom window area, the display parameters of the displayed content are adaptively changed according to the display parameters of the custom window area.

[0024] Optionally, in an implementation manner, in response to a second touch operation on the first sub-key group, the step of determining a custom window area in the touch screen includes:

[0025] In response to a touch operation on at least one of the second button, the third button, the fourth button, and the fifth button of the first sub-button group in the button group, adjusting a position of a replacement area of ​​the bad screen area;

[0026] The bad screen area is selected in the following manner: receiving a click operation of a user on the bad screen area in the touch screen, and selecting the bad screen area according to the click operation.

[0027] Optionally, in an implementation, the method further includes: when a touch operation on the bad screen area is received, mapping the touch operation to the replacement area;

[0028] When the display of the bad screen area changes, the display content of the replacement area changes synchronously.

[0029] Optionally, in an implementation manner, the sliding screen pattern includes at least one of the following: circle, rectangle, triangle.

[0030] A first aspect of an embodiment of the present invention provides a teaching pendant control device, which is applied to a teaching pendant including a touch screen and a key group; wherein the device includes:

[0031] A first response module, configured to, in response to a first touch operation on the teach pendant, start a custom window mode and switch each key in a first sub-key group in the key group from a first function to a second function;

[0032] A second response module, configured to determine a custom window area in the touch screen in response to a second touch operation on the first sub-key group, wherein determining the custom window area in the touch screen comprises at least one of the following: selecting a window area in the touch screen, selecting a replacement area for a bad screen area in the touch screen;

[0033] The third response module is used to respond to the mode switching instruction and switch to the bad screen mode. In the bad screen mode, each button in the first sub-button group realizes the first function.

[0034] Optionally, in one implementation, the device further includes:

[0035] A receiving module, configured to receive a touch operation on a combination key in the key group after the third responding module switches to a bad screen mode in response to a mode switching instruction;

[0036] A first instruction determination module is used to determine a first control instruction corresponding to the key combination, wherein the first control instruction includes: displaying an event log, turning on an automatic function, and setting program operation to a single-step mode;

[0037] The first execution module is used to execute a corresponding operation in response to the first control instruction.

[0038] Optionally, in one implementation, the device further includes:

[0039] A monitoring module, configured to monitor a sliding screen pattern received by the touch screen after the third response module switches to the bad screen mode in response to the mode switching instruction;

[0040] A second instruction determination module, used to determine a second control instruction corresponding to the sliding screen pattern, wherein the second control instruction includes: displaying a log on the touch screen, opening a robot operation status interface, and pausing an operation task;

[0041] The second execution module is used to execute a corresponding operation in response to the second control instruction.

[0042] Optionally, in an implementation manner, the second response module includes:

[0043] A first receiving submodule is used to receive a touch operation on a second key and / or a third key in a first sub-key group in the key group, and adjust a size of a custom window area in a horizontal direction;

[0044] A second receiving submodule is used to receive a touch operation on a fourth button and / or a fifth button in the first sub-button group in the button group, and adjust the size of the custom window area in the vertical direction;

[0045] a third receiving submodule, configured to receive a touch operation on a sixth button in the second sub-button group in the button group after the size of the window area to be customized is determined, and switch the second button, the third button, the fourth button, and the fifth button in the first sub-button group from the second function to the third function;

[0046] a fourth receiving submodule, configured to receive a touch operation on a second button and / or a third button in the first sub-button group in the button group, and adjust a position of the custom window area in a horizontal direction;

[0047] The fifth receiving submodule is used to receive the touch operation on the fourth button and / or the fifth button in the first sub-button group in the button group, and adjust the position of the custom window area in the vertical direction to select the window area in the touch screen.

[0048] Optionally, in one implementation, the device further includes:

[0049] The adaptive display module is used to adaptively change the display parameters of the displayed content according to the display parameters of the custom window area during the process of adjusting the display parameters of the custom window area.

[0050] Optionally, in an implementation manner, the second response module includes:

[0051] an adjusting submodule, configured to adjust a position of a replacement area of ​​the bad screen area in response to a touch operation on at least one of a second button, a third button, a fourth button, and a fifth button of a first sub-button group in the button group;

[0052] The bad screen area is selected in the following manner: receiving a click operation of a user on the bad screen area in the touch screen, and selecting the bad screen area according to the click operation.

[0053] Optionally, in one implementation, the device further includes:

[0054] A mapping module, configured to map the touch operation to the replacement area when a touch operation on the bad screen area is received;

[0055] The synchronous display module is used to synchronously change the display content of the replacement area when the display of the bad screen area changes.

[0056] Optionally, in an implementation manner, the sliding screen pattern includes at least one of the following: circle, rectangle, triangle.

[0057] A third aspect of an embodiment of the present invention provides an electronic device, the electronic device comprising:

[0058] Memory, for storing computer instructions;

[0059] The processor is used to call and execute the computer instructions to implement the teaching pendant control method according to the first aspect of the present invention.

[0060] A fourth aspect of an embodiment of the present invention provides a teach pendant, which includes a touch screen and a button group, wherein the teach pendant adopts the method described in any method embodiment described in the first aspect above, or has a teach pendant control device shown in any device embodiment described in the second aspect above, or has the electronic device described in the third aspect.

[0061] The technical solution of the present invention responds to the first touch operation on the teach pendant, opens the custom window mode, and switches each button in the first sub-button group in the button group from the first function to the second function; responds to the second touch operation on the first sub-button group, determines the custom window area in the touch screen; responds to the mode switching instruction, switches to the bad screen mode, in which each button in the first sub-button group implements the first function. The technical solution of the present invention, by customizing the window area and replacing the bad screen area, can allow the user to bypass the bad screen area that cannot be touched during the operation, effectively solving the problem that the teach pendant cannot be used after the screen is broken and needs to be returned to the factory for repair. Since there is no need to return to the factory for repair, it can save repair time and repair costs, and does not affect the normal production of the production workshop.

[0062] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0064] Figure 1 is a flow chart of a teaching pendant control method according to an exemplary embodiment;

[0065] Figure 2 is a schematic diagram of a button group displayed on a teaching pendant in a broken screen mode according to an exemplary embodiment;

[0066] Figure 3 is a flow chart of another teaching pendant control method according to an exemplary embodiment;

[0067] Figure 4 It is a flowchart of a teaching pendant control method according to a specific example;

[0068] Figure 5 is a flow chart of another teaching pendant control method according to an exemplary embodiment;

[0069] Figure 6 It is a flowchart of a teaching pendant control method according to a specific example;

[0070] Figure 7 is a block diagram of a teaching pendant control device according to an exemplary embodiment;

[0071] Figure 8 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0072] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0073] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0074] According to an embodiment of the present application, a teaching pendant control method is provided, referring to Figure 1 , methods include:

[0075] 100: In response to a first touch operation on the teach pendant, start a custom window mode, and switch each key in a first sub-key group in a key group from a first function to a second function.

[0076] The teaching pendant control method provided in the embodiment of the present application is applied to a teaching pendant including a touch screen and a button group. When a part of the touch screen in the teaching pendant is damaged, the user can trigger the teaching pendant to turn on the custom window mode by performing a first touch operation on the teaching pendant. After entering the custom window mode, the user can further perform corresponding operations to customize the window area in the touch screen.

[0077] The first touch operation may include but is not limited to: single click, double click, long press or slide operation. The first touch operation may act on the touch screen of the teaching pendant, or on one or more specific keys in the key group. The first function of the first sub-key group is to control the movement direction of the robot joint, and the second function is to adjust the size and position of the custom window in the custom window mode.

[0078] 102: In response to a second touch operation on the first sub-key group, determine a custom window area on the touch screen.

[0079] Wherein, determining the custom window area in the touch screen includes at least one of the following: selecting a window area in the touch screen, and selecting a replacement area for the bad screen area in the touch screen.

[0080] The specific sub-operations included in the second touch operation are different depending on the type of the custom window area. The second touch operation can be to sequentially touch one or more keys in the first sub-key group. The specific number of keys to be touched and the order in which the keys are touched can be flexibly set by those skilled in the art, and are not specifically limited in the embodiments of the present application.

[0081] 104: In response to the mode switching instruction, switch to the bad screen mode.

[0082] In the broken screen mode, each key in the first sub-key group realizes the first function.

[0083] The mode switching instruction can be generated by touching a preset button or by specifically touching the touch screen, and no specific limitation is made here. After each button in the first sub-button group realizes the first function, the user can control the robot by operating the teach pendant in the broken screen mode.

[0084] By adopting the teach pendant control method provided in this embodiment, through customizing the window area and replacing the bad screen area, the user can bypass the bad screen area that cannot be touched during the operation, effectively solving the problem that the teach pendant cannot be used after the screen is broken and needs to be returned to the factory for repair. Since there is no need to return to the factory for repair, repair time and repair costs can be saved, and the normal production of the production workshop is not affected.

[0085] Optionally, in an implementation of this embodiment, after switching to the bad screen mode in response to the mode switching instruction, the user can further operate the touch screen after the bad screen area is adjusted by using a touch combination key or a sliding screen pattern. The details are as follows:

[0086] An exemplary process includes the following sub-steps:

[0087] Sub-step 1: the teaching pendant receives a touch operation on a combination key in the key group;

[0088] An exemplary schematic diagram of the teaching pendant in the bad screen mode is as follows: Figure 2 As shown, the teach pendant button group includes 20 buttons, among which buttons 1-18 are the first sub-button group, and 19-20 are the second sub-button group. In the bad screen mode, each button in the first sub-button group returns to the function in the normal mode, i.e., the first function, but new buttons 19 and 20 are added.

[0089] In the bad screen mode, in addition to the first function realized by each key in the first sub-key group, a second sub-key group is added. The user can generate the first control instruction by performing a touch operation on the combination key in the second sub-key group; can generate the first control instruction by performing a touch operation on the combination key in the second sub-key group and the first sub-key group; or can generate the first control instruction by performing a touch operation on the combination key in the first sub-key group.

[0090] The touch operation on the combination keys in the key group may include, but is not limited to: performing touch operations on the combination keys successively, performing touch operations on the combination keys simultaneously, and the like.

[0091] Sub-step 2: Determine the first control instruction corresponding to the key combination;

[0092] The first control instruction includes: displaying an event log, turning on an automatic function, and setting the program operation to a single-step mode.

[0093] Different key combinations correspond to different first control instructions. After determining the specific key included in the touched key combination, the first control instruction corresponding to the touched key combination can be determined based on the preset correspondence between the key combination and the control instruction.

[0094] An exemplary correspondence between the key combination and the first control instruction can be: the F1(19)+-B(9) key combination corresponds to displaying the event log, the F1(19)+Jog(15)+Mot(16) key combination corresponds to turning on the automatic function, and the F2(20)+Mot(16)+-X(1) key combination corresponds to setting the program operation to single-step mode.

[0095] It should be noted that the above only lists the correspondence between three combination keys and control instructions by way of example. In actual implementation, those skilled in the art can flexibly set the correspondence between 15 or even more combination keys and the first control instruction according to actual needs.

[0096] Sub-step 3: In response to the first control instruction, execute a corresponding operation.

[0097] Another exemplary process includes the following sub-steps:

[0098] Sub-step 1: monitoring the sliding pattern received by the touch screen;

[0099] Exemplarily, the sliding screen pattern includes at least one of the following: circle, rectangle, triangle. The above are only exemplary examples of three sliding screen patterns, and the sliding screen pattern is not limited thereto, and may also include a five-pointed star, a straight line, a trapezoid, and a semicircle.

[0100] Sub-step 2: Determine the second control instruction corresponding to the sliding screen pattern;

[0101] Exemplarily, the second control instruction includes: displaying a log on the touch screen, opening a robot operation status interface, and pausing the operation task.

[0102] Different sliding patterns correspond to different second control instructions. After determining the sliding pattern input by the user on the touch screen, the second control instruction corresponding to the sliding pattern input by the user can be determined based on the pre-set correspondence between the sliding pattern and the control instruction.

[0103] An exemplary correspondence between the sliding screen pattern and the second control instruction can be: a circle corresponds to printing a log to the screen; a rectangle corresponds to opening the robot operation status interface; a triangle corresponds to pausing the running task. It should be noted that the above is only an example of the correspondence between the three sliding screen patterns and the control instructions. In the actual implementation process, those skilled in the art can flexibly set them according to actual needs.

[0104] Sub-step 3: In response to the second control instruction, execute a corresponding operation.

[0105] In this embodiment, in order to cope with the situation where some functions are difficult to click out or inconvenient to click with a stylus after the window becomes smaller, a shortcut function of operating the touch screen through a touch combination key or a sliding pattern is provided. This shortcut function can ensure that the user can continue to operate the teach pendant without obstacles.

[0106] According to an embodiment of the present application, a teaching pendant control method is provided, referring to Figure 3 , methods include:

[0107] 300: In response to a first touch operation on the teach pendant, start a custom window mode, and switch each key in a first sub-key group in a key group from a first function to a second function.

[0108] The teaching pendant control method of the embodiment of the present application is applied to a teaching pendant including a touch screen and a button group. In the actual implementation process, when the teaching pendant touch screen is damaged, the user can confirm the position and size of the bad touch point, and then execute the teaching pendant control method provided by the embodiment of the present application. The first touch operation can act on the touch screen of the teaching pendant, or on one or more specific buttons in the button group.

[0109] Reference Figure 2 According to the key group arrangement shown in FIG. 1 , an exemplary first touch operation may be: using the key combination F1 (19) + Start (13) + -X (1) to trigger the teach pendant to turn on the "custom window mode".

[0110] The "+" in buttons 1-18 is the positive direction of the axis, and the "-" is the negative direction of the axis. In the first function, it is used to control the running direction of the robot joint. In the custom mode, switch to the second function to adjust the size and position of the custom window.

[0111] The teach pendant determines a custom window area in the touch screen in response to the second touch operation on the first sub-button group. The custom window area may include, but is not limited to: selecting a window area in the touch screen, selecting a replacement area for the bad screen area in the touch screen. In the embodiment of the present application, the teach pendant selects a window area in the touch screen in response to the second touch operation on the first sub-button group as an example. The specific process of defining the window area in the touch screen is shown in 302-310.

[0112] 302: Receive a touch operation on a second button and / or a third button in a first sub-button group in a button group, and adjust a size of the custom window area in a horizontal direction.

[0113] 304: Receive a touch operation on the fourth button and / or the fifth button in the first sub-button group in the button group, and adjust the size of the custom window area in the vertical direction.

[0114] The touch operation on the keys in the first sub-key group may include but is not limited to: single click, double click and long press. The specific keys indicated by the second key, the third key, the fourth key and the fifth key may be flexibly set by those skilled in the art.

[0115] In an exemplary embodiment, the -X (1) button and the +X (2) button can be set to adjust the size of the teaching software window in the horizontal direction, and the -Y (3) button and the +Y (4) button can be set to adjust the size of the window in the vertical direction.

[0116] Optionally, in an implementation of this embodiment, in the process of adjusting the display parameters of the custom window area, the display parameters of the displayed content are adaptively changed according to the display parameters of the custom window area.

[0117] The displayed content includes: buttons and UI images in the teaching software, etc. The displayed content can be adjusted according to the size of the custom window, and the display parameters of the displayed content can be adaptively changed. Adaptive changes include but are not limited to: changes in the position of the displayed content, the size of the buttons becomes smaller, the font size of the event log becomes smaller or the summary is presented, the taskbar task icon is reduced or collapsed, the program editing text editing function is abbreviated or needs to be called up by a key, etc., so that the display content can be adaptively adjusted in the process of defining the window size.

[0118] It should be noted that step 304 is not limited to being executed after step 302 , but may also be executed before step 302 .

[0119] 306: After the size of the custom window area is determined, receive a touch operation on the sixth button in the second sub-button group in the button group, and switch the second button, the third button, the fourth button, and the fifth button in the first sub-button group from the second function to the third function.

[0120] The second function of the second button, the third button, the fourth button and the fifth button is to adjust the size of the custom window, that is, through these four buttons, the size of the custom window area can be changed along the X axis and the Y axis. The third function is to adjust the position of the custom window on the touch screen, that is, through these four buttons, the position of the custom window area can be changed along the X axis and the Y axis.

[0121] In an exemplary embodiment, the sixth button is Figure 2 As shown in the figure, when pressing F2(20) without exiting the "custom window mode", the function of triggering keys 1 to 4 is switched from adjusting the size of the custom window to adjusting the position of the custom window on the touch screen.

[0122] 308: Receive a touch operation on the second button and / or the third button in the first sub-button group in the button group, and adjust the horizontal position of the custom window area.

[0123] 310: Receive a touch operation on a fourth button and / or a fifth button in a first sub-button group in a button group, and adjust a vertical position of the custom window area to select the window area on the touch screen.

[0124] In an exemplary embodiment, the -X (1) button and the +X (2) button are used to move the custom window in the horizontal direction, and the -Y (3) button and the +Y (4) button are used to move the custom window in the vertical direction.

[0125] It should be noted that step 310 is not limited to being performed after step 308, but can also be performed before step 308. Moreover, the process of adjusting the position of the custom window is not limited to being performed after the process of adjusting the size of the custom window, but can also be performed before it.

[0126] 312: In response to the mode switching instruction, switch to the bad screen mode.

[0127] In the broken screen mode, each key in the first sub-key group realizes the first function.

[0128] After selecting a window area on the touch screen, the user can issue a mode switching instruction by using a key in the touch key group, or by operating the touch screen.

[0129] In an exemplary embodiment, a mode switching instruction is issued by operating the Start key (13), and the teach pendant saves the information of the selected window area in response to the mode switching instruction, and exits the "custom window mode" and switches to the "bad screen mode".

[0130] In the "bad screen mode", the original functions of the buttons remain unchanged, and a combination key function and a sliding screen pattern function are added. These two functions generate control instructions to instruct the teaching pendant operation. The combination key function requires pressing at least two buttons to be triggered. The starting button of the combination key function is the button F1 (19) or F2 (20) contained in the second sub-button group. After the teaching system recognizes that the button is touched, it enters the monitoring state and waits for the input of the next button to trigger the function of the combination key. When the touch operation of F1 (19) or F2 (20) is detected again, the combination key monitoring state is exited, and it is determined that the touch operation of this combination key is completed. That is, the first button and the last button pressed in the combination key touch operation are buttons in the second sub-button group, and the middle button is a button in the first sub-button group.

[0131] The sliding pattern function monitors the sliding pattern input by the user on the touch screen, and generates different control instructions according to the different sliding patterns monitored.

[0132] For specific instructions on generating control instructions based on the combination key function and the sliding screen pattern function and instructing the operation of the teaching pendant, please refer to the relevant content in the aforementioned embodiments and will not be repeated here.

[0133] Refer to the following Figure 2 , Figure 4 A specific example is used to illustrate the control method of the teaching pendant. Figure 4 , methods include:

[0134] 400: Enable custom window mode through key combination.

[0135] The teaching pendant includes Figure 2 The key combination and touch screen are shown. The key combination can be F1(19)+Start(13)+-X(1). By touching the key combination, the teach pendant is triggered to open the "custom window mode".

[0136] 402: Click the F1 button and use the -x, +x or -y, +y buttons to adjust the length and width of the custom window.

[0137] In the custom window mode, the original functions of keys 1 to 18 are changed to functions associated with the "custom window mode", that is, changed from the first function described in the above embodiment to the second function.

[0138] 406: Click the F2 button, and use the -x, +x or -y, +y buttons to move the position of the custom window on the touch screen.

[0139] 408: After confirming the window size and position, click the Start button to save the current changes and exit the custom window mode.

[0140] After switching to custom window mode, the broken screen mode is entered, and the user can touch the screen with a stylus and use the teach pendant in conjunction with combination keys and special sliding patterns.

[0141] By adopting the teach pendant control method provided in this embodiment, the user can bypass the bad screen area that cannot be touched during operation through customized window area, effectively solving the problem that the teach pendant cannot be used after the screen is broken and needs to be returned to the factory for repair. Since there is no need to return to the factory for repair, repair time and cost can be saved, and the normal production of the production workshop is not affected.

[0142] According to an embodiment of the present application, a teaching pendant control method is further provided, referring to Figure 5 , methods include:

[0143] 500: In response to a first touch operation on the teach pendant, start a custom window mode, and switch each key in a first sub-key group in a key group from a first function to a second function.

[0144] When the touch screen of the teaching pendant is damaged, the user can confirm the position and size of the bad touch point, and then execute the teaching pendant control method provided by the embodiment of the present application. The first touch operation can act on the touch screen of the teaching pendant, or on one or more specific keys in the key group.

[0145] Reference Figure 2 According to the arrangement of the key groups shown in , an exemplary first touch operation can be: through the combination key F1(19)+Start(13)++X(2), triggering the teach pendant to turn on the "custom window mode". In the embodiment of the present application, the teach pendant responds to the second touch operation of the first sub-key group and selects a replacement area for the bad screen area on the touch screen as an example. The specific process of selecting a replacement area for the bad screen area on the touch screen is shown in 502-506. Since the bad screen area is cut on the touch screen after turning on the "custom window mode" in this embodiment, it can also be called turning on the "screen cutting mode".

[0146] 502: Receive a click operation from the user on the damaged screen area of ​​the touch screen.

[0147] In the "Custom Window Mode" mode, the teach pendant screen brightness dims and the color turns gray. At this time, the teach pendant monitors the user's touch screen event. The user can click the upper left corner and lower right corner of the broken screen, that is, click two points to confirm the cut screen area. For example: the area of ​​the broken screen point is 1cm*1cm, the user can click the upper left corner and upper right corner of the broken screen area, and the teach pendant system will calculate the x, y coordinates to determine the cut broken screen area area.

[0148] 504: Select the bad screen area based on the click operation.

[0149] 506: In response to a touch operation on at least one of the second button, the third button, the fourth button, and the fifth button of the first sub-button group in the button group, adjust a position of a replacement area for the bad screen area.

[0150] After successfully cutting out the bad screen area, the user can adjust the relative position of the cut screen on the entire screen by pressing the positive and negative X and positive and negative Y buttons.

[0151] The touch operation on the keys in the first sub-key group may include but is not limited to: single click, double click and long press. The specific keys indicated by the second key, the third key, the fourth key and the fifth key may be flexibly set by those skilled in the art.

[0152] In an exemplary embodiment, the -X (1) and +X (2) buttons can be set to adjust the horizontal coordinate position of the bad screen area window, and the -Y (3) and +Y (4) buttons can be set to adjust the vertical coordinate position of the bad area window.

[0153] 508: In response to the mode switching instruction, switch to the bad screen mode.

[0154] In the broken screen mode, each key in the first sub-key group realizes the first function.

[0155] After selecting a window area on the touch screen, the user can issue a mode switching instruction by using a key in the touch key group, or by operating the touch screen.

[0156] In an exemplary embodiment, a mode switching instruction is issued by operating the Start key (13), and the teach pendant saves the information of the selected window area in response to the mode switching instruction, and exits the "custom window mode" and switches to the "bad screen mode". Optionally, in an implementation of this embodiment, when a touch operation is received on the bad screen area, the touch operation is mapped to the replacement area; when the display of the bad screen area changes, the display content of the replacement area changes synchronously.

[0157] The cut screen, or the bad screen area, is the interface area that simulates the cut location at the software level, and is a rectangular window that is generated after the cut. After placing the cut screen to a good touchable position (i.e., the replacement area), clicking the cut screen is equivalent to clicking the cut location. At the same time, when the page sends changes (such as changes in controls, UI, and colors), the changes in the cut location will be synchronized to the cut screen to achieve real-time updates.

[0158] In the "bad screen mode", the original function of the key remains unchanged, and a combination key function and a sliding screen pattern function are added. These two functions are used to generate control instructions to instruct the teach pendant to operate. For the specific instructions on generating control instructions based on the combination key function and the sliding screen pattern function to instruct the teach pendant to operate, please refer to the relevant content in the above embodiment, which will not be repeated here.

[0159] Refer to the following Figure 2 , Figure 6 A specific example is used to illustrate the control method of the teaching pendant. Figure 6 , methods include:

[0160] 600: Enable custom window mode through key combination.

[0161] In this example, the screen cutting mode included in the custom window mode is enabled.

[0162] The teaching pendant includes Figure 2 The key combination and touch screen are shown. The key combination can be F1(19)+Start(13)+﹢X(2). By touching the key combination, the teach pendant is triggered to start the screen cutting mode.

[0163] 602: Determine the area of ​​the cut rectangle by clicking two points at the damaged part of the screen.

[0164] The clipped screen corresponding to the clipped rectangular area can be regarded as the bad screen area.

[0165] 606: The generated cut screen can be moved on the touch screen by using the X and Y keys.

[0166] Clicking Cut Screen is equivalent to operating the screen at the broken part.

[0167] By adopting the teach pendant control method provided in this embodiment, a replacement area for the bad screen area is selected on the touch screen, so that the user can bypass the bad screen area that cannot be touched during operation, effectively solving the problem that the teach pendant cannot be used after the screen is broken and needs to be returned to the factory for repair. Since there is no need to return to the factory for repair, repair time and cost can be saved, and the normal production of the production workshop is not affected.

[0168] The teaching pendant control method provided in the embodiment of the present application monitors the triggering event of the teaching pendant button group, and after monitoring that the combination key corresponding to the "custom window mode" is triggered, it is converted from the current "normal mode" to the "custom window mode", and the original button function is replaced with the special function button in the custom window mode, that is, the key group in the teaching pendant button group is switched from the first function to the second function. Customizing the window area in the "custom window mode" specifically includes selecting a window area in the touch screen or selecting a replacement area for the bad screen area in the touch screen. In the process of customizing the window area, each interface UI adaptively changes the display parameters of the display content such as icons and buttons according to the size of the window area adjustment. After detecting that the "custom window mode" combination key is turned off, it is determined whether the current interface size and position have changed or whether an event of cutting the screen has occurred; if neither of the two exists, it is switched from the "custom window mode" to the "normal mode"; if one of the two exists, it is switched from the "custom window mode" to the "bad screen mode", and after switching to the bad screen mode, more combination key functions and sliding screen pattern functions are enabled, so that the user can continue to operate the teaching pendant in the "bad screen mode".

[0169] It should be noted that the embodiment of the present application is only a solution to bypass the bad screen area that cannot be touched during operation by customizing the window area and replacing the bad screen area, without changing the angle of the teach pendant, and continue to operate the bad screen teach pendant. In the actual implementation process, other solutions can also be used to solve the problem, for example: provide an external screen similar to a display, connect the teach pendant through the USB interface on the teach pendant, project the teach pendant software interface onto the external screen display, and operate the teach pendant through a keyboard or touchpad to solve the bad screen problem.

[0170] According to an embodiment of the present application, a teaching pendant control device is provided, which is applied to a teaching pendant including a touch screen and a key group, referring to Figure 7 , the teaching pendant control device includes the following functional modules:

[0171] A first response module 700, for opening a custom window mode and switching each key in a first sub-key group in the key group from a first function to a second function in response to a first touch operation on the teach pendant;

[0172] A second response module 702 is configured to determine a custom window area in the touch screen in response to a second touch operation on the first sub-key group, wherein determining the custom window area in the touch screen comprises at least one of the following: selecting a window area in the touch screen, and selecting a replacement area for a bad screen area in the touch screen;

[0173] The third response module 704 is used to respond to the mode switching instruction and switch to the bad screen mode. In the bad screen mode, each button in the first sub-button group realizes the first function.

[0174] Optionally, in an implementation of this embodiment, the device further includes:

[0175] A receiving module, configured to receive a touch operation on a combination key in the key group after the third responding module switches to a bad screen mode in response to a mode switching instruction;

[0176] A first instruction determination module is used to determine a first control instruction corresponding to the key combination, wherein the first control instruction includes: displaying an event log, turning on an automatic function, and setting program operation to a single-step mode;

[0177] The first execution module is used to execute a corresponding operation in response to the first control instruction.

[0178] Optionally, in an implementation of this embodiment, the device further includes:

[0179] A monitoring module, configured to monitor a sliding screen pattern received by the touch screen after the third response module switches to the bad screen mode in response to the mode switching instruction;

[0180] A second instruction determination module, used to determine a second control instruction corresponding to the sliding screen pattern, wherein the second control instruction includes: displaying a log on the touch screen, opening a robot operation status interface, and pausing an operation task;

[0181] The second execution module is used to execute a corresponding operation in response to the second control instruction.

[0182] Optionally, in an implementation of this embodiment, the second response module includes:

[0183] A first receiving submodule is used to receive a touch operation on a second key and / or a third key in a first sub-key group in the key group, and adjust a size of a custom window area in a horizontal direction;

[0184] A second receiving submodule is used to receive a touch operation on a fourth button and / or a fifth button in the first sub-button group in the button group, and adjust the size of the custom window area in the vertical direction;

[0185] a third receiving submodule, configured to receive a touch operation on a sixth button in the second sub-button group in the button group after the size of the window area to be customized is determined, and switch the second button, the third button, the fourth button, and the fifth button in the first sub-button group from the second function to the third function;

[0186] a fourth receiving submodule, configured to receive a touch operation on a second button and / or a third button in the first sub-button group in the button group, and adjust a position of the custom window area in a horizontal direction;

[0187] The fifth receiving submodule is used to receive the touch operation on the fourth button and / or the fifth button in the first sub-button group in the button group, and adjust the position of the custom window area in the vertical direction to select the window area in the touch screen.

[0188] Optionally, in an implementation of this embodiment, the device further includes:

[0189] The adaptive display module is used to adaptively change the display parameters of the displayed content according to the display parameters of the custom window area during the process of adjusting the display parameters of the custom window area.

[0190] Optionally, in an implementation of this embodiment, the second response module includes:

[0191] an adjusting submodule, configured to adjust a position of a replacement area of ​​the bad screen area in response to a touch operation on at least one of a second button, a third button, a fourth button, and a fifth button of a first sub-button group in the button group;

[0192] The bad screen area is selected in the following manner: receiving a click operation of a user on the bad screen area in the touch screen, and selecting the bad screen area according to the click operation.

[0193] Optionally, in an implementation of this embodiment, the device further includes:

[0194] A mapping module, configured to map the touch operation to the replacement area when a touch operation on the bad screen area is received;

[0195] The synchronous display module is used to synchronously change the display content of the replacement area when the display of the bad screen area changes.

[0196] Optionally, in an implementation manner of this embodiment, the sliding screen pattern includes at least one of the following: circle, rectangle, triangle.

[0197] about Figure 7 For a more detailed description of the related operations, please refer to the description in the previous method embodiment, which will not be repeated here.

[0198] An embodiment of the present invention further provides a product for implementing various method embodiments of the present invention, which may be a computer software product, or an electronic device or hardware product that installs or integrates the computer software product, and the electronic device has a touch screen and a key group. Preferably, the electronic device is a teaching pendant.

[0199] For example, Figure 8 As shown, the electronic device may include a memory 81 for storing computer instructions, a processor 82 for calling and executing computer instructions to implement the methods provided by the relevant embodiments or implementations of the present invention. Optionally, the electronic device may also include an external communication interface 83 for data communication with the outside.

[0200] An embodiment of the present invention further provides a teaching pendant, which includes a touch screen and a button group, wherein the teaching pendant adopts the teaching pendant control method described in any of the above method embodiments, or has a teaching pendant control device shown in any of the above embodiments, or has the electronic device described in the above embodiments. The teaching pendant is a host computer of an industrial robot controller, which operates the robot to perform operations through buttons and a touch screen, receives operating data in real time, adds instructions to perform point movements, etc. In addition to the touch screen and the button group, the teaching pendant also includes an indicator light, a key switch, an emergency stop switch, a power cord, and a plastic shell. The button group can be set on a membrane keyboard of the teaching pendant.

[0201] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0202] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0203] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0204] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0205] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0206] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0207] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0208] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A teaching pendant control method, wherein the teaching pendant comprises a touch screen and a button group, characterized in that: The method comprises: In response to a first touch operation on the teaching pendant, a custom window mode is turned on, and each key in a first sub-key group in the key group is switched from a first function to a second function; In response to a second touch operation on the first sub-key group, determining a custom window area in the touch screen, wherein determining the custom window area in the touch screen comprises at least one of the following: selecting a window area in the touch screen, selecting a replacement area for a bad screen area in the touch screen; In response to the mode switching instruction, the mode is switched to the bad screen mode, in which each button in the first sub-button group implements the first function.

2. The method according to claim 1, characterized in that After the step of switching to the bad screen mode in response to the mode switching instruction, the method further includes: Receiving a touch operation on a combination key in the key group; Determine a first control instruction corresponding to the key combination, wherein the first control instruction includes: displaying an event log, turning on an automatic function, and setting program operation to a single-step mode; In response to the first control instruction, a corresponding operation is performed.

3. The method according to claim 1, characterized in that After the step of switching to the bad screen mode in response to the mode switching instruction, the method further includes: Monitoring a sliding screen pattern received by the touch screen; Determine a second control instruction corresponding to the sliding screen pattern, wherein the second control instruction includes: displaying a log on the touch screen, opening a robot operation status interface, and pausing an operation task; In response to the second control instruction, a corresponding operation is performed.

4. The method according to claim 1, characterized in that: In response to a second touch operation on the first sub-key group, the step of determining a custom window area in the touch screen includes: receiving a touch operation on a second button and / or a third button in a first sub-button group in the button group, and adjusting a size of the custom window area in a horizontal direction; receiving a touch operation on a fourth button and / or a fifth button in a first sub-button group in the button group, and adjusting a size of the custom window area in a vertical direction; After the size of the customized window area is determined, receiving a touch operation on the sixth button in the second sub-button group in the button group, and switching the second button, the third button, the fourth button, and the fifth button in the first sub-button group from the second function to the third function; receiving a touch operation on a second button and / or a third button in a first sub-button group in the button group, and adjusting a position of the custom window area in a horizontal direction; A touch operation on a fourth button and / or a fifth button in a first sub-button group in the button group is received, and a vertical position of the custom window area is adjusted to select a window area in the touch screen.

5. The method according to claim 4, characterized in that The method further comprises: In the process of adjusting the display parameters of the custom window area, the display parameters of the displayed content are adaptively changed according to the display parameters of the custom window area.

6. The method according to claim 1, characterized in that In response to a second touch operation on the first sub-key group, the step of determining a custom window area in the touch screen includes: In response to a touch operation on at least one of the second button, the third button, the fourth button, and the fifth button of the first sub-button group in the button group, adjusting a position of a replacement area of ​​the bad screen area; The bad screen area is selected in the following manner: receiving a click operation of a user on the bad screen area in the touch screen, and selecting the bad screen area according to the click operation.

7. The method according to claim 6, characterized in that The method further comprises: When a touch operation on the bad screen area is received, mapping the touch operation to the replacement area; When the display of the bad screen area changes, the display content of the replacement area changes synchronously.

8. The method according to claim 3, characterized in that The sliding screen pattern includes at least one of the following: circle, rectangle, triangle.

9. A teaching pendant control device, applied to a teaching pendant including a touch screen and a key group; characterized in that: The device comprises: A first response module, configured to, in response to a first touch operation on the teach pendant, start a custom window mode and switch each key in a first sub-key group in the key group from a first function to a second function; A second response module, configured to determine a custom window area in the touch screen in response to a second touch operation on the first sub-key group, wherein determining the custom window area in the touch screen comprises at least one of the following: selecting a window area in the touch screen, selecting a replacement area for a bad screen area in the touch screen; The third response module is used to respond to the mode switching instruction and switch to the bad screen mode. In the bad screen mode, each button in the first sub-button group realizes the first function.

10. An electronic device, characterized in that: The electronic device comprises: Memory, for storing computer instructions; A processor is used to call and execute the computer instructions to implement the teaching pendant control method described in any one of claims 1-8.

11. A teaching pendant, comprising a touch screen and a button group, characterized in that: The teaching pendant adopts the method as described in any one of claims 1 to 8, or has a teaching pendant control device as described in claim 9, or has an electronic device as described in claim 10.

Citation Information

Patent Citations

  • Display region adjustment method and apparatus

    CN105867800A

  • System and method for altering interactive element placement based around damaged regions on a touchscreen device

    US20150193074A1

  • Information processing method and apparatus, and multi-functional device

    WO2022037255A1

  • Screen display method, screen display apparatus, and computer readable storage medium

    WO2023207781A1