WO2018058304A1 - 自动生成用户界面的工业控制器及方法 - Google Patents

自动生成用户界面的工业控制器及方法 Download PDF

Info

Publication number
WO2018058304A1
WO2018058304A1 PCT/CN2016/100339 CN2016100339W WO2018058304A1 WO 2018058304 A1 WO2018058304 A1 WO 2018058304A1 CN 2016100339 W CN2016100339 W CN 2016100339W WO 2018058304 A1 WO2018058304 A1 WO 2018058304A1
Authority
WO
WIPO (PCT)
Prior art keywords
user interface
industrial
industrial controller
module
system sub
Prior art date
Application number
PCT/CN2016/100339
Other languages
English (en)
French (fr)
Inventor
李洋
范顺杰
孙琦
介鸣
Original Assignee
西门子公司
李洋
范顺杰
孙琦
介鸣
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 西门子公司, 李洋, 范顺杰, 孙琦, 介鸣 filed Critical 西门子公司
Priority to US16/336,180 priority Critical patent/US11029978B2/en
Priority to EP16917064.4A priority patent/EP3506089A4/en
Priority to PCT/CN2016/100339 priority patent/WO2018058304A1/zh
Priority to CN201680088101.6A priority patent/CN109643240B/zh
Publication of WO2018058304A1 publication Critical patent/WO2018058304A1/zh

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
    • 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
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41835Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by programme execution
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4188Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by CIM planning or realisation
    • 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
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Definitions

  • the invention relates to an industrial controller for automatically generating a user interface in an industrial system and a method for automatically generating a user interface.
  • an industrial system refers to a system formed by one or more operating devices and their controllers in an industrial factory environment.
  • the operating devices in the industrial system generally have a user interface, and the user interface may be a Human Machine Interface (HMI) for performing human-computer interaction operations, such as receiving user-entered configurations for operating devices. Parameters and control commands, and provide the user with operational status of various operating devices in the system such that the user can monitor and control the operation of the operating device.
  • HMI Human Machine Interface
  • the user interface of the operating device needs to be programmed by the programmer to form a user interface for monitoring and controlling each operating device.
  • This work requires a professional technician to consult the technical manual of each operating device, determine what data can be provided by each operating device, how to obtain the data, and how to control the device, and then program each device one by one.
  • the programming of the user interface of the operating device is not only complicated, but also requires debugging of the program. When adding new equipment, replacing old equipment, or upgrading existing equipment, professional technicians are required to reprogram the operating equipment user interface or modify existing programs and re-program the program.
  • a centralized user interface compilation configuration that is, a centralized central site is used to uniformly compile and configure the user interfaces of different operating devices.
  • the user interface of any one of the operating devices in the industrial system needs to be modified by the central compilation site if it needs to be reconfigured and modified, and the flexibility is low. Therefore, in the conventional industrial automation system, the user interface of the operating device has high professionalization requirements, large workload, and low flexibility.
  • Fig. 1 exemplarily shows an industrial system user interface generating apparatus according to the prior art.
  • the industrial system comprises one or more operating devices 2 and an industrial controller 3 that controls the operating device 2.
  • the central station 1 is arranged in an industrial system, and the operating device 2 and the industrial controller 3 controlling the operating device 2 can be connected to the central station 1 via Industrial Ethernet or other communication means.
  • the user interface of the operating device 2 is generated by the central station 1 in a unified configuration and then sent to the operating device 2 or the industrial controller 3 controlling the operating device 2.
  • the present invention discloses an industrial controller that automatically generates a user interface, the industrial controller being disposed in an industrial system sub-module, the industrial controller including an acquisition component configured to collect an industrial system sub-module Information generated at runtime; a processing component configured to extract an operational parameter of interest from information generated during operation of the industrial system sub-module, and generate, based on the operational parameter of interest, for rendering the a user interface for operating parameters; a communication component configured to send the user interface to the user terminal, and receive information input from the user terminal and send to the processing component.
  • the user interface in the invention is automatically generated based on the operation information of the industrial system sub-module, can be used in the system without manual parsing parameters or prior programming, does not need to program and debug the program for each operating device in the industrial system, and can automatically Adapting to the addition, replacement, or upgrade of operating equipment in the system greatly increases efficiency and reduces costs.
  • the user interface in the present invention is automatically generated by an industrial controller integrated in an industrial system sub-module, and the component is faster. Easy and flexible.
  • the communication component when the communication component receives a parameter update input from a user interface, the communication component sends the parameter update input to the processing component, the processing component updates the input based on the parameter Regenerate the user interface.
  • the user can implement data interaction with the industrial controller through the user interface, and send the updated parameter input to the industrial controller through the user interface, thereby further controlling the operating device in the industrial system sub-module.
  • the industrial controller further includes a storage component configured to store the generated user interface, the storage component being integrated into the industrial controller or integrated into the industry In the expansion device of the controller.
  • the generated user interface can be stored in the industrial controller, or can be stored in an external expansion device such as a hard disk connected to the industrial controller, which solves the problem that the internal storage space of the industrial controller is limited, and expands the storage space of the industrial controller. .
  • the user interface includes a user interface front end element, and the user interface front end element includes at least one of a parameter display area, a parameter update input area, a control display area, and a text display area.
  • the user interface further includes a custom configuration trigger control and a custom configuration operation interface.
  • the communication component when the communication component receives a custom configuration input from a user interface, the communication component sends the custom configuration input to the processing component, the processing component being The custom configuration input regenerates the user interface. Allows the user to customize the user interface that has been generated, and implements flexible interface settings. Different users can set the shape, style, and color of the interface according to their own needs, and can select the module to be displayed and the position displayed by the module. Users can customize their own operation interface to meet the diversified and personalized needs of users, and improve the user's work efficiency.
  • the custom configuration input includes adding a user interface front end element, deleting a user interface front end element, changing a graphic shape shape, size, color, brightness, contrast of the user interface front end element, and moving the user interface front end element in the user At least one of the locations in the display area of the interface.
  • the processing component of the industrial controller generates the user interface based on a webpage manner
  • the network script generated by the user interface includes HTML code, XML code, CSS code, JS code, and JAVA code.
  • the generated user interface can be accessed and presented by any of the desktop, laptop, tablet, and mobile phone devices having a web browser.
  • the invention automatically generates a user interface based on a universal platform of the network, and can generate and configure the user interface without a special configuration or development environment, thereby greatly reducing the cost. And users can view real-time data from anywhere in the web browser and control the industrial system, regardless of location restrictions, more flexible and convenient.
  • the generated user interface can be accessed and presented by any of a desktop, laptop, tablet, mobile phone having a web browser.
  • the information generated when the industrial system sub-module is running includes at least one of status information, control commands, configuration parameters, and types and attributes of the operating devices in the industrial system sub-module.
  • the present invention also discloses a method of generating a user interface, the method comprising the steps of: obtaining, by an industrial controller integrated in an industrial system sub-module, information generated during operation of the industrial system sub-module, wherein the industry The controller is for controlling the operation of the industrial system sub-module; extracting the operational parameters of interest from the information generated when the industrial system sub-module is running; generating, based on the operational parameters of interest, for reproducing the The user interface for running parameters.
  • the user interface in the invention is automatically generated based on the operation information of the industrial system sub-module, can be used in the system without manual parsing parameters or prior programming, does not need to program and debug the program for each operating device in the industrial system, and can automatically Adapting to the addition, replacement, or upgrade of operating equipment in the system greatly increases efficiency and reduces costs.
  • the user interface in the present invention is automatically generated by an industrial controller integrated in an industrial system sub-module, and the component is faster. Easy and flexible.
  • the method further comprises the step of regenerating the user interface based on the parameter update input upon receiving a parameter update input from the user interface.
  • the user can implement data interaction with the industrial controller through the user interface, and send the updated parameter input to the industrial controller through the user interface, thereby further controlling the operating device in the industrial system sub-module.
  • the user interface includes a user interface front end element, and the user interface front end element includes at least one of a parameter display area, a parameter update input area, a control display area, and a text display area.
  • the user interface further includes a custom configuration trigger control and a custom configuration operation interface.
  • the method further includes the step of regenerating the user interface based on the customized configuration input when a custom configuration input from the user interface is received. Allows the user to customize the user interface that has been generated, and implements flexible interface settings. Different users can set the shape, style, and color of the interface according to their own needs, and can select the module to be displayed and the position displayed by the module. Users can customize their own operation interface to meet the diversified and personalized needs of users, and improve the user's work efficiency.
  • the custom configuration input includes adding a user interface front end element, deleting a user interface front end element, changing a graphic shape shape, size, color, brightness, contrast of the user interface front end element, and moving the user interface front end element in the user At least one of the locations in the display area of the interface.
  • the user interface is generated based on a webpage manner
  • the web script generated by the user interface includes any one of HTML code, XML code, CSS code, JS code, and JAVA code.
  • the generated user interface can be accessed and presented by any of the desktop, laptop, tablet, and mobile phone devices having a web browser.
  • the invention automatically generates a user interface based on a universal platform of the network, and can generate and configure the user interface without a special configuration or development environment, thereby greatly reducing the cost. And users can view real-time data from anywhere in the web browser and control the industrial system, regardless of location restrictions, more flexible and convenient.
  • the generated user interface can be accessed and presented by any of a desktop, laptop, tablet, mobile phone having a web browser.
  • the information generated when the industrial system sub-module is running includes at least one of status information, control commands, configuration parameters, and types and attributes of the operating devices in the industrial system sub-module.
  • the present invention also discloses a non-transitory machine readable medium storing machine readable instructions for generating a user interface, when said machine readable instructions are executed by an industrial controller
  • the industrial controller performs and implements the functions of any of the above-described embodiments.
  • Figure 1 schematically illustrates an existing industrial system user interface generation device.
  • Fig. 2 schematically shows an industrial system architecture in the present invention.
  • FIG. 3 schematically illustrates an industrial controller that automatically generates a user interface in accordance with one embodiment of the present invention.
  • FIG. 4 schematically illustrates an industrial controller that automatically generates a user interface in accordance with another embodiment of the present invention.
  • FIG. 5 schematically illustrates a front end display interface of a user interface in accordance with one embodiment of the present invention.
  • Figure 6 schematically illustrates a custom user interface process in accordance with one embodiment of the present invention.
  • FIG. 7 schematically illustrates an industrial controller that automatically generates a user interface in accordance with yet another embodiment of the present invention.
  • FIG. 8 schematically illustrates a flow chart of a method of generating a user interface in accordance with one embodiment of the present invention.
  • an operating device 20 and an industrial controller 10 that controls the operating device 20 together form an industrial system sub-module.
  • Each industrial system sub-module is an independent modular structure that operates automatically and is independent of other industrial system sub-modules.
  • Industrial system sub-modules can be interconnected by Industrial Ethernet or other communication methods to form a communication network.
  • the operating device 20 in the industrial system sub-module generally has a user interface 200, which may be a Human Machine Interface (HMI) for performing human-computer interaction operations, such as receiving user input for operation.
  • HMI Human Machine Interface
  • the configuration parameters and control commands of the device 20 are provided to the user for the operational status of the various operating devices 20 in the system for user monitoring.
  • the operating device 20 can be a motor, a conveyor belt, a sensor, a switch, a smart relay, or an intelligent controller or the like in an industrial system.
  • the industrial controller 10 can be a programmable logic controller (PLC) programmable automation controller (PAC), a bus industrial computer, an embedded controller, and the like.
  • PLC programmable logic controller
  • PAC programmable automation controller
  • the user interface 200 is not generated by the centralized central site 1 configuration, but is generated by the industrial controller 10 disposed in each industrial system sub-module.
  • Each industrial system sub-module automatically runs a separate modular structure that makes the components faster, easier, and more flexible.
  • the generation or update of the user interface of each industrial system sub-module is not affected by other modules, which ensures that the industrial system sub-modules operate independently and stably.
  • FIG. 3 schematically illustrates an industrial controller 10 that generates a user interface 200 in accordance with one embodiment of the present invention.
  • the industrial controller 10 has an acquisition component 102 configured to collect information when the industrial system sub-module in which the industrial controller 10 is located is operating.
  • the information of the operation of the industrial system sub-module includes at least one of status information, control commands, configuration parameters, and types and attributes of the operating device 20 in the industrial system sub-module.
  • the state of the operating device 20 in the industrial system sub-module may be, for example, the state of the switch, the temperature profile of the motor, the operating state of the motor, and the like.
  • the control command may be, for example, a start, a deceleration, a stop of the motor, an on/off command of the switch, and the like.
  • Configuration parameters can be, for example, temperature and pressure Activities for setting, starting and stopping, reviewing sensor readings, and setting brake values.
  • Configuration parameter types can be integer numbers, strings, long integer numbers, floating point numbers, booleans, and so on.
  • Industrial system sub-module information can be represented in a descriptive language, such as an interface file recorded with control code.
  • the industrial controller 10 stores resources and data such as a user interface front-end element and a user interface back-end service program, and the user interface back-end service program is configured to respond to information input from the user interface, and complete corresponding according to the request input by the user. Operation; the front-end element of the user interface corresponds to the running parameters and is used for the reproduction of the front end of the webpage.
  • the acquisition component 102 of the industrial controller 10 transmits the collected information to the processing component 104 in the industrial controller 10 after collecting information on the operation of the industrial system sub-module in which it is located.
  • the processing component 104 in the industrial controller 10 upon receiving the information generated by the operation of the industrial system sub-module, parses the information of interest into operational parameters that are identifiable by the processing component 104.
  • the processing component 104 After the processing component 104 extracts the operating parameters of interest, the operating parameters are sent to the user interface backend service program, and after receiving the operating parameters, the user interface backend service program presents the operating parameters On the user interface, at the same time, the processing component 104 performs a query in the user interface front-end element library stored in the industrial controller 10 according to the extracted operating parameters, and extracts corresponding user interface front-end constituent elements, and generates the sense for reproducing the User interface 200 of the operational parameters of interest.
  • the communication component 106 of the industrial controller 10 is configured to transmit the user interface 200 to the user terminal, and receive information input from the user terminal for data interaction, if a parameter update input from the user interface is received, The parameter update input is sent to the user interface backend service program, and the processing component 104 generates a new user interface based on the updated parameters.
  • FIG. 4 schematically illustrates an industrial controller that generates a user interface in accordance with another embodiment of the present invention.
  • the user interface 200 generated by the processing component 104 can be stored in the storage component 108, which can be integrated in the industrial controller 10 or integrated into the expansion device of the industrial controller 10, such as an industrial controller. Hard drive.
  • FIG. 5 is a schematic diagram showing a front end display interface of a user interface according to an embodiment of the present invention, specifically showing a situation in which a monitoring page is reproduced in front of a user interface in a user interface, and the front end display 500 of the user interface can provide graphics
  • the control graphics in the graphical control display area 501 and the prompt text in the text display area 502 correspond to the types and values of the operational parameters received by the processing component 104, respectively.
  • an industrial system sub-module includes an industrial controller (for example, a PLC) and an operation device (for example, a conveyor belt) controlled by the industrial controller (for example, a PLC), wherein
  • the values of the start, stop, speed, direction, inclination, etc. of the industrial operating equipment can be monitored and controlled by the user interface generated by the industrial controller (PLC).
  • the speed and slope variables are A floating-point numeric type variable that has a range of values, while the start-stop variable and the direction variable are Boolean variables, and only two cases are represented.
  • the conveyor belt generates parameter information during operation as described by the industrial system control code, wherein if the speed and direction of the conveyor belt are operational parameters of interest to the user, the processing component 104 extracts correlations relating to the two operating parameters of the conveyor speed and direction.
  • Control code after extracting the relevant control code, the processing component 104 parses the control code, and the parsed operating parameters (for example, the running speed of the conveyor belt is 1.5 m/s, the direction is "left") is sent to a user interface backend service program, after receiving the operation parameter, the user interface backend service program presents the operation parameter on the user interface; at the same time, the processing component 104 displays the state information represented by the extracted operation parameter ( The speed and direction of the conveyor) is queried in the library of user interface front-end elements stored in the industrial controller 10 and extracts user interface front-end constituent elements corresponding to the speed and direction of the conveyor.
  • the industrial controller 10 stores graphic controls and prompt texts corresponding to the operating parameters.
  • the thermometer graphic and the prompt text "Sp" correspond to the speed parameters of the conveyor belt
  • the processing component 104 presents the elements to the front end of the user interface after extracting the corresponding graphic controls and prompt texts, and automatically generates a user interface.
  • the parameter display area 503 is disposed in the immediate vicinity of the text display area 502, and the running speed parameter value "1.5 m/s" of the conveyor belt is presented in the parameter display area 503, immediately adjacent to the prompt text "Sp".
  • the user can change the parameter configuration of the "conveyor speed" through the front end of the user interface to change the parameter configuration to "conveyor inclination", the communication component 106 of the industrial controller 10.
  • An input of information from the front end of the user interface can be received and sent to the processing component 104, and when the processing component 104 receives an update input from the user for operating device configuration parameters, the processing component 104 sends the parameter update input to a user interface backend service program, the user interface backend program making a response to adjust corresponding configuration parameters according to the update input, and the processing component 104 generates a new user interface according to the updated parameter configuration, ie, the "conveyor tilt" parameter
  • the values of the user interface front-end elements associated with the "Conveyor Tilt" parameter are presented on the updated user interface.
  • the user interface 500 also provides a custom configuration control display area 504, as shown in FIG. 5, wherein the custom configuration control (R, S) is a custom configuration trigger control, and R is a custom configuration end and returns to the monitoring interface. Trigger control.
  • the custom configuration control R, S
  • R is a custom configuration end and returns to the monitoring interface. Trigger control.
  • the user-defined configuration request may be triggered.
  • the communication component 106 in the industrial controller 10 sends the request to the processing component 104.
  • the processing component 104 is based on the user's self. Define the configuration input to regenerate the user interface. The process of custom configuration will be described in detail below.
  • Figure 6 schematically illustrates a custom user interface process in accordance with one embodiment of the present invention.
  • the user interface in the present invention also presents a custom configuration page to the user.
  • Users can customize the user interface layout generated by the settings, for example, the user can Adding additional function keys on the basis of the original webpage elements of the user interface to increase the function, the user can also add and delete the front-end elements of the user interface according to preferences and needs, and change the graphic shape of the front-end elements of the user interface. Size, color, brightness, contrast, moving the user interface front-end elements in the display area of the user interface, combining their own desired layout.
  • the front-end element of the webpage can be placed and displayed at any position of the display area, and features such as size, shape, direction, color, and embedded text of the front-end element of the webpage can be edited.
  • the communication component 106 in the industrial controller 10 After receiving the configuration update information from the client, the communication component 106 in the industrial controller 10 transmits the configuration update information to the processing component 104, and the processing component 104 associates the web page front end elements with the web page backend program.
  • the user in order to reconfigure the monitoring interface for generating a conveyor control system, the user first presses the control button S to trigger the user-defined configuration request, and the communication component 106 in the industrial controller 10 receives the user-defined configuration interface request.
  • the processing component 104 Sending the request to the processing component 104, the processing component 104 presents an interface including the user interface front-end element library 601 at the front end of the interface, and the root user can drag the control graphics required by the user interface front-end element library 601 to the screen. a suitable location, for example, replacing the thermometer control in the original user interface with a buoy type control, and after receiving the element replacement information, the processing component 104 re-stores and presents the user-selected user interface front-end element, and the processing component 104 simultaneously
  • the replacement information is sent to the user interface backend service program, which adjusts the corresponding configuration based on the input, and the processing component 104 generates a new user interface based on the customized configuration.
  • the processing component 104 can end the custom configuration process, causing the user interface front end to return to the monitoring interface display.
  • FIG. 7 schematically illustrates an industrial controller that generates a user interface in accordance with yet another embodiment of the present invention.
  • the processing component 104 generates the user interface 700 based on a web page.
  • the industrial controller 10 can generate a user interface 700 with graphical controls that can be based on HTML code, XML code, CSS code, JS code, JAVA code, or other, using a corresponding web page architecture and communication protocol. Network-based scripts are built.
  • the user equipment can be connected to the industrial controller 10 via a communication component 106 (e.g., wireless network WIFI).
  • the user device can be a desktop computer, a laptop computer, a tablet computer, a mobile phone, or any terminal device that can access the network through a web browser.
  • the user can make an access request to the industrial controller 10 via a web browser that comes with the user device. For example, a user only needs to type a Uniform Resource Locator in the address bar of a web browser to issue an access request that requires a programming service.
  • the industrial controller 10 Upon receiving the access request, the industrial controller 10 transmits the user interface 700 as a response to the user device and presents it on the display of the user device.
  • the user can access the user interface 700 presented with industrial system information through a mobile phone, a computer or the like, which is convenient, flexible, and free from geographical restrictions, and can realize remote monitoring.
  • FIG. 8 schematically illustrates a flow chart of a method of generating a user interface in accordance with one embodiment of the present disclosure.
  • the method includes the following steps: Step 801: Acquire information of the industrial system sub-module during operation by an industrial controller integrated in an industrial system sub-module, wherein the industrial controller is used to control operation of the industrial system sub-module; The information of the industrial system sub-module running, extracting the operating parameter of interest; step 803: generating a user interface for reproducing the operating parameter of interest according to the extracted operating parameter of interest.
  • the method can also include the step 804 of regenerating the user interface based on the parameter update input when a parameter update input from the user interface is received.
  • the method can also include the step 805 of regenerating the user interface in accordance with the custom configuration input when a custom configuration input from the user interface is received.
  • the present invention also provides a non-transitory machine readable medium storing instructions for causing a machine to execute a method of generating a user interface as described herein.
  • the program code itself read from the storage medium can implement the functions of any of the above embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
  • Storage medium embodiments for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW [z1 ]), tape, non-volatile memory card and ROM [z2].
  • the program code can be downloaded from the server computer by the communication network.
  • the program code read out from the storage medium is written into the memory set in the expansion board inserted in the industrial controller or written in the memory set in the expansion unit connected to the industrial controller, and then
  • the program code-based instructions cause a CPU or the like mounted on the expansion board or the expansion unit to perform part and all of the actual operations, thereby realizing the functions of any of the above embodiments.
  • embodiments of the present disclosure may be implemented by hardware, software, or a combination of software and hardware.
  • the hardware portion can be implemented using dedicated logic; the software portion can be stored in memory and executed by a suitable instruction execution system, such as a microprocessor or dedicated design hardware.
  • a suitable instruction execution system such as a microprocessor or dedicated design hardware.
  • processor control code such as on a carrier medium such as a magnetic disk, CD or DVD-ROM, such as a read-only memory ( Such code is provided on a programmable memory of firmware or on a data carrier such as an optical or electronic signal carrier.
  • the apparatus of the present disclosure and its apparatus may be implemented by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, and the like. It can also be implemented by software executed by various types of processors, or by a combination of the above-described hardware circuits and software such as firmware.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)
  • Programmable Controllers (AREA)

Abstract

一种自动生成用户界面的工业控制器(10),被配置成采集工业***子模块运行时产生的信息,并从工业***子模块运行时产生的信息中提取感兴趣的运行参数,根据提取出所述感兴趣的运行参数,生成用于再现所述感兴趣的运行参数的用户界面(200),还可以根据用户的参数更新输入或自定义配置输入重新生成用户界面(200)。工业控制器(10)可以自动生成用户界面(200)无需人工解析参数,并且实现了灵活的界面设置。

Description

自动生成用户界面的工业控制器及方法 技术领域
本发明涉及一种工业***中自动生成用户界面的工业控制器及自动生成用户界面的方法。
背景技术
在本发明中,工业***是指在工业工厂环境中一个或多个操作设备及其控制器所形成的***。工业***中的操作设备一般都具有用户界面,所述的用户界面可以是人机接口(Human Machine Interface,HMI),其用于执行人机交互的操作,例如接收用户输入的针对操作设备的配置参数和控制命令,并且向用户提供***中各种操作设备的运行状态以使得用户可以监视和控制操作设备的运行。
在现有技术中,针对不同的工业***,需要由编程人员对操作设备的用户界面进行编程,以形成针对各个操作设备进行监视和控制的用户界面。这项工作需要由专业技术人员查阅各个操作设备的技术手册,确定各个操作设备能够提供哪些数据、如何获取这些数据、以及如何控制该设备,再针对各个设备进行逐一编程。对于操作设备用户界面的编程工作不仅复杂,还需要对程序进行调试。当***中增加新设备、更换旧设备、或者对已有设备进行升级时,需要专业技术人员对操作设备用户界面重新编程或修改已有程序,并重新调试程序。
此外,现有技术中还大多采用集中式的用户界面编译配置,即,采用集中式的中央站点对于各个不同的操作设备的用户界面进行统一的编译配置。工业***中的任何一个操作设备的用户界面如果需要重新配置和修改则都需要经过中央编译站点来修改,灵活度低。因此,在传统的工业自动化***中,操作设备的用户界面生成工作的专业化要求高,工作量大,灵活度低。
图1示例性地示出了一个依据现有技术的工业***用户界面生成装置。工业***包括一个或多个操作设备2和对操作设备2进行控制的工业控制器3。在工业***中设置中央站点1,操作设备2和对操作设备2进行控制的工业控制器3可以通过工业以太网或其他通讯方式与中央站点1连接。操作设备2的用户界面由中央站点1统一配置生成,再发送给操作设备2或控制操作设备2的工业控制器3中。
目前还出现了一些针对用户界面的制作和生成的软件,但是此类软件需要用户购买并安装在客户端,只能在单一的软件平台上运行,需要专门的配置、专门的开发环境。当工业***中增加新设备、更换旧设备、或者对已有设备进行升级时,需要对整个***进行软 件以及硬件的维护,软件安装和维护的成本高。并且,生成的用户界面布局是固定的,用户不能进行个性化的设置和自定义调节。为了更好的满足用户的个性化要求,让用户在友好的界面环境下进行操作,就要求能让用户自定义操作界面,让界面能更人性化、贴近用户。
发明内容
针对上述问题,本发明公开了一种自动生成用户界面的工业控制器,所述工业控制器设置于工业***子模块中,所述工业控制器包括一采集部件,被配置成采集工业***子模块运行时产生的信息;一处理部件,被配置成从所述工业***子模块运行时产生的信息中提取感兴趣的运行参数,并根据所述感兴趣的运行参数生成用于再现所述感兴趣的运行参数的用户界面;一通信部件,被配置成发送所述用户界面至用户终端,以及接收来自用户终端的信息输入并发送至所述处理部件。
本发明中用户界面是基于工业***子模块的运行信息自动生成,无需人工解析参数或事先编程就可以在***中使用,不需要针对工业***中的各个操作设备进行编程和调试程序,并且能够自动适应于***中操作设备的增加、更换、或升级,大幅提高了效率并降低了成本。相比于由工业***中集中式中央站点生成用户界面再发送给工业***子模块的技术方案,本发明中的用户界面是由集成在工业***子模块中的工业控制器自动生成,组件更加快速容易,灵活度更高。
在一种实施方式中,当所述通信部件接收到来自用户界面的参数更新输入时,所述通信部件将所述参数更新输入发送至所述处理部件,所述处理部件根据所述参数更新输入重新生成用户界面。这样,用户可以通过所述用户界面与所述工业控制器实现数据交互,将更新的参数输入通过用户界面发送至工业控制器,从而进一步地对工业***子模块中的操作设备进行控制。
在一种实施方式中,工业控制器还包括存储部件,所述存储部件被配置成存储所述生成的用户界面,所述存储部件被集成于所述工业控制器中或被集成于所述工业控制器的扩展设备中。生成的用户界面可以被存储于工业控制器中,也可以存储于与工业控制器连接的例如硬盘等外部扩展设备,解决了工业控制器内部存储空间有限的问题,扩展了工业控制器的存储空间。
在一种实施方式中,所述用户界面包括用户界面前端元素,所述用户界面前端元素包括参数显示区域、参数更新输入区域、控件显示区域、文字显示区域中的至少之一。
在一种实施方式中,所述用户界面还包括自定义配置触发控件和自定义配置操作界面。
在一种实施方式中,当所述通信部件接收到来自用户界面的自定义配置输入时,所述通信部件将所述自定义配置输入发送至所述处理部件,所述处理部件根据所述的自定义配置输入重新生成用户界面。允许用户对已经生成的用户界面进行自定义配置,实现了灵活的界面设置,不同用户都可以根据自己的需要设置界面的形状、风格、颜色,并可以选择要显示的模块以及模块显示的位置。用户可以定制自己的操作界面,满足了用户的多样化和个性化需求,提高了用户的工作效率。
在一种实施方式中,所述自定义配置输入包括添加用户界面前端元素,删除用户界面前端元素,更改用户界面前端元素的图形形状、大小、颜色、亮度、对比度,移动用户界面前端元素在用户界面的显示区域中的位置中的至少之一。
在一种实施方式中,工业控制器的处理部件是基于网页方式生成所述用户界面,生成所述用户界面所利用的网络脚本包括HTML代码、XML代码、CSS代码、JS代码、JAVA代码中的任一。所述生成的用户界面能够被台式电脑、笔记本电脑、平板电脑、移动电话中的任一具有网页浏览器的设备所访问并呈现。相比于工业***用户界面生成软件,本发明是基于网络的通用的平台自动生成用户界面,不需要专门的配置或开发环境,就可以进行用户界面的生成和配置,因此,大大降低了成本,并且用户可通过网页浏览器在任何地方观看实时数据并对工业***进行控制,不受地点上的限制,更加灵活方便。
在一种实施方式中,所述生成的用户界面能够被台式电脑、笔记本电脑、平板电脑、移动电话中的任一具有网页浏览器的设备所访问并呈现。
在一种实施方式中,所述工业***子模块运行时产生的信息包括工业***子模块中操作设备的状态信息、控制命令、配置参数及其类型和属性中的至少之一。
本发明还公开了一种生成用户界面的方法,所述方法包括以下步骤:由集成在工业***子模块中的工业控制器获取所述工业***子模块运行时的产生信息,其中,所述工业控制器是用于控制工业***子模块的运行;从所述工业***子模块运行时产生的信息中提取感兴趣的运行参数;根据所述感兴趣的运行参数生成用于再现所述感兴趣的运行参数的用户界面。
本发明中用户界面是基于工业***子模块的运行信息自动生成,无需人工解析参数或事先编程就可以在***中使用,不需要针对工业***中的各个操作设备进行编程和调试程序,并且能够自动适应于***中操作设备的增加、更换、或升级,大幅提高了效率并降低了成本。相比于由工业***中集中式中央站点生成用户界面再发送给工业***子模块的技术方案,本发明中的用户界面是由集成在工业***子模块中的工业控制器自动生成,组件更加快速容易,灵活度更高。
在一种实施方式中,所述方法还包括以下步骤:当接收到来自用户界面的参数更新输入时,根据所述参数更新输入重新生成用户界面。这样,用户可以通过所述用户界面与所述工业控制器实现数据交互,将更新的参数输入通过用户界面发送至工业控制器,从而进一步地对工业***子模块中的操作设备进行控制。
在一种实施方式中,所述用户界面包括用户界面前端元素,所述用户界面前端元素包括参数显示区域、参数更新输入区域、控件显示区域、文字显示区域中的至少之一。
在一种实施方式中,所述用户界面还包括自定义配置触发控件和自定义配置操作界面。
在一种实施方式中,所述方法还包括以下步骤:当接收到来自用户界面的自定义配置输入时,根据所述的自定义配置输入重新生成用户界面。允许用户对已经生成的用户界面进行自定义配置,实现了灵活的界面设置,不同用户都可以根据自己的需要设置界面的形状、风格、颜色,并可以选择要显示的模块以及模块显示的位置。用户可以定制自己的操作界面,满足了用户的多样化和个性化需求,提高了用户的工作效率。
在一种实施方式中,所述自定义配置输入包括添加用户界面前端元素,删除用户界面前端元素,更改用户界面前端元素的图形形状、大小、颜色、亮度、对比度,移动用户界面前端元素在用户界面的显示区域中的位置中的至少之一。
在一种实施方式中,所述用户界面是基于网页方式生成,生成所述用户界面所利用的网络脚本包括HTML代码、XML代码、CSS代码、JS代码、JAVA代码中的任一。所述生成的用户界面能够被台式电脑、笔记本电脑、平板电脑、移动电话中的任一具有网页浏览器的设备所访问并呈现。相比于工业***用户界面生成软件,本发明是基于网络的通用的平台自动生成用户界面,不需要专门的配置或开发环境,就可以进行用户界面的生成和配置,因此,大大降低了成本,并且用户可通过网页浏览器在任何地方观看实时数据并对工业***进行控制,不受地点上的限制,更加灵活方便。
在一种实施方式中,所述生成的用户界面能够被台式电脑、笔记本电脑、平板电脑、移动电话中的任一具有网页浏览器的设备所访问并呈现。
在一种实施方式中,所述工业***子模块运行时产生的信息包括工业***子模块中操作设备的状态信息、控制命令、配置参数及其类型和属性中的至少之一。
本发明还公开了一种非暂态机器可读介质,所述机器可读介质存储用于生成用户界面的机器可读指令,当所述机器可读指令被工业控制器执行时,使所述工业控制器执行并实现上述实施例中任意一项实施例的功能。
附图说明
下文将以明确易懂的方式通过对优选实施例的说明并结合附图来对本发明上述特性、 技术特征、优点及其实现方式予以进一步说明,其中:
图1示意性地示出了一个现有的工业***用户界面生成装置。
图2示意性地示出了本发明中的工业***架构。
图3示意性地示出了根据本发明一个实施例的自动生成用户界面的工业控制器。
图4示意性地示出了根据本发明另一个实施例的自动生成用户界面的工业控制器。
图5示意性地示出了根据本发明一个实施例的用户界面的前端显示界面。
图6示意性地示出了根据本发明一个实施例的自定义用户界面过程。
图7示意性地示出了根据本发明又一个实施例的自动生成用户界面的工业控制器。
图8示意性地示出了根据本发明一个实施例的生成用户界面的方法流程图。
附图标记说明附图标记说明标号说明:
1:集中产生用户界面的中央站点
2:操作设备
3:工业控制器
10:工业控制器
20:操作设备
102:采集部件
104:处理部件
106:通信部件
108:存储部件
200:用户界面
500:用户界面前端显示
501:用户界面前端图形控件显示区域
502:用户界面前端文字显示区域
503:用户界面前端参数显示区域
504:用户界面前端自定义配置控件
601:用户界面前端元素库
701:移动电话
702:笔记本电脑
703:台式电脑
801-805:生成用户界面的步骤
具体实施方式
为了对发明的技术特征、目的和效果有更加清楚的理解,现对照附图说明本发明的具体实施方式,在各图中相同的标号表示相同的部分。对于多个相同的构成部分,有时对其中之一标以符号,而对其他省略符号。
下面讨论的各图以及被用来描述在该专利文档中的本公开的原理的各种实施例仅以说明的方式并且无论如何不应该被解释成限制本公开的范围。本领域技术人员将会理解,可以在任何适当布置的设备中实施本公开的原理。将参考示例性非限制实施例来描述本申请的各种创新教导。
如图2所示,在工业***中,存在多个操作设备20以及控制操作设备20的工业控制器10。其中,一个操作设备20和控制该操作设备20的工业控制器10一起形成了工业***子模块。每一个工业***子模块均为独立模块化结构,自动运行,与其他工业***子模块相互独立。工业***子模块之间可以通过工业以太网或其他通讯方式相互连接形成通信网络。在工业***子模块中的操作设备20一般都具有用户界面200,所述的用户界面可以是人机接口(Human Machine Interface,HMI)用于执行人机交互的操作,例如接收用户输入的针对操作设备20的配置参数和控制命令,并且向用户提供***中各种操作设备20的运行状态以便用户监视。
操作设备20可以是工业***中的电机、传送带、传感器、开关、智能继电器、或智能控制器等。工业控制器10可以是可编程逻辑控制器(PLC)可编程自动化控制器(PAC)、总线工控机、嵌入式控制器等类型。
与图1不同的是,本发明提供的实施例中,用户界面200并不是由集中式的中央站点1统一配置生成,而是由设置在各个工业***子模块中的工业控制器10所产生。每个工业***子模块自动运行相互独立的模块化结构使组件更加快速容易,灵活度更高。每一个工业***子模块自身的用户界面的生成或更新不受其他模块的影响,这样可以确保工业***子模块独立、稳定地运行。
图3示意性地示出了根据本发明的一个实施例的生成用户界面200的工业控制器10。工业控制器10具有采集部件102,被配置为采集工业控制器10所在的工业***子模块运行时的信息。工业***子模块运行的信息包括工业***子模块中操作设备20的状态信息、控制命令、配置参数及其类型和属性中的至少之一。工业***子模块中操作设备20的状态可以是例如开关的状态、电动机的温度曲线、电机的运行状态等。控制命令可以是例如电机的启动、减速、停机、开关的接通/关断命令等。配置参数可以是例如温度和压力的 设置、启动和停止、审查传感器读数以及设置制动器值等的活动。配置参数类型可以是整型数字、字符串、长整型数字、浮点型数字、布尔型等。工业***子模块信息可以用一种描述性语言来表示,例如用控制代码记录的接口文件。
工业控制器10中存储有用户界面前端元素和用户界面后端服务程序等资源和数据,用户界面后端服务程序用于对于来自用户界面的信息输入做出响应,根据用户输入的请求来完成相应操作;用户界面前端元素与运行参数相对应,用于网页前端的再现。工业控制器10的采集部件102在采集到其所在的工业***子模块运行时的信息后,将所采集的信息发送给工业控制器10中的处理部件104。工业控制器10中的处理部件104在接收到所述工业***子模块运行时产生的信息后,将其中感兴趣信息进行解析成可被处理部件104识别的运行参数。处理部件104在提取感兴趣的运行参数之后,将所述运行参数发送至所述用户界面后端服务程序,用户界面后端服务程序在接收到所述运行参数后,将所述运行参数呈现在用户界面上,同时,处理部件104根据提取出所述运行参数,在工业控制器10中存储的用户界面前端元素库中进行查询并提取相应的用户界面前端组成元素,生成用于再现所述感兴趣的运行参数的用户界面200。
工业控制器10的通信部件106被配置成发送所述用户界面200至用户终端,以及接收来自用户终端的信息输入,用于进行数据交互,如果接收到来自用户界面的参数更新输入,则将所述的参数更新输入发送至所述用户界面后端服务程序,处理部件104根据更新后的参数生成新的用户界面。
图4示意性地示出了根据本发明另一个实施例的生成用户界面的工业控制器。处理部件104生成的用户界面200可以被存储于存储部件108中,存储部件108可以是集成在工业控制器10中,也可以被集成于工业控制器10的扩展设备中,例如与工业控制器连接的硬盘。
图5示意性地示出了根据本发明的一个实施例的用户界面的前端显示界面,具体地示出用户界面中监控页面在用户界面前端再现时的情况,用户界面的前端显示500能够提供图形控件显示区域501、文字显示区域502、参数显示区域503、自定义配置控件显示区域504。图形控件显示区域501中的控件图形和文字显示区域502中的提示文字分别与处理部件104接收的运行参数的类型和数值相对应。
具体来说,以工厂生产线上的一个传送带控制***中为例,工业***子模块包括工业控制器(例如PLC)和由该工业控制器(例如PLC)控制的操作设备(例如传送带),其中,工业操作设备(例如传送带)运行时的启动、停止、速度、方向、倾斜度等参数值都可以通过该工业控制器(PLC)生成的用户界面来进行监视和控制。速度变量和倾斜度变量为 浮点型数字类型的变量,其具有一定的数值范围,而启停变量和方向变量为布尔变量,只有两种情况表示。传送带在运行时产生参数信息是由工业***控制代码来描述,其中,如果传送带的速度和方向是用户感兴趣的运行参数,则处理部件104提取记载有传送带速度和方向这两个运行参数的相关控制代码,在提取相关的控制代码后,处理部件104对所述的控制代码进行解析,解析出的运行参数(例如,传送带的运行速度为1.5m/s,方向为“左”)被发送至用户界面后端服务程序,用户界面后端服务程序在接收到所述运行参数后,将所述运行参数呈现在用户界面上;同时,处理部件104根据提取出的运行参数所表示的状态信息(传送带的速度和方向),在工业控制器10中存储的用户界面前端元素库中进行查询并提取与传送带的速度和方向相对应的用户界面前端组成元素。在工业控制器10中存储有与运行参数相对应的图形控件和提示文字,例如,温度计图形和提示文字“Sp”与传送带的速度参数相对应,左右键图形和提示文字“Dr”与传送带的方向参数相对应,处理部件104在提取相应的图形控件和提示文字后将这些元素呈现在用户界面的前端,自动生成用户界面。在如图5所示的用户界面中,参数显示区域503设置于紧邻文字显示区域502,传送带的运行速度参数数值“1.5m/s”在参数显示区域503中呈现,紧邻提示文字“Sp”。
如果用户希望监控传送带的倾斜度而不是传送带的速度,用户则可以通过用户界面前端更改“传送带速度”这一参数配置,将参数配置更改为“传送带倾斜度”,工业控制器10的通信部件106可以接收来自用户界面前端的信息输入并将该参数更新输入发送至处理部件104,当处理部件104接收到用户针对操作设备配置参数的更新输入时,处理部件104将所述的参数更新输入发送至用户界面后端服务程序,用户界面后端程序根据该更新输入做出调整相应配置参数的响应,同时处理部件104根据更新后的参数配置生成新的用户界面,即,将“传送带倾斜度”参数的数值和与“传送带倾斜度”参数相关的用户界面前端元素呈现在更新后的用户界面上。
用户界面500还提供了自定义配置控件显示区域504,如图5所示,其中,自定义配置控件(R,S)中S为自定义配置触发控件,R为自定义配置结束返回监控界面的触发控件。用户按下控件按钮S时可以触发用户自定义配置请求,工业控制器10中的通信部件106接收到用户自定义配置界面请求后,将该请求发送给处理部件104,处理部件104根据用户的自定义配置输入重新生成用户界面。自定义配置的过程将在下文具体描述。
图6示意性地示出了根据本发明一个实施例的自定义用户界面过程。图5所示的例子中,仅仅将示出了用户界面中监控页面的情况。本发明中的用户界面除了提供监控页面外,还向用户呈现自定义配置页面。用户可以自定义设置生成的用户界面布局,例如用户可以 在用户界面原有网页元素的基础上增加额外的功能按键,以增加制定功能,用户也可以根据偏好和需要,添加、删除所述用户界面前端元素,更改所述用户界面前端元素的图形形状、大小、颜色、亮度、对比度,移动所述用户界面前端元素在所述用户界面的显示区域位置,组合出自己的需要的布局。所述的网页前端元素可以被放置并显示在显示区域的任意位置,同时,网页前端元素的大小、形状、方向、颜色、内嵌文字等特征均可以被编辑。工业控制器10中的通信部件106接收到来自用户端的配置更新信息后,将这些配置更新信息发送给处理部件104,处理部件104会将这些网页前端元素与网页后端程序对应。如图6所示,为了重新配置生成一个传送带控制***的监控界面,用户首先按下控件按钮S触发用户自定义配置请求,工业控制器10中的通信部件106接收到用户自定义配置界面请求后,将该请求发送给处理部件104,处理部件104将包含用户界面前端元素库601的界面呈现在界面前端,根用户可以从用户界面前端元素库601中托拽自己需要的控件图形至屏幕中的合适位置,例如,用浮标型控件替换原始用户界面中的温度计控件,处理部件104接收到所述的元素替换信息后,重新存储并呈现用户选择的用户界面前端元素,处理部件104同时将该元素替换信息发送至用户界面后端服务程序,用户界面后端程序会根据该输入调整相应配置,处理部件104根据该自定义配置生成新的用户界面。当用户按下按钮R时,处理部件104可以结束自定义配置过程,使用户界面前端返回监控界面显示。
图7示意性地示出了根据本发明又一个实施例的生成用户界面的工业控制器。处理部件104是基于网页方式生成所述用户界面700。工业控制器10可以利用相应的网页架构和通信协议,产生具有图形化控件的用户界面700,基于网页方式生成的用户界面700可基于HTML代码,XML代码,CSS代码,JS代码,JAVA代码或其它基于网络的脚本来建立。
如图7所示,用户设备可以通过通信部件106(例如,无线网络WIFI)连接到工业控制器10。这里用户设备可以是台式电脑、笔记本电脑、平板电脑、移动电话或任何可通过网页浏览器访问网络的终端设备。
与现有技术不同的是,用户设备上无需安装任何客户端软件。相反,用户可以通过用户设备上自带的网页浏览器来向工业控制器10提出访问请求。例如,用户只需要在网页浏览器的地址栏中键入统一资源定位符URL(Uniform Resource Locator)即可发出需要获得编程服务的访问请求。接收到访问请求后,工业控制器10将用户界面700作为响应发送给用户设备,并在用户设备的显示器上呈现。用户可以通过手机、计算机等设备访问所述的呈现有工业***信息的用户界面700,方便,灵活,不受地域限制,可以实现远程监控。
图8示意性地示出了根据本公开一个实施例的生成用户界面的方法流程图。所述方法 包括:步骤801:由集成在工业***子模块的工业控制器获取所述工业***子模块运行时的信息,其中,所述工业控制器是用于控制工业***子模块的运行;步骤802:根据所述工业***子模块运行时的信息,提取感兴趣的运行参数;步骤803:根据提取出的所述感兴趣的所述运行参数,生成用于再现所述感兴趣的运行参数的用户界面。
所述方法还可以包括步骤804:当接收到来自用户界面的参数更新输入时,根据所述的参数更新输入重新生成用户界面。
所述方法还可以包括步骤805:当接收到来自用户界面的自定义配置输入时,根据所述的自定义配置输入重新生成用户界面。
本发明还提供了一种非暂态机器可读介质,存储用于使一机器执行如本文所述的生成用户界面方法的指令。具体地,可以提供配有存储介质的***或者装置,在该存储介质上存储着实现上述实施例中任一实施例的功能的软件程序代码,且使该***或者装置的工业控制器(或CPU或MPU)读出并执行存储在存储介质中的程序代码。
在这种情况下,从存储介质读取的程序代码本身可实现上述实施例中任何一项实施例的功能,因此程序代码和存储程序代码的存储介质构成了本发明的一部分。
用于提供程序代码的存储介质实施例包括软盘、硬盘、磁光盘、光盘(如CD-ROM、CD-R、CD-RW、DVD-ROM、DVD-RAM、DVD-RW、DVD+RW[z1])、磁带、非易失性存储卡和ROM[z2]。可选择地,可以由通信网络从服务器计算机上下载程序代码。
此外,应该清楚的是,不仅可以通过执行工业控制器所读出的程序代码,而且可以通过基于程序代码的指令使工业控制器上操作的操作***等来完成部分或者全部的实际操作,从而实现上述实施例中任意一项实施例的功能。
此外,可以理解的是,将由存储介质读出的程序代码写到***工业控制器内的扩展板中所设置的存储器中或者写到与工业控制器相连接的扩展单元中设置的存储器中,随后基于程序代码的指令使安装在扩展板或者扩展单元上的CPU等来执行部分和全部实际操作,从而实现上述实施例中任一实施例的功能。
应当注意,尽管在上文详细描述中提及了设备的若干单元或装置,但是这种划分并非是强制性的。实际上,根据本公开的实施例,上文描述的两个或更多装置的特征和功能可以在一个单元或装置中具体化。反之,上文描述的一个装置的特征和功能可以进一步划分为由多个单元或装置来具体化。
此外,尽管在附图中以特定顺序描述了本公开的方法操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。相反,流程图中描绘的步骤可以改变执行顺序。附加地或备选地,可以省略某些步骤, 将多个步骤组合为一个步骤执行,和/或将一个步骤分解为多个步骤执行。
应当注意,本公开的实施例可以通过硬件、软件或者软件和硬件的结合来实现。硬件部分可以利用专用逻辑来实现;软件部分可以存储在存储器中,由适当的指令执行***,例如微处理器或者专用设计硬件来执行。本领域的技术人员可以理解上述的设备和方法可以使用计算机可执行指令和/或包含在处理器控制代码中来实现,例如在诸如磁盘、CD或DVD-ROM的载体介质、诸如只读存储器(固件)的可编程的存储器或者诸如光学或电子信号载体的数据载体上提供了这样的代码。本公开的设备及其装置可以由诸如超大规模集成电路或门阵列、诸如逻辑芯片、晶体管等的半导体、或者诸如现场可编程门阵列、可编程逻辑设备等的可编程硬件设备的硬件电路实现,也可以用由各种类型的处理器执行的软件实现,也可以由上述硬件电路和软件的结合例如固件来实现。
在本文中,“示意性”表示“充当实例、例子或说明”,不应将在本文中被描述为“示意性”的任何图示、实施方式解释为一种更优选的或更具优点的技术方案。
上文所列出的一系列的详细说明仅仅是针对本发明的可行性实施例的具体说明,它们并非用以限制本发明的保护范围,凡未脱离本发明技艺精神所作的等效实施例或变更均应包含在本发明的保护范围之内。

Claims (20)

  1. 自动生成用户界面的工业控制器(10),所述工业控制器(10)设置于工业***子模块中,其特征在于,包括:
    一采集部件(102),被配置成采集所述工业***子模块运行时产生的信息;
    一处理部件(104),被配置成从所述工业***子模块运行时产生的信息中提取感兴趣的运行参数,并根据所述感兴趣的运行参数生成用于再现所述感兴趣的运行参数的用户界面(200);
    一通信部件(106),被配置成将所述用户界面(200)发送至至少一个用户终端,以及接收来自所述至少一个用户终端的信息输入并发送至所述处理部件(104)。
  2. 如权利要求1所述的工业控制器(10),其特征在于,当所述通信部件(106)接收到来自用户界面的参数更新输入时,所述通信部件(106)将所述参数更新输入发送至所述处理部件(104),所述处理部件(104)根据所述参数更新输入重新生成用户界面。
  3. 如权利要求1至2中任意一项所述的工业控制器中任意一项所述的工业控制器(10),其特征在于,还包括存储部件(108),所述存储部件(108)被配置成存储所述生成的用户界面(200),所述存储部件(108)被集成于所述工业控制器(10)中或被集成于所述工业控制器(10)的扩展设备中。
  4. 如权利要求1至3中任意一项所述的工业控制器(10),其特征在于,所述用户界面(200)包括用户界面前端元素,其中,所述用户界面前端元素包括:
    参数显示区域、参数更新输入区域、控件显示区域、文字显示区域中的至少之一。
  5. 如权利要求4所述的工业控制器(10),其特征在于,所述用户界面(200)还包括自定义配置触发控件和自定义配置操作界面。
  6. 如权利要求1所述的工业控制器(10),其特征在于,当所述通信部件(106)接收到来自用户界面的自定义配置输入时,所述通信部件(106)将所述自定义配置输入发送至所述处理部件(104),所述处理部件(104)根据所述自定义配置输入重新生成用户界面。
  7. 如权利要求6所述的工业控制器(10),其特征在于,所述自定义配置输入包括下列任意一项或多项:
    添加用户界面前端元素;
    删除用户界面前端元素;
    更改用户界面前端元素的图形形状、大小、颜色、亮度、对比度;以及
    移动用户界面前端元素在用户界面的显示区域中的位置。
  8. 如权利要求1所述的工业控制器(10),其特征在于,所述处理部件(104)是基于网页方式生成所述用户界面(400),其中,生成所述用户界面(400)所利用的网络脚本包 括:
    HTML代码、XML代码、CSS代码、JS代码、JAVA代码中的任一。
  9. 如权利要求8所述的工业控制器(10),其特征在于,所述生成的用户界面(400)能够被台式电脑、笔记本电脑、平板电脑、移动电话中的任一具有网页浏览器的设备所访问并呈现。
  10. 如权利要求1所述的工业控制器(10),其特征在于,所述工业***子模块运行时产生的信息包括:
    工业***子模块中操作设备的状态信息、控制命令、配置参数及其类型和属性中的至少之一。
  11. 一种生成用户界面的方法,其特征在于,所述方法包括以下步骤:
    由集成在工业***子模块中的工业控制器(10)获取所述工业***子模块运行时产生信息,其中,所述工业控制器(10)是用于控制工业***子模块的运行;
    从所述工业***子模块运行时产生的信息中提取感兴趣的运行参数;
    根据所述感兴趣的运行参数生成用于再现所述感兴趣的运行参数的用户界面(200)。
  12. 如权利要求11所述的生成用户界面的方法,其特征在于,所述方法还包括以下步骤:当接收到来自用户界面的参数更新输入时,根据所述参数更新输入重新生成用户界面。
  13. 如权利要求11至12所述的生成用户界面的方法,其特征在于,所述用户界面(200)包括用户界面前端元素,所述用户界面前端元素包括:
    参数显示区域、参数更新输入区域、控件显示区域、文字显示区域中的至少之一。
  14. 如权利要求13所述的生成用户界面的方法,其特征在于,所述用户界面(200)还包括自定义配置触发控件和自定义配置操作界面。
  15. 如权利要求11所述的生成用户界面的方法,其特征在于,所述方法还包括以下步骤:当接收到来自用户界面的自定义配置输入时,根据所述自定义配置输入重新生成用户界面。
  16. 如权利要求15所述的生成用户界面的方法,其特征在于,所述自定义配置输入包括下列任意一项或多项:
    添加用户界面前端元素;
    删除用户界面前端元素;
    更改用户界面前端元素的图形形状、大小、颜色、亮度、对比度;以及
    移动用户界面前端元素在用户界面的显示区域中的位置。
  17. 如权利要求11所述的生成用户界面的方法,其特征在于,所述处理部件(104)是基于网页方式生成所述用户界面(400),生成所述用户界面(400)所利用的网络脚本包括:
    HTML代码、XML代码、CSS代码、JS代码、JAVA代码中的任一。
  18. 如权利要求17所述的生成用户界面的方法,其特征在于,所述生成的用户界面(400)能够被台式电脑、笔记本电脑、平板电脑、移动电话中的任一具有网页浏览器的设备所访问并呈现。
  19. 如权利要求11所述的生成用户界面的方法,其特征在于,所述工业***子模块运行时产生的信息包括:
    工业***子模块中操作设备的状态信息、控制命令、配置参数及其类型和属性中的至少之一。
  20. 一种非暂态机器可读介质,所述机器可读介质存储用于生成用户界面的机器可读指令,当所述机器可读指令被工业控制器(10)执行时,使所述工业控制器(10)执行如权利要求11-19中任一项所述的方法。
PCT/CN2016/100339 2016-09-27 2016-09-27 自动生成用户界面的工业控制器及方法 WO2018058304A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US16/336,180 US11029978B2 (en) 2016-09-27 2016-09-27 Industrial controller and method for automatically creating user interface
EP16917064.4A EP3506089A4 (en) 2016-09-27 2016-09-27 INDUSTRIAL CONTROL UNIT AND METHOD FOR AUTOMATICALLY CREATING A USER INTERFACE
PCT/CN2016/100339 WO2018058304A1 (zh) 2016-09-27 2016-09-27 自动生成用户界面的工业控制器及方法
CN201680088101.6A CN109643240B (zh) 2016-09-27 2016-09-27 自动生成用户界面的工业控制器及方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/100339 WO2018058304A1 (zh) 2016-09-27 2016-09-27 自动生成用户界面的工业控制器及方法

Publications (1)

Publication Number Publication Date
WO2018058304A1 true WO2018058304A1 (zh) 2018-04-05

Family

ID=61762384

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100339 WO2018058304A1 (zh) 2016-09-27 2016-09-27 自动生成用户界面的工业控制器及方法

Country Status (4)

Country Link
US (1) US11029978B2 (zh)
EP (1) EP3506089A4 (zh)
CN (1) CN109643240B (zh)
WO (1) WO2018058304A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343354A (zh) * 2018-09-07 2019-02-15 丰唐物联技术(深圳)有限公司 智能开关及其适配的方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7052620B2 (ja) * 2018-07-30 2022-04-12 オムロン株式会社 サポート装置およびサポートプログラム
EP3745219B1 (en) * 2019-05-28 2023-07-05 ABB Schweiz AG Commissioning and condition monitoring of industrial processes using a wireless sensing device
EP3809221A1 (en) * 2019-10-18 2021-04-21 CODESYS Holding GmbH Data coupling between an industrial controller unit and a visualization unit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030025737A1 (en) * 2001-08-02 2003-02-06 Breinberg Steven Adam System and method for automatic and dynamic layout of resizable dialog type windows
CN101251800A (zh) * 2008-04-01 2008-08-27 北京中星微电子有限公司 图形用户界面生成方法及装置
CN101859245A (zh) * 2009-04-09 2010-10-13 北大方正集团有限公司 一种生成用户界面的方法和装置
CN104484169A (zh) * 2014-12-09 2015-04-01 成都视达科信息技术有限公司 一种Android软件用户界面生成方法、***及应用***
CN104731589A (zh) * 2015-03-12 2015-06-24 用友网络科技股份有限公司 用户界面的自动生成方法及自动生成装置

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505247B1 (en) * 1998-08-21 2003-01-07 National Instruments Corporation Industrial automation system and method for efficiently transferring time-sensitive and quality-sensitive data
US7392100B1 (en) * 2002-08-15 2008-06-24 Rockwell Automation Technologies, Inc. System and methodology that facilitate factory automation services in a distributed industrial automation environment
US8799800B2 (en) * 2005-05-13 2014-08-05 Rockwell Automation Technologies, Inc. Automatic user interface generation
US20080010160A1 (en) * 2006-06-16 2008-01-10 Bridges Thomas L Point of sale specific interface
EP1873634A3 (en) 2006-06-29 2013-10-09 Rockwell Automation Technologies, Inc. HMI framework for extensible automation system engineering platforms
CN101364089A (zh) * 2008-09-12 2009-02-11 深圳市合信自动化技术有限公司 可调整工业人机界面显示画面对象的方法及相关装置
GB2495434B (en) * 2008-09-29 2013-05-22 Fisher Rosemount Systems Inc Efficient design and configuration of elements in a process control system
KR101047899B1 (ko) * 2011-02-18 2011-07-08 삼일데이타시스템 주식회사 휴대단말기의 사용자 인터페이스 자동 생성과 이를 이용한 설비 제어시스템
CN102591291B (zh) * 2012-02-27 2013-09-25 固高科技(深圳)有限公司 工业控制器与人机界面双向数据传输***和方法
CN103605341B (zh) * 2013-11-21 2016-04-13 山东康威通信技术股份有限公司 在WebGIS上实时以动画形式展示工业设备状态的方法
US20150186119A1 (en) 2013-12-31 2015-07-02 Rockwell Automation Technologies, Inc. Industrial automation device with editor and graphical object mobile visualization
EP2902857B1 (de) * 2014-01-29 2018-12-19 Siemens Aktiengesellschaft Verfahren zur Bereitstellung von Funktionen innerhalb eines industriellen Automatisierungssystems und industrielles Automatisierungsystem
US9876652B2 (en) * 2014-05-20 2018-01-23 Savant Systems, Llc Automatic configuration of control device user interface in a home automation system
CN105911965B (zh) * 2016-03-14 2019-11-05 上海电气集团股份有限公司 一种在数据监测***中实现数据分析的方法
CN105892432B (zh) * 2016-05-11 2019-02-01 深圳市合信自动化技术有限公司 一种新型工业人机界面变量访问方法及***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030025737A1 (en) * 2001-08-02 2003-02-06 Breinberg Steven Adam System and method for automatic and dynamic layout of resizable dialog type windows
CN101251800A (zh) * 2008-04-01 2008-08-27 北京中星微电子有限公司 图形用户界面生成方法及装置
CN101859245A (zh) * 2009-04-09 2010-10-13 北大方正集团有限公司 一种生成用户界面的方法和装置
CN104484169A (zh) * 2014-12-09 2015-04-01 成都视达科信息技术有限公司 一种Android软件用户界面生成方法、***及应用***
CN104731589A (zh) * 2015-03-12 2015-06-24 用友网络科技股份有限公司 用户界面的自动生成方法及自动生成装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3506089A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343354A (zh) * 2018-09-07 2019-02-15 丰唐物联技术(深圳)有限公司 智能开关及其适配的方法
CN109343354B (zh) * 2018-09-07 2021-09-28 丰唐物联技术(深圳)有限公司 智能开关及其适配的方法

Also Published As

Publication number Publication date
EP3506089A4 (en) 2020-04-29
EP3506089A1 (en) 2019-07-03
US11029978B2 (en) 2021-06-08
CN109643240A (zh) 2019-04-16
US20190278617A1 (en) 2019-09-12
CN109643240B (zh) 2022-05-06

Similar Documents

Publication Publication Date Title
US10977014B2 (en) Web-based programming environment for embedded devices
WO2018058304A1 (zh) 自动生成用户界面的工业控制器及方法
US8849431B2 (en) Configuration based programmable logic controller (PLC) programming
EP1586966B1 (en) Control system configuration device
EP2902916A1 (en) Programming auxiliary system of programmable controller and method thereof
US11269308B2 (en) Method and apparatus for creating and managing smart programmable logic controller (PLC) solutions
US20120209557A1 (en) Methods, apparatus and articles of manufacture to test batch configurations
US20130135331A1 (en) Project-data creating device and programmable display device
JP2005327263A (ja) 制御システム設定装置
CN105573236A (zh) 信息处理装置、信息处理方法、信息处理程序及记录介质
JP5370376B2 (ja) 機器情報表示装置、機器情報表示プログラム、及び記録媒体
EP4390673A1 (en) Ecu upgrade method and device, and readable storage medium
US7124397B1 (en) Power builder for power management control system automation software
CN104572280B (zh) 一种Android应用主题切换方法
CN104679499A (zh) 一种ic装备人机交互界面可定制数据显示方法
US10296241B2 (en) Control device, control system, control method for control device, and control method for control system
US20140163739A1 (en) Dynamically-configurable local operator interface for upstream oil and gas wellhead control and monitoring
US20210271458A1 (en) Managing an app method and system
CN111078531A (zh) 一种可自定义的测试控制***
JP2001075791A (ja) エディタ装置およびエディタプログラムを記録した記録媒体
JP5926584B2 (ja) Plcシステム、そのプログラマブル表示器、作画エディタ装置
JP2001255911A (ja) プログラマブルコントローラのパラメータ設定方法
KR20240056539A (ko) 전기 차량 모니터링 방법 및 장치, 및 판독가능 저장 매체
CN106292346B (zh) 医疗冷柜控制***及上位机控制端装置
JP2007026267A (ja) プログラム処理装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16917064

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2016917064

Country of ref document: EP

Effective date: 20190327