CN111026387A - VPLC configuration method and device of industrial server and readable storage medium - Google Patents

VPLC configuration method and device of industrial server and readable storage medium Download PDF

Info

Publication number
CN111026387A
CN111026387A CN201911340079.1A CN201911340079A CN111026387A CN 111026387 A CN111026387 A CN 111026387A CN 201911340079 A CN201911340079 A CN 201911340079A CN 111026387 A CN111026387 A CN 111026387A
Authority
CN
China
Prior art keywords
configuration
vplc
area
component
graphical
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.)
Granted
Application number
CN201911340079.1A
Other languages
Chinese (zh)
Other versions
CN111026387B (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.)
Kyland Technology Co Ltd
Original Assignee
Kyland Technology 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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN201911340079.1A priority Critical patent/CN111026387B/en
Publication of CN111026387A publication Critical patent/CN111026387A/en
Application granted granted Critical
Publication of CN111026387B publication Critical patent/CN111026387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • 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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • 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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a VPLC configuration method of an industrial server, which comprises the following steps: the graphical configuration interface of the upper computer displays a component list area, a graphical configuration area and an attribute list configuration area; receiving configuration operation of a user on a graphical configuration interface; when a VPLC component displayed in the component list area is judged to be dragged and dropped into a frame body corresponding to a physical kernel in the graphical configuration area, the VPLC component is added and displayed in the frame body, and the configuration item of the VPLC is displayed in the attribute list configuration area and the configuration of a user is received; determining a physical kernel corresponding to the frame body, and generating configuration information of the VPLC for the physical kernel according to the configuration item of the VPLC; and compiling the generated configuration information to generate a format which can be recognized by the industrial server and downloading the format to the industrial server. A VPLC configuration device and a readable storage medium are also correspondingly provided. The invention can realize more convenient VPLC configuration for the industrial server.

Description

VPLC configuration method and device of industrial server and readable storage medium
Technical Field
The invention relates to the technical field of industrial automatic control, in particular to a VPLC configuration method and device of an industrial server and a readable storage medium.
Background
Virtual PLC (vplc), or soft PLC, is a technology that virtualizes a standard industrial computer into one or more PLCs of different functions through software technology. The VPLC can implement the same functions that the hard PLC has, such as switching volume control, analog volume control, mathematical operations, numerical processing, network communications, PID regulation, etc. On the other hand, the VPLC has the advantages of an industrial computer, such as large capacity, high processing speed, convenient network interconnection and the like. Therefore, in recent years, with the rapid development of computer technology, VPLC has also been rapidly developed as a new technology.
For example, the chinese patent application nos. CN201811298670.0, CN201810745322.7, and CN201711407327.0 disclose techniques for deploying multiple vplscs on an industrial server, including techniques for configuring multiple vplscs on each of multiple physical cores of an industrial server (one physical core corresponds to one core of a single-core CPU or a multi-core CPU).
Patent documents CN201811298670.0 and CN201711407327.0 also disclose that the VPLC deployed on the server can be edited by the upper computer client, which requires that application development environment software supporting IEC61131 standard and IEC61499 standard be deployed on the upper computer client. The IEC61131 standard specifies the control logic of individual VPLCCs, the communication protocol and the communication strategy of a single VPLC, and the IEC61499 standard specifies the communication protocol and the communication strategy among the VPLCs. And the upper computer client side edits the VPLC topological structure information and the instruction set of the VPLC on the editor by adopting a programming mode of combining the IEC61499 standard and the IEC61131 standard, and realizes the programming of the internal operation logic of the VPLC and the operation logic among the VPLCs.
However, the programming of the upper computer client disclosed in the two patent documents refers to programming of the operation logic inside the VPLC and the operation logic between the VPLCs, and does not relate to how to conveniently and rapidly configure the VPLC in the industrial server.
On the other hand, as far as the applicant knows, the VPLC on the industrial server is configured by entering computer code by technicians, so that the technical problem of how to configure the VPLC on the industrial server more conveniently is to be solved.
Disclosure of Invention
In view of this, the present invention mainly aims to provide a VPLC configuration method, a configuration apparatus, and a computer-readable storage medium for an industrial server, so as to implement more convenient VPLC configuration for the industrial server.
The VPLC configuration method of the industrial server provided by the invention comprises the following steps:
the graphical configuration interface of the upper computer displays a component list area, a graphical configuration area and an attribute list configuration area;
receiving configuration operation of a user on a graphical configuration interface;
when a VPLC component displayed in the component list area is judged to be dragged and dropped into a frame body corresponding to a physical kernel in the graphical configuration area, the VPLC component is added and displayed in the frame body, a configuration item of the VPLC is displayed in the attribute list configuration area, and a configuration operation of a user on the configuration item is received;
determining a physical kernel corresponding to the frame body, and generating VPLC configuration information for the physical kernel based on the VPLC configuration items;
and compiling the generated configuration information to generate a format which can be recognized by the industrial server and downloading the format to the industrial server.
Therefore, the invention can display the frame bodies corresponding to the physical kernels through the graphical configuration area of the graphical configuration interface, and each configured VPLC can be displayed in each frame body, thereby realizing that a plurality of physical kernels and a plurality of VPLCCs can be configured in one configuration interface, and because the VPLC can be configured for the physical kernels of the industrial server in a drag-and-drop assembly-based mode, the VPLC can be configured conveniently, and the problem that the manual configuration needs to be carried out by manually typing codes in the background technology is solved.
Optionally, the method further includes: when a port assembly displayed in the assembly list area is judged to be dragged and dropped into a VPLC assembly in the graphical configuration area, the port assembly is added in the graphical configuration area and displayed corresponding to the VPLC assembly, configuration items of the ports are displayed in the attribute list configuration area, and configuration operation of a user on the configuration items is received;
the generating the configuration information of the VPLC further comprises: and generating port configuration information for the VPLC corresponding to the VPLC component based on the configuration items of the ports.
Therefore, the port is configured for the VPLC based on the drag-and-drop component, the VPLC can be configured conveniently, and the problem that manual configuration needs to be carried out by manually typing codes in the background technology is solved.
Optionally, the port component displayed in the graphical configuration area is located below the frame corresponding to the physical kernel for display;
and hiding the corresponding port component in the graphical configuration area aiming at the VPLC component which is not currently selected.
Therefore, the ports configured by the current VPLC can be visually displayed, and the ports configured by other VPLCs are hidden, so that the user mismatch is avoided.
Optionally, the method further includes: the graphical configuration interface also displays a project list area for displaying the configurable project engineering of the tree structure;
and after the configurable project engineering is clicked, the configurable components under the project engineering are displayed in the component list area.
Therefore, by displaying the configurable project engineering of the tree structure, each configurable component is classified, and the component to be used is more favorably found.
Optionally, the method further includes configuring a scheduling priority of each VPLC task, including:
configuring each physical kernel operation cycle in the configuration items of the attribute list configuration area corresponding to each physical kernel, wherein the operation cycle corresponds to a first priority of task scheduling of a VPLC configured by each physical kernel; and/or
And for different VPLC components in the frame corresponding to the same physical kernel, setting the value of the operation period for each corresponding VPLC according to the arrangement sequence of each VPLC component, wherein the value corresponds to the second priority of the task scheduling of each VPLC configured by the same physical kernel.
By the above configuration of two layers of priorities, the priorities of task scheduling can be flexibly generated for each VPLC. And the corresponding size value of the operation period of each VPLC is automatically set through the arrangement sequence of the VPLC components, so that manual configuration is omitted, and the second priority can be configured more conveniently.
Optionally, the method further includes: and when judging that one component or frame in the graphical configuration area is clicked, displaying the corresponding configuration item in the attribute list configuration area and receiving the configuration operation of the user on the configuration item.
Therefore, the configuration items can be visually displayed through the attribute list configuration area, and the configuration of a user is facilitated.
Optionally, the method further includes: when a VPLC component in a frame corresponding to a physical kernel is judged to be dragged and dropped to another frame, the corresponding VPLC and the physical kernels corresponding to the two frames are determined;
and deleting the configuration information of the VPLC in the configuration information of the physical kernel corresponding to the frame body before dragging and dropping, and adding the configuration information of the VPLC in the configuration information of the physical kernel corresponding to the frame body after dragging and dropping.
Therefore, the VPLC is configured on each physical kernel in a drag-and-drop mode, so that the configuration is more convenient.
Optionally, the method further includes: and when the VPLC component is judged to be in the selected state, displaying a control for controlling the running of the corresponding VPLC on the VPLC component.
Therefore, the operation of the VPLC is conveniently and visually controlled.
The invention also provides a VPLC configuration device of the industrial server, which comprises:
the system comprises a graphical configuration interface of an upper computer, a display component list area, a graphical configuration area and an attribute list configuration area;
the configuration operation receiving module is used for receiving the configuration operation of a user on the graphical configuration interface;
the VPLC component configuration module is used for increasing and displaying a VPLC component in a frame body when judging that the VPLC component displayed in the component list area is dragged and dropped into the frame body corresponding to a physical kernel in the graphical configuration area, displaying a configuration item of the VPLC in the attribute list configuration area and receiving the configuration operation of a user on the configuration item;
the configuration information generating module is used for determining a physical kernel corresponding to the frame body and generating the configuration information of the VPLC for the physical kernel based on the configuration item of the VPLC;
and the downloading module is used for compiling the generated configuration information to generate a format which can be recognized by the industrial server and downloading the format into the industrial server.
The invention also provides a readable storage medium, which stores computer-executable instructions for causing the computer to execute any of the VPLC configuration methods described above.
Drawings
Fig. 1 is a flow chart of a VPLC configuration method;
FIG. 2 is a schematic diagram of a graphical configuration interface provided by configuration software.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, the present application will be further described in detail with reference to the accompanying drawings.
The invention provides a method for configuring VPLC through a graphical interface, which is characterized in that a graphical configuration interface is provided by configuration software installed on an upper computer, a user operates through dragging, clicking and typing operation modes, the configuration software creates a configuration file according to the operation mode, and the configuration file is compiled and then downloaded to an industrial server to enable the configuration to take effect, so that the VPLC configuration is completed for the industrial server.
The configuration method of the present invention is described in detail below with reference to the flow chart shown in fig. 1, and includes the following steps:
s100: and establishing communication connection between the upper computer provided with the configuration software and the industrial server.
The upper computer and the industrial server can establish communication connection through a Socket, and after the upper computer equipment and the industrial server establish communication connection, the hardware configuration information of the industrial server and the configuration information of each VPLC configured on the industrial server (on the premise of configuration) can be obtained.
The hardware configuration information of the industrial server can be acquired from the industrial server or can be pre-stored in a database, and the configuration software calls the hardware configuration information corresponding to the model from the database according to the model of the industrial server to be configured.
S200: and displaying a graphical configuration interface through configuration software of the upper computer, and graphically displaying the VPLC (under the configured premise) configured by the industrial server on the interface according to the obtained configuration information.
Fig. 2 shows a specific embodiment of the graphical configuration interface, in which the graphical configuration interface mainly comprises four parts, which are, in order from left to right:
the project list area displays configurable project projects in a list display mode of a tree structure;
a component list area, when a configurable project of the project list area is selected and a device management item (device management) is selected, the configurable component under the project is displayed in the component list area;
the graphical configuration area displays the VPLC configured by the physical kernel in a graphical mode;
the attribute list configuration area displays attribute configuration items of an object (e.g., a box or a component described later) in a table format.
The configuration information of the industrial server and each VPLC thereon acquired in S100 includes: the mapping relationship between each physical core of the industrial server and the VPLC is that the VPLC is configured in each physical core of the industrial server (i.e. each CPU, if it is a multi-core CPU, unless otherwise specified, the CPU refers to a core in the multi-core CPU). The mapping in this example is: the CPU2 of the industrial server is configured with VPLC _3, the CPU3 is configured with VPLC _1 and VPLC _2, and the CPU1 and the CPU4 are not configured with VPLC, wherein the CPU1 remains as the industrial server itself.
Accordingly, as shown in fig. 2, the graphic configuration interface constructs 4 parallel frames in the graphic configuration area to represent 4 CPUs of the industrial server, and represents VPLC configured by the CPU corresponding to the frame by VPLC components in the frame, so VPL _3 components are displayed in the frame corresponding to CPU2, VPLC _1 and VPLC _2 components are displayed in the frame corresponding to CPU3, and the frames of CPUs 1 and CPUs 4 not configured with VPLC are empty.
And for each VPLC component, after being clicked, if the upper computer is currently in a connection state with the industrial server and the VPLC configured on the industrial server is in an online running state, a control for controlling the running of the VPLC is also displayed on the VPLC component, as shown in fig. 2, when VPLC _1 is clicked in an Active state, a running control, a stopping control, and a reloading (restarting) control are displayed thereon. And the corresponding control of the VPLC component which is not clicked is in a non-display state. As shown in fig. 2, the three ports configured by the clicked VPLC _1 are also shown below the CPU box in the graphic configuration area.
S300: when the user carries out configuration operation through the graphical configuration interface of the configuration software, the configuration software receives the configuration operation of the user, generates corresponding configuration information and stores the configuration information in the upper computer. The configured content may include the following:
A. the method comprises the following steps of carrying out attribute configuration on a CPU, wherein the configuration mode comprises the following configuration modes:
and the user operates the configuration software, moves the mouse to a frame body corresponding to a CPU of the graphical configuration area and clicks the frame body, and when the configuration software judges that the frame body is clicked, namely is in an Active state, the CPU corresponding to the frame body is determined, the configuration information of the CPU is called and displayed in the attribute list configuration area, then the configuration of the CPU in the attribute list configuration area by the user is received, and the configuration information is stored. The allocated partial information, such as a Cycle (Cycle), can be displayed in the CPU casing.
Further, since the CPU1 is reserved for the server, when the box corresponding to the CPU1 is clicked, the CPU arrangement information may be retrieved, and the CPU to be arranged may be selected by a pull-down menu in the arrangement information.
Configuration items for the CPU operation cycles are provided in the attribute list configuration area of the CPU, different operation cycles of different CPUs can be configured according to the priority of task scheduling, and the shorter the operation cycle, the higher the priority. For different VPLC components in a frame corresponding to the same CPU, configuration software sets different values for the operation period of the corresponding VPLC according to the sequence (draggable adjustment) of the positions of the VPLC components to realize the automatic task scheduling priority of each VPLC configured by the same CPU, wherein the closer the arrangement position is, the smaller the value of the configured operation period is, the higher the priority is. Through the configuration of the CPU operation period and the automatic configuration of the VPLC operation period, the priority setting of two layers of VPLC task scheduling is realized, when task scheduling is carried out in the operation process of each VPLC of the industrial server, the priority of the task scheduling of the VPLC configured by the CPU with high priority is also high (the first layer of second priority), and the priority of the VPLC task scheduling configured by the same CPU with high priority is also high (the second layer of priority under the first layer of second priority).
B. The method comprises the following steps of configuring the mapping relation between the physical kernel of the industrial server and the VPLC, namely configuring the VPLC for the CPU, wherein the method comprises the following configuration modes:
b1, increase:
and operating configuration software by a user, determining a CPU corresponding to a frame when the configuration software judges that a VPLC component displayed in the component list area is clicked and the VPLC component is dragged and dropped into a CPU frame of the graphical configuration area, adding a VPLC item and a related configuration item (namely establishing a mapping relation) for the CPU of the frame in the configuration information, and displaying the VPLC component in the CPU frame of the graphical configuration area. And on the other hand, the attribute list configuration area on the right side of the graphical configuration area shows the configuration items of the VPLC for the configuration of users.
B2, delete:
the user operates the configuration software, moves the mouse to a VPLC component in the graphical configuration area, clicks a 'delete' item (through a 'delete' item in a configuration software function menu or a function list of a right mouse button or a 'delete' button on a keyboard), and the configuration software executes a delete instruction, wherein the delete instruction comprises the following steps: determining a frame body where a mouse is currently located and a selected VPLC component, determining a CPU and a VPLC corresponding to the frame body and the component, deleting the VPLC item and related configuration information in the configuration information of the CPU corresponding to the frame body, and deleting the VPLC component in the frame body in a graphical configuration area.
B3: modifying the mapping relation between the VPLC and the CPU:
the user operates configuration software, a VPLC component is selected by a mouse in the graphical configuration area, dragged and dropped into a frame corresponding to another CPU and released, and the configuration software executes a mapping relation changing instruction, and the method comprises the following steps: determining a VPLC component clicked by a mouse and frames where the VPLC component is respectively located before and after dragging, determining a corresponding VPLC and CPUs corresponding to the two frames before and after dragging, deleting the VPLC item and related configuration information in the configuration information of the CPUs corresponding to the frames before and after dragging, adding the VPLC item and related configuration information in the configuration information of the CPUs corresponding to the frames after dragging, and displaying that the VPLC component moves into the corresponding frames in a graphical configuration area.
C. The VPLC is configured, and the configuration method comprises the following steps:
c1: configuring the attributes of the VPLC: the method comprises the steps that a user operates configuration software, a VPLC component is clicked in a graphical configuration area through a mouse, the configuration software judges that the VPLC component is clicked, namely the VPLC component is in an Active state, the current VPLC component and a frame body located in the VPLC component are determined, a CPU and a VPLC corresponding to the frame body and the VPLC component are determined, stored configuration information of the VPLC is read and displayed in an attribute list configuration area, then configuration operation of the VPLC in the attribute list configuration area by the user is received, and the configuration information is stored.
Fig. 2 shows configuration items of the VPLC displayed in the attribute list configuration area in this example, including Station ID (Station number for inter-Station communication), Redundant (whether Redundant or not), Sntp Server IP (Sntp Server IP address), and the like. As described above, cycles (operation cycles) of the VPLC are automatically allocated by the configuration software according to the sequence of the VPLC module in the frame corresponding to the CPU, and the previously allocated cycles have a small value and a high priority.
C2: configuration of VPLC ports:
the user operates configuration software, a port assembly displayed in the assembly list area is clicked through a mouse, the port assembly is dragged and dropped into a VPLC assembly in the graphical configuration area, and the configuration software executes a port increasing instruction, wherein the port increasing instruction comprises the following steps: determining that a port component displayed in a component list area is clicked, determining a VPLC corresponding to the VPLC when the port component is dragged and dropped into a VPLC component, adding port configuration information of a type corresponding to the port component to the VPLC in configuration information, and displaying the port component below a CPU frame body of an imaging configuration area to represent that the VPLC is configured with the port. And on the other hand, the attribute list configuration area on the right side of the graphical configuration area displays the configuration items of the type ports for the user to perform configuration operation and store.
The port assembly comprises various types including a management network port and a bus port, and the bus port comprises a network port, a serial port, a CAN port, a two-wire port and the like. In fig. 2 corresponding to this example, the network port 2-1 and the serial port COM1 of the bus port are configured for VPLC _1 in a drag-and-drop manner, where the management network port 2-0 is created by default by configuration software.
For the management network port, the configuration software can default to configure a management network port for each VPLC to be used for remote connection of the VPLC, so that the management network port can be automatically created by the configuration software. When the management network port 2-0 of the graphical configuration area is clicked, the attribute list configuration area on the right side of the graphical configuration area displays configuration items of the port, including configuration items such as an IP (Internet protocol), a gateway and a mask.
For a bus port, the VPLC is enabled to establish communication with the fieldbus by configuring the VPLC with a corresponding virtual port. The attribute list configuration area on the right side of the graphical configuration area shows configuration items of the port, for example, configuration items of the internet access include: IP, gateway, mask, VLAN period and other information; the configuration items of the serial port comprise: baud rate, data bits, stop bits, parity, etc.; the configuration items of the CAN port comprise: port number, communication baud rate, operating mode, etc.
The deletion of a certain port of the VPLC is similar to that described in the aforementioned B2, and is not described in detail.
In addition, a copy operation may also be performed, for example, VPLC _2 in a CPU3 box is dragged and copied to a CPU1 box, and the configuration software adds the relevant information of the dragged and dropped VPLC _2 to the configuration information corresponding to the CPU 1. If the COM1 port component corresponding to the VPLC _1 component is dragged and copied to the VPLC _3 component, the configuration software adds the related information of the dragged COM1 port to the configuration information corresponding to the VPLC _ 3.
S400: as described above, after the configuration software completes the required configurations through the graphical configuration interface provided by the configuration software, the configuration software will save the configuration information as a file with a set format as the generated configuration file, in this case, an XML format file, according to the file format requirement set inside.
The configuration file includes hardware configuration information of the industrial server (such as configuration information of a memory, a hard disk, a network card, a serial port, a usb, a video card, and the like), and related information configured in step S300, such as the port (a virtual network port, a serial port, a CAN port, and the like), a micro system mirror image used for creating a VPLC, and some configuration information related to task scheduling.
In the configuration process in S300, multiple XML files may be generated for the configuration of each project, and in this step, the XML files are integrated into one XML file, which is convenient for the subsequent compiling process and downloading.
S500: compiling the stored configuration file line in the format to generate a file in a corresponding format which can be identified by the industrial server, for example, compiling an XML file to generate a C language format file, and then downloading the C language format file to the industrial server.
The execution of the step can be triggered by selecting a corresponding instruction in a menu bar at the top of a graphical configuration interface of the configuration software by a user.
S600: and restarting the industrial server to enable the configuration information of the downloaded file to take effect, and the industrial server can execute initialization according to the configuration information, wherein the initialization comprises memory address allocation, VPLC (virtual private LAN access control) creation and the like, so that the configuration of the VPLC is completed.
After the configuration of the VPLC of the industrial server is completed, a subsequent programmer can program each VPLC, that is, program the internal control logic of each VPLC and the scheduling logic between each VPLC, which is not a concern of the present invention, and as for how to program VPLC graphically and graphically, reference may be made to a Structured Text (ST) language editor, an Intermediate Language (IL) language editor, a Function Block Diagram (FBD) language editor, a sequential function diagram (SFC) language editor, and a ladder diagram (LAD) language editor of the IEC61131 standard; the functional block diagram editor, the execution control diagram (ECC) editor, the cross editor, etc. of the IEC61499 standard are not described in detail.
The configuration process of the VPLC of the industrial server is mainly described as an example, and it is understood that the configuration software is also suitable for online monitoring (obtaining configuration information and running information of the industrial server and the VPLC for display) and management (corresponding to configuration) of the industrial server, and is not described again.
In another embodiment, the present invention further provides a configuration device for implementing the VPLC configuration method of the industrial server, including:
the system comprises a graphical configuration interface of an upper computer, a display item list area, a component list area, a graphical configuration area and an attribute list configuration area, wherein the graphical configuration interface is used for displaying a project list area, a component list area, a graphical configuration area and an attribute list configuration area;
the configuration operation receiving module is used for receiving the configuration operation of a user on the graphical configuration interface;
the VPLC component configuration module is used for increasing and displaying a VPLC component in a frame body when judging that the VPLC component displayed in the component list area is dragged and dropped into the frame body corresponding to a physical kernel in the graphical configuration area, and displaying a configuration item of the VPLC in the attribute list configuration area and receiving the configuration of a user;
the configuration information generation module is used for determining a physical kernel corresponding to the frame body and generating the configuration information of the VPLC for the physical kernel according to the configuration item of the VPLC;
the downloading module is used for compiling the generated configuration information to generate a format which can be recognized by the industrial server and downloading the format into the industrial server;
the port component configuration module is used for judging that a port component displayed in the component list area is dragged and dropped into a VPLC component in the graphical configuration area, adding the port component in the graphical configuration area and displaying the port component corresponding to the VPLC component, and displaying a configuration item of a port in the attribute list configuration area and receiving the configuration of a user;
each VPLC task scheduling priority configuration module is used for configuring each physical kernel operation cycle in the configuration item of the attribute list configuration area corresponding to each physical kernel, and the operation cycle corresponds to the first priority of the VPLC task scheduling configured by each physical kernel; and/or different VPLC components in the frame corresponding to the same physical kernel automatically set the size value of the corresponding operation period of each VPLC according to the arrangement sequence of each VPLC component, wherein the size value corresponds to the second priority of task scheduling of each VPLC configured by the same physical kernel.
In another embodiment, the present application further provides a computer-readable storage medium storing computer-executable instructions for causing the computer to perform the VPLC configuration method of the industrial server in the above embodiments.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware or any combination thereof, and when the implementation is realized by a software program, all or part of the implementation may be realized in the form of a computer program product. The computer program product includes one or more instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The instructions may be stored in a computer storage medium or transmitted from one computer storage medium to another, e.g., from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer storage media may be any available media that can be accessed by a computer or a data storage device, such as a server, data center, etc., that incorporates one or more available media. The usable medium may be a magnetic medium (e.g., a flexible Disk, a hard Disk, a magnetic tape, a magneto-optical Disk (MO), etc.), an optical medium (e.g., a CD, a DVD, a BD, an HVD, etc.), or a semiconductor medium (e.g., a ROM, an EPROM, an EEPROM, a nonvolatile memory (NAND FLASH), a Solid State Disk (SSD)), etc. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by instructions. These instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
The instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A VPLC configuration method of an industrial server is characterized by comprising the following steps:
the graphical configuration interface of the upper computer displays a component list area, a graphical configuration area and an attribute list configuration area;
receiving configuration operation of a user on a graphical configuration interface;
when a VPLC component displayed in the component list area is judged to be dragged and dropped into a frame body corresponding to a physical kernel in the graphical configuration area, the VPLC component is added and displayed in the frame body, a configuration item of the VPLC is displayed in the attribute list configuration area, and a configuration operation of a user on the configuration item is received;
determining a physical kernel corresponding to the frame body, and generating VPLC configuration information for the physical kernel based on the VPLC configuration items;
and compiling the generated configuration information to generate a format which can be recognized by the industrial server and downloading the format to the industrial server.
2. The method of claim 1, further comprising:
when a port assembly displayed in the assembly list area is judged to be dragged and dropped into a VPLC assembly in the graphical configuration area, the port assembly is added in the graphical configuration area and displayed corresponding to the VPLC assembly, configuration items of the ports are displayed in the attribute list configuration area, and configuration operation of a user on the configuration items is received;
the generating the configuration information of the VPLC further comprises: and generating port configuration information for the VPLC corresponding to the VPLC component based on the configuration items of the ports.
3. The method of claim 2, wherein the port component displayed in the graphical configuration area is displayed below a frame corresponding to the physical kernel;
and hiding the corresponding port component in the graphical configuration area aiming at the VPLC component which is not currently selected.
4. The method of claim 1 or 2, further comprising:
the graphical configuration interface also displays a project list area for displaying the configurable project engineering of the tree structure;
and after the configurable project engineering is clicked, the configurable components under the project engineering are displayed in the component list area.
5. The method of claim 1, further comprising configuring a scheduling priority for each VPLC task, comprising:
configuring each physical kernel operation cycle in the configuration items of the attribute list configuration area corresponding to each physical kernel, wherein the operation cycle corresponds to a first priority of task scheduling of a VPLC configured by each physical kernel; and/or
And for different VPLC components in the frame corresponding to the same physical kernel, setting the value of the operation period for each corresponding VPLC according to the arrangement sequence of each VPLC component, wherein the value corresponds to the second priority of the task scheduling of each VPLC configured by the same physical kernel.
6. The method of claim 1, 2, 3, or 5, further comprising:
and when judging that one component or frame in the graphical configuration area is clicked, displaying the corresponding configuration item in the attribute list configuration area and receiving the configuration operation of the user on the configuration item.
7. The method of claim 1, further comprising:
when a VPLC component in a frame corresponding to a physical kernel is judged to be dragged and dropped to another frame, the corresponding VPLC and the physical kernels corresponding to the two frames are determined;
and deleting the configuration information of the VPLC in the configuration information of the physical kernel corresponding to the frame body before dragging and dropping, and adding the configuration information of the VPLC in the configuration information of the physical kernel corresponding to the frame body after dragging and dropping.
8. The method of claim 1, further comprising:
and when the VPLC component is judged to be in the selected state, displaying a control for controlling the running of the corresponding VPLC on the VPLC component.
9. A VPLC configuration apparatus of an industrial server, comprising:
the system comprises a graphical configuration interface of an upper computer, a display component list area, a graphical configuration area and an attribute list configuration area;
the configuration operation receiving module is used for receiving the configuration operation of a user on the graphical configuration interface;
the VPLC component configuration module is used for increasing and displaying a VPLC component in a frame body when judging that the VPLC component displayed in the component list area is dragged and dropped into the frame body corresponding to a physical kernel in the graphical configuration area, displaying a configuration item of the VPLC in the attribute list configuration area and receiving the configuration operation of a user on the configuration item;
the configuration information generating module is used for determining a physical kernel corresponding to the frame body and generating the configuration information of the VPLC for the physical kernel based on the configuration item of the VPLC;
and the downloading module is used for compiling the generated configuration information to generate a format which can be recognized by the industrial server and downloading the format into the industrial server.
10. A readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1 to 8.
CN201911340079.1A 2019-12-23 2019-12-23 VPLC configuration method and device of industrial server and readable storage medium Active CN111026387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911340079.1A CN111026387B (en) 2019-12-23 2019-12-23 VPLC configuration method and device of industrial server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911340079.1A CN111026387B (en) 2019-12-23 2019-12-23 VPLC configuration method and device of industrial server and readable storage medium

Publications (2)

Publication Number Publication Date
CN111026387A true CN111026387A (en) 2020-04-17
CN111026387B CN111026387B (en) 2023-01-24

Family

ID=70212806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911340079.1A Active CN111026387B (en) 2019-12-23 2019-12-23 VPLC configuration method and device of industrial server and readable storage medium

Country Status (1)

Country Link
CN (1) CN111026387B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241141A (en) * 2020-11-12 2021-01-19 上海电气风电集团股份有限公司 Hardware configuration method, system, device and medium of PLC control system
CN112291105A (en) * 2020-12-31 2021-01-29 合沃物联技术(南京)有限公司 Equipment graphical remote configuration method based on industrial Internet of things gateway
CN112596458A (en) * 2020-12-11 2021-04-02 东风设计研究院有限公司 PLC automatic allocation method in electrical drawing and storage medium
CN113568365A (en) * 2021-09-22 2021-10-29 蘑菇物联技术(深圳)有限公司 Method of controlling industrial controller, computing device and computer storage medium
CN114047974A (en) * 2021-11-15 2022-02-15 瀚云科技有限公司 Internet of things equipment configuration method and device, configuration terminal and storage medium
CN115242803A (en) * 2022-04-02 2022-10-25 广东技术师范大学 Cloud PLC optimal deployment method based on bottleneck resource dependency

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100287530A1 (en) * 2009-05-05 2010-11-11 Borland Software Corporation Requirements definition using interactive prototyping
CN108196501A (en) * 2017-12-22 2018-06-22 北京东土科技股份有限公司 A kind of disaster recovery method of the dcs based on PLC, device and system
CN110376959A (en) * 2019-07-25 2019-10-25 大连理工大学 A kind of Soft- PLC configuration software generation system based on FPGA platform
CN110458430A (en) * 2019-07-29 2019-11-15 武汉宏途科技有限公司 A kind of system and method for realizing dynamic duty stream configuration based on graphical tools
CN110519092A (en) * 2019-08-27 2019-11-29 深圳力维智联技术有限公司 The scripting implementation method of Border Gateway, configuration tool and Soft- PLC function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100287530A1 (en) * 2009-05-05 2010-11-11 Borland Software Corporation Requirements definition using interactive prototyping
CN108196501A (en) * 2017-12-22 2018-06-22 北京东土科技股份有限公司 A kind of disaster recovery method of the dcs based on PLC, device and system
CN109240197A (en) * 2017-12-22 2019-01-18 北京东土科技股份有限公司 The monitoring of software definition PLC a kind of and reconstructing method and device
CN110376959A (en) * 2019-07-25 2019-10-25 大连理工大学 A kind of Soft- PLC configuration software generation system based on FPGA platform
CN110458430A (en) * 2019-07-29 2019-11-15 武汉宏途科技有限公司 A kind of system and method for realizing dynamic duty stream configuration based on graphical tools
CN110519092A (en) * 2019-08-27 2019-11-29 深圳力维智联技术有限公司 The scripting implementation method of Border Gateway, configuration tool and Soft- PLC function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姚成等: "软PLC技术应用于智能保护测控装置的实现方案", 《电力***自动化》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241141A (en) * 2020-11-12 2021-01-19 上海电气风电集团股份有限公司 Hardware configuration method, system, device and medium of PLC control system
CN112596458A (en) * 2020-12-11 2021-04-02 东风设计研究院有限公司 PLC automatic allocation method in electrical drawing and storage medium
CN112596458B (en) * 2020-12-11 2022-05-03 东风设计研究院有限公司 PLC automatic allocation method in electrical drawing and storage medium
CN112291105A (en) * 2020-12-31 2021-01-29 合沃物联技术(南京)有限公司 Equipment graphical remote configuration method based on industrial Internet of things gateway
CN113568365A (en) * 2021-09-22 2021-10-29 蘑菇物联技术(深圳)有限公司 Method of controlling industrial controller, computing device and computer storage medium
CN114047974A (en) * 2021-11-15 2022-02-15 瀚云科技有限公司 Internet of things equipment configuration method and device, configuration terminal and storage medium
CN114047974B (en) * 2021-11-15 2023-10-31 瀚云科技有限公司 Internet of things equipment configuration method and device, configuration terminal and storage medium
CN115242803A (en) * 2022-04-02 2022-10-25 广东技术师范大学 Cloud PLC optimal deployment method based on bottleneck resource dependency
CN115242803B (en) * 2022-04-02 2023-06-20 广东技术师范大学 Cloud PLC (programmable logic controller) optimal deployment method based on bottleneck resource dependency

Also Published As

Publication number Publication date
CN111026387B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
CN111026387B (en) VPLC configuration method and device of industrial server and readable storage medium
US11816309B2 (en) User interface logical and execution view navigation and shifting
CN112579050B (en) Industrial application development system, industrial automation project development method and medium
CN112631555A (en) Extensible IDE platform with open API
JP2019215877A (en) Visual content development
EP3005096A1 (en) Application install and layout syncing
CN104484189A (en) Construction and design method of application interface
CN112148164B (en) Arranging method and device of multi-cluster system, computer equipment and storage medium
US11775142B2 (en) Preferential automation view curation
US20160253256A1 (en) Code usage map
US11733973B2 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
EP3032362B1 (en) Automatic generation of hardware configuration for an automation system
US20210271458A1 (en) Managing an app method and system
US10650611B1 (en) Systems and methods for graphical programming
CN107561950B (en) Programming method of controller in building and server for providing programming tool of controller
CN112486378A (en) Graph generation method, device, terminal and storage medium
US12025973B2 (en) Industrial automation controller project online/offline state separation
JP7433553B1 (en) Verification program, verification device, verification system, and verification method
EP4379484A1 (en) Multiple controller smart object allocation in inudstrial design environment
US20230091919A1 (en) Industrial automation controller project online/offline state separation
EP4379536A1 (en) Smart object controller allocation in industrial design environment
EP4379482A1 (en) Automation program controller allocation
CN118132059A (en) Graphical programming method, device, equipment and storage medium
McKinney DartDraw: The Design and Implementation of Global State Management, User Interaction Management, and Text in a React-Redux Drawing Application
CN116820467A (en) Method for editing Slate interface by Python language for Unreal Engine

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Ma Guanxiao

Inventor after: Chen Yingzhao

Inventor before: Ma Guanxiao

Inventor before: Chen Yingzhao

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200417

Assignee: Beijing Shuili Intelligent Building Technology Co.,Ltd.

Assignor: KYLAND TECHNOLOGY Co.,Ltd.

Contract record no.: X2022990000047

Denomination of invention: VPLc configuration method, device and readable storage medium of industrial server

License type: Common License

Record date: 20220121

GR01 Patent grant
GR01 Patent grant