← Back to Patent Explorer
US5218525A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and apparatus for partially running a sequence program for debugging thereof

Assignee: Mitsubishi Electric Corp
•
Filing: 1991-02-08
•
Granted: 1993-06-08
•
Expires: 2011-02-08
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method and apparatus for debugging a sequence program by partially running the program by a programmable controller. The programmable controller includes memory to store the sequence program and memory to store partial run conditions comprising identity of a external device required for a partial run of the sequence program, a device access method and relevant data. An external i/o device interfaces with the programmable controller to store the partial run condition. The programmable controller includes a compare circuit for comparing the stored partial run conditions and the status of the program during a partial run. The comparison circuit outputs a signal which stops the run when the result of the sequence program operation is identical with the stored partial run conditions. The stop step and number of scans of the sequence program at the time the match is identified can be output for example, on a display.

Inventors

  • 👤 Shinichi Amasaki
  • 👤 Hiroyuki Hayashi

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-30 09:25
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/3698; G05; G05B; G05B19/00; G05B19/02; G05B19/04; G05B19/05; G05B19/058; G06F11/30; G06F11/34; G06F11/3466; G06F11/348

Claims Analysis

Total Claims: 16
Claim 1
Independent Claim 137 words
A programmable controller comprising: program running means, connected to a common bus, for controllably running a sequence program composed of a plurality of instruction steps and generating program running results; partial run condition entering means, connected to said common bus, for entering, prior to running said sequence program, partial run conditions comprising at least an identity of a external device required for a partial run of said sequence program; and a comparing circuit, connected to said common bus and directly to said program running means through a stop request interrupt line, for comparing said partial run conditions and sequence program running results and outputting an interrupt signal to said program running means, through said stop request interrupt line, for stopping the run of said sequence program when said partial run conditions match said sequence program running results.
Claim 2
Dependent Claim 137 words
A programmable controller comprising: program running means, connected to a common bus, for controllably running a sequence program composed of a plurality of instruction steps and generating program running results; partial run condition entering means, connected to said common bus, for entering, prior to running said sequence program, partial run conditions comprising at least an identity of a external device required for a partial run of said sequence program; and a comparing circuit, connected to said common bus and directly to said program running means through a stop request interrupt line, for comparing said partial run conditions and sequence program running results and outputting an interrupt signal to said program running means, through said stop request interrupt line, for stopping the run of said sequence program when said partial run conditions match said sequence program running results.
Claim 3
Dependent Claim 30 words
The programmable controller of claim 1, further comprising: means for identifying an instruction step at which said sequence program is stopped and a number of scans of said sequence program.
Claim 4
Dependent Claim 20 words
The programmable controller of claim 2, further comprising means for displaying said identified stop step and said number of scans.
Claim 5
Dependent Claim 44 words
The programmable controller of claim 1 wherein said comparing means comprises logic circuit means, responsive to each of said partial run conditions and said corresponding program running results, for generating an output indicating a coincidence therebetween, said output being operative to stop said run.
Claim 6
Dependent Claim 23 words
The programmable controller of claim 1 further comprising means for storing said entered partial run conditions for subsequent access by said comparing means.
Claim 7
Dependent Claim 17 words
The programmable controller of claim 1 wherein said partial run conditions further comprise a device access method.
Claim 8
Independent Claim 143 words
A method for partially running a sequence program by means of a programmable controller equipped with sequence program running means connected to a bus, inputting means for inputting run conditions through said bus, a comparison circuit connected to the bus and connected directly to the sequence program running means through a stop request interrupt line, and running result displaying means, comprising the step of: inputting, by means of said inputting means, partial run conditions comprising at least a specified device required for the partial run of said sequence program; running said sequence program by means of said sequence program running means; comparing, by means of the comparison circuit, the partial run conditions and program results; and outputting an interrupt signal on said interrupt line to stop the run of said sequence program when said partial run conditions match said sequence program running results.
Claim 9
Independent Claim 143 words
A method for partially running a sequence program by means of a programmable controller equipped with sequence program running means connected to a bus, inputting means for inputting run conditions through said bus, a comparison circuit connected to the bus and connected directly to the sequence program running means through a stop request interrupt line, and running result displaying means, comprising the step of: inputting, by means of said inputting means, partial run conditions comprising at least a specified device required for the partial run of said sequence program; running said sequence program by means of said sequence program running means; comparing, by means of the comparison circuit, the partial run conditions and program results; and outputting an interrupt signal on said interrupt line to stop the run of said sequence program when said partial run conditions match said sequence program running results.
Claim 10
Dependent Claim 32 words
The method of claim 7, further comprising the steps of: identifying and storing the instruction step at which said sequence program is stopped and the number of scans of said sequence program.
Claim 11
Dependent Claim 24 words
The method of claim 8, further comprising the step of: displaying said stop step and number of scans by means of said displaying means.
Claim 12
Dependent Claim 16 words
The method of claim 7, wherein said partial run conditions further comprise a device access method.
Claim 13
Dependent Claim 22 words
The method of claim 7 further comprising comparing said partial run conditions with the sequence program running results to identify said match.
Claim 14
Dependent Claim 24 words
The programmable controller of claim 1, wherein said program running means includes a CPU that is directly connected to said stop request interrupt line.
Claim 15
Dependent Claim 35 words
The programmable controller of claim 1, wherein said comparing circuit includes data entry memory for storing data, device entry memory for storing a device identifier and access method entry memory for storing an access method.
Claim 16
Dependent Claim 65 words
The programmable controller of claim 13, wherein said common bus includes a data bus, an address bus, and a control bus, and said comparing circuit includes a plurality of AND elements for comparing outputs of said data, device and access method entry memories with outputs of the data, address and control buses, respectively, said comparing circuit outputting said interrupt signal when each corresponding output matches.

References Cited (Backward Citations)

DE2948644A1 Cited
US4542452A Cited
US4608628A Cited
JPS60120410A Cited
US4851985A Cited
FR2593621A1 Cited
US5070476A Cited
US4852047A Cited
US5068778A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1996-06-07 1996-12-07 1997-06-08 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2000-06-07 2000-12-07 2001-06-08 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2004-06-07 2004-12-07 2005-06-08 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag