| (11) | EP 2 538 290 A3 |
(12) | EUROPEAN PATENT APPLICATION |
|
|
|
| |||||||||||||||||||||||
(54) | Capturing data during operation of an industrial controller for the debugging of control programs |
(57) An industrial controller module (13a) is provided with a routine of program instructions (29a) for storing a log of I/O table state changes (31) in a defined portion of memory (23). Upon the occurrence of a trigger event, a file of the state changes (37) is saved in the memory (23). The trigger may be either one of a manual input, an error in the controller operation, or a breakpoint in the application program. Each entry (32) in the log of 1/0 table state changes (31) includes a timestamp (33) and values of each word of I/O state data (36) that changed at a time of the timestamp. Logs of state change data (16a), including timestamp data, can also be saved for intelligent sensors and actuators (16) and uploaded with the log of controller processor state data (31) to a computer (20) with a diagnostic program (21a) for playing back the state changes and synchronizing changes of the intelligent sensors and actuators (16) with changes of the controller processor module (13a).
|