Back to results
US 10,664,274 B2Granted
Controller and editor
AssigneeFanuc Corporation
InventorShouhei Miyashita
Life of this patent
Estimating the term…
Abstract
A controller and an editor that enable a ladder program to escape an infinite loop are provided. A controller that can detect a loop process being stuck in an infinite loop during execution of a ladder program includes an infinite loop escape unit for escaping the infinite loop by forcefully making an execution condition for a jump instruction false when the infinite loop occurs, the jump instruction being included in the loop process.
Claims4
A controller and an editor of a machine configured to detect an occurrence of an infinite loop of a loop process during execution of a ladder program, comprising:
- an infinite loop detection unit for:
- monitoring states of execution condition signals for presence of a jump instruction;
- comparing a destination indicated by the jump instruction to a processing direction of the ladder program;
- and
- recording an execution condition signal of the loop process that may cause the infinite loop, in an infinite loop occurrence condition information table, wherein the recorded execution condition signal is embedded in object code of the ladder program and transmitted to the controller via an interface;
- and
- an infinite loop escape unit for:
- escaping the occurrence of the infinite loop by forcefully making a completion of an execution condition for a jump instruction false when the infinite loop occurs;
- and
- entering an emergency stop state of the machine.
7 more elements
Dependencies are inferred from the claim text.