Industrial control system employing relay ladder objects
First Claim
1. An industrial control system for controlling interconnected equipment of equipment types, the equipment having electrical sensors and actuators, the control system comprising:
- (a) a programmable logic controller including;
(i) I/O circuits communicating electrical signals with the actuators and sensors of the equipment;
(ii) a relay ladder processing unit; and
(iii) a controller memory holding multiple, predefined relay ladder objects for different equipment types, the relay ladder objects having rungs with contacts representing signals from the sensors and output coils representing signals to the actuators, the rungs joining the contacts and output coils to provide intra-machine control logically relating operation of the actuators and sensors;
(b) at least one general purpose computer including;
(i) a processing unit and (ii) a computer memory, the memory holding;
(1) an instancing table matching particular equipment with particular ones of the relay ladder objects having matching equipment types;
(2) a stored control program executable by the processing unit to provide inter-machine control of the equipment, the control program logically coordinating operation of different interconnected equipment by exchanging data with the predefined relay ladder objects according to the instancing table;
whereby a writing of control programs may be simplified by using predefined relay ladder objects for intra-machine control.
1 Assignment
0 Petitions
Accused Products
Abstract
Rapid development of control programs for programmable logic controllers controlling semi-standard combinations of equipment is provided by the creation of relay ladder logic objects prestored in the programmable logic controller and invoked only as needed for the particular application. The inability of a programmable logic controller to provide for the memory management mechanisms necessary for true software object instancing is overcome by pre-storing the objects in the programmable controller with pre-allocated variable addresses. Connection of the used objects to I/O is provided by a mapper program also written in relay ladder code. The objects are associated with particular pieces of equipment and provide inter-machine control for that equipment while high level control program executed on a standard computer which controls the objects through reading and writing of object variables.
-
Citations
18 Claims
-
1. An industrial control system for controlling interconnected equipment of equipment types, the equipment having electrical sensors and actuators, the control system comprising:
-
(a) a programmable logic controller including;
(i) I/O circuits communicating electrical signals with the actuators and sensors of the equipment;
(ii) a relay ladder processing unit; and
(iii) a controller memory holding multiple, predefined relay ladder objects for different equipment types, the relay ladder objects having rungs with contacts representing signals from the sensors and output coils representing signals to the actuators, the rungs joining the contacts and output coils to provide intra-machine control logically relating operation of the actuators and sensors;
(b) at least one general purpose computer including;
(i) a processing unit and (ii) a computer memory, the memory holding;
(1) an instancing table matching particular equipment with particular ones of the relay ladder objects having matching equipment types;
(2) a stored control program executable by the processing unit to provide inter-machine control of the equipment, the control program logically coordinating operation of different interconnected equipment by exchanging data with the predefined relay ladder objects according to the instancing table;
whereby a writing of control programs may be simplified by using predefined relay ladder objects for intra-machine control.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
the I/O circuits associate the electrical signals communicated with the actuators and sensors of the equipment to unique I/O addresses in memory; and
whereinthe rungs and contacts of the relay ladder objects are associated with unique object addresses in memory; and
whereinthe controller memory further includes a relay ladder mapper having series connected pairs of rungs and contacts relating an I/O address in memory to an object address in memory;
whereby the predefined relay ladder objects may be freely connected to equipment of comparable types with arbitrary I/O addresses.
-
-
3. The industrial control system of claim 1 wherein the predefined relay ladder object includes logic for responding to an emergency stop command for the associated equipment by changing a state of at least one output coil.
-
4. The industrial control system of claim 1 wherein the rungs of the predefined relay ladder objects also have non I/O contacts and non I/O output coils representing control states that are logical combinations of the signals of the sensors and actuators, and wherein the control program exchanges data with the predefined relay ladder objects through the non I/O contacts and non I/O output coils.
-
5. The industrial control system of claim 4 wherein the predefined relay ladder objects include logic for detection of a fault condition of the associated equipment and upon such a detection change the state of a fault non I/O output coil.
-
6. The industrial control system of claim 5 wherein the predefined relay ladder object includes logic for responding to a fault condition for the associated equipment by changing a state of at least one output coil to stop operation of the equipment.
-
7. The industrial control system of claim 6 wherein the predefined relay ladder object includes logic for responding to a fault condition for the associated equipment detected by the predefined relay ladder object.
-
8. The industrial control system of claim 6 wherein the controller memory includes a monitoring relay ladder program checking for proper operation of the general purpose computer in executing the control program on the general purpose computer, the monitoring relay ladder program communicating with the relay ladder objects to invoke their fault conditions if the monitoring program indicates failure of the general purpose computer in executing the control program.
-
9. The industrial control system of claim 1 including further:
-
a second programmable logic controller having;
(i) second I/O circuits communicating electrical signals with the actuators and sensors of the equipment;
(ii) a second relay ladder processing unit; and
(iii) a second controller memory holding multiple, predefined relay ladder objects for different equipment types, the relay ladder objects having rungs with contacts representing signals from the sensors and output coils representing signals to the actuators, the rungs joining the contacts and output coils to provide intra-machine control logically relating operation of the actuators and sensors;
and wherein the instancing table matches particular equipment with particular ones of the relay ladder objects in a designated one of the two programmable controllers;
and wherein the stored control program logically coordinates operation of different interconnected equipment by exchanging data with the predefined relay ladder objects in a programmable controller designated for the equipment in the instancing table.
-
-
10. A method of industrial control of interconnected equipment of equipment types, the equipment having electrical sensors and actuators, the method using:
- a programmable logic controller including;
I/O circuits communicating electrical signals with the actuators and sensors of the equipment;
a relay ladder processing unit; and
a controller memory;
the method further using at least one general purpose computer including;
a processing unit and a computer memory, the method comprising the steps of;(a) storing in the controller memory multiple, predefined relay ladder objects for different equipment types, the relay ladder objects having rungs with contacts representing signals from the sensors and output coils representing signals to the actuators, the rungs joining the contacts and output coils to provide when executed by the relay ladder processor intra-machine control logically relating operation of the actuators and sensors;
(b) storing in the computer memory an instancing table matching particular equipment with particular ones of the relay ladder objects having matching equipment types; and
(c) preparing a control program executable by the processing unit to provide intermachine control of the equipment by exchanging data with the predefined relay ladder objects according to the instancing table. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
the I/O circuits associate the electrical signals communicated with the actuators and sensors of the equipment to unique I/O addresses in memory; and
whereinthe rungs and contacts of the relay ladder objects are associated with unique object addresses in memory; and
including the further step of;
loading in the controller memory a relay ladder mapper having series connected pairs of rungs and contacts relating an I/O address in memory to an object address in memory;
whereby the predefined relay ladder objects may be freely connected to equipment of comparable type with arbitrary I/O addresses.
- a programmable logic controller including;
-
12. The method of claim 10 wherein the predefined relay ladder object includes logic for responding to an emergency stop command for the associated equipment by changing a state of at least one output coil.
-
13. The method of claim 10 wherein the rungs of the predefined relay ladder objects also have non I/O contacts and non I/O output coils representing control states that are logical combinations of the signals of the sensors and actuators, and including the further step of exchanging data with the predefined relay ladder objects through the non I/O contacts and non I/O output coils.
-
14. The method of claim 10 wherein the predefined relay ladder objects include logic for detection of a fault condition of the associated equipment and including the step of changing the state of a fault non I/O output coil upon such a detection.
-
15. The method of claim 10 wherein the predefined relay ladder object includes logic for responding to a fault condition for the associated equipment by changing a state of at least one output coil to stop operation of the equipment.
-
16. The method of claim 10 wherein the predefined relay ladder object includes logic for responding to a fault condition for the associated equipment detected by the predefined relay ladder object.
-
17. The method of claim 10 including the step of checking for proper operation of the general purpose computer in using a monitoring relay ladder program, the monitoring relay ladder program communicating with the relay ladder objects to invoke their fault conditions if the monitoring program indicates failure of the general purpose computer in executing the control program.
-
18. The method of claim 10 including the further steps of:
-
storing in a memory of a second programmable controller multiple, predefined relay ladder objects for different equipment types, the relay ladder objects having rungs with contacts representing signals from the sensors and output coils representing signals to the actuators, the rungs joining the contacts and output coils to provide intra-machine control logically relating operation of the actuators and sensors;
storing in the instancing table an indication of one of the two programmable logic controllers having relay ladder objects matching particular equipment; and
preparing the control program to provide inter-machine control of the equipment by exchanging data with the predefined relay ladder objects in a programmable controller designated by the instancing table.
-
Specification