This application relates to programmable logic controllers (PLCs). More particularly, this application relates to design and programming of PLC systems.
PLCs are dedicated devices used for automation and production systems as well as critical infrastructure. These devices perform several types of tasks where critical real time control tasks must not be disturbed by other non-real time and non-critical tasks. PLCs are commonly configured, programmed, and commissioned (e.g., “engineered”) using specialized software known as an “Engineering System” (ES). The ES usually runs on a desktop or portable computer and communicates with the PLC via a dedicated cable or through wired (and recently, wireless) networks. Also, the ES usually stores files with configuration information for the PLC (e.g., communication connections, programs, parameters) locally in the workstation computer.
With reference to
Presently, the above limitations are attempted to be managed through increased effort and time. Typically, complex configuration management must be constantly performed, choosing computer hardware and OSs for engineering tasks such that ES requirements are met and that compatible versions of the ES are installed on these machines. Further, effort must be expended to ensure that software versions of the ES and PLC are in sync. These efforts create additional administrative overhead, which over large complex organizations becomes complicated and burdensome. Further, despite the additional effort, other challenges arise which make the present solutions ineffective. For example, an external field technician on an onsite visit to a PLC system may carry a portable workstation, in which the installed ES 420 is not compatible with the PLC 410. It would be beneficial to allow a technician to attach a low-end portable computer to a PLC to verify a control program. Moreover, an engineer may walk about a plant carrying a mobile tablet computer. It would be convenient and cost effective if the mobile tablet computer could connect to PLCs within the plant to allow the engineer to carry out simple engineering tasks. In a scenario, a new relatively simple plant is brought online, requiring only a single PLC. A solution that allows for a new PLC to be connected, configured, programmed and commissioned onsite in minutes using a conventional laptop computer is desired.
A system for configuration and control of a device includes a device processor comprising at least two processing cores and a device firmware executed by a first processing core of the at least two processing cores. A device-based engineering server is executed on a second processing core of the at least two processing cores for performing engineering services related to configuration and control of the device. According to embodiments, a web server runs on the device-based engineering server including a webApp for performing web-based functionality for configuration and control of the device. The webApp may be downloaded from the web server to the user's web browser. According to embodiments, a repository of engineering business logic is in communication with the device-based engineering server. According to embodiments a hypervisor configured to manage communication between the device firmware and the device-based engineering server. A communication path established in the hypervisor for communicating a configuration or control instruction to the device firmware. According to aspects of some embodiments, the configuration or control instruction is initiated by a user via a web browser in communication with the web server running on the device-based engineering server. The user's web browser may run on a computer workstation that does not otherwise meet processing requirements of an engineering system for the device.
According to some embodiments, a second web server executes within the device firmware. The second web server is in communication with the device runtime system and may receive a request from a user via the user's web browser and provides real-time information about the device to the user via the user's web browser. The device may be a programmable logic controller.
According to a method of configuration or programming of a device having a processor and at least two processing cores within the processor: a first processing core of the processor executes a runtime system for the device, and a second processing core executes an engineering system for configuration or programming of the device. The second processing core may also execute a device-based engineering server, the device-based engineering server hosting a first web server. The first web server may host a device-based engineering webApp and device-based engineering web services. In some embodiments, a repository of device-based engineering business logic is stored in data communication with the device-based engineering server executing on the second processing core. According to embodiments, the webApp is downloaded to a user's web browser in response to a request from the user to perform engineering tasks relating to the device. The web app may include a graphical user interface (GUI) downloaded on the user's web browser, the GUI offers features found in an engineering system. According to embodiments, the device is a programmable logic controller (PLC) and the GUI is configured to offer at least one of: browsing a PLC configuration, opening function and data blocks of the PLC, viewing parameters or program code, editing parameters and program code, and compiling and activating configuration or program code of the PLC.
Methods according to embodiments described herein may further execute a second web server on the first processing core. The second web server may download information relating to execution of the PLC including monitoring and diagnostics services to a user's web browser.
The foregoing and other aspects of the present invention are best understood from the following detailed description when read in connection with the accompanying drawings. For the purpose of illustrating the invention, there is shown in the drawings embodiments that are presently preferred, it being understood, however, that the invention is not limited to the specific instrumentalities disclosed. Included in the drawings are the following Figures:
A novel approach and architecture for an ES that overcomes the limitations described above will now be described. The approach may be referred to as “Device-based Engineering (DbE)”) and has a major goal of integrating the ES functionality on the device that is the object of the engineering tasks itself.
DbE relies on the following technical elements:
The DbE system 100 comprises a DbE server 142 that executes on the device 110, and a DbE Web Application (WebAPP) 144 that executes within the web browser 162 of the client computer 160. In turn, the DbES 142 includes two main components: the DbE Business Logic 146 that contains all the engineering functionality of the system (e.g., device information, object models, programming language elements, compilers, code generators, and communication libraries), and the DbE Web Server 143 that provides access 153 to WebApp 144 and to DbE Web Services 145 from an external computer or workstation 160. The DbE WebApp 144 is initially stored in the DbE Web Server 143 and is downloaded 152 to the client computer 160 for execution by the web browser 162.
The DbE architecture 100 functions by allowing the OS 141 hosting the DbES 142 to run on the PLC device 110 along with the PLC firmware 121, while the hypervisor 130 allows for these components to operate independently of one another. Users may employ web browser 162 to connect to the DbE Web Server 142 running on the PLC device 110. The web browser 162 loads the DbE WebApp 144 and starts its execution. The WebApp 144 presents a graphical user interface (GUI) offering features frequently found in ES (e.g., browse PLC configuration and programs, open function and data blocks, view and edit parameters and program code, compile and activate configuration and program code). The engineering functionality provided in the WebApp 144 is implemented by on-demand invocations to the DbE Web Services 145, which are realized in the form of asynchronous JAVASCRIPT and XML HttpRequest (AJAX) calls (e.g., using JAVASCRIPT object notation (JSON) as a data format). Calls to the DbE Web Services 145 are routed to the DbE business logic 146, which includes code or commands to perform corresponding functions of the ES. DbE business logic 146 performs similar functionality as prior known techniques for ES, for example, parameter changes, adding or removing variables, modifying programs, and/or checking and compiling code.
To download configuration and programming information to the PLC and activate them, the DbES 142 uses an internal communication channel 151 in the hypervisor 130 for communicating with the PLC. Communication with the PLC is concrete through the PLC Engineering Service 123 in the PLC firmware 121. This communication is analogous to prior means of communicating with the PLC engineering service through an external communication network.
The downloaded and activated configuration and program information is executed by the PLC runtime system 124 in a conventional manner. The architecture of
The method 200 occurs within the perspective of a device 110. Device 110 may be a PLC by way of example. Device 110 includes a processor having at least two processing cores 120, 140. Some steps in the method 200 are executed by processing Core1120 while other steps of method 200 are performed by processing Core2140. Communication between Core1120 and Core2140 is enabled by hypervisor 130. The method 200 begins with a web server running on Core2140 receiving a configuration or command for device 110 from a web browser run by a user 201. The command is received by a device-based engineering server, more particularly, a web server housed by the DbES. The web server receives the command and in response to the command generates results corresponding to the command. The web server 143 provides the results to the webApp 144, which renders the results in a GUI and presents the GUI to the user on the user's web browser 203. Through the GUI, the user indicates a configuration or operation command that the user wishes to execute on the device 110. The configuration or operations command is based on business logic stored and maintained within the DbES. The configuration or operations command is received at the DbES 205. The command received by the DbES is then forwarded to the PLC runtime within the PLC firmware. The command is communicated to the PLC firmware through a communication path established by the hypervisor 207. The command is then executed in the PLC runtime system 209.
The method 200 allows a user to communicate with a PLC engineering system using a web browser. Accordingly, communications and operations may be carried out without regard to the configuration and operating system of the workstation being used due to the communication of instructions being performed on a web browser. This provides improvements over prior art systems, which required minimum processing requirements and software compatibility between disparate workstations. For example, software implementing engineering system processing on the engineering system needed to be compatible with the version running on the user's workstation or computer. Likewise, the operating systems running the engineering system applications between stations and the PLC needed to be compatible. These concerns are eliminated by providing an engineering system that is located within the device being controlled. The runtime for the device (e.g., PLC) is hosted on one processing core within the device while a device-based engineering system is hosted on the device in a second processing core.
An executable application, as used herein, comprises code or machine-readable instructions for conditioning the processor to implement predetermined functions, such as those of an operating system, a context data acquisition system or other information processing system, for example, in response to user command or input. An executable procedure is a segment of code or machine-readable instruction, sub-routine, or other distinct section of code or portion of an executable application for performing one or more processes. These processes may include receiving input data and/or parameters, performing operations on received input data and/or performing functions in response to received input parameters, and providing resulting output data and/or parameters.
A graphical user interface (GUI), as used herein, comprises one or more display images, generated by a display processor and enabling user interaction with a processor or other device and associated data acquisition and processing functions. The GUI also includes an executable procedure or executable application. The executable procedure or executable application conditions the display processor to generate signals representing the GUI display images. These signals are supplied to a display device which displays the image for viewing by the user. The processor, under control of an executable procedure or executable application, manipulates the GUI display images in response to signals received from the input devices. In this way, the user may interact with the display image using the input devices, enabling user interaction with the processor or other device.
The functions and process steps herein may be performed automatically or wholly or partially in response to user command. An activity (including a step) performed automatically is performed in response to one or more executable instructions or device operation without user direct initiation of the activity.
The system and processes of the figures are not exclusive. Other systems, processes and menus may be derived in accordance with the principles of the invention to accomplish the same objectives. Although this invention has been described with reference to particular embodiments, it is to be understood that the embodiments and variations shown and described herein are for illustration purposes only. Modifications to the current design may be implemented by those skilled in the art, without departing from the scope of the invention. As described herein, the various systems, subsystems, agents, managers and processes can be implemented using hardware components, software components, and/or combinations thereof. No claim element herein is to be construed under the provisions of 35 U.S.C. 112, sixth paragraph, unless the element is expressly recited using the phrase “means for.”
This application is a national phase filing under 35 U.S.C. § 371 of International Patent Application No. PCT/US2018/021722, filed Mar. 9, 2018, which claims the benefit of priority to U.S. Provisional Patent Application Ser. No. 62/472,021, filed Mar. 16, 2017, which are incorporated herein by reference in their entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2018/021722 | 3/9/2018 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2018/169778 | 9/20/2018 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
10360159 | Black | Jul 2019 | B1 |
20140026145 | Canedo | Jan 2014 | A1 |
20160091882 | Ludwig et al. | Mar 2016 | A1 |
20160127167 | Chou | May 2016 | A1 |
Entry |
---|
International Search Report dated Jun. 18, 2018; International Application No. PCT/US2018/021722; Filing Date: Mar. 9, 2018; 15 pages. |
Ramon Barth et al: “Multi Core in der Automation”, Jan. 1, 2007 (Jan. 1, 2007), XP055482591 / Jan. 1, 2007. |
Siemens: “SIMATIC S7-1500 Software Controller CPU 1505S, CPU 1507S” Jan. 1, 2014 (Jan. 1, 2014), XP055482349 / Jan. 1, 2014. |
Number | Date | Country | |
---|---|---|---|
20200034218 A1 | Jan 2020 | US |
Number | Date | Country | |
---|---|---|---|
62472021 | Mar 2017 | US |