Information acquisition methods for motor equipment, motor control equipment, media and systems
By introducing a graphic element list area and an editing area into the interactive interface of motor equipment, intuitive acquisition and flexible control of motor operation information are achieved, solving the problem of inconsistent information display on the interface of linear motor equipment and improving user experience and information acquisition efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI GOLYTEC AUTOMATION CO LTD
- Filing Date
- 2026-03-31
- Publication Date
- 2026-06-30
AI Technical Summary
The software interface information displayed by linear motor equipment does not meet the needs of users, resulting in a poor user experience, and the information is too complicated and difficult to find.
A method for acquiring information about motor equipment is provided. The method acquires information-acquiring elements selected by the user through the element list area and element editing area in the interactive interface, and obtains motor operation information based on the selected elements. The method supports element parameter display, editing and attribute setting, and establishes a control flowchart.
It enhances the intuitiveness and convenience of information acquisition, improves the user experience, and increases the efficiency and flexibility of information acquisition.
Smart Images

Figure CN122308683A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial automation technology, specifically providing a method for acquiring information from motor equipment, a motor control device, a medium, and a system. Background Technology
[0002] The software interface of linear motor equipment can present different types of information. However, the information displayed on the interface is determined by the software developers and may not match the actual user's needs. Or, due to the excessive complexity of the displayed information, users may need to spend a long time searching, resulting in a poor user experience.
[0003] Accordingly, there is a need in the field for a new method for acquiring information about motor equipment to solve the above problems. Summary of the Invention
[0004] In order to overcome the above-mentioned deficiencies, this application is made to provide a solution, or at least a partial solution, to the technical problem of how to improve the user experience in the process of obtaining information about motor equipment.
[0005] In a first aspect, this application provides a method for acquiring information about an electrical device, the method comprising:
[0006] The interactive interface includes a graphic element list area and a graphic element editing area; the graphic element list area is used to display candidate graphic elements for information retrieval.
[0007] Get the first selection operation command from the element list area;
[0008] Based on the first selection operation command, the selected information is displayed in the element editing area to obtain the element;
[0009] Based on the information displayed in the graphic element editing area, graphic elements are obtained, and the corresponding motor operation information is retrieved.
[0010] In one embodiment of the information acquisition method for motor equipment of this application, before acquiring the corresponding motor operation information, at least one of the following is included:
[0011] The information displayed retrieves the element parameters of the graphic element;
[0012] Edit information to obtain the primitive parameters of primitives;
[0013] After obtaining the corresponding motor operation information based on the information displayed in the graphic element editing area, the process also includes: displaying the motor operation information obtained from the graphic element.
[0014] In one embodiment of the information acquisition method for motor equipment of this application, the method further includes:
[0015] Based on the acquired information, the attribute expansion command of the acquired graphic element is obtained, and the attribute setting sub-interface of the acquired graphic element is displayed in the graphic element editing area. The attribute setting sub-interface is used to display the graphic element parameters of the acquired graphic element, edit the graphic element parameters of the acquired graphic element, and / or display the motor operation information obtained by the acquired graphic element.
[0016] In one embodiment of the information acquisition method for motor equipment in this application, the display information acquisition element's element parameters include:
[0017] The names of each graphic element parameter are displayed sequentially in multiple first cells; the multiple first cells are arranged in a first direction;
[0018] At the specified location of the first cell, the corresponding second cell is displayed; the second cells are arranged according to the first direction, and the second cells are used to display the configuration information of the graphic element parameters, or the second cells are used to display the obtained motor operation information.
[0019] In one embodiment of the information acquisition method for motor equipment of this application, the graphic element parameters for editing information to acquire graphic elements include at least one of the following:
[0020] After obtaining the addition operation instruction corresponding to the information acquisition element, increase the number of second cells corresponding to each first cell at the specified position of the first cell;
[0021] After obtaining the deletion operation instruction corresponding to the information element, reduce the number of second cells corresponding to each first cell at the specified position of the first cell;
[0022] Once the information is obtained, the corresponding editing operation instructions for the graphic element are retrieved. Based on the cell position information and the editing operation instructions, the configuration information of the corresponding graphic element parameters is updated.
[0023] In one embodiment of the information acquisition method for motor equipment in this application, the motor operation information includes at least one of the following: mover offset information, system status information, mover quantity information, mover status information, mover movement information, and workstation arrival information.
[0024] In one embodiment of the information acquisition method for motor equipment in this application, the element list area is also used to display candidate logic control elements;
[0025] The method also includes:
[0026] Obtain the second selection operation command from the element list area;
[0027] Based on the second selection operation command, the selected logic control element is displayed in the element editing area.
[0028] In one embodiment of the information acquisition method for motor equipment of this application, before acquiring the corresponding motor operation information based on the information displayed in the element editing area, the method further includes:
[0029] A control flow diagram is established based on the elements displayed in the element editing area; the elements displayed in the element editing area include at least one information acquisition element, or the elements displayed in the element editing area include at least one information acquisition element and at least one logic control element.
[0030] Operation control flowchart.
[0031] In one embodiment of the information acquisition method for motor equipment in this application, the operation control flowchart includes:
[0032] According to the arrangement of elements in the control flow diagram, the control program corresponding to each element in the control flow diagram is run. The arrangement of elements includes hierarchical relationships and / or parallel relationships.
[0033] In one embodiment of the information acquisition method for motor equipment in this application, an interactive interface is displayed, including:
[0034] Display at least one of the following information acquisition elements in the element list area: mover movement acquisition element, mover offset acquisition element, mover status acquisition element, quantity acquisition element, system status acquisition element, and station mover arrival acquisition element.
[0035] In a second aspect, a motor control device is provided, comprising:
[0036] At least one processor;
[0037] And, a memory that is communicatively connected to at least one processor;
[0038] The memory stores a computer program, which, when executed by at least one processor, implements the information acquisition method for the motor device described above.
[0039] In a third aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored therein, the program codes being adapted to be loaded and run by a processor to perform the information acquisition method of the motor device described in any of the preceding claims.
[0040] In a fourth aspect, an industrial automation system is provided, comprising at least one actuator module, at least one stator module, at least one motor control module, and at least one display module, wherein:
[0041] The stator module includes at least one stator module, and operating devices are distributed around the stator module;
[0042] The moving module is used for magnetic coupling with the stator module and for moving along the stator module;
[0043] A display module is used to display at least one interactive interface;
[0044] The motor control module is used to obtain a first selection operation command from the graphic element list area of the display interface; based on the first selection operation command, display the selected information graphic element in the graphic element editing area of the display interface; and obtain the corresponding motor operation information based on the information graphic element displayed in the graphic element editing area.
[0045] The above-described technical solutions of this application have at least one or more of the following beneficial effects:
[0046] The method for acquiring information about motor equipment provided in this application first displays an interactive interface, which includes a graphic element list area and a graphic element editing area. The graphic element list area is used to display candidate graphic elements for information acquisition. A first selection operation command is obtained from the graphic element list area. Based on the first selection operation command, the selected graphic element for information acquisition is displayed in the graphic element editing area. Based on the graphic element for information acquisition displayed in the graphic element editing area, the corresponding motor operation information is acquired. By adopting a visual interface and graphic element interaction to acquire information about motor equipment, the interface display and operation are more intuitive and convenient, which can effectively improve the efficiency and flexibility of information acquisition and significantly improve the user experience. Attached Figure Description
[0047] The disclosure of this application will become more readily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this application. Furthermore, similar numbers in the drawings are used to denote similar components, wherein:
[0048] Figure 1 This is a schematic diagram of the main flow of an information acquisition method for motor equipment in one embodiment of this application;
[0049] Figure 2 This is a schematic diagram of the attribute setting sub-interface for obtaining primitives by moving a moving element in one embodiment of this application;
[0050] Figure 3 This is a schematic diagram of the attribute setting sub-interface for obtaining the moving element bias in one embodiment of this application;
[0051] Figure 4 This is a schematic diagram of the attribute setting sub-interface for obtaining the state of a moving element in one embodiment of this application;
[0052] Figure 5 This is a schematic diagram of the attribute setting sub-interface for quantity acquisition elements in one embodiment of this application;
[0053] Figure 6 This is a schematic diagram of the attribute setting sub-interface of the system status acquisition element in one embodiment of this application;
[0054] Figure 7 This is a schematic diagram of the attribute setting sub-interface for the station mover to arrive at the obtained graphic element in one embodiment of this application;
[0055] Figure 8 This is a schematic diagram of the interactive interface in one embodiment of this application;
[0056] Figure 9 This is a schematic diagram of the interactive interface in another embodiment of this application;
[0057] Figure 10 This is a schematic diagram of the main structure of the motor control device in one embodiment of this application. Detailed Implementation
[0058] Some embodiments of this application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of this application and are not intended to limit the scope of protection of this application.
[0059] In the description of this application, "module" and "processor" can include hardware, software, or a combination of both. A module can include hardware circuitry, various suitable sensors, communication ports, memory, and can also include software components, such as program code, or a combination of software and hardware. A processor can be a central processing unit, microprocessor, image processor, digital signal processor, or any other suitable processor. The processor has data and / or signal processing capabilities. The processor can be implemented in software, in hardware, or a combination of both. Non-transitory computer-readable storage media includes any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The terms "at least one A or B" or "at least one of A and B" have a similar meaning to "A and / or B" and can include only A, only B, or A and B. The singular terms "a" or "this" can also include plural forms.
[0060] The information acquisition method provided in this application is applied to an electric motor device, which may include multiple moving parts and at least one track assembly. The track assembly is formed by splicing together one or more track parts. One of the track assembly and the moving parts is provided with an excitation component, which generates a variable magnetic field when energized. The other of the track assembly and the moving parts is provided with a magnetic component. After the magnetic component interacts with the variable magnetic field generated by the energized excitation component, an electromagnetic force is generated that acts on the moving parts. The electromagnetic force drives each moving part to move along the track assembly.
[0061] Optionally, depending on the shape of the movement path formed by the track assembly along the deployment direction, multiple moving parts can perform linear movement (such as straight-line movement or curvilinear movement) along the track assembly. The excitation component can be based on a coil; the magnetic component is an object with a magnetic field, such as a permanent magnet or a magnet; the track assembly can also be called a stator assembly, armature assembly, etc., and the track component can also be called a stator component, winding component, etc.; the moving part can also be called a mover component.
[0062] See appendix Figure 1 , Figure 1 This is a schematic flowchart illustrating the main steps of an information acquisition method for an electric motor device according to an embodiment of this application. Figure 1 As shown, the information acquisition method for motor equipment in this application embodiment mainly includes the following steps S10-S40.
[0063] Step S10: Display the interactive interface, which includes a graphic element list area and a graphic element editing area; the graphic element list area is used to display candidate information acquisition graphic elements.
[0064] The interactive interface is a visual human-machine interface used to display graphic elements, receive user operations, and present the data interaction results of motor equipment.
[0065] The graphic element list area is a preset graphic element display area in the interactive interface, used to display candidate function graphic elements that can be called. The graphic element list area contains at least a variety of information retrieval graphic elements.
[0066] The graphic element editing area is the editing area in the interactive interface, used to load or edit selected graphic elements, or to form a control flow diagram based on the selected graphic elements.
[0067] Information acquisition primitives are visual functional components that encapsulate the corresponding programs for motor equipment.
[0068] Specifically, the visualization software renders and displays an interactive interface, which is divided into an independent element list area and an element editing area. The element list area can preload and display all available candidate elements for users to select as needed.
[0069] Step S20: Obtain the first selection operation instruction from the element list area.
[0070] The first selection operation instruction is a command signal generated in response to user operations such as selection, dragging, or clicking of information-retrieving elements in the element list area.
[0071] Specifically, the visualization software monitors and obtains the first selection operation instruction from the element list area in real time. This instruction is generated by the user performing a selection operation on any one or more information-acquired elements in the element list area.
[0072] Step S30: Based on the first selection operation instruction, display the selected information in the graphic element editing area to obtain the graphic element.
[0073] Specifically, the visualization software responds to and parses the first selection operation command, identifies the information acquisition element selected by the user, and loads the selected information acquisition element from the element list area into the element editing area for visualization display.
[0074] Step S40: Based on the information displayed in the graphic element editing area, obtain the graphic elements and the corresponding motor operation information.
[0075] Specifically, the corresponding running program for a graphic element is obtained based on the information displayed in the graphic element editing area, and the corresponding program is triggered to collect and output motor running information that matches the graphic element obtained with the information.
[0076] Based on steps S10-S40 above, an interactive interface is first displayed, which includes a graphic element list area and a graphic element editing area. The graphic element list area is used to display candidate information acquisition graphic elements. A first selection operation command is obtained from the graphic element list area. Based on the first selection operation command, the selected information acquisition graphic element is displayed in the graphic element editing area. Based on the information acquisition graphic element displayed in the graphic element editing area, the corresponding motor operation information is obtained. By adopting a visual interface and graphic element interaction method to achieve information acquisition of motor equipment, the interface display and operation are more intuitive and convenient, which can effectively improve the efficiency of information acquisition, enhance the flexibility of information acquisition, and significantly improve the user experience.
[0077] The method for obtaining information about the motor equipment described in this application will be explained in detail below.
[0078] Based on the information acquisition function implemented by the information acquisition graphic element, one or more information acquisition graphic elements may exist. In a specific embodiment of the information acquisition method for motor equipment in this application, the interactive interface is displayed, including: displaying at least one of the following information acquisition graphic elements in the graphic element list area: mover movement acquisition graphic element, mover offset acquisition graphic element, mover status acquisition graphic element, quantity acquisition graphic element, system status acquisition graphic element, and station mover arrival acquisition graphic element.
[0079] Specifically, the interactive interface is divided into a graphic element list area, which presents a variety of information acquisition graphic elements that users can select. Among them, the information acquisition graphic elements that users can select include at least one or more of the following: mover movement acquisition graphic elements, mover offset acquisition graphic elements, mover status acquisition graphic elements, quantity acquisition graphic elements, system status acquisition graphic elements, and workstation mover arrival acquisition graphic elements.
[0080] By displaying various information acquisition elements in the element list area, the information collection functions of different objects can be visualized, making it easy for users to intuitively identify the required functions and quickly select them, thus providing a foundation for building control flow diagrams in the element editing area later.
[0081] In one specific embodiment of the information acquisition method for motor equipment in this application, before acquiring the corresponding motor operation information, at least one of the following is included: displaying the element parameters of the information acquisition element; editing the element parameters of the information acquisition element; after acquiring the corresponding motor operation information based on the information acquisition element displayed in the element editing area, the method further includes: displaying the motor operation information acquired by the information acquisition element.
[0082] Graphical element parameters refer to the configuration parameters and parameter information of the information acquisition graphic element that are visually presented in the interactive interface.
[0083] Specifically, before acquiring the corresponding motor operating information, all configurable graphic element parameters of the selected information acquisition element can be pre-visualized, and users can customize and modify these parameters. After the corresponding program is run based on the information displayed in the graphic element editing area and the corresponding motor operating information is successfully acquired, the acquired motor operating data can be presented on the display interface, allowing operators to view the obtained motor operating information and improving the intuitiveness of the entire operation process.
[0084] In one specific embodiment of the information acquisition method for motor equipment in this application, it further includes: displaying an attribute setting sub-interface for the information acquisition graphic element in the graphic element editing area based on the attribute expansion instruction of the acquired information acquisition graphic element; the attribute setting sub-interface is used to display the graphic element parameters of the information acquisition graphic element, edit the graphic element parameters of the information acquisition graphic element, and / or display the motor operation information acquired by the information acquisition graphic element.
[0085] Attribute expansion commands refer to control commands generated by users to retrieve graphic elements based on information already displayed in the graphic element editing area, such as expanding or double-clicking.
[0086] The attribute setting sub-interface refers to an independent interactive sub-window that pops up or expands within the element editing area, used to configure parameters, view content, or display results for a single information acquisition element.
[0087] Specifically, upon receiving an instruction to expand the attributes corresponding to an information acquisition element already loaded into the element editing area, a sub-interface for setting the attributes of the information acquisition element is displayed in the element editing area. This sub-interface not only visually presents the element parameters corresponding to the information acquisition element, allowing users to intuitively view the current configuration, but also allows users to customize and modify the displayed element parameters. Furthermore, after information acquisition is complete, it can display the motor operating information actually read by the information acquisition element, improving the intuitiveness of data viewing. It should be understood that the attribute setting sub-interface can be opened at any time (e.g., before, during, and after program execution), allowing users to view and edit element parameters or display the motor operating information corresponding to the information acquisition element at any time.
[0088] For example, Figure 2 This can serve as an example of an attribute setting sub-interface for acquiring graphic elements through the movement of a mover. This sub-interface includes editable parameters such as number, log mode, and mover ID (the mover identifier). It also includes acquisition parameters such as the mover's actual position, actual speed, and return value. The configuration information for the editable parameters indicates the content that the parameter is configured for. For example, the configuration information for the number parameter can be manually set or automatically assigned by the program. The configuration information for the log mode parameter includes on and off mode information. When the log mode parameter indicates on mode, information related to the acquired graphic elements through the mover's movement can be saved, such as the movement information acquired within different acquisition periods. When the log mode parameter indicates off mode, the saving of information related to the acquired graphic elements through the mover's movement stops. The parameters are used to indicate the specific meaning of the acquired information. For example, the actual position parameter indicates the actual position of the mover identified in the current acquisition cycle, the actual speed parameter indicates the actual speed of the mover identified in the current acquisition cycle, and the return value parameter indicates the execution status of the acquisition program corresponding to the mover's movement acquisition primitive in the current acquisition cycle, including execution success, failure, and execution medium.
[0089] For example, Figure 3This can serve as an example of an attribute setting sub-interface for acquiring elements based on mover offsets. This sub-interface includes editable parameters such as number, log mode, and mover ID, as well as acquisition parameters such as mover offset value and return value. The configuration information for editable parameters indicates the content being configured. For example, the configuration information for the number parameter can be manually set or automatically assigned by the program. The configuration information for the log mode parameter includes on and off mode information. When the log mode parameter indicates on mode, relevant information about the acquired elements based on mover offsets can be saved, such as mover offset information acquired in different acquisition periods. When the log mode parameter indicates off mode, the saving of relevant information about the acquired elements based on mover offsets stops. Acquisition parameters indicate the specific meaning of the acquired information. For example, the mover offset value parameter indicates the actual offset value of the mover identified in the current acquisition period, and the return value parameter indicates the execution status of the acquisition program corresponding to the acquired element based on mover offsets in the current acquisition period, including execution success, failure, and execution mode.
[0090] For example, Figure 4 This can serve as an example of an attribute setting sub-interface for acquiring the status of moving elements. This sub-interface includes editable parameters such as number, log mode, and moving element ID, as well as acquisition parameters such as moving element status, actual position, actual speed, and return value. The configuration information for the editable parameters indicates the content that the parameter is configured to. For example, the configuration information for the number parameter can be manually set or automatically assigned by the program. The configuration information for the log mode parameter includes on and off mode information. When the configuration information for the log mode parameter indicates on mode, the relevant information of the moving element's status acquisition can be saved, such as saving the moving element status information acquired within different acquisition periods. When the configuration information for the log mode parameter indicates off mode, the saving of the relevant information of the moving element's status acquisition stops. The parameters are used to indicate the specific meaning of the acquired information. For example, the mover state parameter indicates the state of the mover identified in the current acquisition cycle (e.g., enabled, disabled, moved, stationary, faulty, etc.), the actual position parameter indicates the actual position of the mover identified in the current acquisition cycle, the actual speed parameter indicates the actual speed of the mover identified in the current acquisition cycle, and the return value parameter indicates the value of the execution status of the acquisition program corresponding to the mover state acquisition element in the current acquisition cycle, including execution success, failure, execution, etc.
[0091] For example, Figure 5This can serve as an example of an attribute setting sub-interface for quantity acquisition elements. This sub-interface includes editable parameters such as number and log mode, as well as acquisition parameters such as mover quantity, workstation quantity, and return value. The configuration information for editable parameters indicates the content that the parameter is configured with. For example, the configuration information for the number parameter can be manually set or automatically assigned by the program. The configuration information for the log mode parameter includes on and off mode information. When the log mode parameter is set to on mode, relevant information about the quantity acquisition element can be saved, such as the mover quantity information acquired in different acquisition cycles. When the log mode parameter is set to off mode, the saving of relevant information about the quantity acquisition element stops. Acquisition parameters indicate the specific meaning of the acquired information. For example, the mover quantity acquisition parameter indicates the total number of moves identified in the current acquisition cycle, the workstation quantity parameter indicates the workstation where the moves identified in the current acquisition cycle are located, and the return value parameter indicates the execution status of the acquisition program corresponding to the quantity acquisition element in the current acquisition cycle, including execution success, failure, and execution mode.
[0092] For example, Figure 6 This can serve as an example of an attribute setting sub-interface for system status acquisition elements. It should be clarified that "system" here refers to the motor control system. This attribute setting sub-interface includes editable parameters such as number and log mode, as well as acquisition parameters such as the system status value, system error value, system error message, and return value of the motor control system. The configuration information corresponding to the editable parameters indicates the content that the parameter is configured to. For example, the configuration information for the number parameter can be manually set or automatically assigned by the program. The configuration information for the log mode parameter includes on and off mode information. When the configuration information for the log mode parameter indicates on mode, relevant information of the system status acquisition elements can be saved, such as the system status information of the motor control system acquired within different acquisition periods. When the configuration information for the log mode parameter indicates off mode, the saving of relevant information of the system status acquisition elements stops. The parameters are used to indicate the specific meaning of the acquired information. For example, the system status value parameter indicates the working status of the motor control system identified in the current acquisition cycle, the system error value parameter indicates the fault status of the motor control system identified in the current acquisition cycle, the system error information indicates the detailed fault details identified in the current acquisition cycle, and the return value parameter indicates the value of the execution status of the acquisition program corresponding to the system status acquisition element in the current acquisition cycle, including execution success, failure, execution medium, etc.
[0093] For example, Figure 7This can serve as an example of an attribute setting sub-interface for acquiring graphic elements upon the arrival of a workstation mover. This sub-interface includes editable parameters such as number, log mode, and workstation ID, as well as acquisition parameters such as arrival status, mover ID, and return value. The configuration information for the editable parameters indicates the content that the parameter is configured to. For example, the configuration information for the number parameter can be manually set or automatically assigned by the program. The configuration information for the log mode parameter includes on and off mode information. When the log mode parameter indicates on mode, information related to the acquisition of graphic elements upon the arrival of the workstation mover can be saved, such as workstation arrival information acquired within different acquisition cycles. When the log mode parameter indicates off mode, the saving of information related to the acquisition of graphic elements upon the arrival of the workstation mover stops. The parameters are used to indicate the specific meaning of the acquired information. For example, the arrival status parameter indicates whether the mover identified in the current acquisition cycle has arrived at the target workstation. The mover ID parameter indicates the identity of the mover identified in the current acquisition cycle. The return value parameter indicates the execution status of the acquisition program corresponding to the workstation mover arriving at the acquisition element in the current acquisition cycle, including execution success, failure, and execution mode.
[0094] In one specific embodiment of the information acquisition method for motor equipment in this application, the display of graphic element parameters of the acquired information includes: sequentially displaying the name information of each graphic element parameter in a plurality of first cells; arranging the plurality of first cells in a first direction; displaying the second cell corresponding to each first cell at a specified position in the first cell; the second cells are arranged in the first direction, and the second cells are used to display the configuration information of the graphic element parameters, or the second cells are used to display the acquired motor operation information.
[0095] The first unit format is used to display the parameter names of the information-obtaining graphic elements, arranged in a first direction, which can be a vertical or horizontal arrangement.
[0096] The second cell corresponds one-to-one with the first cell and is located in a specified position within the first cell. It is used to fill in configuration information or display the actual motor operation information collected. The specified position can be a pre-defined arrangement direction, such as the second cell being located anywhere above, below, left, or right of the first cell. It should be noted that when the first cell is arranged vertically, the second cell is also arranged vertically; when the first cell is arranged horizontally, the second cell is also arranged horizontally.
[0097] Specifically, multiple first cells are arranged sequentially along a preset first direction, and the name information of the corresponding graphic element parameter is displayed in each first cell. Simultaneously, a second cell is set at a designated position in each first cell, and all second cells are also arranged along the first direction, forming a list structure where name and content correspond one-to-one. Before information collection, the second cell is used for users to edit or display the configuration information of the graphic element parameter. After information collection is completed, the second cell is used to display the motor operation information obtained from the corresponding graphic element, allowing users to quickly view the final obtained operating data of the motor equipment.
[0098] In one embodiment, to Figure 2 For example, 101 can be used as an example for the first cell, and 102 can be used as an example for the second cell. Specifically, if 1 is entered in the second cell, the first cell corresponding to the second cell is determined to be "Number" based on the position of the second cell. Therefore, "1" is used as the configuration information for the number parameter, and "1" is displayed in the second cell.
[0099] In one specific embodiment of the information acquisition method for motor equipment in this application, editing the graphic element parameters of the information acquisition graphic element includes at least one of the following: after acquiring an add operation instruction corresponding to the information acquisition graphic element, increasing the number of second cells corresponding to each first cell at a specified position in the first cell; after acquiring a delete operation instruction corresponding to the information acquisition graphic element, decreasing the number of second cells corresponding to each first cell at a specified position in the first cell; and after acquiring an edit operation instruction corresponding to the information acquisition graphic element, updating the configuration information of the corresponding graphic element parameters according to the cell position information of the acquired edit operation instruction and the edit operation instruction.
[0100] Specifically, when an add operation instruction triggered by an information acquisition element is received, the number of second cells matching each first cell is added at a specified location in the first cell. This allows for the addition of one or more independently configurable parameter items, enabling the simultaneous acquisition of operational information from multiple different objects, different numbers, or different operating conditions. For example, through... Figure 2 The "Add Row" button in the lower left corner provides instructions for adding rows.
[0101] When a deletion command is received for an information retrieval element, the quantity of the corresponding second cell is reduced at the specified location in the first cell, and unnecessary parameter configuration rows are removed. For example, through... Figure 2 The "Delete Row" button in the lower left corner provides the deletion command.
[0102] In addition, when receiving an editing operation instruction corresponding to a graphic element, the system accurately locates the target cell to be modified based on the cell position information corresponding to the editing operation instruction, and updates and displays the configuration information of the graphic element parameters corresponding to that position according to the specific content of the editing operation.
[0103] By adding, deleting, and modifying configurable operations, the dimensions or content of parameter configurations can be flexibly expanded or reduced. Adding rows to information acquisition elements allows the element to acquire the same type of information multiple times. Depending on the editable parameters, the same type of information can come from the same or different objects (such as movers or workstations), thus reducing the number of elements acquiring the same information, facilitating user modification and retrieval, and ultimately improving the efficiency of acquiring information from motor equipment.
[0104] In one specific embodiment of the information acquisition method for motor equipment in this application, the motor operation information includes at least one of the following: mover offset information, system status information, mover quantity information, mover status information, mover movement information, and workstation arrival information.
[0105] Specifically, the final acquired motor operation information may include at least one of the following: mover offset information, system status information, mover quantity information, mover status information, mover movement information, and station arrival information. For example, mover offset information may include the mover offset value; system status information may include system status values, system error values, system error messages, etc.; mover status information may include the mover's status (e.g., enabled, disabled, moving, stationary, faulty, etc.), actual position, actual speed, etc.; mover movement information may include the mover's actual position, actual speed, etc.; and station arrival information may include the mover ID that has arrived at the preset station, arrival status, etc.
[0106] In one specific embodiment of the information acquisition method for motor equipment in this application, the element list area is further used to display candidate logic control elements; it also includes: acquiring a second selection operation instruction from the element list area; and displaying the selected logic control element in the element editing area based on the second selection operation instruction.
[0107] Logic control elements are control components used in conjunction with information acquisition elements to form a complete control flowchart in order to achieve control functions.
[0108] The second selection operation command is a command signal generated by the user through interactive operations such as clicking, dragging, and double-clicking on the candidate logical control elements displayed in the element list area.
[0109] Specifically, in addition to displaying candidate information retrieval elements, the element list area in the interactive interface can also simultaneously display candidate logic control elements. After the user completes the selection of the information retrieval element, the system continuously listens for the user's interactive operations in the element list area, obtains the second selection operation command triggered for the logic control element, and displays the selected logic control element in the element editing area, providing basic support for the subsequent composition of the control flow diagram.
[0110] A logic control diagram includes at least a start diagram and an end diagram. It may further include at least one of the following: a decision diagram, a delay diagram, a mover control diagram, and a system control diagram.
[0111] The judgment primitive is used to perform the corresponding operation when the judgment condition is true, or to check whether the corresponding operation was successfully executed. The operations that can be performed or verified for a given element include: stopping all mover movements, moving all movers at all workstations downward (controlling all movers located at the workstation to move away), turning off automatic operation, absolute mover motion operation (setting at least one of the expected position, expected speed, expected acceleration, and expected deceleration of a specified mover), starting automatic operation, resuming automatic operation, powering on all mover servos, powering off all mover servos, multi-workstation sequential allocation operation (setting the allocation order between multiple workstations), pausing automatic operation, setting global motion parameters (setting global speed, global acceleration, and global deceleration), system initialization operation, system emergency stop operation, system termination operation, system error clearing operation, mover movement acquisition operation, mover offset acquisition operation (i.e., obtaining the difference between the actual position and the expected position of the mover), mover status acquisition operation (obtaining at least one of the status value, actual position, and actual speed of a specified mover), quantity acquisition operation, system status acquisition operation (obtaining at least one of the system status value, system error value, and system error message), and workstation mover arrival acquisition operation (whether a mover has arrived at a specified workstation).
[0112] Delayed primitives are used to implement delayed operations, such as setting a preset waiting time before moving to the next level primitive.
[0113] The mover control elements specifically include at least one of the following elements: multi-station sequential allocation elements, mover absolute motion elements, global motion parameter setting elements, all mover motion stop elements, all-station mover down movement elements, all mover servo power-on elements, all mover servo power-off elements, and mover bias setting elements.
[0114] The system control elements specifically include at least one of the following: system initialization element, automatic operation start element, automatic operation stop element, automatic operation pause element, automatic operation resume element, system termination element, system emergency stop element, system error clearing element, and error automatic recovery element.
[0115] For example, Figure 8 This can serve as a schematic diagram of the interactive interface. The interactive interface includes a graphic element list area 103, a graphic element editing area 104, and a toolbar area 105. The graphic element list area 103 is used to display various types of candidate graphic elements, such as start graphic elements, end graphic elements, and various information acquisition graphic elements (such as information acquisition 1, information acquisition 2, ...). The graphic element editing area 104 displays various types of graphic elements selected by the user.
[0116] The toolbar area displays various tool buttons, such as the save button, open button, pointer tool button, connector button, start running button, run settings button, and network settings button.
[0117] The pointer tool button is used to enter pointer mode. In pointer mode, buttons from the element list can be added to the element editing area.
[0118] The connector button is used to enter the connector mode, which allows you to establish a hierarchical relationship between two elements by connecting them with a directional line in the element editing area.
[0119] The "Start Run" button generates a run command. Following the flow order among multiple elements in the element editing area, it automatically executes the program corresponding to each element, sending the generated command to the controller of the connected motor equipment and receiving data feedback from the controller for recording or judgment by the relevant elements. Furthermore, if it detects that the previous command has not yet completed (e.g., the previous command was used to control the moving part to reach a specified position, but the feedback data indicates that the moving part has not reached the specified position), the next generated command will be sent after the previous command has completed.
[0120] The settings button enables or disables the loop execution function. After configuring the loop period parameters, the function will be executed periodically according to the corresponding loop duration. Furthermore, if it is detected that the command sent in the previous cycle has not yet been completed, the command generated in the next cycle will be sent only after the command in the previous cycle has been completed.
[0121] The network settings button is used to establish a connection with the controller. It allows configuration of local address parameters, controller address parameters, and communication port parameters. Upon successful connection to the controller, a "Network connection successful" message will be displayed on the interface; otherwise, no message will be displayed, or a "Network connection failed" message will be shown.
[0122] In one specific embodiment of the information acquisition method for motor equipment in this application, before acquiring the corresponding motor operation information based on the information acquisition elements displayed in the element editing area, the method further includes: establishing a control flowchart based on the elements displayed in the element editing area; the elements displayed in the element editing area include at least one information acquisition element, or the elements displayed in the element editing area include at least one information acquisition element and at least one logic control element; and running the control flowchart.
[0123] A control flowchart is a visual flowchart formed by combining elements selected from the element list area within the element editing area according to user needs.
[0124] Specifically, a control flow diagram can be established by acquiring graphic elements based on at least one piece of information, or by acquiring graphic elements based on at least one piece of information and at least one logical control graphic element.
[0125] In one specific embodiment of the information acquisition method for motor equipment in this application, running the control flowchart includes: running the control program corresponding to each element in the control flowchart according to the element arrangement relationship of the control flowchart, wherein the element arrangement relationship includes hierarchical relationship and / or parallel relationship.
[0126] Specifically, when running the control flowchart, the control programs corresponding to each element in the flowchart are executed sequentially according to the element arrangement relationship. The element arrangement relationship includes hierarchical sequential execution and / or parallel synchronous execution. Specifically, when elements are hierarchically related, the corresponding control programs for each element are executed sequentially; when elements are parallel, the control programs for multiple elements are triggered in parallel or synchronously to achieve coordinated processing, which helps improve the efficiency of acquiring motor operation information.
[0127] For example, in Figure 8 In this control flowchart, the start element, information acquisition 1 element, information acquisition 2 element, information acquisition 3 element, and end element are connected sequentially. Based on the hierarchical relationship of the elements, after the user clicks the "Start Run" button in toolbar area 105, the programs corresponding to information acquisition 1, information acquisition 2, and information acquisition 3 elements are executed sequentially to acquire relevant equipment information. Information acquisition 1, information acquisition 2, and information acquisition 3 can be any three elements from the information acquisition elements. For example, when information acquisition 1 is the mover offset acquisition element, the acquired information is the mover's offset value; when information acquisition 2 is the mover status acquisition element, the acquired information is the mover's actual position, actual speed, and real-time status; when information acquisition 3 is the quantity acquisition element, the acquired information is the number of movers and the number of workstations.
[0128] For example, in Figure 9 In this control flow diagram, the system control element, judgment element, information acquisition element, mover control element, and end element are connected. Based on the hierarchical and parallel relationships of the elements, after the user clicks the "Start Run" button in toolbar area 105, the system control element, judgment element, information acquisition element, and mover control element are executed sequentially. After the mover control task is completed, the flow jumps to the end element, completing the entire control process. For example, the mover offset acquisition element can be used as an example of an information acquisition element. In the mover control scenario of a linear motor device, after the user clicks the "Start Run" button, the system control element is first executed to complete the controller initialization. Then, the judgment element reads the current mover's position status. If it is determined that the mover has reached the target position, the mover offset acquisition element is executed to obtain the position offset value of the mover to the target position and display it on the interactive interface, ending the process. If it is determined that the mover has not reached the target position, the mover control element is triggered to drive the mover to the target position, and the process ends after the mover completes the movement. In this way, the automated information acquisition and actuator control of motor equipment can be realized according to the process control diagram, thereby improving the information acquisition efficiency of motor equipment.
[0129] It should be noted that although the steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effect of this application, different steps do not necessarily have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders, and these variations are all within the scope of protection of this application.
[0130] Those skilled in the art will understand that all or part of the processes in the method of the above-described embodiment can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable storage medium can include any entity or device capable of carrying the computer program code, a medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0131] Furthermore, this application also provides a motor control device, which may include at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program, and when the computer program is executed by the at least one processor, it implements the information acquisition method of the motor device described in any of the above embodiments. See also Figure 10 As shown, Figure 10 The structure of a motor control device is illustrated by way of example, which includes a processor 100 and a memory 200.
[0132] Furthermore, this application also provides a computer-readable storage medium. In one embodiment of the computer-readable storage medium according to this application, the computer-readable storage medium can be configured to store a program for performing the information acquisition method of the motor device described in the above-described method embodiments. This program can be loaded and run by a processor to implement the information acquisition method of the motor device described above. For ease of explanation, only the parts related to the embodiments of this application are shown; for specific technical details not disclosed, please refer to the method section of the embodiments of this application. The computer-readable storage medium can be a memory device formed by various electronic devices. Optionally, in the embodiments of this application, the computer-readable storage medium is a non-transitory computer-readable storage medium.
[0133] Furthermore, this application also provides an industrial automation system.
[0134] In one embodiment of an industrial automation system of this application, the industrial automation system mainly includes at least one moving submodule, at least one stator module, at least one motor control module, and at least one display module, wherein: the stator module includes at least one stator module, and operating devices are distributed around the stator module; the moving submodule is used to magnetically couple with the stator module and move along the stator module; the display module is used to display at least one interactive interface; the motor control module is used to obtain a first selection operation command from the graphic element list area of the display interactive interface; based on the first selection operation command, the selected information acquisition graphic element is displayed in the graphic element editing area of the display interactive interface; based on the information acquisition graphic element displayed in the graphic element editing area, the corresponding motor operation information is obtained.
[0135] Furthermore, this application also provides a computer program product, which includes a computer program that, when executed by a processor, causes the processor to implement the above-described method for acquiring information about an electric motor device.
[0136] The technical solution of this application has been described in conjunction with the specific embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. Without departing from the principles of this application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of this application.
Claims
1. A method for acquiring information from an electric motor device, characterized in that, The method includes: The interactive interface includes a graphic element list area and a graphic element editing area; the graphic element list area is used to display candidate information retrieval graphic elements. Obtain the first selection operation instruction from the element list area; Based on the first selection operation instruction, the selected information is displayed in the graphic element editing area to obtain the graphic element; Based on the information displayed in the graphic element editing area, graphic elements are obtained, and corresponding motor operation information is acquired.
2. The method for acquiring information about motor equipment according to claim 1, characterized in that, Before obtaining the corresponding motor operating information, at least one of the following is also included: The information is displayed to obtain the primitive parameters of the primitive; Edit the information to obtain the primitive parameters of the primitive; After obtaining the corresponding motor operation information based on the information displayed in the graphic element editing area, the method further includes: displaying the motor operation information obtained by the information obtaining graphic element.
3. The method for acquiring information about motor equipment according to claim 1, characterized in that, The method further includes: Based on the obtained attribute expansion instruction of the information acquisition graphic element, the attribute setting sub-interface of the information acquisition graphic element is displayed in the graphic element editing area; the attribute setting sub-interface is used to display the graphic element parameters of the information acquisition graphic element, edit the graphic element parameters of the information acquisition graphic element, and / or display the motor operation information obtained by the information acquisition graphic element.
4. The method for acquiring information about motor equipment according to claim 2 or 3, characterized in that, The display of the information to obtain the graphic element parameters includes: The name information of each graphic element parameter is displayed sequentially in multiple first cells; the multiple first cells are arranged in a first direction; At a specified location in the first cell, the second cell corresponding to each first cell is displayed; the second cells are arranged in a first direction, and the second cells are used to display the configuration information of the graphic element parameters, or the second cells are used to display the obtained motor operation information.
5. The method for acquiring information about motor equipment according to claim 2 or 3, characterized in that, The graphic element parameters obtained by editing the information include at least one of the following: After obtaining the addition operation instruction corresponding to the information acquisition element, increase the number of second cells corresponding to each first cell at the specified position of the first cell; After obtaining the deletion operation instruction corresponding to the information acquisition element, the number of second cells corresponding to each first cell is reduced at the specified position of the first cell; Upon obtaining the information, the corresponding editing operation instruction for the graphic element is obtained. Based on the cell position information of the obtained editing operation instruction and the editing operation instruction, the configuration information of the corresponding graphic element parameters is updated.
6. The method for acquiring information about motor equipment according to claim 1, characterized in that, The motor operation information includes at least one of the following: mover offset information, system status information, mover quantity information, mover status information, mover movement information, and workstation arrival information.
7. The method for acquiring information about motor equipment according to claim 1, characterized in that, The element list area is also used to display candidate logic control elements; The method further includes: Obtain a second selection operation instruction from the element list area; Based on the second selection operation instruction, the selected logic control element is displayed in the element editing area.
8. The method for acquiring information about motor equipment according to claim 1 or 7, characterized in that, Before obtaining the graphic elements based on the information displayed in the graphic element editing area and obtaining the corresponding motor operation information, the method further includes: A control flowchart is established based on the elements displayed in the element editing area; the elements displayed in the element editing area include at least one information acquisition element, or the elements displayed in the element editing area include at least one information acquisition element and at least one logic control element. Run the control flow chart.
9. The method for acquiring information about motor equipment according to claim 8, characterized in that, The operation of the control flowchart includes: According to the element arrangement relationship of the control flowchart, the control program corresponding to each element in the control flowchart is run. The element arrangement relationship includes hierarchical relationship and / or parallel relationship.
10. The method for acquiring information about motor equipment according to claim 1, characterized in that, The display interface includes: The graphic element list area displays at least one of the following information acquisition graphic elements: mover movement acquisition graphic element, mover offset acquisition graphic element, mover status acquisition graphic element, quantity acquisition graphic element, system status acquisition graphic element, and station mover arrival acquisition graphic element.
11. A motor control device, characterized in that, include: At least one processor; And, a memory communicatively connected to the at least one processor; The memory stores a computer program, which, when executed by the at least one processor, implements the information acquisition method for the motor device according to any one of claims 1 to 10.
12. A computer-readable storage medium storing a plurality of program codes, characterized in that, The program code is adapted to be loaded and run by a processor to perform the information acquisition method for the motor device according to any one of claims 1 to 10.
13. An industrial automation system, characterized in that, It includes at least one moving submodule, at least one stator module, at least one motor control module, and at least one display module, wherein: The stator module includes at least one stator module, and operating devices are distributed around the stator module; The moving sub-module is used for magnetic coupling with the stator module and for moving along the stator module; The display module is used to display at least one interactive interface; The motor control module is configured to acquire a first selection operation instruction from the graphic element list area of the display interface; based on the first selection operation instruction, display the selected information acquisition graphic element in the graphic element editing area of the display interface; and acquire the corresponding motor operation information based on the information acquisition graphic element displayed in the graphic element editing area.