| CPC G06F 11/3664 (2013.01) [G06F 11/3608 (2013.01); G06F 11/3692 (2013.01); G06N 5/022 (2013.01)] | 11 Claims |

|
1. A method of eradicating programmatical errors in engineering programs of a controller device, the method comprising:
capturing, by a processing unit, a plurality of input-output signals associated with a controller device, wherein the plurality of input-output signals comprises signals which are transmitted or received by the controller device during a current scan cycle of execution, of an engineering program, by the controller device;
simulating, by the processing unit, a plurality of input signals which are predicted to be received by the controller device during a future scan cycle of execution of the engineering program, wherein the plurality of simulated input signals are simulated based on an analysis of the captured plurality of input-output signals;
predicting, by the processing unit, an error state in the controller device in the future scan cycle, by execution of the engineering program in a digital twin of the controller device, wherein the engineering program is executed in the digital twin using the simulated plurality of input signals as input;
determining, by the processing unit, one or more programmatical errors in the engineering program based on an analysis of the predicted error state in the controller device; and
generating, by the processing unit, a corrected engineering program by application of an Artificial intelligence model on the engineering program, wherein the Artificial intelligence model is configured to eradicate the determined one or more programmatical errors from the engineering program.
|