System, method and recording medium for driving a programmable logic controller
AssigneeInstitute for Information Industry
InventorsTun-Hsiao Chu, Hong-En Chen
Life of this patent
Estimating the term…
Abstract
A system, a method and a recording medium for driving a programmable logic controller are disclosed. This system includes a server and an adaptive unit electrically connected to the server. When determining that a programmable logic controller is connected, a hardware layer management module of the adaptive unit informs the server. The server outputs a controller query data to query the programmable logic controller through the hardware layer management module. The server generates a control data conforming to a specification of the programmable logic controller according to a controller response data of the programmable logic controller, for the hardware layer management module to control the programmable logic controller.
Claims16
A system for driving a programmable logic controller, comprising:
- an adaptive unit, comprising a hardware layer management module and a connection port connected to the hardware layer management module, wherein when the hardware layer management module determines that the connection port is electrically coupled to the programmable logic controller, the hardware layer management module outputs a controller installation message;
- and
- a server, electrically connected to the adaptive unit, comprising a storage module and an operation module, wherein the storage module is used for storing at least one controller query data and at least one controller driving data corresponding to the at least one controller query data, and the operation module is used for reading the storage module according to the controller installation message to output at least one controller query data to the hardware layer management module,
- wherein the hardware layer management module further transmits the at least one controller query data to the programmable logic controller and when the programmable logic controller sends back a controller response message, transmits the controller response message to the operation module;
- and
- wherein the operation module further generates control data corresponding to the programmable logic controller based on the at least one controller driving data according to the controller response message, and transfers the control data to the hardware layer management module, for the hardware layer management module to control the programmable logic controller.
A method for driving a programmable logic controller, applicable to a server and an adaptive unit, wherein the adaptive unit comprises a hardware layer management module and a connection port connected to the hardware layer management module, the server is electrically connected to the adaptive unit, the server stores at least one controller query data and at least one controller driving data corresponding to the at least one controller query data, the method comprising:
- when the hardware layer management module determines that the connection port is electrically coupled to a programmable logic controller, outputting a controller installation message to the server;
- the server outputting at least one controller query data to the hardware layer management module according to the controller installation message;
- the hardware layer management module transmitting the at least one controller query data to the programmable logic controller, and when the programmable logic controller sends back a controller response message, transmitting the controller response message to the server;
- and
- the server generating a control data corresponding to the programmable logic controller based on the at least one controller driving data according to the controller response message, and transferring the control data to the hardware layer management module, for the hardware layer management module to control the programmable logic controller.
A recording medium, for storing a computer readable program code which is read by a server and an adaptive unit to collaboratively execute a method for driving a programmable logic controller, wherein the adaptive unit comprises a hardware layer management module and a connection port connected to the hardware layer management module, the server is electrically connected to the adaptive unit, the server stores at least one controller query data and at least one controller driving data corresponding to the at least one controller query data, and the method comprises:
- when the hardware layer management module determines that the connection port is electrically coupled to a programmable logic controller, the hardware layer management module outputting a controller installation message to the server;
- the server outputting at least one controller query data to the hardware layer management module according to the controller installation message;
- the hardware layer management module transmitting the at least one controller query data to the programmable logic controller, and when the programmable logic controller sends back a controller response message, transmitting the controller response message to the server;
- and
- the server generating a control data corresponding to the programmable logic controller based on the at least one controller driving data according to the controller response message, and transferring the control data to the hardware layer management module, for the hardware layer management module to control the programmable logic controller.
Dependencies are inferred from the claim text.