Method for using PLC programming information to generate secondary functions such as diagnostics and operator interface
First Claim
1. In a programmable logic controller (PLC) for implementing primary functions of an operating system, wherein operating program instructions are stored in said PLC and include a first label field and a second comment field, wherein said primary functions implement control functions of said system, the improvement comprising a program for said PLC wherein said first label field includes first instructions for implementing said primary functions in said operating system and said second comment field includes second instructions for implementing secondary functions relating to non-control functions in said operating system:
- first memory means for storing a predetermined syntax in said PLC;
further memory means for storing a series of secondary function instructions in said second comment field associated with a given first label field in said PLC;
means for comparing said secondary function instructions with said predetermined syntax; and
means for generating a rung file representing programming commands for said PLC if said secondary function instructions include said predetermined syntax;
wherein said rung file is stored in said PLC for programming the operation of said PLC.
1 Assignment
0 Petitions
Accused Products
Abstract
A programmable logic controller (PLC) in an operating system such as a machine includes a software development tool having labels in a first field to identify and describe specific input/output (I/O) points in the PLC. Each label assignment can be used in the formation of rungs in a ladder logic array to facilitate programming of the PLC. The PLC also allows for the entry of descriptive comments in a second comment field associated with each label assignment to assist the programmer. Secondary function instructions replace the descriptive comments in the comment portion of a label, or in the comment field, to generate a diagnostic, or status, indication such as an alarm for the machine when executed by the PLC. Comments for labels are transformed by a translator, with a file containing the labels and associated comments accessed and scanned for label comments with the appropriate syntax. Secondary function instructions are recognized by the use of specific key words in the comment field. Other functions not part of PLC control of the machine, such as operator interface with the system, may also be programmed into the comment field for performing secondary functions in a manner which facilitates programming of the PLC and makes more efficient use of PLC memory.
-
Citations
17 Claims
-
1. In a programmable logic controller (PLC) for implementing primary functions of an operating system, wherein operating program instructions are stored in said PLC and include a first label field and a second comment field, wherein said primary functions implement control functions of said system, the improvement comprising a program for said PLC wherein said first label field includes first instructions for implementing said primary functions in said operating system and said second comment field includes second instructions for implementing secondary functions relating to non-control functions in said operating system:
-
first memory means for storing a predetermined syntax in said PLC; further memory means for storing a series of secondary function instructions in said second comment field associated with a given first label field in said PLC; means for comparing said secondary function instructions with said predetermined syntax; and means for generating a rung file representing programming commands for said PLC if said secondary function instructions include said predetermined syntax; wherein said rung file is stored in said PLC for programming the operation of said PLC. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. For use with a programmable logic controller (PLC) controlling the operation of a machine through a series of operating instructions stored in a register in said PLC, a method for programming said PLC comprising the steps:
-
storing a predetermined syntax in a memory of a programmer; entering an instruction in said programmer; dividing said instruction into a label field containing an operating instruction and a comment field; entering a secondary function in said comment field, wherein said secondary function is not involved with control of said machine; comparing said secondary function with said predetermined syntax; generating a rung file representing secondary function programming commands for, said PLC if said secondary function includes said predetermined syntax; and loading said rung file into said PLC in programming the operation of said PLC.
-
Specification