IP Library › Granted Patent US 8,781,607
Granted Patent B2
US 8,781,607 · App. 13/327,886 · Granted Jul 15, 2014

System, method and recording medium for driving a programmable logic controller

Inventors: Tun-Hsiao Chu (Kaohsiung, TW); Hong-En Chen (Tainan, TW)
Assignee: Institute For Information Industry
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,781,607
App. No.
13/327,886
Granted
Jul 15, 2014
Kind
B2
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.

Claims (32)

1. 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.

2. The system for driving the programmable logic controller according to claim 1 , wherein the connection port has a working electric power, the working electric power changes when the connection port is electrically coupled to the programmable logic controller, and the hardware layer management module determines whether the connection port is electrically coupled to the programmable logic controller according to the change of the working electric power.

3. The system for driving the programmable logic controller according to claim 2 , wherein each of the controller query data corresponds to a numerical value of a different working electric power, the hardware layer management module records the numerical value of the working electric power in the controller installation message, and the operation module outputs the at least one controller query data matching the numerical value of the working electric power.

4. The system for driving the programmable logic controller according to claim 2 , wherein the change of the working electric power refers to a voltage change, a current change, or both the voltage change and the current change.

5. The system for driving the programmable logic controller according to claim 1 , wherein when outputting the at least one controller query data according to the controller installation message, the operation module outputs one of the at least one controller query data each time in a preset sequence.

6. The system for driving the programmable logic controller according to claim 1 , wherein the controller response message comprises a specification data of the programmable logic controller, and the operation module generates a control data conforming to the specification data based on the controller driving data.

7. The system for driving the programmable logic controller according to claim 1 , wherein the adaptive unit further comprises an application layer management module, for inputting an operation instruction, the hardware layer management module analyzes the operation instruction and makes the programmable logic controller execute an action corresponding to the operation instruction according to the acquired control data.

8. 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.

9. The method for driving the programmable logic controller according to claim 8 , wherein the connection port has a working electric power, the working electric power changes when the connection port is electrically coupled to the programmable logic controller, and the hardware layer management module analyzes whether the working electric power of the connection port changes so as to determine whether the connection port is electrically coupled to the programmable logic controller.

10. The method for driving the programmable logic controller according to claim 9 , wherein the hardware layer management module records a numerical value of the working electric power in the controller installation message, and in the step of the server outputting at least one controller query data according to the controller installation message, the server outputs the at least one controller query data matching the numerical value of the working electric power.

11. The method for driving the programmable logic controller according to claim 9 , wherein the change of the working electric power refers to a voltage change, a current change, or both the voltage change and the current change.

12. The method for driving the programmable logic controller according to claim 8 , wherein the adaptive unit further comprises an application layer management module, and after determining that the connection port is electrically coupled to the programmable logic controller, the method further comprises:

inputting an operation instruction via the application layer management module; and

the hardware layer management module analyzing the operation instruction, and making the programmable logic controller execute an action corresponding to the operation instruction according to the acquired control data.

13. The method for driving the programmable logic controller according to claim 8 , wherein when the server outputs the at least one controller query data according to the controller installation message, the server outputs one of the at least one controller query data each time in a preset sequence.

14. The method for driving the programmable logic controller according to claim 8 , wherein the controller response message comprises a specification data of the programmable logic controller, and the generated control data conforms to the specification data.

15. 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.

16. The recording medium according to claim 15 , wherein the adaptive unit further comprises an application layer management module, and after determining that the connection port is electrically coupled to the programmable logic controller, the method further comprises:

inputting an operation instruction via the application layer management module; and

the hardware layer management module analyzing the operation instruction and making the programmable logic controller execute an action corresponding to the operation instruction according to the acquired control data.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 19, 2011
From: CHU, TUN-HSIAO; CHEN, HONG-EN
To: INSTITUTE FOR INFORMATION INDUSTRY
Reel/Frame 027408/0366 →
Priority Claims (1)
TW 100140736 A · Nov 8, 2011 · national
Continuity (1)
Related Publication 20130116801A1 · May 9, 2013