CN113343348A - HMI automatic generation method in automobile welding production line - Google Patents

HMI automatic generation method in automobile welding production line Download PDF

Info

Publication number
CN113343348A
CN113343348A CN202110273372.1A CN202110273372A CN113343348A CN 113343348 A CN113343348 A CN 113343348A CN 202110273372 A CN202110273372 A CN 202110273372A CN 113343348 A CN113343348 A CN 113343348A
Authority
CN
China
Prior art keywords
hmi
creating
selecting
picture
template
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.)
Pending
Application number
CN202110273372.1A
Other languages
Chinese (zh)
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.)
FAW Group Corp
Faw Tooling Die Manufacturing Co Ltd
Original Assignee
FAW Group Corp
Faw Tooling Die Manufacturing 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 FAW Group Corp, Faw Tooling Die Manufacturing Co Ltd filed Critical FAW Group Corp
Priority to CN202110273372.1A priority Critical patent/CN113343348A/en
Publication of CN113343348A publication Critical patent/CN113343348A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Factory Administration (AREA)

Abstract

The invention relates to an HMI automatic generation method in an automobile welding production line, which comprises the following steps: the method comprises the steps of firstly creating an HMI template copy for picture placement based on electrical programming software TIA Portal V16, then compiling an FB function block and creating an HMI static variable interface, creating an HMI picture template and connecting with the FB function block through an expression, and generating the HMI picture template in the template copy when the FB function block is called through picture creation rules. The invention realizes the modularization and unification of the human-computer interface of the HMI, realizes the automatic generation of the human-computer interface of the HMI and automatically connects variables; meanwhile, the standardization of a human-computer interface is achieved, the design quality and efficiency are improved, the manufacture of the electric human-computer interface is optimized, and the labor cost is saved; reduce variable connection errors, field operation is not standard, and electrical programming time is greatly shortened.

Description

HMI automatic generation method in automobile welding production line
Technical Field
The invention belongs to the technical field of automatic control of an automobile welding production line, and particularly relates to an HMI automatic generation method in the automobile welding production line.
Background
The modular programming design saves more man-hour, man-machine interface standardization and consistency, the learning and use of operators are simple and convenient when the modular programming design is applied in a large range, the standardized programming application is increasingly wide, and in order to realize standardized and modular design in the programming design, a picture template needs to be designed in the HMI man-machine interface, interface connection with the programming design is established, and simultaneously, a picture generation rule is established. And automatically generating the HMI according to a certain rule to realize the automatic generation of the HMI. The repeated work that the picture of the designer is difficult to make, the elements and the functions are not uniform is reduced. In summary, there is a need for a design method that can reduce the workload of designers, avoid repetitive work, and improve the unified specification of the human-computer interface in engineering design.
Disclosure of Invention
The invention aims to provide an HMI automatic generation method applied to an automobile welding production line, so as to solve the problem that the traditional HMI human-computer interface design can not meet the existing production requirements.
The purpose of the invention is realized by the following technical scheme:
an HMI automatic generation method in an automobile welding production line comprises the following steps:
A. establishing an HMI template copy for the picture placement position:
a1, creating Sivarc attribute in HMI, which is used for generating picture template copy according to the position and name of the specified picture group expression by template copy;
a2, creating a layout, and generating a picture template for post-production according to the layout position;
B. creating an FB function block according to the process equipment:
b1, creating input and output variables for logic writing;
b2, creating static variables for state display, and creating a static variable data type HMI when creating the static variables;
b3, issuing FB block;
C. creating an HMI picture template:
c1, creating template display content;
c2, establishing attribute connection with the FB block;
c3, establishing picture template element variables;
D. creating an automatically generated rule: selecting a Sivar picture rule in public data, formulating a rule name, selecting the FB function block established in the step B in a rule triggering condition, selecting the picture template established in the step C by a picture object, selecting the template copy established in the step A in a picture main copy, and selecting the layout set in the step A in a layout field;
E. and calling the programmed FB function block in the program, selecting an automatic generation button, and automatically generating the HMI human-machine interface.
Further, the step a2 of creating a layout specifically includes the following steps: and creating a basic object of the layout in the template copy, selecting a Sivarc attribute, selecting a layout field, and setting the basic object as the layout.
Further, step B1 specifically includes: an output variable is created in the FB functional block for logic programming.
Further, step B2 specifically includes: and creating static variable data types, namely HMI, IO domain names, buttons, state display and other variables.
Further, step B3 specifically includes: and putting the written FB function blocks into the type of the project library, and defining version release.
Further, step C1 specifically includes: and manufacturing IO (input/output) fields, buttons, state display and other elements of the related picture of the process.
Further, step C2 specifically includes: selecting and adding a new attribute in the attribute, selecting the HMI static variable data type created in the step B, selecting and confirming, defining an expression in a plug-in Sivarc attribute interface, and reading the HMI data type defined in the step B, wherein the HMI picture template is associated with the data type with the static variable name of HMI in the FB function block.
Further, step C3 specifically includes: selecting attributes of elements in the screen, selecting events, wherein panel type attributes have been associated, selecting variables in step BHMI data types, establishing time of all panel elements.
Compared with the prior art, the invention has the beneficial effects that:
according to the automatic HMI generation method in the automobile welding production line, the obtained modular HMI picture template can automatically generate a human-computer interface by using an automatic generation rule and is placed according to a certain layout through layout setting.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart illustrating steps of an HMI automatic generation method in an automobile welding production line according to the present invention.
Detailed Description
The invention is further illustrated by the following examples:
the present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The invention discloses an HMI automatic generation method in an automobile welding production line, which is based on Siemens Bopomofo software and comprises the following steps: an HMI template copy is first created for screen placements based on the electrical programming software TIA Portal V16, then the FB function block is written and an HMI static variable interface is created. An HMI picture template is created and connected to the FB function block via an expression, the HMI picture template is generated in the template copy when the FB function block is invoked via a create picture rule.
The invention realizes the modularization and unification of the human-computer interface of the HMI. The positive effects are as follows: the automatic generation and automatic connection of variables of the HMI human-machine interface are realized. Meanwhile, the standardization of a human-computer interface is achieved, the design quality and efficiency are improved, the manufacture of the electric human-computer interface is optimized, and the labor cost is saved. Reduce variable connection errors, field operation is not standard, and electrical programming time is greatly shortened.
Examples
A certain control system uses a robot welding process, an HMI (human machine interface) man-machine operation interface needs to have IO (input/output) domain names, automatically displays states such as automatic, power-on, system operation work completion, fault interlocking and the like, simultaneously needs button functions of initialization, power-on, starting, returning to an original point and shielding, and simultaneously has the function that the picture template automatically generates a template copy according to the layout. The method comprises the following specific steps:
the first step, establishing a copy of the HMI template based on the electrical programming software TIA Portal V16, comprising the substeps of:
create a Sivarc attribute: the creation of the Sivarc attribute in the HMI in TIA Portal V16, the establishment of the name expression "RobotMannul _010", the establishment of the panel group expression "_ SiVarc _ Screen"&\\010_RobotMannul.
Creating a layout: and creating a basic object of the layout in the template copy, selecting a Sivarc attribute, selecting a layout field, and setting the basic object as the layout. The post-production picture template is generated according to the layout position;
secondly, creating an FB function block according to the process equipment, and comprising the following substeps:
1. creating input and output variables: creating an output variable in the FB functional block for logic writing;
2. creating a static variable: creating a static variable data type, named HMI, and naming IO domains as variables such as buttons and state display;
3. and B, issuing an FB block: and putting the written FB block into the type of the project library of the TIA Portal, and defining version release.
Thirdly, creating an HMI picture template, comprising the following substeps:
1. creating template display content: the method comprises the following steps of manufacturing IO (input/output) domain, automatic display, power-on display, system operation work completion, fault interlocking and other state display of relevant pictures of a process, and simultaneously needing elements such as initialization, power-on display, starting, returning to an original point, shielded button functions and the like;
2. establishing attribute connection with the FB block: and selecting and adding new attributes in the attributes, and selecting the HMI static variable data type created in the second step. The confirmation is selected and at the same time the expression block.db.symbologname & "_ HMI" is defined in the plug-in Sivarc property interface, the HMI data type defined in the second step is read. The HMI screen template at this time is associated with a data type in the FB function block with a static variable name of HMI.
3. Establishing element variables of the picture template: and selecting the attribute of the element in the picture and selecting the event. Wherein the variables in the second step HMI data type are selected having associated therewith a faceplate type attribute. The time for all panel elements is established. And fourthly, creating an automatic generation rule. Comprising the following substeps:
creating a rule: selecting a Sivar picture rule in public data by means of a Siemens SIVARC plug-in a programming software TIA Portal V16, formulating a rule name, selecting a first step to establish an FB function block in a rule trigger condition, selecting a picture template established in a third step by a picture object, selecting a template copy established in the first step in a picture main copy, and selecting a layout set in the first step in a layout field;
and fifthly, calling the well-programmed FB function block in the program and selecting an automatic generation button. And the HMI human-machine interface is automatically generated.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. An HMI automatic generation method in an automobile welding production line is characterized by comprising the following steps:
A. establishing an HMI template copy:
a1, creating Sivarc attribute in HMI, which is used for generating picture template copy according to the position and name of the specified picture group expression by template copy;
a2, creating a layout, and generating a picture template for post-production according to the layout position;
B. creating an FB function block according to the process equipment:
b1, creating input and output variables for logic writing;
b2, creating static variables for state display, and creating a static variable data type HMI when creating the static variables;
b3, issuing FB block;
C. creating an HMI picture template:
c1, creating template display content;
c2, establishing attribute connection with the FB block;
c3, establishing picture template element variables;
D. creating an automatically generated rule: selecting a Sivar picture rule in public data, formulating a rule name, selecting the FB function block established in the step B in a rule triggering condition, selecting the picture template established in the step C by a picture object, selecting the template copy established in the step A in a picture main copy, and selecting the layout set in the step A in a layout field;
E. and calling the programmed FB function block in the program, selecting an automatic generation button, and automatically generating the HMI human-machine interface.
2. The automatic generation method of the HMI in the automobile welding production line according to claim 1, wherein the step A2 of creating the layout specifically comprises the following steps: and creating a basic object of the layout in the template copy, selecting a Sivarc attribute, selecting a layout field, and setting the basic object as the layout.
3. The automatic generation method of the HMI in the automobile welding production line according to claim 1, wherein the step B1 is specifically: an output variable is created in the FB functional block for logic programming.
4. The automatic generation method of the HMI in the automobile welding production line according to claim 1, wherein the step B2 is specifically: and creating static variable data types, namely HMI, IO domain names, buttons, state display and other variables.
5. The automatic generation method of the HMI in the automobile welding production line according to claim 1, wherein the step B3 is specifically: and putting the written FB function blocks into the type of the project library, and defining version release.
6. The automatic generation method of the HMI in the automobile welding production line according to claim 1, wherein the step C1 is specifically: and manufacturing IO (input/output) fields, buttons, state display and other elements of the related picture of the process.
7. The automatic generation method of the HMI in the automobile welding production line according to claim 1, wherein the step C2 is specifically: selecting and adding a new attribute in the attribute, selecting the HMI static variable data type created in the step B, selecting and confirming, defining an expression in a plug-in Sivarc attribute interface, and reading the HMI data type defined in the step B, wherein the HMI picture template is associated with the data type with the static variable name of HMI in the FB function block.
8. The automatic generation method of the HMI in the automobile welding production line according to claim 1, wherein the step C3 is specifically: selecting attributes of elements in the screen, selecting events, wherein panel type attributes have been associated, selecting variables in step BHMI data types, establishing time of all panel elements.
CN202110273372.1A 2021-03-15 2021-03-15 HMI automatic generation method in automobile welding production line Pending CN113343348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110273372.1A CN113343348A (en) 2021-03-15 2021-03-15 HMI automatic generation method in automobile welding production line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110273372.1A CN113343348A (en) 2021-03-15 2021-03-15 HMI automatic generation method in automobile welding production line

Publications (1)

Publication Number Publication Date
CN113343348A true CN113343348A (en) 2021-09-03

Family

ID=77467702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110273372.1A Pending CN113343348A (en) 2021-03-15 2021-03-15 HMI automatic generation method in automobile welding production line

Country Status (1)

Country Link
CN (1) CN113343348A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947412A (en) * 2019-03-31 2019-06-28 重庆矢崎仪表有限公司 Automobile instrument HMI controls programming system and method
CN110161944A (en) * 2018-03-22 2019-08-23 李舒庆 A kind of programmed method of PLC programming software

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110161944A (en) * 2018-03-22 2019-08-23 李舒庆 A kind of programmed method of PLC programming software
CN109947412A (en) * 2019-03-31 2019-06-28 重庆矢崎仪表有限公司 Automobile instrument HMI controls programming system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
剑指工控: "实测西门子插件|SIVARC自动生成 挺实用!", 《ZHUANLAN.ZHIHU.COM/P/159269224》 *

Similar Documents

Publication Publication Date Title
US8046735B1 (en) Transforming graphical objects in a graphical modeling environment
US7159183B1 (en) System and method for programmatically creating a graphical program
EP2148259B1 (en) Field device management apparatus and field device management system
US6810522B2 (en) Method and system for associating parameters of containers and contained objects
US7134086B2 (en) System and method for associating a block diagram with a user interface element
US7543281B2 (en) Disabling and conditionally compiling graphical code in a graphical program
US20090241068A1 (en) User defined wire appearance indicating data type in a graphical programming environment
CN104765843B (en) A kind of Graphic Interface Control method for electric power real-time monitoring system
CN102662651A (en) Generation method and generation modules for visual component
CN111290748B (en) Method for quickly generating SqlServer database operation code
US20180364986A1 (en) Extensible meta model for capturing solution patterns
CN109840201B (en) UI test method, device, electronic equipment and computer readable storage medium
CN114995816A (en) Business process configuration method and device, electronic equipment and readable storage medium
CN110427185A (en) A method of man-machine browser function is realized based on electric power scripting language
CN113343348A (en) HMI automatic generation method in automobile welding production line
CN115729537A (en) Code generation method, device, equipment and storage medium
JP3326713B2 (en) Graphical programming method
CN102467369A (en) Measurement resource control system and measurement resource control method
US10222772B2 (en) Method and configuration system for configuring hardware modules in an automation system
CN112799651B (en) Event-driven electronic batch recording system
CN113242471B (en) Vue-based method for realizing preview component of television Launcher system web end
CN113065174B (en) Method, device and system for converting logic diagram and computer storage medium
CN113268888B (en) Control and information model fusion method in industrial automation system
CN114253230A (en) Virtual debugging method, system and device based on industrial configuration software and storage medium thereof
Weidl et al. Facilitating program comprehension via generic components for state machines

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210903

RJ01 Rejection of invention patent application after publication