Method and apparatus for program navigation and editing for ladder logic programs by determining which instructions reference a selected data element address
First Claim
1. A method of navigating through a program using a computer, the program being stored in memory on a computer and comprising a plurality of instructions and a plurality of data elements each located at a particular address, each instruction referencing at least one data element using the address for the element, the method comprising:
- (a) displaying the program on a monitor attached to the computer, accepting commands from an operator into the computer, and modifying the program in the computer in response to the accepted commands;
(b) selecting a data element address from the displayed program by accepting commands from the operator into the computer by highlighting an the address on the monitor using a cursor-controlled movable highlighting element;
(c) displaying a cross-reference list for the selected address on a monitor attached to the computer, wherein the displaying step (c) comprises overlaying at least a portion of the displayed program on the monitor with the displayed cross-reference list, wherein the cross-reference list comprises program identifiers for programs containing instructions which reference the selected address, instruction types for the instructions which reference the selected address, and instruction locations in the programs for instructions which reference the selected address;
(d) selecting a location from the cross-reference list displayed on the monitor by accepting commands from the operator into the computer by highlighting the location no the monitor using a cursor-controlled movable highlighting element; and
(e) displaying the program containing the instruction on the monitor at the selected location in the program, wherein the displaying step (e) comprises overlaying at least a portion of the displayed cross-reference list on the monitor with the displayed program, so that the program can be studied and edited.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention is a method that provides productivity aids for developing, debugging, and troubleshooting ladder logic programs used in Programmable Logic Controllers (PLCs). The present invention discloses methods for searching ladder logic programs of programmable logic controllers for instructions, addresses, and symbols. The user can select an address or symbol in the ladder logic program and display on a computer a cross-reference list for the selected address or symbol. The cross-reference list shows all ladder logic instructions, and their locations in the ladder logic program, that use the selected address or symbol. An instruction location can be selected from the cross-reference list and the corresponding point in the ladder logic program will be displayed on the computer.
-
Citations
32 Claims
-
1. A method of navigating through a program using a computer, the program being stored in memory on a computer and comprising a plurality of instructions and a plurality of data elements each located at a particular address, each instruction referencing at least one data element using the address for the element, the method comprising:
-
(a) displaying the program on a monitor attached to the computer, accepting commands from an operator into the computer, and modifying the program in the computer in response to the accepted commands; (b) selecting a data element address from the displayed program by accepting commands from the operator into the computer by highlighting an the address on the monitor using a cursor-controlled movable highlighting element; (c) displaying a cross-reference list for the selected address on a monitor attached to the computer, wherein the displaying step (c) comprises overlaying at least a portion of the displayed program on the monitor with the displayed cross-reference list, wherein the cross-reference list comprises program identifiers for programs containing instructions which reference the selected address, instruction types for the instructions which reference the selected address, and instruction locations in the programs for instructions which reference the selected address; (d) selecting a location from the cross-reference list displayed on the monitor by accepting commands from the operator into the computer by highlighting the location no the monitor using a cursor-controlled movable highlighting element; and (e) displaying the program containing the instruction on the monitor at the selected location in the program, wherein the displaying step (e) comprises overlaying at least a portion of the displayed cross-reference list on the monitor with the displayed program, so that the program can be studied and edited. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of navigating through a program for studying, debugging, modifying or developing the program, the program being stored in memory on a computer and comprising a plurality of instructions and a plurality of data elements each located at a particular address, each instruction being positioned at a location in the program and referencing at least one data element using the address for the element, the computer including means for displaying, editing and developing the program, the method comprising:
-
(a) creating a cross-reference record for the instructions including the instruction'"'"'s locations in the program and the data element addresses referenced by each of the instructions; (b) selecting a data element address rom the displayed program; (c) displaying a cross-reference list for the selected address on a monitor attached to the computer, the cross-reference list being generated from the cross-reference record and including locations in the program where instructions reference the selected address; (d) selecting a location from the cross-reference list displayed on the monitor; and (e) displaying a representation of the program on the monitor at the selected location in the program, so that the program can be studied or edited. - View Dependent Claims (10, 11, 13, 14, 15, 16)
-
-
12. The method of calm 11, wherein the identifying step further comprises selecting the symbol from the list of symbols displayed on the monitor by highlighting the symbol using a cursor-controlled movable highlighting element.
-
17. An apparatus for navigating through a program, the program being stored in memory on a computer and comprising a plurality of instructions and a plurality of data elements located at a particular address, each instruction referencing at least one data element using the address for the element, the apparatus comprising:
-
(a) means for displaying the program; (b) means for selecting a data element address from the displayed program; (c) means for displaying a cross-reference list for the selected address on a monitor attached to the computer, wherein the cross-reference list comprises instruction types and instruction locations in the program which reference the selected address; (d) means for selecting a location from the cross-reference list displayed on the monitor; and (e) means for displaying the program on the monitor at the selected location in the program. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
-
25. An apparatus for navigating through a program for studying, debugging, modifying or developing the program, the program being stored in memory on a computer and comprising a plurality of instructions and a plurality of data elements each located at a particular address, each instruction being positioned at a location and referencing at least one data element using the address for the element, the computer including means for displaying, editing and developing the program, the apparatus comprising:
-
(a) means for creating a cross-reference record for the instructions, the cross reference record comprising the instruction locations in the program and the addresses being referenced by the instructions; (b) means for selecting a data element address from the displayed program; (c) means for displaying a cross-reference list for the selected address on a monitor attached to the computer, the cross-reference list being generated from the cross-reference record and including one or more locations in the program where instructions reference the selected address; (d) means for selecting a location from the cross-reference list displayed on the monitor; and (e) means for displaying a representation of the program o the monitor at the selected location in the program, so that the program can be studied or edited. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32)
-
Specification