CN111158810B - HMI human-machine interface data communication method and HMI human-machine interface device - Google Patents

HMI human-machine interface data communication method and HMI human-machine interface device Download PDF

Info

Publication number
CN111158810B
CN111158810B CN201911294552.7A CN201911294552A CN111158810B CN 111158810 B CN111158810 B CN 111158810B CN 201911294552 A CN201911294552 A CN 201911294552A CN 111158810 B CN111158810 B CN 111158810B
Authority
CN
China
Prior art keywords
data
machine interface
hmi human
human
level
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
CN201911294552.7A
Other languages
Chinese (zh)
Other versions
CN111158810A (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.)
Shenzhen Samkoon Technology Corp ltd
Original Assignee
Shenzhen Samkoon Technology Corp 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 Shenzhen Samkoon Technology Corp ltd filed Critical Shenzhen Samkoon Technology Corp ltd
Priority to CN201911294552.7A priority Critical patent/CN111158810B/en
Publication of CN111158810A publication Critical patent/CN111158810A/en
Application granted granted Critical
Publication of CN111158810B publication Critical patent/CN111158810B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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]

Abstract

The invention discloses an HMI human-machine interface data communication method and an HMI human-machine interface. The method comprises the following steps: receiving a data frame sent by a previous-level HMI human-machine interface; integrating the frames according to preset rules and sending the frames to a next-stage HMI human-machine interface. According to the invention, the data transmission quantity is effectively reduced by integrating the data frames of the human-computer interface, and the communication speed of the human-computer interface is improved.

Description

HMI human-machine interface data communication method and HMI human-machine interface device
Technical Field
The invention relates to the field of factory automation, in particular to an HMI (human machine interface) data communication method and an HMI.
Background
In the field of industrial control, HMI human-machine interfaces (Human Machine Interaction, man-machine interfaces) are becoming the main equipment for more and more production sites. The touch control method has the characteristics of convenience in touch control, attractive interface, humanization and the like, and becomes the preferred external interaction equipment of each numerical control equipment manufacturer.
In a production site, each human-computer interface has its own system functions, and needs to communicate with a PLC (Programmable Logic Controller ). However, the existing multi-HMI human-machine interface has a slower communication speed with the PLC, which affects the production efficiency.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides the data communication method for the HMI human-machine interface, which can improve the communication speed of the HMI human-machine interface.
The invention also provides an HMI human-machine interface.
In a first aspect, an embodiment of the present invention provides an HMI human-machine interface data communication method: comprising the following steps: receiving a data frame sent by a previous-level HMI human-machine interface; integrating the frames according to preset rules and sending the frames to a next-stage HMI human-machine interface.
The HMI human-machine interface provided by the embodiment of the invention has at least the following beneficial effects: by integrating the data frames of the human-computer interface, the data transmission quantity is effectively reduced, and the communication speed of the human-computer interface is improved.
HMI human-machine interfaces according to other embodiments of the invention further comprise: and sending response data to the upper-level HMI human-machine interface.
Further, the data frame includes: function code, byte number flag bit, data bit and check bit.
Further, the integrating the frames according to the preset rule and sending the frames to the next-stage HMI human-machine interface includes:
determining that the data in the data frame sent by the upper-level HMI human-machine interface is similar to the data to be sent by the host,
determining local difference data;
and integrating the difference data with a data frame sent by the upper-level HMI human-machine interface.
Further, the integrating the frames according to the preset rule and sending the frames to the next-stage HMI human-machine interface includes:
analyzing local data from a data frame sent by the upper-level HMI human-machine interface and storing the local data in a preset address;
and deleting the local data in the data frame sent by the upper-level HMI human-machine interface and then sending the deleted local data to the lower-level HMI human-machine interface.
Further, the method further comprises the following steps: and refreshing the display picture of the HMI human-machine interface after the local data in the preset address are updated completely.
Further, the method further comprises the steps of: and after the machine is started, the address information is sent to the next-stage HMI human-machine interface.
In a second aspect, one embodiment of the present invention provides an HMI human-machine interface comprising:
and a data transmitting module: the method comprises the steps of sending a data frame to a next-level HMI human-machine interface;
and a data receiving module: the method comprises the steps of receiving a data frame sent by a previous-level HMI human-machine interface;
and a data integration module: the method for integrating the data frames sent by the upper-level HMI human-machine interface comprises the following steps: analyzing the local data from the previous HMI human-machine interface data frame and storing the local data in a preset address; deleting the local data in the data frame sent by the upper-level HMI human-machine interface and then sending the deleted local data to the lower-level HMI human-machine interface; and refreshing the display picture of the HMI human-machine interface after the local data in the preset address are updated completely.
The HMI human-machine interface provided by the embodiment of the invention has at least the following beneficial effects: communication speed in the working of the HMI human-computer interface is effectively improved, and production efficiency is improved.
Drawings
FIG. 1 is a networking diagram of an HMI human-machine interface and a PLC in an embodiment of the invention;
FIG. 2 is a flow chart of an exemplary method for HMI human-machine interface data communication in accordance with an embodiment of the present invention;
FIG. 3 is a block diagram of one embodiment of a HMI human-machine interface in accordance with an embodiment of the invention.
Detailed Description
The conception and the technical effects produced by the present invention will be clearly and completely described in conjunction with the embodiments below to fully understand the objects, features and effects of the present invention. It is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments, and that other embodiments obtained by those skilled in the art without inventive effort are within the scope of the present invention based on the embodiments of the present invention.
In the description of the present invention, if an orientation description such as "upper", "lower", "front", "rear", "left", "right", etc. is referred to, it is merely for convenience of description and simplification of the description, and does not indicate or imply that the apparatus or element referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the invention. If a feature is referred to as being "disposed," "secured," "connected," or "mounted" on another feature, it can be directly disposed, secured, or connected to the other feature or be indirectly disposed, secured, connected, or mounted on the other feature.
In the description of the embodiments of the present invention, if "several" is referred to, it means more than one, if "multiple" is referred to, it is understood that the number is not included if "greater than", "less than", "exceeding", and it is understood that the number is included if "above", "below", "within" is referred to. If reference is made to "first", "second" it is to be understood as being used for distinguishing technical features and not as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
Referring to fig. 1, in an embodiment of the present invention, an HMI human-machine interface and a PLC programmable logic controller are shown as a networking diagram. HMI human-computer interface passes through RS232 serial ports line connection in proper order, and the network end links PLC programmable logic controller.
In the existing HMI human-machine interface communication scheme, the HMI human-machine interface transmits data transmitted by the previous stage to the next stage equipment only in a direct forwarding mode, and the last equipment forwards the data to the PLC of the PLC equipment, waits for data to return, and has long communication time.
Referring to FIG. 2, a flowchart of an embodiment of an HMI human-machine interface data communication method according to an embodiment of the present invention comprises
Receiving a data frame sent by a previous-level HMI human-machine interface;
and integrating a plurality of frames according to preset rules and sending the frames to a next-stage HMI human-machine interface.
By integrating the data frames, the data transmission quantity is effectively reduced, the communication efficiency is improved, and the communication time is shortened.
Specifically, after the HMI human-machine interface is started, each HMI human-machine interface sends address information to the next HMI human-machine interface for communication preparation.
When data is sent, the HMI human-machine interface receives the data frame sent by the upper-level HMI human-machine interface and then sends the data frame to the upper-level HMI human-machine interface. The method comprises the steps that after the fact that data in a data frame sent by a previous-level HMI human-machine interface is similar to data to be sent by a local machine is determined, local difference data are determined, and after the difference data are integrated into the data sent by the previous-level HMI human-machine interface, the data are sent to a next-level HMI human-machine interface.
When receiving data, analyzing the local data from a data frame sent by a previous-level HMI human-machine interface and storing the local data in a preset address;
and deleting the local data in the data frame sent by the upper-level HMI human-machine interface and then sending the deleted local data to the lower-level HMI human-machine interface.
And refreshing the display picture of the HMI human-machine interface after the local data in the preset address are updated completely.
Compared with the original method for directly forwarding the HMI data, only the difference data is added, so that the data quantity can be effectively reduced, the data transmission time is shortened, and the production efficiency is improved.
In another embodiment, a data frame includes: function code, byte number flag bit, data bit and check bit.
As shown in fig. 3, an HMI human-machine interface according to an embodiment of the present invention is further provided, including:
and a data transmitting module: the method comprises the steps of sending a data frame to a next-level HMI human-machine interface;
and a data receiving module: the method comprises the steps of receiving a data frame sent by a previous-level HMI human-machine interface;
and a data integration module: the method for integrating the data frames sent by the upper-level HMI human-machine interface comprises the following steps: analyzing the local data from the previous HMI human-machine interface data frame and storing the local data in a preset address; deleting the local data in the data frame sent by the upper-level HMI human-machine interface and then sending the deleted local data to the lower-level HMI human-machine interface; and refreshing the display picture of the HMI human-machine interface after the local data in the preset address are updated completely.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict.

Claims (5)

1. A HMI human-machine interface data communication method, comprising:
receiving a data frame sent by a previous-level HMI human-machine interface;
integrating the data frames according to preset rules and sending the data frames to a next-stage HMI human-machine interface;
the step of integrating the data frames according to preset rules and sending the data frames to a next-stage HMI human-machine interface comprises the following steps:
analyzing local data from a data frame sent by the upper-level HMI human-machine interface and storing the local data in a preset address;
deleting the local data in the data frame sent by the upper-level HMI human-machine interface and then sending the deleted local data to the lower-level HMI human-machine interface;
further comprises: and refreshing the display picture of the HMI human-machine interface after the local data in the preset address are updated completely.
2. The HMI human-machine interface data communication method according to claim 1, further comprising: and sending response data to the upper-level HMI human-machine interface.
3. The HMI human-machine interface data communication method according to claim 1, wherein the data frame includes: function code, byte number flag bit, data bit and check bit.
4. The HMI human-machine interface data communication method according to claim 3, wherein the integrating the data frame according to a preset rule and sending the data frame to a next HMI human-machine interface may further be:
determining that data in a data frame sent by the upper-level HMI human-machine interface is similar to data to be sent by a local machine, and determining local difference data;
and integrating the difference data with a data frame sent by the upper-level HMI human-machine interface.
5. An HMI human-machine interface device, comprising:
and a data transmitting module: the method comprises the steps of sending a data frame to a next-level HMI human-machine interface;
and a data receiving module: the method comprises the steps of receiving a data frame sent by a previous-level HMI human-machine interface;
and a data integration module: the method for integrating the data frames sent by the upper-level HMI human-machine interface comprises the following steps: analyzing the local data from the previous HMI human-machine interface data frame and storing the local data in a preset address; deleting the local data in the data frame sent by the upper-level HMI human-machine interface and then sending the deleted local data to the lower-level HMI human-machine interface; and refreshing the display picture of the HMI human-machine interface after the local data in the preset address are updated completely.
CN201911294552.7A 2019-12-16 2019-12-16 HMI human-machine interface data communication method and HMI human-machine interface device Active CN111158810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911294552.7A CN111158810B (en) 2019-12-16 2019-12-16 HMI human-machine interface data communication method and HMI human-machine interface device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911294552.7A CN111158810B (en) 2019-12-16 2019-12-16 HMI human-machine interface data communication method and HMI human-machine interface device

Publications (2)

Publication Number Publication Date
CN111158810A CN111158810A (en) 2020-05-15
CN111158810B true CN111158810B (en) 2023-05-02

Family

ID=70557179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911294552.7A Active CN111158810B (en) 2019-12-16 2019-12-16 HMI human-machine interface data communication method and HMI human-machine interface device

Country Status (1)

Country Link
CN (1) CN111158810B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005318522A (en) * 2004-03-30 2005-11-10 Mitsubishi Electric Corp Mobile communication terminal
CN101547336A (en) * 2008-03-25 2009-09-30 华为技术有限公司 Interface operation control device, system and method of IPTV
CN102368214A (en) * 2011-10-17 2012-03-07 深圳和而泰智能控制股份有限公司 Automatic interface generation method and system
CN103107824A (en) * 2013-01-15 2013-05-15 深圳市岑科实业有限公司 Wireless receiving launcher and wireless communication method
CN104010038A (en) * 2014-06-03 2014-08-27 南京南瑞继保电气有限公司 Method for uploading transformer substation graphic to scheduling master station according to JMS technology
CN104699361A (en) * 2013-12-04 2015-06-10 航天信息股份有限公司 Starting and data entering method for man-machine interaction interface of industrial control equipment
CN106502634A (en) * 2015-09-07 2017-03-15 佛山市顺德区美的电热电器制造有限公司 The man-machine interactive system and method for controlling intelligent household appliances

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4484803B2 (en) * 2005-10-05 2010-06-16 アラクサラネットワークス株式会社 Network operation management system
US8179787B2 (en) * 2009-01-27 2012-05-15 Smsc Holding S.A.R.L. Fault tolerant network utilizing bi-directional point-to-point communications links between nodes
WO2013173421A2 (en) * 2012-05-16 2013-11-21 Wellpoint, Inc. System and method for situational enablement of context aware human machine interfaces

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005318522A (en) * 2004-03-30 2005-11-10 Mitsubishi Electric Corp Mobile communication terminal
CN101547336A (en) * 2008-03-25 2009-09-30 华为技术有限公司 Interface operation control device, system and method of IPTV
CN102368214A (en) * 2011-10-17 2012-03-07 深圳和而泰智能控制股份有限公司 Automatic interface generation method and system
CN103107824A (en) * 2013-01-15 2013-05-15 深圳市岑科实业有限公司 Wireless receiving launcher and wireless communication method
CN104699361A (en) * 2013-12-04 2015-06-10 航天信息股份有限公司 Starting and data entering method for man-machine interaction interface of industrial control equipment
CN104010038A (en) * 2014-06-03 2014-08-27 南京南瑞继保电气有限公司 Method for uploading transformer substation graphic to scheduling master station according to JMS technology
CN106502634A (en) * 2015-09-07 2017-03-15 佛山市顺德区美的电热电器制造有限公司 The man-machine interactive system and method for controlling intelligent household appliances

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡明 ; 杨婧 ; .基于可重构理论的人机界面设计.中国水运(下半月).2011,(第04期),全文. *

Also Published As

Publication number Publication date
CN111158810A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
RU2372636C2 (en) Process control system automatic configuration method and process control system
KR100722697B1 (en) Control system, display device, control-use host computer, and data transmission method
CN107181659B (en) Intelligent cabinet communication method and system based on RS485 bus
US20120102240A1 (en) Fieldbus gateway using virtual serial filedbus port and data transmission method thereof
CN102053813B (en) Splicing wall control method and device
CN107682247B (en) Efficient communication method for host and multiple slaves
CN105515821B (en) The device and method of analysis and Control network
CN109361585B (en) Method for automatically setting baud rate and address of child node by main node
EP2725436B1 (en) Communication device connectable to a control device and a plurality of sensors
CN107132808B (en) Programmable controller, control method thereof, and recording medium
CN106131240A (en) A kind of CAN address distribution method based on daisy chaining and communication system
CN112599082A (en) Adaptive addressing and addressing method, device, equipment and storage medium
US10908583B2 (en) Safety control system and safety control unit
US11500573B2 (en) Multiple interface data exchange application for use in process control
CN101631148A (en) Communication method for allocating dynamic addresses in serial communication protocols
CN111158810B (en) HMI human-machine interface data communication method and HMI human-machine interface device
US8614620B2 (en) Method for parameterizing a process automation field device by simulating the acyclic services
US10445256B2 (en) Function connection unit
EP2859417B1 (en) Optimized communications with hart instruments
CN107430391A (en) Management system
CN107229586B (en) Communication means based on RS485 bridge circuit device
KR101312035B1 (en) System for supervisory control
US8554966B2 (en) Method for data exchange
CN110007887A (en) A kind of display methods based on mosaic screen, mosaic screen and splicing screen system
CN105242592A (en) Method and system for directly reading HART instrument parameters through PROFIBUS PA operating station

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