Action prediction program, action prediction device, and action prediction method

The motion prediction program addresses the inefficiency of full compilation requirements by allowing selective command analysis and prediction within the control program creation support device, reducing man-hours for adjusting control programs and enhancing operational efficiency.

WO2024201677A1PCT designated stage expired Publication Date: 2024-10-03MITSUBISHI ELECTRIC CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/012300
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing motion prediction programs require users to compile control programs fully before simulating motion, leading to increased man-hours in adjusting control programming due to the inability to check errors between predicted and commanded positions without a compiled executable file.

Method used

A motion prediction program that allows users to select and analyze specific commands within a control program, generating and outputting motion prediction result information without needing a fully compiled program, utilizing a control program creation support device to acquire and analyze motion prediction target information, including control program information and initial settings.

Benefits of technology

Reduces the number of man-hours required to adjust control programs by enabling motion prediction and error analysis without full compilation, allowing for real-time prediction and adjustment of control program operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023012300_03102024_PF_FP_ABST
    Figure JP2023012300_03102024_PF_FP_ABST
Patent Text Reader

Abstract

An action prediction object information acquisition unit (110) of this action prediction device (100) in which an action prediction program is installed acquires action prediction object information relating to an action to be predicted among actions to be controlled. An action prediction result information generation unit (120) generates, on the basis of the action prediction object information acquired by the action prediction object information acquisition unit (110), action prediction result information that indicates the result of having predicted the action to be controlled. An action prediction result information output unit (130) outputs the action prediction result information generated by the action prediction result information generation unit (120). The action prediction object information includes control program information based on one or more commands of a control program selected by a user from among a plurality of commands constituting a routine of the control program.
Need to check novelty before this filing date? Find Prior Art

Description

Motion prediction program, motion prediction device, and motion prediction method

[0001] The present disclosure relates to a motion prediction program, a motion prediction device, and a motion prediction method.

[0002] Conventionally, there is known a program that functions as a motion prediction display device that predicts the motion of a controlled object when a control program that controls the motion of the controlled object is executed and displays the trajectory of the predicted motion, i.e., a waveform display. Patent Document 1 discloses a program that functions as a display device that can display the error between a command position, which is a commanded position of a specific part of the controlled object corresponding to a command value when a motion program is executed, and a predicted position, which is a theoretically predicted position of the specific part of the controlled object. In Patent Document 1, a user (controller) performs control programming, compiles a sequence program to generate an executable file, and simulates various set parameters. If the error between the predicted position obtained by the simulation and the command position exceeds an allowable range, the user modifies the sequence program or modifies various parameters.

[0003] JP 2011-192017 A

[0004] The program described in Patent Document 1 has a problem in that a predicted position cannot be obtained by performing a simulation unless an executable file generated by compiling a sequence program is used. Therefore, in order to check the error between the predicted position and the command position for a portion of the operation of the controlled object, the program described in Patent Document 1 requires the controller to complete the sequence program to the extent that it can be compiled and define all of the operation of the controlled object. As a result, the program described in Patent Document 1 requires the controller to take time and effort to check the above-mentioned error, which increases the number of steps required to adjust the control programming.

[0005] The present disclosure has been made in consideration of the above-described circumstances, and aims to reduce the number of steps required to adjust a control program.

[0006] In order to achieve the above-mentioned object, the operation prediction program of the present disclosure causes a computer to function as an operation prediction target information acquisition unit that acquires operation prediction target information, which is information about the operation to be predicted among the operations of the control object, including control program information, which is information based on one or more commands of the control program selected by a user from among multiple commands that constitute the routine of the control program that controls the operation of the control object; an operation prediction result information generation unit that generates operation prediction result information, which is information indicating the result of predicting the operation of the control object, based on the operation prediction target information acquired by the operation prediction target information acquisition unit; and an operation prediction result information output unit that outputs the operation prediction result information generated by the operation prediction result information generation unit.

[0007] According to the present disclosure, a computer acquires operation prediction target information including control program information based on one or more commands of a control program selected by a user, and generates and outputs operation prediction result information based on the acquired operation prediction target information. As a result, the operation prediction program according to the present disclosure can reduce the amount of work required to adjust the control program compared to operation prediction programs that do not acquire operation prediction target information including control program information based on one or more commands of the control program selected by a user, or operation prediction programs that cannot generate and output operation prediction result information based on the acquired operation prediction target information.

[0008] FIG. 1 is an overall explanatory diagram of a control program creation support device according to an embodiment of the present invention; FIG. 2 is a block diagram showing the hardware configuration of the control program creation support device; FIG. 3 is a diagram showing an example of a program edit screen display; FIG. 4 is a diagram showing an example of an initial setting screen display; FIG. 5 is a diagram showing an example of an operation prediction result screen display;

[0009] Hereinafter, a motion prediction program, a motion prediction device, and a motion prediction method according to embodiments of the present disclosure will be described in detail with reference to the drawings. Note that the same or corresponding parts in the drawings are denoted by the same reference numerals.

[0010] (Regarding the Control Program Creation Support Device 10) As shown in FIG. 1 , the control program creation support device 10 according to an embodiment of the present disclosure is a device that supports the creation of a control program used in, for example, an FA (Factory Automation) control device 20 including a programmable logic controller (PLC). The control program is a program that controls the operation of a control object, such as a drive shaft 22 of an FA device 21. The control program creation support device 10 also functions as a behavior prediction device 100 (hereinafter simply referred to as the "behavior prediction device 100") that predicts the behavior of the control object when a control program created by a user is executed. The control program creation support device 10 is also capable of transmitting and receiving information to and from an external device 40 via the Internet 30, which is an example of a communication network.

[0011] Specifically, the control program creation support device 10 is a computer device installed with an engineering setting tool, i.e., an engineering setting tool program, which is a program for implementing the functions of a setting tool used by a user who is an engineer. As shown in Fig. 2, the control program creation support device 10 includes a program editing unit 11 that edits a program, and the program editing unit 11 includes a program editing screen display unit 13 that displays a program editing screen 12, which is a screen for editing the program, as shown in Fig. 4A. The control program creation support device 10 also includes an initial setting unit 14 that sets initial values ​​of variables included in the program, and the initial setting unit 14 includes an initial setting screen display unit 16 that displays an initial setting screen 15, which is a screen for setting the initial values ​​of variables, as shown in Fig. 4B.

[0012] (Regarding the behavior prediction device 100) The behavior prediction device 100 also includes a behavior prediction target information acquisition unit 110 that acquires behavior prediction target information, which is information about a behavior to be predicted among the behaviors of a control target, a behavior prediction result information generation unit 120 that generates behavior prediction result information that predicts the behavior of the control target, and a behavior prediction result information output unit 130 that outputs the behavior prediction result information. The behavior prediction target information acquisition unit 110 includes a control program information acquisition unit 111 that acquires control program information (described below) and an initial setting information acquisition unit 112 that acquires initial setting information (described below). The behavior prediction result information generation unit 120 includes a control program analysis unit 121 that analyzes the control program, a behavior prediction calculation unit 122 that calculates a predicted value of the trajectory of the behavior of the control target, and a predicted waveform information generation unit 123 that generates predicted waveform information (described below). The behavior prediction result information output unit 130 includes a behavior prediction result screen display unit 131 that displays a behavior prediction result screen 200 (described below), a predicted waveform information display unit 132 that displays predicted waveform information (described below), and a variable display unit 133 that displays variables included in the control program and their values. The operation prediction result information output unit 130 also includes a file format conversion unit 134 that converts the file format of the predicted waveform information described below, and an export unit 135 as an example of an operation prediction result information external output unit that outputs the operation prediction result information externally.

[0013] (Hardware Configuration of Control Program Creation Support Device 10 and Operation Prediction Device 100) As shown in Fig. 3, the control program creation support device 10 includes a control unit 51 that executes processing in accordance with a control program 59. The control unit 51 includes a CPU (Central Processing Unit). In accordance with the control program 59, the control unit 51 functions as the program editing unit 11, the initial setting unit 14, the operation prediction target information acquisition unit 110, the control program information acquisition unit 111, the initial setting information acquisition unit 112, the operation prediction result information generation unit 120, the control program analysis unit 121, the operation prediction calculation unit 122, the predicted waveform information generation unit 123, and the file format conversion unit 134 shown in Fig. 2.

[0014] 3, the control program creation support device 10 includes a main memory unit 52 into which the control program 59 is loaded and which is used as a work area for the control unit 51. The main memory unit 52 includes a RAM (Random Access Memory).

[0015] The control program creation support device 10 also includes an external storage unit 53 that stores a control program 59 in advance. The external storage unit 53 supplies the control unit 51 with data to be stored by the program in accordance with instructions from the control unit 51, and stores the data supplied from the control unit 51. The external storage unit 53 includes a non-volatile memory such as a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0016] The control program creation support device 10 also includes an operation unit 54 that is operated by a user. Information input via the operation unit 54 is supplied to the control unit 51. The operation unit 54 includes information input components such as a keyboard, a mouse, and a touch panel.

[0017] The control program creation support device 10 also includes a display unit 55 that displays information input via the operation unit 54 and information output by the control unit 51. The display unit 55 includes a display device such as an LCD (Liquid Crystal Display), an organic EL (Electro-Luminescence) display, etc. The display unit 55 functions as the program editing screen display unit 13, the initial setting screen display unit 16, the operation prediction result information output unit 130, the operation prediction result screen display unit 131, the predicted waveform information display unit 132, and the variable display unit 133 shown in FIG.

[0018] 3, the control program creation support device 10 includes a transmission / reception unit 56 for transmitting and receiving information. The transmission / reception unit 56 includes information communication components such as a communication network terminal device and a wireless communication device that connect to the network. The transmission / reception unit 56 functions as the export unit 135 shown in FIG. 2.

[0019] Returning to FIG. 3, in the control program creation support device 10 , the main memory unit 52 , the external memory unit 53 , the operation unit 54 , the display unit 55 and the transmission / reception unit 56 are all connected to the control unit 51 via the internal bus 50 .

[0020] 2 by the control unit 51 using the main memory unit 52, the external memory unit 53, the operation unit 54, the display unit 55, and the transmission / reception unit 56 as resources. For example, the control program creation support device 10 executes a program editing step performed by the program editing unit 11, a program editing screen display step performed by the program editing screen display unit 13, an initial setting step performed by the initial setting unit 14, and an initial setting screen display step performed by the initial setting screen display unit 16.

[0021] Furthermore, for example, the operation prediction device 100 executes an operation prediction object information acquisition step performed by an operation prediction object information acquisition unit 110, a control program information acquisition step performed by a control program information acquisition unit 111, and an initial setting information acquisition step performed by an initial setting information acquisition unit 112. Furthermore, for example, the operation prediction device 100 executes an operation prediction result information generation step performed by an operation prediction result information generation unit 120, a control program analysis step performed by a control program analysis unit 121, an operation prediction calculation step performed by an operation prediction calculation unit 122, and a predicted waveform information generation step performed by a predicted waveform information generation unit 123. Furthermore, for example, the operation prediction device 100 executes an operation prediction result information output step performed by an operation prediction result information output unit 130, an operation prediction result screen display step performed by an operation prediction result screen display unit 131, a predicted waveform information display step performed by an predicted waveform information display unit 132, and a variable display step performed by a variable display unit 133. Furthermore, the operation prediction device 100 executes a file format conversion step performed by the file format conversion unit 134 and an export step performed by the export unit 135 as an example of an operation prediction result information external output step.

[0022] (Details of the functional configuration of the operation prediction device 100) Returning to Figure 2, the operation prediction target information acquisition unit 110 acquires operation prediction target information including control program information (described later) acquired by the control program information acquisition unit 111, initial setting information (described later) acquired by the initial setting information acquisition unit 112, total predicted time information (described later), and prediction interval information (described later).

[0023] The control program information acquisition unit 111 acquires control program information based on one or more commands of a control program selected by a user, where one command among multiple commands constituting a control program routine is the smallest unit selectable by the user. The control program information acquisition unit 111 acquires control program information indicating one or more commands selected by the user from among multiple commands of the control program being edited in the program editing unit 11. Specifically, the control program information acquisition unit 111 acquires the control program information selected by the user by extracting, as control program information, information indicating a portion of the control program displayed on the program editing screen 12 shown in FIG. 4A displayed by the program editing screen display unit 13, selected by the user using the operation unit 54. At this time, the control program information acquisition unit 111 may start acquiring the control program information, for example, when the user presses an operation prediction button 17 located at the lower right of the program editing screen 12 shown in FIG. 4A through input using the operation unit 54.

[0024] Here, the description format of the "control program" includes not only text data but also graphic data. Therefore, "one command among a plurality of commands constituting a control program routine" includes not only a command written in text data but also a command written in graphic data. Therefore, "one command among a plurality of commands constituting a control program routine" may be, for example, a single statement in source code in ST language, or a single rung in a ladder diagram in ladder language. Note that, in this embodiment, "the portion selected by the user" refers to, for example, one or more statements in source code in ST language, or one or more rungs in a ladder diagram in ladder language. Hereinafter, in this embodiment, the "control program" is described as source code written in ST language, and the "portion selected by the user" refers to one or more command statements in the source code.

[0025] The initial setting information acquisition unit 112 acquires initial setting information, which is information indicating the initial values ​​of variables included in the control program set by the user. The initial setting information acquisition unit 112 acquires initial setting information generated by the user's setting in the initial setting unit 14. Specifically, the initial setting information acquisition unit 112 acquires information indicating the initial values ​​of variables displayed on the initial setting screen 15 shown in FIG. 4B , which is displayed by the initial setting screen display unit 16, as initial setting information, thereby acquiring the initial setting information set by the user. For example, the initial setting information acquisition unit 112 acquires initial setting information including information indicating that the initial value of the velocity variable "lVelocity" shown in FIG. 4B is "1.00." The initial setting information acquisition unit 112 also acquires total predicted time information, which is information indicating the total predicted time for calculating predicted values ​​(described later), and prediction interval information, which is information indicating the prediction interval, which is the time interval for calculating predicted values. Specifically, the initial setting information acquisition unit 112 acquires total predicted time information and prediction interval information set by the user by acquiring information indicating the total predicted time and prediction interval displayed on the initial setting screen 15 as total predicted time information and prediction interval information, similar to the initial setting information. For example, as shown in FIG. 4B, the initial setting information acquisition unit 112 acquires total predicted time information indicating that the total predicted time is "00:15.000" and prediction interval information indicating that the prediction interval is "0.050".

[0026] The operation prediction result information generating unit 120 generates operation prediction result information including predicted waveform information described later and variable list information for each predicted timing described later based on the operation prediction target information acquired by the operation prediction target information acquiring unit 110.

[0027] The control program analysis unit 121 analyzes the operation prediction target information. First, the control program analysis unit 121 performs a syntax analysis of one or more command statements of the control program indicated by the control program information based on ST language, which is the programming language of the control program, and recognizes and stores program components, such as variables and motion function blocks (FBs), included in the statements. For example, the control program analysis unit 121 temporarily stores variable information, which indicates variables recognized through the syntax analysis, and motion function block information, which indicates motion function blocks, in the main memory unit 52 or the external memory unit 53. Note that, if the control program analysis unit 121 determines, as a result of the syntax analysis, that any of the one or more command statements contains an error, it ignores the statement containing the error and stores information, such as variable information and motion function block information, which indicate program components recognized for the error-free statements. Furthermore, in the syntax analysis, the control program analysis unit 121 does not consider any portions of the control program that have not been selected by the user, other than the one or more command statements selected by the user. For this reason, even if, for example, the value of a variable contained in a sentence of one or more commands selected by the user in a part of the control program not selected by the user, or in a program other than the control program, is changed, or a command exists that causes a motion FB contained in the sentence to perform a different operation, the control program analysis unit 121 will perform syntactic analysis only on the sentence without taking such events into consideration at all.

[0028] The control program analysis unit 121 also uses the variable information, total prediction time information, and prediction interval information to generate variable list information, which is information indicating a list of all variables and their values ​​recognized for each prediction interval from the start of prediction to the total prediction time. For example, the control program analysis unit 121 calculates the elapsed time from the start of prediction by multiplying the prediction interval indicated by the prediction interval information by the number of times the variable list information has been generated, and generates variable list information for the next prediction timing after the calculated elapsed time from the start of prediction. The control program analysis unit 121 then generates variable list information for each prediction timing by repeating the above-described process until the calculated elapsed time is equal to or greater than the total prediction time indicated by the total prediction time information. Note that at this time, the initial values ​​of each variable indicated by the initial setting information may be registered in advance as temporary values ​​of each variable indicated by the variable list information for each prediction timing.

[0029] The motion prediction calculation unit 122 calculates a predicted value of the trajectory of motion of the controlled object based on the analysis result of the control program analysis unit 121. The motion prediction calculation unit 122 acquires the motion FB information and variable list information held by the control program analysis unit 121, and then repeats the following steps for each prediction interval, the number of times equal to the number of all motion FBs: updating the variable list information based on changes in the values ​​of the variables before executing the motion FB, executing the motion FB, acquiring a predicted value of the trajectory of motion of each controlled object after executing the motion FB, and updating the variable list information based on changes in the values ​​of the variables.

[0030] Specifically, first, the movement prediction calculation unit 122 calculates the change in value of each variable before executing the motion FB from the analysis result of the control program analysis unit 121, and updates the value of each variable indicated by the variable list information at the current prediction timing. Next, the movement prediction calculation unit 122 executes the motion FB using the value of each variable indicated by the variable list information at the current prediction timing to obtain the current values ​​of all variables related to the movement trajectory of each control object. As a result, the movement prediction calculation unit 122 can calculate a predicted value of the movement trajectory of each control object at the current prediction timing. Next, the movement prediction calculation unit 122 updates the value of each variable indicated by the variable list information at the current prediction timing based on the change in the value of the variable after executing the motion FB.

[0031] Furthermore, the movement prediction calculation unit 122 repeats the above-described motion FB execution and the processing before and after it a number of times equal to the number of all motion FBs indicated by the motion FB information. Thereafter, the movement prediction calculation unit 122 updates the value of each variable indicated by the variable list information at the next prediction timing to the value of each variable indicated by the variable list information at the current prediction timing, and repeats the above-described repetitive processing at each prediction timing until calculation of the predicted value for each control object and updating of the value of each variable indicated by the variable list information are completed at all prediction timings. As a result, the movement prediction calculation unit 122 can calculate predicted values ​​of the movement trajectories of all control objects at all prediction timings and update the values ​​of each variable indicated by the variable list information at all prediction timings.

[0032] The predicted waveform information generating unit 123 generates predicted waveform information, which is information indicating a predicted waveform of the trajectory of the movement of the control object based on the predicted values ​​calculated by the movement prediction calculating unit 122. The predicted waveform information generating unit 123 generates predicted waveform information for each control object, indicating values ​​to be plotted on a graph of predicted waveforms displayed in a predicted waveform display field 208 (described later), based on the predicted values ​​of the trajectory of the movement of each control object at all predicted timings calculated by the movement prediction calculating unit 122.

[0033] The operation prediction result information output section 130 outputs information including predicted waveform information and variable list information for each predicted timing as the operation prediction result information generated by the operation prediction result information generating section 120 .

[0034] The movement prediction result screen display unit 131 displays a movement prediction result screen 200, which displays movement prediction result information, as shown in Fig. 4C . As shown in Fig. 4C , the movement prediction result screen 200 includes a variable list display field 201 at the top that displays a list of variables and their values, and a predicted waveform update button 202 that instructs the user to start updating the predicted waveform information and is located on the left below the variable list display field 201. The movement prediction result screen 200 also includes a speed selection checkbox 203 located to the right of the predicted waveform update button 202 that instructs the user to select display of a predicted waveform of velocity, an acceleration selection checkbox 204 located to the right of the speed selection checkbox 203 that instructs the user to select display of a predicted waveform of acceleration, and a jerk selection checkbox 205 located to the right of the acceleration selection checkbox 204 that instructs the user to select display of a predicted waveform of jerk (jerk, jerk). The operation prediction result screen 200 also includes a control object list display field 206 that displays a list of all control objects, provided below the predicted waveform update button 202, and a predicted waveform display field 208 that displays the predicted waveform of one control object selected in each control object check box 207 provided corresponding to each control object displayed in the control object list display field 206. The operation prediction result screen 200 also includes an export button 209 that is provided below the predicted waveform display field 208 and that instructs external output of the operation prediction result information, and an end button 210 that is provided to the right of the export button 209 and that instructs termination of the display of the operation prediction result screen 200.

[0035] 2, the predicted waveform information display unit 132 displays the predicted waveform information included in the operation prediction result information. The predicted waveform information display unit 132 displays an image of a graph of the predicted waveform plotted using the values ​​indicated by the predicted waveform information in the predicted waveform display field 208 of the operation prediction result screen 200 shown in FIG.

[0036] 2, the variable display unit 133 displays the variables and their values ​​included in one or more command statements of the control program obtained by syntax analysis by the control program analysis unit 121. The variable display unit 133 displays an image showing the values ​​of each variable for each prediction timing, which is generated using the variable list information for each prediction timing included in the operation prediction result information and the initial setting information, in the variable list display field 201 of the operation prediction result screen 200 shown in FIG.

[0037] When the value of a displayed variable is changed by a user's input using the operation unit 54, the variable display unit 133 updates the display of the variable value from the value before the change to the value after the change. For example, when the initial value of the velocity variable "lVelocity" displayed in the variable list display field 201 shown in Fig. 4C is changed from "1.00" to "0.50", the variable display unit 133 updates the display of the initial value of the velocity variable "lVelocity" in the variable list display field 201 from the value before the change, "1.00", to the value after the change, "0.50".

[0038] Furthermore, when the variable display unit 133 updates the display of the variable value, the movement prediction calculation unit 122 acquires the changed value from the variable display unit 133 and re-calculates the predicted value based on the analysis result of the control program analysis unit 121 and the changed value. For example, if the initial value of the velocity variable "lVelocity" in the variable list display field 201 shown in FIG. 4C is updated to "0.50" and then the user presses the predicted waveform update button 202 through input using the operation unit 54, the movement prediction calculation unit 122 acquires variable list information in which the initial value of the velocity variable "lVelocity" has been updated to "0.50". Then, the movement prediction calculation unit 122 re-calculates predicted values ​​of the movement trajectories of all control objects at all prediction timings and re-updates the values ​​of each variable indicated in the variable list information at all prediction timings.

[0039] Furthermore, when the motion prediction calculation unit 122 recalculates predicted values, the waveform prediction information generation unit 123 regenerates waveform prediction information based on the recalculated predicted values. Furthermore, when the waveform prediction information generation unit 123 regenerates waveform prediction information, the waveform prediction information display unit 132 updates the display of the waveform prediction information from the information before the regeneration to the information after the regeneration. For example, the waveform prediction information generation unit 123 regenerates waveform prediction information for each control object based on the predicted values ​​of the motion trajectory of each control object at all predicted timings recalculated by the motion prediction calculation unit 122, and the waveform prediction information display unit 132 updates the display in the waveform prediction display field 208 to an image of a graph of predicted waveforms plotted using values ​​indicated by the regenerated waveform prediction information. The variable display unit 133 then updates the display of the values ​​of each variable for each predicted timing in the variable list display field 201 from the pre-update values ​​of each variable indicated by the variable list information for each predicted timing to the updated values.

[0040] The file format conversion unit 134 converts the predicted waveform information generated by the predicted waveform information generation unit 123 into a file format that can be displayed by a device 40 external to the control program creation support device 10 .

[0041] The export unit 135 outputs the operation prediction result information including the predicted waveform information, the file format of which has been converted by the file format conversion unit 134, to the external device 40. Specifically, when the export button 209 is pressed by a user's input using the operation unit 54 in a state in which images are displayed in the variable list display field 201, the control target list display field 206, and the predicted waveform display field 208 on the operation prediction result screen 200, the export unit 135 outputs the operation prediction result information including the predicted waveform information to a predetermined external device 40.

[0042] (Regarding the Action Prediction Result Screen Display Process) Next, using a flowchart, an operation of the action prediction device 100 acquiring and analyzing action prediction target information and generating action prediction result information to display it on the action prediction result screen 200 will be described. When a control program being edited is displayed on the program editing screen 12 and the user selects one or more command statements using the operation unit 54 and then presses the action prediction button 17, the action prediction device 100 starts executing the action prediction result screen display process shown in Fig. 5. First, the control program information acquisition unit 111 acquires control program information selected by the user from the control programs displayed on the program editing screen 12 (step S101), and the initial setting information acquisition unit 112 acquires initial setting information, total predicted time information, and prediction interval information set by the user and displayed on the initial setting screen 15 (step S102).

[0043] After acquiring each piece of information, the control program analysis unit 121 executes a control program analysis process (step S103), which will be described later, and the operation prediction calculation unit 122 executes an operation prediction calculation process (step S104), which will be described later. After executing the operation prediction calculation process, the predicted waveform information generation unit 123 generates predicted waveform information indicating a predicted waveform of the trajectory of the operation of the controlled object based on the predicted value calculated by the operation prediction calculation unit 122 (step S105), and the operation prediction result screen display unit 131 displays an operation prediction result screen 200 (step S106). After displaying the screen, the predicted waveform information display unit 132 displays an image of a graph of the predicted waveform based on the predicted waveform information in the predicted waveform display field 208 (step S107), and the variable display unit 133 displays an image indicating the value of each variable for each predicted timing based on the variable list information for each predicted timing and the initial setting information in the variable list display field 201 (step S108), and the process ends.

[0044] (Regarding Control Program Analysis Processing) Next, the operation of the operation prediction device 100 to analyze a control program will be described using a flowchart. When the operation prediction device 100 executes step S103 of the operation prediction result screen display processing described above, it starts executing the control program analysis processing shown in Fig. 6. First, the control program analysis unit 121 performs syntax analysis of one or more command statements of the control program indicated by the control program information included in the operation prediction target information (step S201), and acquires information on program components such as variable information and motion feedback information (step S202).

[0045] After acquiring each piece of information, the control program analysis unit 121 calculates the elapsed time since the start of prediction by multiplying the prediction interval indicated by the prediction interval information by the number of times the variable list information was generated, thereby identifying the next prediction timing after the elapsed time since the start of prediction (step S203). After identifying the prediction timing, the control program analysis unit 121 generates variable list information that lists all variables indicated by the variable information and their values ​​(step S204) and determines whether the calculated elapsed time is equal to or greater than the total predicted time indicated by the total predicted time information (step S205). If the elapsed time is not equal to or greater than the total predicted time (step S205; N), the control program analysis unit 121 returns to step S203 and repeats steps S203 to S205 until the calculated elapsed time is equal to or greater than the total predicted time. If the elapsed time is equal to or greater than the total predicted time (step S205; Y), the control program analysis unit 121 terminates the control program analysis process and returns to step S103 of the operation prediction result screen display process.

[0046] (Regarding the Motion Prediction Calculation Process) Next, an operation of the motion prediction device 100 for calculating a predicted value of the trajectory of the motion of the control object will be described using a flowchart. When the motion prediction device 100 executes step S104 of the motion prediction result screen display process described above, it starts executing the motion prediction calculation process shown in Fig. 7. First, the motion prediction calculation unit 122 acquires motion FB information and variable list information for each prediction timing held by the control program analysis unit 121 (step S301), selects the next prediction timing in order (step S302), and selects the next motion FB in order (step S303).

[0047] After selecting a motion FB, the motion prediction calculation unit 122 calculates the change in the value of each variable before executing the motion FB from the analysis result of the control program analysis unit 121 and updates the value of each variable indicated by the variable list information at the current prediction timing (step S304). After updating the values, the motion prediction calculation unit 122 executes the motion FB using the value of each variable indicated by the variable list information at the current prediction timing (step S305), and calculates a predicted value of the motion trajectory for each control object at the current prediction timing by obtaining the current values ​​of all variables related to the motion trajectory of each control object (step S306). After calculating the predicted values, the motion prediction calculation unit 122 updates the value of each variable indicated by the variable list information at the current prediction timing based on the change in the value of the variable after executing the motion FB (step S307).

[0048] After updating the values, the motion prediction calculation unit 122 determines whether all motion FBs indicated by the motion FB information have been selected (step S308). If all motion FBs have not been selected (step S308; N), the motion prediction calculation unit 122 returns to step S303 and repeats the processes of steps S303 to S308 until all motion FBs have been selected. On the other hand, if all motion FBs have been selected (step S308; Y), the motion prediction calculation unit 122 determines whether all predicted timings have been selected (step S309). If all predicted timings have not been selected (step S309; ​​N), the motion prediction calculation unit 122 updates the values ​​of each variable indicated by the variable list information for the next predicted timing to the values ​​of each variable indicated by the variable list information for the current predicted timing (step S310), returns to step S302, and repeats the processes of steps S302 to S310 until all predicted timings have been selected. Then, when all predicted timings have been selected (step S309; ​​Y), the movement prediction calculation unit 122 ends the movement prediction calculation process and returns to step S104 of the movement prediction result screen display process.

[0049] (Regarding Predicted Waveform Update Processing) Next, an operation of the motion prediction device 100 for updating predicted waveform information will be described using a flowchart. After executing the motion prediction result screen display processing, the motion prediction device 100 starts executing the predicted waveform update processing shown in FIG. 8 . First, the variable display unit 133 determines whether the value of a variable displayed in the variable list display field 201 of the motion prediction result screen 200 has been changed by a user's input using the operation unit 54 (step S401). If the displayed value of the variable has not been changed (step S401; N), the variable display unit 133 repeats the processing of step S401. On the other hand, if the displayed value of the variable has been changed (step S401; Y), the variable display unit 133 updates the display of the variable value from the value before the change to the value after the change (step S402), and the motion prediction calculation unit 122 determines whether the user has pressed the predicted waveform update button 202 by input using the operation unit 54 (step S403).

[0050] If the predicted waveform update button 202 has not been pressed (step S403; N), the motion prediction calculation unit 122 returns to step S401 and repeats the processes of steps S401 to S403 until the user changes the value and presses the predicted waveform update button 202. On the other hand, if the predicted waveform update button 202 has been pressed (step S403; Y), the motion prediction calculation unit 122 acquires the changed value from the variable display unit 133 (step S404) and executes the motion prediction calculation process again using the analysis result when the control program analysis unit 121 executed the control program analysis process and the changed value (step S405). After executing the motion prediction calculation process, the predicted waveform information generation unit 123 regenerates predicted waveform information indicating the predicted waveform of the trajectory of the motion of the controlled object based on the predicted value recalculated by the motion prediction calculation unit 122 (step S406). After the predicted waveform information is regenerated, the predicted waveform information display unit 132 updates the display in the predicted waveform display field 208 to an image of a graph of the predicted waveform based on the regenerated predicted waveform information (step S407), and the variable display unit 133 updates the display of the value of each variable for each predicted timing in the variable list display field 201 from the pre-update value of each variable indicated by the variable list information for each predicted timing to the updated value (step S408), and the processing is terminated.

[0051] Note that with regard to the export process in which the operation prediction device 100 outputs the operation prediction result information to the external device 40, the operation of the operation prediction device 100 begins when, with images displayed in the display fields 201, 206, and 208 of the operation prediction result screen 200, the user presses the export button 209 through input using the operation unit 54. Then, the file format conversion unit 134 converts the predicted waveform information into a file format displayable by the external device 40, and the export unit 135 simply outputs the operation prediction result information including the predicted waveform information whose file format has been converted to the predetermined external device 40. Therefore, to reduce redundant explanation, flowchart illustrations and detailed explanations will be omitted.

[0052] As described above, according to the operation prediction device 100 of the present embodiment, the operation prediction target information acquisition unit 110 acquires operation prediction target information related to an operation to be predicted among operations of an operation target for control. Furthermore, the operation prediction result information generation unit 120 generates operation prediction result information indicating a result of predicting an operation of the operation target for control based on the operation prediction target information acquired by the operation prediction target information acquisition unit 110, and the operation prediction result information output unit 130 outputs the operation prediction result information generated by the operation prediction result information generation unit 120. Here, the operation prediction target information is information including control program information based on one or more commands of the control program selected by the user from among a plurality of commands constituting the routine of the control program.

[0053] In this way, the operation prediction device 100 according to the present embodiment acquires operation prediction target information including control program information based on one or more commands of the control program selected by the user, and generates and outputs operation prediction result information based on the acquired operation prediction target information. As a result, the operation prediction device 100 according to the present embodiment can reduce the amount of work required to adjust the control program compared to an operation prediction program that does not acquire operation prediction target information including control program information based on one or more commands of the control program selected by the user, or an operation prediction program that cannot generate and output operation prediction result information based on the acquired operation prediction target information.

[0054] In particular, according to the operation prediction device 100 of the present embodiment, the operation prediction target information includes initial setting information indicating initial values ​​of variables included in the control program set by the user. In this way, the operation prediction device 100 of the present embodiment acquires and analyzes operation prediction target information including control program information based on one or more commands of the control program selected by the user and initial setting information indicating initial values ​​of variables included in the control program set by the user, and generates and outputs operation prediction result information. As a result, the operation prediction device 100 of the present embodiment can predict the operation of the control target for the selected portion of the control program selected by the user using the initial values ​​of variables set by the user.

[0055] Furthermore, according to the operation prediction device 100 of this embodiment, in the operation prediction target information acquisition unit 110, the control program information acquisition unit 111 acquires control program information indicating one or more commands selected by the user from among multiple commands of the control program being edited on the program editing screen 12 displayed by the program editing screen display unit 13 of the program editing unit 11 included in the control program creation support device 10. Furthermore, in the operation prediction target information acquisition unit 110, the initial setting information acquisition unit 112 acquires initial setting information generated by the user's settings on the initial setting screen 15 displayed by the initial setting screen display unit 16 of the initial setting unit 14 included in the control program creation support device 10.

[0056] In this way, if a user sets initial values ​​of variables included in a control program in the control program creation support device 10 and then selects one or more commands of the control program, the operation prediction device 100 according to the present embodiment can acquire and analyze operation prediction target information for a control program that is being edited in the control program creation support device 10, generate and output operation prediction result information. As a result, the operation prediction device 100 according to the present embodiment can acquire and analyze operation prediction target information for the control program, and generate and output operation prediction result information even if the creation of the control program has not been completed.

[0057] Furthermore, according to the operation prediction device 100 of this embodiment, in the operation prediction result information generating unit 120, the control program analysis unit 121 analyzes operation prediction target information. Then, in the operation prediction result information generating unit 120, the operation prediction calculation unit 122 calculates a predicted value of the trajectory of the operation of the control object based on the analysis result of the control program analysis unit 121, and the predicted waveform information generating unit 123 generates predicted waveform information indicating a predicted waveform of the trajectory of the operation of the control object based on the predicted value calculated by the operation prediction calculation unit 122. In this way, the operation prediction device 100 of this embodiment can generate predicted waveform information based on the predicted value of the trajectory of the operation of the control object by analyzing the operation prediction target information.

[0058] In particular, according to the operation prediction device 100 of this embodiment, when an error exists in one or more commands selected by the user, the control program analysis unit 121 does not analyze the command(s) containing the error among the one or more commands, but analyzes the remaining commands that do not contain the error. In this way, the operation prediction device 100 of this embodiment can analyze one or more commands of the control program selected by the user regardless of whether the one or more commands contain an error.

[0059] In the device described in Patent Document 1, when a user (controller) performs a simulation, the user must repeatedly modify and recompile the sequence program until compilation errors are eliminated. In other words, the device described in Patent Document 1 has a problem in that the user cannot perform a simulation to calculate or display the predicted position of the controlled object until the sequence program has been completely modified and compiled. As a result, in order to confirm modifications to the sequence program or various parameters, the user must compile the sequence program and then perform a simulation using the compiled executable file and the modified various parameters to display the predicted position. Since confirming the modifications is time-consuming, there is a problem in that the number of steps required to adjust the control programming increases.

[0060] In contrast, with the operation prediction device 100 according to the present embodiment, when predicting the operation of a control object, the user simply selects one or more commands among the multiple commands of the control program being edited on the program editing screen 12 and then performs an operation to start the prediction. Thus, the operation prediction device 100 according to the present embodiment can predict the operation of the control object and generate and output operation prediction result information without compiling, and can analyze the one or more commands being edited by the user selected regardless of whether or not an error exists, and can predict the operation of the control object from the analysis results. As a result, the operation prediction device 100 according to the present embodiment can predict the operation of the control object and generate and output operation prediction result information even if the control program has not been corrected until it is error-free, thereby reducing the effort required to check corrections and the man-hours required to adjust the control programming compared to the device described in Patent Document 1.

[0061] Furthermore, according to the operation prediction device 100 of this embodiment, in the operation prediction result information output unit 130, the predicted waveform information display unit 132 displays an image of a graph of a predicted waveform based on the predicted waveform information included in the operation prediction result information in the predicted waveform display field 208 of the operation prediction result screen 200. Furthermore, the variable display unit 133 displays an image showing the value of each variable for each predicted timing based on the variables and their values ​​included in one or more commands of the control program obtained by analysis by the control program analysis unit in the variable list display field 201 of the operation prediction result screen 200.

[0062] In this way, operation prediction device 100 according to the present embodiment can display predicted waveform information, as well as variables and their values, as an output mode of operation prediction result information. Also, in this way, operation prediction device 100 according to the present embodiment can simultaneously display predicted waveform information, as well as variables and their values ​​on operation prediction result screen 200, allowing the user to check predicted waveform information while checking the variables and their values.

[0063] In particular, according to the operation prediction device 100 of this embodiment, when the value of a variable displayed in the variable list display field 201 is changed by a user input, the variable display unit 133 updates the display of the variable value from the value before the change to the value after the change. In this case, the operation prediction calculation unit 122 recalculates the above-mentioned predicted value based on the analysis result of the control program analysis unit 121 and the changed value of the variable, and the predicted waveform information generation unit 123 regenerates predicted waveform information based on the predicted value recalculated by the operation prediction calculation unit 122. Also, in this case, the predicted waveform information display unit 132 updates the display of the predicted waveform information from the information before the regeneration to the information after the regeneration.

[0064] In this way, in the operation prediction device 100 according to the present embodiment, the user can confirm how the predicted waveform information changes when the user changes the value of the variable displayed on the operation prediction result screen 200. That is, in the operation prediction device 100 according to the present embodiment, the user can confirm the change in the predicted waveform of the trajectory of the operation of the control target simply by changing the value of the variable. As a result, the operation prediction device 100 according to the present embodiment makes it easier to confirm the change in the predicted waveform information due to a change in the value of the variable than in an operation prediction device that does not update the display of the predicted waveform information when the user changes the value of a variable, and can reduce the amount of work required to adjust the control program.

[0065] Furthermore, according to the operation prediction apparatus 100 of this embodiment, in the operation prediction result information output unit 130, the file format conversion unit 134 converts the predicted waveform information generated by the predicted waveform information generation unit 123 into a file format that can be displayed by a device 40 external to the control program creation support apparatus 10. Then, in the operation prediction result information output unit 130, the export unit 135 externally outputs the operation prediction result information including the predicted waveform information whose file format has been converted by the file format conversion unit 134 to the external device 40.

[0066] In this way, motion prediction device 100 according to the present embodiment can externally output motion prediction result information including predicted waveform information as an output form of motion prediction result information. Also, in this way, motion prediction device 100 according to the present embodiment allows a user of external device 40 to display predicted waveform information, and the user can check the predicted waveform of the trajectory of the motion of the control target.

[0067] (Modification) As in the above embodiment, the control program information is preferably information indicating one or more commands of the control program selected by the user, but is not limited to this as long as it is information based on one or more commands of the control program selected by the user. For example, the control program information may be a text file of source code of a test program automatically generated using one or more commands of the control program, or may be an executable file obtained by compiling the test program.

[0068] In the above embodiment, the operation prediction device 100 is a function included in the control program creation support device 10 and is configured integrally with the control program creation support device 10. However, the present invention is not limited to this, and the operation prediction device 100 and the control program creation support device 10 may be separate entities. In this case, the operation prediction target information acquisition unit 110, the control program information acquisition unit 111, and the initial setting information acquisition unit 112 acquire their respective pieces of information from the separate control program creation support device 10. In this case, the user of the operation prediction device 100 needs to be able to select one or more commands from a control program being edited in the separate control program creation support device 10, and to set initial values ​​for each variable in the control program creation support device 10.

[0069] As in the above embodiment, the action prediction target information preferably includes initial setting information indicating the initial values ​​of variables included in the control program set by the user, but it does not have to include the initial setting information. In this case, the action prediction device 100 may, for example, automatically generate initial values ​​of the variables based on the control program information, analyze the control program information using the automatically generated initial values ​​of the variables, and generate and output action prediction result information.

[0070] As in the above embodiment, the movement prediction result information preferably includes predicted waveform information indicating a predicted waveform of the movement trajectory of the control target, but may not include predicted waveform information. In this case, for example, the movement prediction result information may include movement predicted value information that is information indicating a predicted value of the movement trajectory of the control target for each prediction timing, and the movement prediction result information output unit 130 may display a list of the predicted values ​​of the movement trajectory of the control target for each prediction timing on the movement prediction result screen 200.

[0071] In the above embodiment, the operation prediction result information output unit 130 displayed predicted waveform information and variable list information for each predicted timing as operation prediction result information on the operation prediction result screen 200, but this is not limiting the operation prediction result information displayed on the operation prediction result screen 200. For example, the operation prediction result information output unit 130 may display information on the operation prediction result screen 200 indicating a list of program parts other than variables, such as motion FBs, which are included in one or more commands of the control program selected by the user.

[0072] In the above embodiment, the control program analysis unit 121 is capable of analyzing the operation prediction target information even if an error exists in one or more commands of the control program selected by the user. However, this is not limited to this. For example, the control program analysis unit 121 may be unable to analyze the operation prediction target information if an error exists in one or more commands of the control program selected by the user. Furthermore, for example, when an error exists in one or more commands of the control program selected by the user, the control program analysis unit 121 may simply display a message indicating the existence of an error, and not analyze the remaining part of the operation prediction target information that does not contain an error.

[0073] As in the above embodiment, it is preferable that the operation prediction result information output unit 130 simultaneously displays an image based on the predicted waveform information and an image based on the variable list information for each predicted timing on the operation prediction result screen 200. However, this is not limiting, and each image may be displayed at different times or on different screens. For example, the operation prediction result information output unit 130 may display an image based on the predicted waveform information on the first operation prediction result screen, while displaying an image based on the variable list information for each predicted timing on the second operation prediction result screen.

[0074] As in the above embodiment, it is preferable that, when the value of a variable displayed in variable list display field 201 of operation prediction result screen 200 is changed by a user input, operation prediction device 100 recalculates the predicted value, regenerates predicted waveform information, and updates the display of predicted waveform information, but this is not limiting. For example, even when the value of a variable displayed in variable list display field 201 of operation prediction result screen 200 is changed by a user input, operation prediction device 100 does not need to recalculate the predicted value, regenerate predicted waveform information, or update the display of predicted waveform information.

[0075] As in the above embodiment, when the user presses export button 209, it is preferable that motion prediction device 100 converts the file format of the predicted waveform information and then outputs motion prediction result information including the predicted waveform information to external device 40. However, this is not limiting. For example, motion prediction device 100 may output motion prediction result information including predicted waveform information whose file format has not been converted to external device 40.

[0076] The core processing components of the control program creation assistance device 10 and the operation prediction device 100, which include the control unit 51, main memory 52, external memory 53, operation unit 54, display unit 55, transmission / reception unit 56, and internal bus 50, can be realized using an ordinary computer system rather than a dedicated system. For example, a computer program for executing the above operations, such as an operation prediction program, may be stored and distributed on a computer-readable recording medium, such as a flash memory or a DVD-ROM (Read-Only Memory), and the operation prediction program may be installed to configure a computer that executes the above processing. Alternatively, the operation prediction program may be stored in a storage device of a server device on a communication network, such as a LAN (Local Area Network) or the Internet 30, and downloaded by an ordinary computer system to configure a computer.

[0077] Furthermore, when the functions of the control program creation support device 10 and the operation prediction device 100 are realized by sharing the functions between an OS (Operating System) and an application program, or by collaboration between an OS and an application program, only the application program portion may be stored on a recording medium or storage device.

[0078] It is also possible to superimpose the FA control test support program on a carrier wave and provide it via a communication network. For example, the operation prediction program may be posted on a bulletin board system (BBS) on the communication network and provided via the network. Then, the operation prediction program may be started and executed under the control of the OS in the same way as other application programs, thereby executing the above-mentioned processing.

[0079] The present disclosure allows various embodiments and modifications without departing from the broad spirit and scope of the present disclosure. Furthermore, the above-described embodiments are intended to explain the present disclosure and do not limit the scope of the present disclosure. In other words, the scope of the present disclosure is defined by the claims, not the embodiments. Various modifications made within the scope of the claims and the meaning of equivalent disclosures are considered to be within the scope of the present disclosure.

[0080] 10...control program creation support device, 11...program editing unit, 12...program editing screen, 13...program editing screen display unit, 14...initial setting unit, 15...initial setting screen, 16...initial setting screen display unit, 17...operation prediction button, 20...FA control device, 21...FA equipment, 22...drive shaft, 30...Internet, 40...external device, 50...internal bus, 51...control unit, 52...main memory unit, 53...external memory unit, 54...operation unit, 55...display unit, 56...transmitting / receiving unit, 59...control program, 100...operation prediction device, 110...operation prediction target information acquisition unit, 111...control program information acquisition unit, 112...initial setting information acquisition unit, 120...operation prediction result information generation unit , 121...control program analysis unit, 122...motion prediction calculation unit, 123...predicted waveform information generation unit, 130...motion prediction result information output unit, 131...motion prediction result screen display unit, 132...predicted waveform information display unit, 133...variable display unit, 134...file format conversion unit, 135...export unit, 200...motion prediction result screen, 201...variable list display field, 202...predicted waveform update button, 203...speed selection checkbox, 204...acceleration selection checkbox, 205...jerk selection checkbox, 206...control object list display field, 207...control object checkbox, 208...predicted waveform display field, 209...export button, 210...exit button.

Claims

1. A motion prediction program that causes a computer to function as: a motion prediction target information acquisition unit that acquires motion prediction target information, which is information about motion that is to be predicted among the motions of the control object, including control program information, which is information based on one or more commands of the control program selected by a user from among a plurality of commands that constitute a routine of the control program that controls the motion of a control object; a motion prediction result information generation unit that generates motion prediction result information, which is information indicating the result of predicting the motion of the control object, based on the motion prediction target information acquired by the motion prediction target information acquisition unit; and a motion prediction result information output unit that outputs the motion prediction result information generated by the motion prediction result information generation unit.

2. The motion prediction program according to claim 1, wherein the motion prediction target information includes initial setting information which is information indicating initial values ​​of variables included in the control program set by the user.

3. The operation prediction program of claim 2, wherein the operation prediction target information acquisition unit includes: a control program information acquisition unit that acquires the control program information indicating the one or more commands selected by the user from among the multiple commands of the control program edited in a program editing unit provided in a control program creation support device, which is a device for supporting the user in creating the control program; and an initial setting information acquisition unit that acquires the initial setting information generated by the user through settings made by an initial setting unit provided in the control program creation support device.

4. A motion prediction program as claimed in any one of claims 1 to 3, wherein the motion prediction result information generating unit includes: a control program analysis unit which analyzes the motion prediction target information; a motion prediction calculation unit which calculates a predicted value of the trajectory of the motion of the controlled object based on the analysis result of the control program analysis unit; and a predicted waveform information generating unit which generates predicted waveform information which is information indicating a predicted waveform of the trajectory of the motion of the controlled object based on the predicted value calculated by the motion prediction calculation unit.

5. The operation prediction program according to claim 4, wherein, when an error exists in the one or more commands selected by the user, the control program analysis unit does not analyze the command containing the error among the one or more commands, but analyzes the remaining commands that do not contain the error.

6. The operation prediction program according to claim 4 or 5, wherein the operation prediction result information output unit includes: a predicted waveform information display unit that displays the predicted waveform information included in the operation prediction result information on an operation prediction result screen that displays the results of predicting the operation of the controlled object; and a variable display unit that displays variables and values ​​of the variables included in the one or more commands of the control program obtained by analysis by the control program analysis unit on the operation prediction result screen.

7. The operation prediction program according to claim 6, wherein when the value of the variable being displayed is changed by input by the user, the variable display unit updates the display of the variable value from the value before the change to the changed value; when the variable display unit updates the display of the variable value, the operation prediction calculation unit re-calculates the predicted value based on the analysis result of the control program analysis unit and the changed value; when the operation prediction calculation unit re-calculates the predicted value, the predicted waveform information generation unit re-generates the predicted waveform information based on the predicted value re-calculated by the operation prediction calculation unit; and when the predicted waveform information generation unit re-generates the predicted waveform information, the predicted waveform information display unit updates the display of the predicted waveform information from information before the re-generation to information after the re-generation.

8. The motion prediction program according to any one of claims 4 to 7, wherein the motion prediction result information output unit includes: a file format conversion unit that converts the predicted waveform information generated by the predicted waveform information generation unit into a file format that can be displayed by a device external to the computer; and a motion prediction result information external output unit that outputs the motion prediction result information including the predicted waveform information whose file format has been converted by the file format conversion unit to the external device.

9. An action prediction device that predicts the action of a control object when a control program that controls the action of the control object is executed, comprising: a action prediction target information acquisition unit that acquires action prediction target information, which is information regarding action that is to be predicted among the actions of the control object; a action prediction result information generation unit that generates action prediction result information, which is information indicating a result of predicting the action of the control object, based on the action prediction target information acquired by the action prediction target information acquisition unit; and a action prediction result information output unit that outputs the action prediction result information generated by the action prediction result information generation unit, wherein the action prediction target information is information including control program information, which is information based on one or more commands of the control program selected by a user from a plurality of commands that constitute a routine of the control program.

10. A motion prediction method including: a motion prediction target information acquisition step in which a computer acquires motion prediction target information, which is information regarding a motion that is to be predicted among the motions of the control object, including control program information, which is information based on one or more commands of the control program selected by a user from among a plurality of commands that constitute a routine of the control program that controls the motion of the control object; a motion prediction result information generation step in which the computer generates motion prediction result information, which is information indicating a result of predicting the motion of the control object, based on the motion prediction target information acquired in the motion prediction target information acquisition step; and a motion prediction result information output step in which the computer outputs the motion prediction result information generated in the motion prediction result information generation step.

Citation Information

Patent Citations

  • Control operation method using graphic language and its device

    JP2006164195A

  • Controller support device, simulation method of control program, support program of controller and computer-readable storage medium storing support program of controller

    JP2011192016A