CN115327947A - Hardware-free HMI (human machine interface) simulation control method and system - Google Patents

Hardware-free HMI (human machine interface) simulation control method and system Download PDF

Info

Publication number
CN115327947A
CN115327947A CN202210959905.6A CN202210959905A CN115327947A CN 115327947 A CN115327947 A CN 115327947A CN 202210959905 A CN202210959905 A CN 202210959905A CN 115327947 A CN115327947 A CN 115327947A
Authority
CN
China
Prior art keywords
simulation
hmi
simulation software
plc
cpu
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
CN202210959905.6A
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.)
Fujian Nebula Electronics Co Ltd
Original Assignee
Fujian Nebula Electronics 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 Fujian Nebula Electronics Co Ltd filed Critical Fujian Nebula Electronics Co Ltd
Priority to CN202210959905.6A priority Critical patent/CN115327947A/en
Publication of CN115327947A publication Critical patent/CN115327947A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention provides a hardware-free HM I simulation control method and a hardware-free HM I simulation control system in the technical field of HM I simulation control, wherein the method comprises the following steps: s10, adding a CPU on the computer, and configuring the CPU; s20, creating HM I simulation software based on the CPU, creating PLC simulation software on the PLC, and setting the PLC and the computer to be in the same network segment; s30, establishing simulation connection between the PLC simulation software and the HM I simulation software; and S40, the PLC simulation software and the HM I simulation software are communicated based on simulation connection. The invention has the advantages that: hardware-free HM I simulation is realized, and software development efficiency is greatly improved.

Description

Hardware-free HMI (human machine interface) simulation control method and system
Technical Field
The invention relates to the technical field of HMI simulation control, in particular to a hardware-free HMI simulation control method and system.
Background
After the function iteration of the production line is updated, new hardware devices are often required to be added, for example, a new touch screen is added to control the production line, and the added hardware devices are required to be connected to the PLC, and new software (HMI) is developed for the hardware devices to adapt to the actual application scenario. To improve efficiency and reduce some unnecessary expenses, feasibility verification is typically performed before hardware equipment is purchased, and thus a need arises for performing simulation control (emulation) of an HMI without hardware.
However, the conventional PLC software can only perform simulation of a single software, and cannot communicate with other software to perform common simulation, so that if hardware devices (such as a touch screen) of the same type as the PLC are used, it is difficult to perform feasibility verification before obtaining the hardware devices, and a lot of time is wasted when the hardware devices are bought and then communication and software testing are performed.
Therefore, how to provide a hardware-free HMI simulation control method and system to realize hardware-free HMI simulation to improve software development efficiency becomes a technical problem to be solved urgently.
Disclosure of Invention
The invention aims to solve the technical problem of providing a hardware-free HMI simulation control method and system, which realize hardware-free HMI simulation and improve software development efficiency.
In a first aspect, the present invention provides a hardware-free HMI simulation control method, including the following steps:
s10, adding a CPU on the computer, and configuring the CPU;
step S20, establishing HMI simulation software based on the CPU, establishing PLC simulation software on the PLC, and setting the PLC and the computer as the same network segment;
s30, establishing simulation connection between the PLC simulation software and the HMI simulation software;
and S40, communicating the PLC simulation software and the HMI simulation software based on simulation connection.
Further, in step S10, the configuring the CPU specifically includes:
configuring an IP address of a CPU, setting a WLAN (wireless local area network) of a computer and the CPU to be in the same network segment based on a network adapter, and configuring the authority of the CPU to allow PUT (user input) communication access and GET (GET) communication access of a remote object.
Further, the step S30 specifically includes:
and operating the simulation connection plug-in with the identity of an administrator, establishing a port mapping relation between the PLC simulation software and the HMI simulation software through the simulation connection plug-in, and further establishing simulation connection between the PLC simulation software and the HMI simulation software through the port mapping relation.
Further, the step S30 further includes:
and associating the control addresses of the PLC simulation software and the HMI simulation software.
Further, the step S40 specifically includes:
the PLC simulation software and the HMI simulation software communicate based on simulation connection, the PLC simulation software carries out simulation control on the HMI simulation software, and the HMI simulation software carries out simulation control on the PLC simulation software to complete on-line simulation.
In a second aspect, the present invention provides a hardware-free HMI analog control method, which comprises the following modules:
the CPU configuration module is used for adding a CPU on the computer and configuring the CPU;
the simulation software creating module is used for creating HMI simulation software based on the CPU, creating PLC simulation software on the PLC and setting the PLC and the computer into the same network segment;
the simulation connection establishing module is used for establishing simulation connection between the PLC simulation software and the HMI simulation software;
and the simulation control module is used for communicating the PLC simulation software and the HMI simulation software based on simulation connection.
Further, in the CPU configuration module, the configuring the CPU specifically includes:
configuring an IP address of a CPU, setting a WLAN (wireless local area network) of a computer and the CPU to be in the same network segment based on a network adapter, and configuring the authority of the CPU to allow PUT (push object) communication access and GET (GET) communication access of a remote object.
Further, the simulation connection establishing module specifically includes:
and running the simulation connection plug-in unit by using the identity of an administrator, establishing a port mapping relation between the PLC simulation software and the HMI simulation software through the simulation connection plug-in unit, and further establishing the simulation connection between the PLC simulation software and the HMI simulation software through the port mapping relation.
Further, the simulation connection establishing module further includes:
and associating the control addresses of the PLC simulation software and the HMI simulation software.
Further, the analog control module specifically includes:
the PLC simulation software and the HMI simulation software communicate based on simulation connection, the PLC simulation software carries out simulation control on the HMI simulation software, and the HMI simulation software carries out simulation control on the PLC simulation software to complete on-line simulation.
The invention has the advantages that:
the CPU, the computer and the PLC are configured in the same network segment, the HMI simulation software is created based on the CPU, the PLC simulation software is created on the PLC, the simulation connection of the PLC simulation software and the HMI simulation software is established in a port mapping mode by taking the simulation connection plug-in as a main body, and then the online simulation of the PLC simulation software and the HMI simulation software is carried out through the simulation connection, namely the online simulation can be carried out under the condition of no hardware, the time for waiting hardware equipment is saved, the HMI simulation without hardware is finally realized, and the software development efficiency is greatly improved.
Drawings
The invention will be further described with reference to the following examples and figures.
FIG. 1 is a flow chart of a hardware-free HMI analog control method of the present invention.
FIG. 2 is a schematic diagram of a hardware-free HMI simulation control system according to the present invention.
Detailed Description
The technical scheme in the embodiment of the application has the following general idea: under the condition of no hardware, creating PLC simulation software and HMI simulation software, associating control addresses of the PLC simulation software and the HMI simulation software, establishing simulation connection of the PLC simulation software and the HMI simulation software based on a port mapping relation, and further performing online HMI simulation control.
Referring to fig. 1 to 2, a preferred embodiment of a hardware-free HMI simulation control method according to the present invention comprises the following steps:
s10, adding a CPU on the computer, and configuring the CPU;
step S20, establishing HMI simulation software based on the CPU, establishing PLC simulation software on the PLC, and setting the PLC and the computer as the same network segment;
s30, establishing simulation connection between the PLC simulation software and the HMI simulation software;
and S40, communicating the PLC simulation software and the HMI simulation software based on simulation connection.
In the step S10, the configuring the CPU specifically includes:
configuring an IP address of a CPU, setting a WLAN (wireless local area network) of a computer and the CPU to be in the same network segment based on a network adapter, and configuring the authority of the CPU to allow PUT (push object) communication access and GET (GET) communication access of a remote object.
The step S30 specifically includes:
and running the simulation connection plug-in unit by using the identity of an administrator, establishing a port mapping relation between the PLC simulation software and the HMI simulation software through the simulation connection plug-in unit, and further establishing the simulation connection between the PLC simulation software and the HMI simulation software through the port mapping relation.
The step S30 further includes:
and associating the control addresses of the PLC simulation software and the HMI simulation software, such as the addresses of internal switches and indicator lamps.
The step S40 is specifically:
the PLC simulation software and the HMI simulation software communicate based on simulation connection, the PLC simulation software carries out simulation control on the HMI simulation software, and the HMI simulation software carries out simulation control on the PLC simulation software to complete on-line simulation. Namely, during online simulation, HMI simulation software can be directly used for controlling signals of the PLC simulation software, so that the HMI can be controlled without hardware in the research and development design stage.
The invention discloses a preferred embodiment of a hardware-free HMI analog control system, which comprises the following modules:
the CPU configuration module is used for adding a CPU on the computer and configuring the CPU;
the simulation software creating module is used for creating HMI simulation software based on the CPU, creating PLC simulation software on the PLC and setting the PLC and the computer into the same network segment;
the simulation connection establishing module is used for establishing simulation connection between the PLC simulation software and the HMI simulation software;
and the analog control module is used for communicating the PLC simulation software and the HMI simulation software based on simulation connection.
In the CPU configuration module, the configuring the CPU specifically includes:
configuring an IP address of a CPU, setting a WLAN (wireless local area network) of a computer and the CPU to be in the same network segment based on a network adapter, and configuring the authority of the CPU to allow PUT (push object) communication access and GET (GET) communication access of a remote object.
The simulation connection establishing module specifically comprises:
and operating the simulation connection plug-in with the identity of an administrator, establishing a port mapping relation between the PLC simulation software and the HMI simulation software through the simulation connection plug-in, and further establishing simulation connection between the PLC simulation software and the HMI simulation software through the port mapping relation.
The simulation connection establishing module further comprises:
and associating the control addresses of the PLC simulation software and the HMI simulation software, such as the addresses of internal switches and indicator lamps.
The analog control module specifically comprises:
the PLC simulation software and the HMI simulation software communicate based on simulation connection, the PLC simulation software carries out simulation control on the HMI simulation software, and the HMI simulation software carries out simulation control on the PLC simulation software to complete on-line simulation. Namely, when in on-line simulation, the HMI simulation software can be directly used for controlling signals of the PLC simulation software, so that the HMI can be controlled without hardware in the research and development design stage.
In summary, the invention has the advantages that:
the CPU, the computer and the PLC are configured in the same network segment, HMI (human machine interface) simulation software is created based on the CPU, the PLC simulation software is created on the PLC, the simulation connection plug-in is taken as a main body, and the simulation connection of the PLC simulation software and the HMI simulation software is established in a port mapping mode, so that the online simulation of the PLC simulation software and the HMI simulation software is carried out through the simulation connection, namely the online simulation can be carried out under the condition of no hardware, the time for waiting hardware equipment is saved, the HMI simulation without hardware is finally realized, and the software development efficiency is greatly improved.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (10)

1. A hardware-free HMI analog control method is characterized in that: the method comprises the following steps:
step S10, adding a CPU on a computer, and configuring the CPU;
step S20, establishing HMI simulation software based on the CPU, establishing PLC simulation software on the PLC, and setting the PLC and the computer as the same network segment;
s30, establishing simulation connection between the PLC simulation software and the HMI simulation software;
and S40, communicating the PLC simulation software and the HMI simulation software based on simulation connection.
2. A hardware-less HMI analog control method according to claim 1, characterized by: in the step S10, the configuring the CPU specifically includes:
configuring an IP address of a CPU, setting a WLAN (wireless local area network) of a computer and the CPU to be in the same network segment based on a network adapter, and configuring the authority of the CPU to allow PUT (push object) communication access and GET (GET) communication access of a remote object.
3. A hardware-less HMI analog control method according to claim 1, characterized by: the step S30 specifically includes:
and operating the simulation connection plug-in with the identity of an administrator, establishing a port mapping relation between the PLC simulation software and the HMI simulation software through the simulation connection plug-in, and further establishing simulation connection between the PLC simulation software and the HMI simulation software through the port mapping relation.
4. A hardware-free HMI analog control method according to claim 1, characterized by: the step S30 further includes:
and associating the control addresses of the PLC simulation software and the HMI simulation software.
5. A hardware-free HMI analog control method according to claim 1, characterized by: the step S40 is specifically:
the PLC simulation software and the HMI simulation software communicate based on simulation connection, the PLC simulation software carries out simulation control on the HMI simulation software, and the HMI simulation software carries out simulation control on the PLC simulation software to complete on-line simulation.
6. A hardware-free HMI analog control system characterized by: the system comprises the following modules:
the CPU configuration module is used for adding a CPU on the computer and configuring the CPU;
the simulation software creating module is used for creating HMI simulation software based on the CPU, creating PLC simulation software on the PLC, and setting the PLC and the computer into the same network segment;
the simulation connection establishing module is used for establishing simulation connection between the PLC simulation software and the HMI simulation software;
and the simulation control module is used for communicating the PLC simulation software and the HMI simulation software based on simulation connection.
7. A hardware-less HMI analog control system according to claim 6, characterized by: in the CPU configuration module, the configuring the CPU specifically includes:
configuring an IP address of a CPU, setting a WLAN (wireless local area network) of a computer and the CPU to be in the same network segment based on a network adapter, and configuring the authority of the CPU to allow PUT (push object) communication access and GET (GET) communication access of a remote object.
8. A hardware-less HMI analog control system according to claim 6, characterized by: the simulation connection establishing module specifically comprises:
and operating the simulation connection plug-in with the identity of an administrator, establishing a port mapping relation between the PLC simulation software and the HMI simulation software through the simulation connection plug-in, and further establishing simulation connection between the PLC simulation software and the HMI simulation software through the port mapping relation.
9. A hardware-less HMI analog control system according to claim 6, characterized by: the simulation connection establishing module further comprises:
and associating the control addresses of the PLC simulation software and the HMI simulation software.
10. A hardware-free HMI analog control system according to claim 6, characterized by: the analog control module is specifically as follows:
the PLC simulation software and the HMI simulation software communicate based on simulation connection, the PLC simulation software carries out simulation control on the HMI simulation software, and the HMI simulation software carries out simulation control on the PLC simulation software to complete on-line simulation.
CN202210959905.6A 2022-08-11 2022-08-11 Hardware-free HMI (human machine interface) simulation control method and system Pending CN115327947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210959905.6A CN115327947A (en) 2022-08-11 2022-08-11 Hardware-free HMI (human machine interface) simulation control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210959905.6A CN115327947A (en) 2022-08-11 2022-08-11 Hardware-free HMI (human machine interface) simulation control method and system

Publications (1)

Publication Number Publication Date
CN115327947A true CN115327947A (en) 2022-11-11

Family

ID=83921619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210959905.6A Pending CN115327947A (en) 2022-08-11 2022-08-11 Hardware-free HMI (human machine interface) simulation control method and system

Country Status (1)

Country Link
CN (1) CN115327947A (en)

Similar Documents

Publication Publication Date Title
CN103595717A (en) Household appliance control protocol conversion method and control terminal
CN108683636B (en) Charging pile communication method and system
CN206400286U (en) A kind of test system based on hardware in loop equipment
CN103927256A (en) Method for controlling multiple Android devices
CN107332867A (en) The more new system and update method of mobile unit, the mobile unit
CN107181634A (en) A kind of server Explore of Unified Management Ideas and system
CN104698374A (en) Method for improving testing efficiency and accuracy of automatic relay protecting tester
CN109284121B (en) Method and system for synchronously updating programs of energy storage power supply multi-stage network multi-control equipment
CN110764036B (en) Intelligent distribution transformer terminal test method and system
CN108845946B (en) Terminal, debugging system and terminal debugging method
CN103634163A (en) Method for testing interchangeability of remote communication unit of acquisition terminal
CN109660386A (en) A kind of semiconductor memory aging testing system method for upgrading software
CN115327947A (en) Hardware-free HMI (human machine interface) simulation control method and system
CN112099902A (en) Network adapter configuration method and device of virtual machine, electronic device and storage medium
CN107729035A (en) Distributed battery management system download program and update method
CN113791869A (en) Method for acquiring shell permission of terminal equipment based on android system
CN115469561A (en) Simulation test method and device, electronic device and storage medium
CN110309056B (en) Cross-platform simulation system for testing software input and output functions
CN114619462A (en) Remote desktop control method based on robot flow automation
CN103576019A (en) Testing tool, testing system and testing method for electrical equipment
CN110825624A (en) Module testing system and method of embedded equipment
CN115412461B (en) Performance test system, method and device of communication manager
CN104331281A (en) Agency service system and method for providing remote-control function for LXI module
CN115604245A (en) Remote operation and maintenance system, device and method for mechanical controller
CN103809538A (en) Server computer remote control system based on CAN bus

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