Patent ID: 7302676

Claim:
A method for debugging a program for an industrial controller, the industrial controller having an engineering system including an editor and further having a run time system, wherein graphical elements are linked using the editor to form a motion control flowchart that can be visualized on a display, the graphical elements corresponding to respective tasks, the method comprising the steps of: a) preparing a debugging process for the industrial control program based on the flowchart; b) assigning a suspend command to each graphical element of the flowchart; c) commencing the debugging process for the industrial control program; d) continuing the debugging process until a suspend command is reached; e) displaying the location of the flowchart element corresponding to the suspend command; f) continuing a task corresponding to a graphical element of the flowchart, that has been suspended by a suspend command, using a task control mechanism of the run-time system; and g) proceeding to the next possible suspend command; wherein a user can switch between structured textual language, contact plan and function plan as forms of representation for formulation conditions.