JP-7855155-B1 - Control program generation program, control program generation device, and control program generation method
Abstract
The program generation device (10) supports program development by generating a control program (42). The storage unit (12) stores packages (50) corresponding to each of the multiple control functions performed by the control device, and packages (50) that include configuration information (51) that shows the configuration of the control program (42) executed by the control device to realize the control function in a format in which the inputs and outputs of multiple program components, including function blocks, are connected to each other, and input support information (52) for supporting the input of parameter values of the control program (42). The generation unit (17) generates a control program (42) that realizes the control function by connecting the inputs and outputs of the multiple program components shown by the configuration information (51) according to the configuration information (51), and by setting the parameter values entered on the input screen as the initial values of the inputs of the program components.
Inventors
- 許 東武
Assignees
- 三菱電機株式会社
Dates
- Publication Date
- 20260507
- Application Date
- 20250709
Claims (11)
- Computers, A package corresponding to each of a plurality of control functions performed by a control device that controls a device, wherein the package includes configuration information that shows the configuration of a control program executed by the control device to realize the control function in a format in which the inputs and outputs of a plurality of program components including a predetermined function block are connected to each other, and input support information for supporting the input of parameter values of the control program, and a storage means for storing the package. A receiving means that accepts the selection of any of the control functions from the list of the plurality of control functions via a user interface. Display control means for generating an input screen from the input support information contained in the selected package, which is the package corresponding to the selected control function, and displaying the input screen on the user interface. A generation means that generates a control program that realizes the selected control function by connecting the inputs and outputs of the plurality of program components indicated by the configuration information in accordance with the configuration information, and setting the parameter values entered on the input screen as initial values for the input of the program components, To make it function as , The control program is a motion program for controlling the operation of the motor, which is the device, The parameter value includes identification information of the shaft of the motor that is the object of control. Control program generation program.
- The generation means generates the motion program and the sequence program that is executed in conjunction with the execution of the motion program. A control program generation program according to claim 1 .
- The control program includes two function blocks as program components, The parameter value includes specifying the connection destination of the input/output terminals between the two function blocks. A control program generation program according to claim 1 .
- The aforementioned computer is further made to function as a management means for managing the aforementioned package, The receiving means receives instructions via the user interface to add a new package to the storage means or to delete a package stored in the storage means. The management means adds or removes the package in accordance with the instructions. A control program generation program according to claim 1 .
- The generation means generates generation history information indicating the package used to generate the control program and the parameter values entered in the input screen when generating the control program. The receiving means receives an editing instruction to start editing the generated control program, When the display control means receives the editing instruction, it restores the input screen, including the parameter values, from the generation history information of the control program to be edited and displays it on the user interface. A control program generation program according to claim 1 .
- Computers , A package corresponding to each of a plurality of control functions performed by a control device that controls a device, wherein the package includes configuration information that shows the configuration of a control program executed by the control device to realize the control function in a format in which the inputs and outputs of a plurality of program components including a predetermined function block are connected to each other, and input support information for supporting the input of parameter values of the control program, and a storage means for storing the package. A receiving means that accepts the selection of any of the control functions from the list of the plurality of control functions via a user interface. Display control means for generating an input screen from the input support information contained in the selected package, which is the package corresponding to the selected control function, and displaying the input screen on the user interface. A generation means that generates a control program that realizes the selected control function by connecting the inputs and outputs of the plurality of program components indicated by the configuration information in accordance with the configuration information, and setting the parameter values entered on the input screen as initial values for the input of the program components, Acquisition means for acquiring system information relating to the control system including the control device and the equipment, Setting value determination means that determines setting values, which are parameter values for executing the control program, by applying a pre-learned model to a plurality of program components indicated by the system information and the configuration information. To make it function as , The generation means generates the control program by setting the parameter values entered on the input screen and the setting values determined by the setting value determination means as initial values for the input of the program component. Control program generation program.
- The input support information includes a description of the control program to be generated and the parameter values, The display control means causes the user interface to display an explanatory display screen that displays the explanation. A control program generation program according to any one of claims 1 to 6 .
- A package corresponding to each of a plurality of control functions performed by a control device that controls a device, comprising: configuration information indicating the configuration of a control program executed by the control device to realize the control function in a format in which the inputs and outputs of a plurality of program components including predetermined function blocks are connected to each other; and input support information for supporting the input of parameter values of the control program, a storage means for storing the package, A receiving means that accepts the selection of any of the control functions from the list of the plurality of control functions via a user interface, A display control means that generates an input screen from the input support information contained in the selected package, which is the package corresponding to the selected control function, and displays the input screen on the user interface, A generation means for generating a control program that realizes the selected control function by connecting the inputs and outputs of the plurality of program components indicated by the configuration information according to the configuration information, and setting the parameter values entered on the input screen as initial values for the inputs of the program components, Equipped with , The control program is a motion program for controlling the operation of the motor, which is the device, The parameter value includes identification information of the shaft of the motor that is the object of control. Control program generation device.
- A package corresponding to each of a plurality of control functions performed by a control device that controls a device, comprising: configuration information indicating the configuration of a control program executed by the control device to realize the control function in a format in which the inputs and outputs of a plurality of program components including predetermined function blocks are connected to each other; and input support information for supporting the input of parameter values of the control program, a storage means for storing the package, A receiving means that accepts the selection of any of the control functions from the list of the plurality of control functions via a user interface, A display control means that generates an input screen from the input support information contained in the selected package, which is the package corresponding to the selected control function, and displays the input screen on the user interface, A generation means for generating a control program that realizes the selected control function by connecting the inputs and outputs of the plurality of program components indicated by the configuration information according to the configuration information, and setting the parameter values entered on the input screen as initial values for the inputs of the program components, An acquisition means for acquiring system information relating to the control system including the control device and the equipment, A setting value determination means determines a setting value which is a parameter value for executing the control program by applying a pre-learned model to a plurality of program components indicated by the system information and the configuration information, Equipped with, The generation means generates the control program by setting the parameter values entered on the input screen and the setting values determined by the setting value determination means as initial values for the input of the program component. Control program generation device.
- The reception means receives, via a user interface, the selection of one of the control functions from a list of multiple control functions performed by the control device that controls the equipment. The display control means generates an input screen from the input support information contained in the selected package, which is the package corresponding to the selected control function, among the packages corresponding to each of the plurality of control functions, and which includes configuration information that shows the configuration of a control program executed by the control device to realize the control function in a form that connects the inputs and outputs of a plurality of program components including predetermined function blocks to each other, and input support information for supporting the input of parameter values of the control program, and displays the input screen on the user interface. The generation means generates the control program that realizes the selected control function by connecting the inputs and outputs of the plurality of program components indicated by the configuration information according to the configuration information, and by setting the parameter values entered on the input screen as initial values for the inputs of the program components. This includes, The control program is a motion program for controlling the operation of the motor, which is the device, The parameter value includes identification information of the shaft of the motor that is the object of control. A method for generating a control program.
- The reception means receives, via a user interface, the selection of one of the control functions from a list of multiple control functions performed by the control device that controls the equipment. The display control means generates an input screen from the input support information contained in the selected package, which is the package corresponding to the selected control function, among the packages corresponding to each of the plurality of control functions, and which includes configuration information that shows the configuration of a control program executed by the control device to realize the control function in a form that connects the inputs and outputs of a plurality of program components including predetermined function blocks to each other, and input support information for supporting the input of parameter values of the control program, and displays the input screen on the user interface. The generation means connects the inputs and outputs of the plurality of program components indicated by the configuration information according to the configuration information, and sets the parameter values entered on the input screen as initial values for the inputs of the program components, thereby generating the control program that realizes the selected control function. The acquisition means acquires system information relating to the control system including the control device and the equipment, The setting value determination means determines the setting value, which is the parameter value for executing the control program, by applying a pre-learned model to a plurality of program components indicated by the system information and the configuration information. This includes, The generation means generates the control program by setting the parameter values entered on the input screen and the setting values determined by the setting value determination means as initial values for the input of the program component. A method for generating a control program.
Description
This disclosure relates to a control program generation program, a control program generation device, and a control program generation method. In factory automation (FA) environments, control systems are constructed in which control devices control various pieces of equipment. These types of control devices execute control programs to achieve the control defined within those programs. The control programs that define the control content are typically created by developers, designers, or other users. In recent years, control systems have become increasingly large-scale, increasing the burden of creating control programs. Therefore, technologies to support the creation of control programs have been proposed (see, for example, Patent Document 1). Patent Document 1 describes a technique for displaying guidance that associates functions included in a function block, which combines a series of processes containing multiple functions into one, with a description of the function. According to the technique in Patent Document 1, even users unfamiliar with programming control systems can reduce the burden of program creation by referring to the guidance display. International Publication No. 2021/192646 Diagram showing the configuration of the support system according to Embodiment 1.A diagram showing the hardware configuration of the program generation device according to Embodiment 1.A diagram showing the functional configuration of the program generation device according to Embodiment 1.A diagram illustrating the generation of a control program according to Embodiment 1.Flowchart showing the control program generation process according to Embodiment 1A diagram showing an example of a list of control functions according to Embodiment 1.Figure 1 shows an example of an input screen according to Embodiment 1.Figure 2 shows an example of an input screen according to Embodiment 1.Figure 3 shows an example of an input screen according to Embodiment 1.Figure 4 shows an example of an input screen according to Embodiment 1.Figure 5 shows an example of an input screen according to Embodiment 1.Figure 6 shows an example of an input screen according to Embodiment 1.Figure 7 shows an example of an input screen according to Embodiment 1.Figure 8 shows an example of an input screen according to Embodiment 1.A diagram showing an example of a control program according to Embodiment 1.Figure 1 shows an example of an auxiliary program according to Embodiment 1.Figure 2 shows an example of an auxiliary program according to Embodiment 1.Figure 3 shows an example of an auxiliary program according to Embodiment 1.A diagram showing the functional configuration of the program generation device according to Embodiment 2.Flowchart showing the control program generation process according to Embodiment 2A diagram showing an example of editing instructions according to Embodiment 2.A diagram showing the functional configuration of the program generation device according to Embodiment 3.A diagram showing the first part of the control program related to a modified example.A diagram showing the second part of the control program related to the modified example.A diagram showing the third part of the control program related to the modified example.A diagram showing the fourth part of the control program related to the modified example.A diagram showing the fifth part of the control program relating to a modified example.A diagram showing an example of the first auxiliary program related to a modified example.A diagram showing the first part of the second auxiliary program relating to a modified example.A diagram showing the second part of the second auxiliary program relating to a modified example.A diagram showing the third part of the second auxiliary program relating to a modified example.A diagram showing the fourth part of the second auxiliary program relating to a modified example.A diagram showing the fifth part of the second auxiliary program relating to a modified example.A diagram showing the sixth part of the second auxiliary program relating to a modified example.A diagram showing the seventh part of the second auxiliary program relating to a modified example.A diagram showing the eighth part of the second auxiliary program relating to a modified example.A diagram showing an example of an input screen related to a modified example. The support system according to the embodiment of this disclosure will be described in detail below with reference to the drawings. Embodiment 1. The support system 1000 according to this embodiment, as shown in Figure 1, is a system that supports the operation of a control system including a PLC 21 and a motion controller 22 in a facility 1001, such as a factory or plant, by generating at least one of a control program 41, which is a sequence program executed by a PLC (Programmable Logic Controller) 21, and a control program 42, which is a motion program executed by a motion controller 22. User U1 operates t