×

Method for emulating programmable logic controller by exchanging information between debug program which emulates I/O devices and ladder logic program

  • US 5,276,811 A
  • Filed: 03/31/1993
  • Issued: 01/04/1994
  • Est. Priority Date: 06/30/1989
  • Status: Expired due to Term
First Claim
Patent Images

1. A method in a computer-based development system for emulating a programmable logic controller for debugging a first ladder logic program wherein a second ladder logic program modeled after a particular machine function is provided as a debug program, the method comprising the steps of:

  • (a) executing the first ladder logic program and the debug program in the computer-based development system;

    (b) scanning one or more rungs in the debug system to generate inputs for driving the first ladder logic program wherein the inputs emulate signals from I/O devices, and storing the inputs as values in an input image data table file for the first ladder logic program;

    (c) scanning one or more rungs of the first ladder logic program to generate outputs for driving the debug program wherein the outputs emulate signals to I/O devices and storing said outputs as values in an output image data table file for the first ladder logic program;

    (d) comparing, in the debug program, the outputs to a selected response by examining the values in the output image data table file for the first ladder logic program; and

    (e) scanning one or more rungs in the debug program to generate additional inputs for driving the first ladder logic program according to the results of the comparing step (d) wherein the additional inputs emulate signals from I/O devices and storing the additional inputs as values in the input image data table file for the first ladder logic program.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×