Programmable controller and programming tool for communication with legacy equipment
First Claim
1. A method of generating a symbol table for a programmable logic controller which executes high-level language program and controls devices, the method comprising:
- reading a source code of the high-level language program and an association table wherein the association table defines a relationship between device names that are not supported by the high-level language program and variable names for the respective devices used in the high-level language program;
compiling the source code of the high-level language program into assembly code to determine a physical address in a memory of the programmable logic controller for each of the variable names;
generating the symbol table based on the association table and the physical address for each of the variable names determined by the compiling, the symbol table defining the determined physical address for each of the variable names and the names of the target device; and
storing the symbol table in a memory of the programmable logic controller.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of generating a symbol table for a programmable logic controller which executes high-level language program is provided. The method includes reading the high-level language program and an association table specifying relationship between devices controlled by the programmable logic controller and variable names in the high-level language program; compiling and linking the high-level language program and the association table for determining a physical address for each of the variable names and the corresponding devices; generating the symbol table by the compiling and linking, the symbol table defining the determined physical address for each of the devices; and storing the symbol table in the memory of the programmable logic controller. A programmable logic controller executing the high-level language program and storing the symbol table is also provided.
11 Citations
7 Claims
-
1. A method of generating a symbol table for a programmable logic controller which executes high-level language program and controls devices, the method comprising:
-
reading a source code of the high-level language program and an association table wherein the association table defines a relationship between device names that are not supported by the high-level language program and variable names for the respective devices used in the high-level language program; compiling the source code of the high-level language program into assembly code to determine a physical address in a memory of the programmable logic controller for each of the variable names; generating the symbol table based on the association table and the physical address for each of the variable names determined by the compiling, the symbol table defining the determined physical address for each of the variable names and the names of the target device; and storing the symbol table in a memory of the programmable logic controller.
-
-
2. A method of communication between a peripheral equipment and a programmable logic controller executing high-level language program, and controlling devices, the method comprising:
-
transmitting, by the peripheral equipment, a request for data read or data write related to a target device among devices controlled by the programmable logic controller, the request including a name of the target device that is not supported by the high-level language program; receiving, by the programmable logic controller, the request transmitted by the peripheral equipment; reading, by the programmable logic controller, a symbol table to determine a physical address in a memory of the programmable logic controller related to the target device; wherein the symbol table defines a physical address in the memory of the programmable logic controller for each of said name of said target device that is not supported by the high-level language program and reading from or writing to the determined physical address. - View Dependent Claims (4, 6)
-
-
3. A programmable logic controller that executes high-level language program for controlling devices, the programmable logic controller comprising:
-
a request receiving unit which receives a request for reading or writing related to a target device among devices controlled by the programmable logic controller, the request being transmitted by a peripheral equipment and including a name of the target device that is not supported by the high-level language program; a symbol table reading unit which reads a symbol table to determine a physical address in a memory of the programmable logic controller related to the target device, wherein the symbol table defines a physical address in the memory of the programmable logic controller for each of the name of the target device that is not supported by the high-level language program; and a physical address reading or writing unit which reads from or writes to the determined physical address, wherein the programmable logic controller comprises at least one hardware component. - View Dependent Claims (5, 7)
-
Specification