CN114428605B - Automatic system information interaction method and device - Google Patents

Automatic system information interaction method and device Download PDF

Info

Publication number
CN114428605B
CN114428605B CN202210353626.5A CN202210353626A CN114428605B CN 114428605 B CN114428605 B CN 114428605B CN 202210353626 A CN202210353626 A CN 202210353626A CN 114428605 B CN114428605 B CN 114428605B
Authority
CN
China
Prior art keywords
dialog box
information
control content
dialog
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210353626.5A
Other languages
Chinese (zh)
Other versions
CN114428605A (en
Inventor
刘勇
胡凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdiao Group Co Ltd
Original Assignee
Beijing Jingdiao Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdiao Group Co Ltd filed Critical Beijing Jingdiao Group Co Ltd
Priority to CN202210353626.5A priority Critical patent/CN114428605B/en
Publication of CN114428605A publication Critical patent/CN114428605A/en
Application granted granted Critical
Publication of CN114428605B publication Critical patent/CN114428605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention provides an automatic system information interaction method and a device, wherein the method comprises the following steps: carrying out dialog box control content configuration on dialog box sentences of the G code program based on information to be interacted, and correspondingly binding dialog box control contents with predefined system variables; when a dialog box statement is executed, parameter configuration is carried out on the bound system variable, so that the HMI module carries out dialog box display on the basis of the system variable after parameter configuration; and when receiving the dialog box return parameters fed back by the HMI module, executing the subsequent G code program based on the dialog box return parameters. The invention effectively simplifies the process of configuring the interactive information of the automatic system and greatly improves the efficiency of configuring and debugging the interactive information of the automatic system.

Description

Automatic system information interaction method and device
Technical Field
The invention relates to the technical field of automation control, in particular to an automatic system information interaction method and device.
Background
Human-computer interaction information in an automation system is various, and different production lines, different stations and different applications have different requirements, so different interaction contents need to be configured according to different scenes. The existing method needs to adopt a method of combining interface program compiling and PLC program compiling to realize information interaction, which relates to a large amount of work of graphical interface design and PLC programming, and the operation process is very complicated.
Disclosure of Invention
The invention provides an automatic system information interaction method, an automatic system information interaction device, an electronic device and a storage medium, which are used for solving the technical problems and simplifying the process of configuring the automatic system interaction information.
The invention provides an automatic system information interaction method, which comprises the following steps:
carrying out dialog box control content configuration on dialog box sentences of the G code program based on information to be interacted input by a user, and correspondingly binding the dialog box control content with a predefined system variable;
when the dialog box statement is executed, parameter configuration is carried out on the system variable which is correspondingly bound with the dialog box control content, so that the HMI module carries out dialog box display in a dialog box display interface based on the system variable after parameter configuration;
when receiving a dialog box return parameter fed back by the HMI module, executing a subsequent G code program based on the dialog box return parameter; and the dialog box return parameter is generated by the HMI module based on an operation instruction input by a user in the dialog box display interface.
In one embodiment, the information to be interacted comprises control type information, control prompt text information and candidate variable information;
the method for configuring the dialog box control content of the dialog box statement of the G code program based on the information to be interacted input by the user and correspondingly binding the dialog box control content with the predefined system variable specifically comprises the following steps:
generating a dialog box control character string according to a preset grammar rule based on the control type information and the control prompt text information, and then configuring dialog box control content of dialog box sentences of the G code program based on the dialog box control character string;
and correspondingly binding the dialog box control content with a predefined system variable according to the candidate variable information.
In one embodiment, when the dialog statement is executed, parameter configuration is performed on the system variable that is correspondingly bound to the dialog control content, so that the HMI module performs dialog display in a dialog display interface based on the system variable after parameter configuration, specifically including:
when the dialog box statement is executed, the parameter to be configured is obtained according to the dialog box control content, and the system variable correspondingly bound with the dialog box control content is configured according to the parameter to be configured, so that the HMI module displays the dialog box in a dialog box display interface based on the system variable after parameter configuration.
In one embodiment, the method for information interaction of an automation system further includes:
and responding to a dialog box pop-up instruction of a user, reading and executing a prestored dialog box definition statement, so that the HMI module displays a dialog box corresponding to the dialog box definition statement.
In one embodiment, the dialog control types of the dialog control content include static text boxes, edit boxes, radio text boxes, and check text boxes.
The invention also provides an information interaction device of the automation system, which comprises:
the dialog box configuration module is used for configuring dialog box control content of dialog box sentences of the G code program based on information to be interacted input by a user and correspondingly binding the dialog box control content with predefined system variables;
the dialog box display module is used for carrying out parameter configuration on the system variable correspondingly bound with the dialog box control content when executing the dialog box statement so as to enable the HMI module to carry out dialog box display in a dialog box display interface based on the system variable after parameter configuration;
the parameter receiving module is used for receiving the dialog box return parameter fed back by the HMI module so that the decoding module can execute a subsequent G code program based on the dialog box return parameter; the dialog box return parameter is generated by the HMI module based on an operation instruction input by a user in the dialog box display interface.
In one embodiment, the information to be interacted comprises control type information, control prompt text information and candidate variable information;
the dialog box configuration module is specifically configured to:
generating a dialog box control character string according to a preset grammar rule based on the control type information and the control prompt text information, and then configuring dialog box control content of dialog box sentences of the G code program based on the dialog box control character string;
and correspondingly binding the dialog box control content with a predefined system variable according to the candidate variable information.
In one embodiment, the dialog box presentation module is specifically configured to:
and when the dialog box statement is executed, acquiring parameters to be configured according to the dialog box control content, and configuring the system variables correspondingly bound with the dialog box control content according to the parameters to be configured, so that the HMI module displays the dialog box in a dialog box display interface based on the system variables after parameter configuration.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the automatic system information interaction method.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method for automation system information interaction as described in any of the above.
According to the information interaction method, the information interaction device, the electronic equipment and the storage medium for the automation system, information to be interacted input by a user is configured into a dialog statement in a G code program, dialog display and feedback parameter feedback are carried out through an HMI module, man-machine information interaction in the automation system is achieved, the process of configuring the interaction information of the automation system is effectively simplified, and the efficiency of configuring and debugging the interaction information of the automation system is greatly improved.
Drawings
In order to more clearly illustrate the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a schematic flow chart of an automated system information interaction method according to an embodiment of the present invention;
FIG. 2 is a second schematic flowchart of an information interaction method for an automation system according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an information interaction device of an automation system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an automation system information interaction method, which may include the steps of:
s1, carrying out dialog box control content configuration on dialog box sentences of the G code program based on the information to be interacted input by the user, and correspondingly binding the dialog box control content with predefined system variables; further, the dialog control types of the dialog control content include static text boxes, edit boxes, radio text boxes, and check text boxes.
And S2, when executing the dialog statement, performing parameter configuration on the system variable correspondingly bound with the dialog control content, so that the HMI module performs dialog display in a dialog display interface based on the system variable after parameter configuration.
S3, when receiving the dialog box return parameters fed back by the HMI module, executing subsequent G code programs based on the dialog box return parameters; and the dialog box return parameter is generated by the HMI module based on an operation instruction input by a user in the dialog box display interface.
In the embodiment of the invention, a user can input the desired human-computer interaction configuration information (information to be interacted) according to actual requirements, the system can configure the dialog box statement part of the G code program according to the information to be interacted input by the user, and correspondingly bind with the predefined system variable according to the content of the dialog box control; the predefined system variables may include input variables, i.e., variables for acquiring input parameters, output variables, i.e., variables for displaying output of parameters, and parameter variables related to a specific service.
When a dialog box statement is executed in the process of executing the G code program, parameter configuration is carried out on related bound system variables according to the dialog box control content in the dialog box statement, so that related dialog box content is displayed in the HMI module; after monitoring that the related system variables are configured, the HMI module displays the dialog box in the dialog box display interface according to the configured parameters, and a user can perform operations such as parameter setting, action option selection and the like according to requirements when viewing the dialog box content. Because the corresponding relation between the dialog box content and the input variable is configured in advance, after the dialog box is closed, based on the change of the input variable, the HMI module can generate corresponding dialog box return parameters according to the operation instruction of the user and feed the return parameters back to the decoding module of the system, and after the decoding module receives the return parameters, the subsequent G code program is continuously executed according to the return parameters.
According to the information interaction method for the automation system, the information to be interacted input by the user is configured into the dialog box statement in the G code program, the dialog box display and feedback parameter feedback are carried out through the HMI module, the man-machine information interaction in the automation system is achieved, the process of configuring the interaction information of the automation system is effectively simplified, and the efficiency of configuring and debugging the interaction information of the automation system is greatly improved.
In one embodiment, the information to be interacted comprises control type information, control prompt text information and candidate variable information;
the method for configuring the dialog box control content of the dialog box statement of the G code program based on the information to be interacted input by the user and correspondingly binding the dialog box control content with the predefined system variable specifically comprises the following steps:
generating a dialog box control character string according to a preset grammar rule based on the control type information and the control prompt text information, and then configuring dialog box control content of dialog box sentences of the G code program based on the dialog box control character string;
and correspondingly binding the dialog box control content with a predefined system variable according to the candidate variable information.
In the embodiment of the present invention, the information to be interacted input by the user may include control type information, control prompt text information, and candidate variable information. Through the control type and the control prompt text specified by the user, the system can generate a corresponding dialog box control character string according to a preset grammar rule, and perform dialog box control content configuration on dialog box sentences of the G code program based on the dialog box control character string, namely displaying corresponding dialog box content in the HMI module; in addition, through candidate variables specified by the user, the system can correspondingly bind the dialog box contents and predefined system variables according to the candidate variables.
According to the information interaction method for the automation system, provided by the embodiment of the invention, the user inputs the information to be interacted in the text form, the system can automatically generate the corresponding dialog box control character string and correspondingly bind the corresponding variable, and the user can realize the configuration of the interaction information of the automation system without being familiar with code programming and the use of a design tool, so that the process of configuring the interaction information of the automation system is further simplified, and the efficiency of configuring and debugging the interaction information of the automation system is greatly improved.
In one embodiment, when the dialog statement is executed, parameter configuration is performed on the system variable that is correspondingly bound to the dialog control content, so that the HMI module performs dialog display in a dialog display interface based on the system variable after parameter configuration, specifically including:
and when the dialog box statement is executed, acquiring parameters to be configured according to the dialog box control content, and configuring the system variables correspondingly bound with the dialog box control content according to the parameters to be configured, so that the HMI module displays the dialog box in a dialog box display interface based on the system variables after parameter configuration.
In the embodiment of the invention, when the parameters are configured, the corresponding parameters to be configured are firstly obtained according to the content of the dialog box control, and then the system variables correspondingly bound with the content of the dialog box control are configured according to the obtained parameters to be configured, so that the reliability of data transmission is improved, and the accuracy of dialog box content display is further improved.
In one embodiment, the method for information interaction of an automation system further includes:
and responding to a dialog box pop-up instruction of a user, reading and executing a prestored dialog box definition statement, so that the HMI module displays a dialog box corresponding to the dialog box definition statement.
In embodiments of the present invention, it should be noted that, in addition to customizing a dialog statement in the G-code, the statement may also be placed directly in some execution action of the HMI dialog control. For example, pressing a button pops up a dialog box associated with a predefined dialog box statement. Rather than monitoring pop-up dialogs only when the G code is running.
Referring to fig. 2, based on the above scheme, in order to better understand the information interaction method of the automation system provided in the embodiment of the present invention, the following specific examples are listed for detailed description:
1. predefining variables to be used in an interaction
The variables herein can be divided into two categories:
A. the automation system predefines a number of input and output variables associated with the dialog controls, and defines the variables associated with the return values after the user selects an action.
B. Some variables associated with a particular service may be defined by a user through tools provided by the system; the parameter name (variable) corresponds to the specific content when used.
2. Writing control types, control prompt characters and possible corresponding variables behind the control types and the control prompt characters to be displayed in the dialog box into the G code; and the content of the dialog box to be displayed is represented by character strings.
Through the predefined grammar rule, the dialog box control content (character string) to be displayed can be generated according to the information to be interacted, and the content is corresponding to the predefined variable.
3. When the decoding module executes the dialog statement, the parameters are configured to the corresponding variables, so that the HMI module displays the dialog;
when the system decoding module encounters a dialog box statement during execution of the G code program, the module configures parameters in the dialog box statement into corresponding system variables until the G code program after the dialog box statement is executed after the dialog box interaction is finished.
4. The HMI module displays a dialog box to provide parameter information for a user, and the user can set parameters or select the parameters;
and after monitoring that the variable describing the dialog box is set, the HMI module displays the corresponding dialog box control content according to the variable set by the decoding module. After the user can view the parameters or set the parameters or make some selections and close the dialog box on the interactive interface, the HMI module can put the return parameters into the corresponding input variables according to the parameters or the selections set by the user.
5. The decoding module continues to execute according to the user set parameters
After the HMI module sets the return parameters of the dialog box, the decoding module will continue to execute the subsequent G code program according to the return values.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
1. the end user has convenient use
The graphical interfaces of the prior art are several interfaces that are made available in advance. Before the program runs, the user sets parameters and selects the operation to be executed to realize the movement. So doing, the end user needs to be very familiar with the entire parameters and the exercise options used, otherwise it is difficult to find the corresponding parameters or exercise options.
By inserting the statements such as MsgBox () and the like into the G code, the method of the invention can enable a user to display parameters and modify the parameters very conveniently according to the requirement, so that the end user can select to execute different branches, thereby reducing the difficulty of using the system.
2. The system integrates user programming and program modification, and is more convenient:
the prior art requires tools by which system integration users are familiar with PLC programming and its interface design. If the interface needs to be modified during modification, the corresponding PLC program needs to be modified, then compiled and downloaded, and finally the operation can be carried out; the tools used in this way are complex and cumbersome to operate.
The method of the invention can realize the modification of the dialog box only by describing the data and the content to be interacted in a plain text form after the system is configured and modifying the G code program.
The following describes an information interaction device of an automation system provided by the invention. The automation system information interaction device described below and the automation system information interaction method described above may be referred to in correspondence with each other.
Referring to fig. 3, an embodiment of the present invention provides an automation system information interaction apparatus, including:
the dialog box configuration module 1 is used for configuring dialog box control content of dialog box sentences of the G code program based on information to be interacted input by a user and correspondingly binding the dialog box control content with predefined system variables;
the dialog box display module 2 is used for performing parameter configuration on the system variable correspondingly bound with the dialog box control content when executing the dialog box statement, so that the HMI module performs dialog box display in a dialog box display interface based on the system variable after parameter configuration;
the parameter receiving module 3 is configured to receive the dialog box return parameter fed back by the HMI module, so that the decoding module executes a subsequent G code program based on the dialog box return parameter; and the dialog box return parameter is generated by the HMI module based on an operation instruction input by a user in the dialog box display interface.
In one embodiment, the information to be interacted comprises control type information, control prompt text information and candidate variable information;
the dialog box configuration module 1 is specifically configured to:
generating a dialog box control character string according to a preset grammar rule based on the control type information and the control prompt text information, and then configuring dialog box control content of dialog box sentences of the G code program based on the dialog box control character string;
and correspondingly binding the dialog box control content with a predefined system variable according to the candidate variable information.
In one embodiment, the dialog box presentation module 2 is specifically configured to:
and when the dialog box statement is executed, acquiring parameters to be configured according to the dialog box control content, and configuring the system variables correspondingly bound with the dialog box control content according to the parameters to be configured, so that the HMI module displays the dialog box in a dialog box display interface based on the system variables after parameter configuration.
In one embodiment, the automation system information interaction device further comprises:
and the dialog box pop-up response module is used for responding to a dialog box pop-up instruction of a user, reading and executing a prestored dialog box definition statement so as to enable the HMI module to display a dialog box corresponding to the dialog box definition statement.
In one embodiment, the dialog control types of the dialog control content include static text boxes, edit boxes, radio text boxes, and check text boxes.
It can be understood that the above-mentioned apparatus item embodiments correspond to the method item embodiments of the present application, and the automation system information interaction apparatus provided in the embodiments of the present application can implement the automation system information interaction method provided in any one of the method item embodiments of the present application.
The working principle of the automatic system information interaction device of the embodiment of the present application corresponds to the automatic system information interaction method of the embodiment described above, and details are not repeated here.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include: a processor (processor)410, a communication Interface (Communications Interface)420, a memory (memory)430 and a communication bus (bus) 440, wherein the processor 410, the communication Interface 420 and the memory 430 communicate with each other via the communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform the automated system information interaction method, which includes:
s1, carrying out dialog box control content configuration on dialog box sentences of the G code program based on the information to be interacted input by the user, and correspondingly binding the dialog box control content with predefined system variables;
s2, when the dialog box statement is executed, parameter configuration is carried out on the system variable correspondingly bound with the dialog box control content, so that the HMI module carries out dialog box display in a dialog box display interface based on the system variable after parameter configuration;
s3, when receiving the dialog box return parameters fed back by the HMI module, executing subsequent G code programs based on the dialog box return parameters; and the dialog box return parameter is generated by the HMI module based on an operation instruction input by a user in the dialog box display interface.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product including a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer being capable of executing the method for information interaction of an automation system provided by the above embodiments, the method including:
s1, carrying out dialog box control content configuration on dialog box sentences of the G code program based on the information to be interacted input by the user, and correspondingly binding the dialog box control content with predefined system variables;
s2, when the dialog box statement is executed, parameter configuration is carried out on the system variable correspondingly bound with the dialog box control content, so that the HMI module carries out dialog box display in a dialog box display interface based on the system variable after parameter configuration;
s3, when receiving the dialog box return parameters fed back by the HMI module, executing subsequent G code programs based on the dialog box return parameters; and the dialog box return parameter is generated by the HMI module based on an operation instruction input by a user in the dialog box display interface.
In yet another aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the method for information interaction of an automation system provided in the above embodiments, the method including:
s1, carrying out dialog box control content configuration on dialog box sentences of the G code program based on the information to be interacted input by the user, and correspondingly binding the dialog box control content with predefined system variables;
s2, when the dialog box statement is executed, parameter configuration is carried out on the system variable correspondingly bound with the dialog box control content, so that the HMI module carries out dialog box display in a dialog box display interface based on the system variable after parameter configuration;
s3, when receiving the dialog box return parameters fed back by the HMI module, executing subsequent G code programs based on the dialog box return parameters; and the dialog box return parameter is generated by the HMI module based on an operation instruction input by a user in the dialog box display interface.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. An information interaction method for an automation system is characterized by comprising the following steps:
carrying out dialog box control content configuration on dialog box sentences of the G code program based on information to be interacted input by a user, and correspondingly binding the dialog box control content with a predefined system variable;
when the dialog box statement is executed, acquiring parameters to be configured according to the dialog box control content, and configuring system variables correspondingly bound with the dialog box control content according to the parameters to be configured, so that the HMI module displays the dialog box in a dialog box display interface based on the system variables after parameter configuration;
when receiving a dialog box return parameter fed back by the HMI module, executing a subsequent G code program based on the dialog box return parameter; the dialog box return parameter is generated by the HMI module based on an operation instruction input by a user in the dialog box display interface;
the information to be interacted comprises control type information, control prompt text information and candidate variable information;
the method for configuring the dialog box control content of the dialog box statement of the G code program based on the information to be interacted input by the user and correspondingly binding the dialog box control content with the predefined system variable specifically comprises the following steps:
generating a dialog box control character string according to a preset grammar rule based on the control type information and the control prompt text information, and then configuring dialog box control content of dialog box sentences of the G code program based on the dialog box control character string;
and correspondingly binding the dialog box control content with a predefined system variable according to the candidate variable information.
2. The automation system information interaction method of claim 1, further comprising:
and responding to a dialog box pop-up instruction of a user, reading and executing a prestored dialog box definition statement, so that the HMI module displays a dialog box corresponding to the dialog box definition statement.
3. The automation system information interaction method of claim 1 wherein the dialog control types of the dialog control content include static text boxes, edit boxes, radio text boxes and check text boxes.
4. An automation system information interaction device, comprising:
the dialog box configuration module is used for configuring dialog box control content of dialog box sentences of the G code program based on information to be interacted input by a user and correspondingly binding the dialog box control content with predefined system variables;
the dialog box display module is used for acquiring parameters to be configured according to the dialog box control content and configuring system variables correspondingly bound with the dialog box control content according to the parameters to be configured when the dialog box statement is executed, so that the HMI module displays the dialog box in a dialog box display interface based on the system variables after parameter configuration;
the parameter receiving module is used for receiving the dialog box return parameter fed back by the HMI module so that the decoding module can execute a subsequent G code program based on the dialog box return parameter; the dialog box return parameter is generated by the HMI module based on an operation instruction input by a user in the dialog box display interface;
the information to be interacted comprises control type information, control prompt text information and candidate variable information;
the dialog box configuration module is specifically configured to:
generating a dialog box control character string according to a preset grammar rule based on the control type information and the control prompt text information, and then configuring dialog box control content of dialog box sentences of the G code program based on the dialog box control character string;
and correspondingly binding the dialog box control content with a predefined system variable according to the candidate variable information.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for automation system information interaction of any one of claims 1 to 3 when executing the program.
6. A non-transitory computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the automation system information interaction method according to any one of claims 1 to 3.
CN202210353626.5A 2022-04-06 2022-04-06 Automatic system information interaction method and device Active CN114428605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210353626.5A CN114428605B (en) 2022-04-06 2022-04-06 Automatic system information interaction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210353626.5A CN114428605B (en) 2022-04-06 2022-04-06 Automatic system information interaction method and device

Publications (2)

Publication Number Publication Date
CN114428605A CN114428605A (en) 2022-05-03
CN114428605B true CN114428605B (en) 2022-06-17

Family

ID=81314329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210353626.5A Active CN114428605B (en) 2022-04-06 2022-04-06 Automatic system information interaction method and device

Country Status (1)

Country Link
CN (1) CN114428605B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5438659A (en) * 1992-10-08 1995-08-01 Hewlett-Packard Company Object-action user interface management system
CN101833498B (en) * 2009-07-31 2012-06-06 北京伟晨豪嘉科技有限责任公司 Automatic detection system of embedded type system based on testing script technique
CN109634596B (en) * 2018-12-11 2021-10-22 清华大学 Flow chart based visual programming tool
CN111061477A (en) * 2019-11-19 2020-04-24 腾讯科技(深圳)有限公司 Menu generation method, device, equipment and medium based on SPSS application program
CN110888818A (en) * 2019-12-22 2020-03-17 普信恒业科技发展(北京)有限公司 Test case configuration system and method, automatic test system and method

Also Published As

Publication number Publication date
CN114428605A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN109725897A (en) Software customized methods, devices and systems, terminal
CN111862699B (en) Method and device for visually editing teaching courses, storage medium and electronic device
CN105824787A (en) Control method and system for dynamic configuration of HTML template
WO2018113096A1 (en) Recipe program code generation method and recipe compilation cloud platform and system
CN110941427B (en) Code generation method and code generator
CN110795085A (en) Mobile application visual editing method and tool
CN111597312A (en) Method and device for generating multi-turn dialogue script
CN112882408B (en) Online editing method and device for ST text language
CN114995803A (en) Development method of human-computer interface, low-code development platform, terminal and medium
CN109144511B (en) Method and system for automatically generating numerical simulation graphical user interface
CN106055535B (en) Chart generation method and device
CN111324390A (en) Device and method for realizing APP content configuration and real-time update
CN114428605B (en) Automatic system information interaction method and device
CN108762751A (en) A kind of logic figure configuration and the method and system for changing into data flow
CN101582899B (en) Method, system, and service server for providing firmware through communication network
WO2024066825A1 (en) Page project development method, apparatus, device, medium and product
CN110471659B (en) Multilingual implementation method and system, man-machine interface configuration software end and equipment end
US20120046773A1 (en) Mold design system and method
EP3248104A1 (en) Method and device for automatic testing
CN111078531B (en) Test control system capable of being customized
CN114489777B (en) Communication method and device for automation system and peripheral
CN115185507A (en) Algorithm configuration tool
CN113239172A (en) Conversation interaction method, device, equipment and storage medium in robot group
CN114200885A (en) Programming method and device applied to programmable logic controller
CN115603797B (en) Satellite ground automatic test platform, test system and test method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An automated system information exchange method and device

Effective date of registration: 20230801

Granted publication date: 20220617

Pledgee: China CITIC Bank Corporation Limited Beijing Branch

Pledgor: BEIJING JINGDIAO TECHNOLOGY GROUP Co.,Ltd.|BEIJING JINGDIAO PRECISION MACHINERY MANUFACTURING Co.,Ltd.

Registration number: Y2023110000317

PE01 Entry into force of the registration of the contract for pledge of patent right