Information processing device, simulation method, and program
AssigneeOMRON Corporation
InventorsYasunori Sakaguchi, Fumiaki Narutani, Taku Oya
Life of this patent
Estimating the term…
Abstract
A PC, which is an information processing device, simulates a control program and displays the result of the simulation on a monitor. The PC acquires a value, and identification information identifying a variable for at least one variable at an arbitrary time during the simulation. The PC modifies the control program in accordance with an instruction from a user. The PC simulates the modified control program with the value of the variable identified by the acquired identification information as the value of the acquired variable. The PC displays the result of simulating the modified control program on the monitor.
Claims6
An information processing device for simulating a control program executed in a controller that controls operations of a machine during a control cycle, the information processing device comprising:
- a memory, wherein the control program is stored in the memory;
- a monitor;
- a processor coupled to the memory and the monitor, the processor configured with a program to perform operations as:
- a simulation execution module for performing a first simulation based on the control program stored in the memory;
- an acquisition module for acquiring values for a plurality of variables and acquiring identification information identifying each of the plurality of variables at an arbitrary time during the first simulation based on the control program, the value of at least one of the plurality of variables being an input to the control program during the first simulation performed based on the control program;
- a display control module for causing a display device to display a result of the first simulation including the acquired values of the plurality of variables;
- and
- a modification module for modifying the control program stored in the memory to produce a modified control program based on the result of the first simulation including the acquired values of the plurality of variables;
- wherein the processor is configured with the program to perform operations such that:
- the simulation execution module performs a second simulation based on:
- the modified control program;
- and a designation of a designated variable from among the plurality of variables acquired at the arbitrary time during the first simulation, the second simulation using at least one of the acquired values for the designated variable to facilitate setting variables for the modified control program by restoring the value of the designated variable for execution of the second simulation such that the acquired values of the plurality of variables not included in the designation are not included in the performance of the second simulation by the simulation execution module;
- and
- the display control module causes the monitor to display a result of the second simulation based on the modified control program.
A simulation method on an information processing device for simulating a control program executed in a controller that controls operations of a machine during a control cycle, the simulation method with steps comprising:
- simulating the control program in a first simulation;
- acquiring values for a plurality of variables and acquiring identification information identifying each of the plurality of variables at an arbitrary time during the first simulation based on the control program, the value of at least one of the plurality of variables being an input to the control program during the first simulation based on the control program;
- displaying a result of the first simulation including the acquired value of the plurality of variables;
- modifying the control program based on the result of the first simulation including the acquired value of the plurality of variables to produce a modified control program;
- simulating the modified control program in a second simulation based on:
- the modified control program;
- and a designation of a designated variable from among the plurality of variables acquired at the arbitrary time during the first simulation, the second simulation using at least one of the acquired values the designated variable to facilitate setting variables for the modified control program by restoring the value of the designated variable for execution of the second simulation such that the acquired values of the plurality of variables not included in the designation are not included in the simulation of the modified control program in the second simulation;
- and
- displaying a result of the second simulation based on the modified control program.
A non-transitory computer readable medium storing a program for controlling an information processing device that simulates a control program executed in a controller controlling operations of a machine during a control cycle, the program when read and executed by a processor causing the processor to perform operations comprising:
- simulating the control program in a first simulation;
- acquiring values for a plurality of variables and acquiring identification information identifying each of the plurality of variables at an arbitrary time during the first simulation based on the control program, the value of at least one of the plurality of variables being an input to the control program during the first simulation based on the control program;
- causing a result of the first simulation including the acquired values of the plurality of variables to be displayed on a monitor;
- modifying the control program based on the result of the first simulation including the acquired values of the plurality of variables to produce a modified control program;
- simulating the modified control program in a second simulation based on:
- the modified control program;
- and a designation of a designated variable from among the plurality of variables acquired at the arbitrary time during the first simulation, the second simulation using at least one of the acquired values the designated variable to facilitate setting variables for the modified control program by restoring the value of the designated variable for execution of the second simulation such that the acquired values of the plurality of variables not included in the designation are not included in the simulation of the modified control program in the second simulation;
- and
- causing a result of the second simulation based on the modified control program to be displayed on the monitor.
Dependencies are inferred from the claim text.