Method and apparatus for block move re-addressing in ladder logic programs
First Claim
1. A method of transforming programmable logic controller addresses in a plurality of ladder logic instructions on a computer, comprising the steps of:
- (a) retrieving a block of ladder logic instructions from a data storage device attached to the computer in response to a command accepted from an operator into the computer;
(b) displaying a re-addressing screen on a monitor attached to the computer in response to a command accepted from the operator into the computer, wherein the re-addressing screen contains a first Address column for displaying currently used addresses in the retrieved block, a second Fix-up column for accepting a new address identifier entered by the operator indicating changes to make to the currently used addresses in the retrieved block, and a third Type column for accepting a transformation type identifier entered by the operator indicating a type of operation to be performed on the currently used addresses to create proposed new addresses; and
(c) calculating the proposed new addresses for the retrieved block using the computer, wherein the proposed new addresses are entered by the operator in the second Fix-up column when the third Type column contains a Base identifier, and wherein the proposed new addresses are calculated when the third Type column contains a Relative identifier by adding all intervening Relative addresses to a most prior Base address to generate the proposed new addresses.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention discloses a method of identifying elements in a plurality of data table files of a programmable logic controller using symbols to represent the addresses thereof. This, and other techniques, provide means for managing and economizing the allocation of memory. The software package tracks which of the elements are represented by symbols and which of the elements are available. Symbols can be attached to element addresses by the user displaying a list of previously defined symbols and selecting a symbol from the list. Symbols can be attached to element addresses by the user selecting a particular Data Table file and simply requesting the next available element address from the file. Symbols can also be automatically attached to elements in new Data Table files. The user specifies the file type for the new Data Table file and the software package creates the new file. At the same time, the software package will automatically attach the symbol to the address of the first element in the new created file. The user has the option of manually attaching symbols to elements in the Data Table files. The user selects a Data Table file and the software package displays the contents of the file on the screen. The user positions the cursor on the desired element and the software package attaches the symbol to the address of the element.
-
Citations
6 Claims
-
1. A method of transforming programmable logic controller addresses in a plurality of ladder logic instructions on a computer, comprising the steps of:
-
(a) retrieving a block of ladder logic instructions from a data storage device attached to the computer in response to a command accepted from an operator into the computer; (b) displaying a re-addressing screen on a monitor attached to the computer in response to a command accepted from the operator into the computer, wherein the re-addressing screen contains a first Address column for displaying currently used addresses in the retrieved block, a second Fix-up column for accepting a new address identifier entered by the operator indicating changes to make to the currently used addresses in the retrieved block, and a third Type column for accepting a transformation type identifier entered by the operator indicating a type of operation to be performed on the currently used addresses to create proposed new addresses; and (c) calculating the proposed new addresses for the retrieved block using the computer, wherein the proposed new addresses are entered by the operator in the second Fix-up column when the third Type column contains a Base identifier, and wherein the proposed new addresses are calculated when the third Type column contains a Relative identifier by adding all intervening Relative addresses to a most prior Base address to generate the proposed new addresses. - View Dependent Claims (2, 3)
-
-
4. An apparatus for transforming programmable logic controller addresses in a plurality of ladder logic instructions on a computer, comprising:
-
(a) a computer having a data storage device and a monitor attached thereto; (b) means, executed by the computer, for retrieving a block of ladder logic instructions from the data storage device attached to the computer in response to a command accepted from an operator into the computer; (c) means, executed by the computer, for displaying a re-addressing screen on the monitor attached to the computer in response to a command accepted from the operator into the computer, wherein the re-addressing screen contains a first Address column for displaying currently used addresses in the retrieved block, a second Fix-up column for accepting a new address identifier entered by the operator indicating changes to make to the currently used addresses in the retrieved block, and a third Type column for accepting a transformation type identifier entered by the operator indicating a type of operation to be performed on the currently used addresses to create proposed new addresses; and (c) means, executed by the computer, for calculating the proposed new addresses for the retrieved block using the computer, wherein the proposed new addresses are entered by the operator in the second Fix-up column when the third Type column contains a Base identifier, and wherein the proposed new addresses are calculated when the third Type column contains a Relative identifier by adding all intervening Relative addresses to a most prior Base address to generate the proposed new addresses. - View Dependent Claims (5, 6)
-
Specification