Browse Prior Art Database

PROGRAMMABLE CONTROLLER WITH BUILT-IN COMPILER

IP.com Disclosure Number: IPCOM000236330D
Publication Date: 2014-Apr-21
Document File: 6 page(s) / 95K

Publishing Venue

The IP.com Prior Art Database

Abstract

The invention proposes a new design of programmable controller system with a built-in compiler. In this design, the controller is platform independent to configuration tool in host personal computer (PC). The configuration tool only needs to interpret the user programs by an intermediate language no matter which processor or operating system (OS) is used inside the controller. The controller performance is still same as configuration tool and downloads the user programs to controller as processor specified executable binary code.

This text was extracted from a Microsoft Word document.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 52% of the total text.

 

PROGRAMMABLE CONTROLLER WITH BUILT-IN COMPILER

BRIEF ABSTRACT

The invention proposes a new design of programmable controller system with a built-in compiler. In this design, the controller is platform independent to configuration tool in host personal computer (PC).  The configuration tool only needs to interpret the user programs by an intermediate language no matter which processor or operating system (OS) is used inside the controller. The controller performance is still same as configuration tool and downloads the user programs to controller as processor specified executable binary code.

KEYWORDS

Programmable controller system, built-in compiler, platform independent, configuration tool, personal computer, intermediate language, operating system, binary code.

DETAILED DESCRIPTION

In general, there are two typical designs of programmable controller. In the first design, a configuration tool in host personal computer (PC) directly compiles user programs to executable binary code and then, the configuration tool downloads to controller. The second one is the configuration tool only interprets user programs to intermediate code which is platform independent and then download to controller. The controller will further interpret this intermediate code to executable processor specified instructions at run-time.

In the first design, the controller can run the user program at high performance, but the configuration tool must be aware of the processor type of controller. The configuration tool must develop different compiler to support different controller with different processor. In the second design, the different controller can be abstracted as virtual machine. One configuration tool can directly support different controller no matter which type of processor is used in the controller. Because of interpreting intermediate code at run-time, significant performance is lost.

A conventional technique includes a programmable controller stores a user control program which has number of ladder programs and a structure chart program. A microprocessor executes a structure chart interpreter routine to interpret the structure chart program, thereby creating an active state list which indicates the ladder programs that are to be executed.  The microprocessor with bit processor assistance executes the ladder programs which are indicated on the active state list to control a machine connected to the programmable controller.

Another conventional technique relates to a programmable controller which performs sequential processing in accordance with execution codes. The execution codes are generated by compiling a control program such as an instruction list or ladder diagram. The programmable controller has a control program development supporting apparatus for compiling and debugging the control pro...