Programmatic access to controller construct and variable names
First Claim
Patent Images
1. A system comprising:
- a processor;
a memory communicatively coupled to the processor, the memory having stored therein computer-executable instructions configured to implement the system, including;
an interface component that facilitates receipt of a project file that includes at least a portion of code related to an object associated with a controller and a name associated with the portion of code, wherein the project file is stored in the controller, the portion of code and the name associated with the portion of code is stored in a data space of the controller; and
an access component integrated within the controller and communicatively coupled to the interface component that accesses the name and respective data space, wherein the access component is employed for programming of the data space during runtime of the controller, wherein the programming causes the portion of code to be re-used by a disparate name referencing the same data space; and
a programmed instruction within the controller utilizing a generic identifier and an object type during runtime of the controller to request the name or disparate name associated with a current context of execution of the portion of code, the object type identifies a type of the object from a plurality of types, the generic identifier is used for each type of the plurality of types, the generic identifier and object type are employed by the access component with execution context information associated with the data space to retrieve the name or disparate name associated with the current context of execution of the portion of code, the access component provides the name or disparate name to the programmed instruction.
1 Assignment
0 Petitions
Accused Products
Abstract
The claimed subject matter provides a system and/or method for employment in an industrial automation environment that facilitates utilizing data within a programmable logic controller. An interface component can facilitate receipt of a portion of data related to a programmable logic controller. An access component integrated within a programmable logic controller (PLC) and communicatively coupled to the interface component can employ programmatic access to the name and respective data space during runtime.
-
Citations
28 Claims
-
1. A system comprising:
-
a processor; a memory communicatively coupled to the processor, the memory having stored therein computer-executable instructions configured to implement the system, including; an interface component that facilitates receipt of a project file that includes at least a portion of code related to an object associated with a controller and a name associated with the portion of code, wherein the project file is stored in the controller, the portion of code and the name associated with the portion of code is stored in a data space of the controller; and an access component integrated within the controller and communicatively coupled to the interface component that accesses the name and respective data space, wherein the access component is employed for programming of the data space during runtime of the controller, wherein the programming causes the portion of code to be re-used by a disparate name referencing the same data space; and a programmed instruction within the controller utilizing a generic identifier and an object type during runtime of the controller to request the name or disparate name associated with a current context of execution of the portion of code, the object type identifies a type of the object from a plurality of types, the generic identifier is used for each type of the plurality of types, the generic identifier and object type are employed by the access component with execution context information associated with the data space to retrieve the name or disparate name associated with the current context of execution of the portion of code, the access component provides the name or disparate name to the programmed instruction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A method comprising:
employing a processor executing computer executable instructions stored on a computer -readable storage medium to implement the following acts; receiving a project file that includes at least a portion of code related to an object associated with a controller and a name associated with the portion of code; storing the project file in the controller, the portion of code and the name associated with the portion of code is stored in a data space of the controller; programming the data space during runtime of the controller, wherein the programming causes the portion of code to be re-used by a disparate name referencing the same data space; and programmatically requesting the name or disparate name associated with a current context of execution of the portion of code by utilizing a generic identifier and an object type during runtime of the controller, the object type identifies a type of the object from a plurality of types, the generic identifier is used for each type of the plurality of types, the generic identifier and object type are employed with execution context information associated with the data space to retrieve the name or disparate name associated with the current context of execution of the portion of code. - View Dependent Claims (23, 24, 25, 26, 27)
-
28. A system comprising:
-
means for receiving project file that includes at least a portion of code related to an object associated with a controller and a name associated with the portion of code; means for storing the project file in the controller, the portion of code and the name associated with the portion of code data is stored in a data space of the controller; and means for programming the data space during runtime of the controller, wherein the programming causes the portion of code to be re-used by a disparate name referencing the same data space; and means for programmatically requesting the name or disparate name associated with a current context of execution of the portion of code by utilizing a generic identifier and an object type during runtime of the controller, the object type identifies a type of the object from a plurality of types, the generic identifier is used for each type of the plurality of types, the generic identifier and object type are employed with execution context information associated with the data space to retrieve the name or disparate name associated with the current context of execution of the portion of code.
-
Specification