发明名称 |
Programmable controller and programming tool for communication with legacy equipment |
摘要 |
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. |
申请公布号 |
US8832670(B2) |
申请公布日期 |
2014.09.09 |
申请号 |
US201113175106 |
申请日期 |
2011.07.01 |
申请人 |
Mitsubishi Electric Corporation |
发明人 |
Fukatsu Noriyasu |
分类号 |
G06F9/45;H04L12/28;G05B19/042 |
主分类号 |
G06F9/45 |
代理机构 |
Sughrue Mion, PLLC |
代理人 |
Sughrue Mion, PLLC ;Turner Richard C. |
主权项 |
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. |
地址 |
Tokyo JP |