Method and industrial automation component for indirect memory addressing
AssigneeSiemens Aktiengesellschaft
InventorTobias Schuh
Life of this patent
Estimating the term…
Abstract
An automation component and method for indirect addressing by a program of an industrial automation component, wherein to accesses a number of cells in the memory, an associated address is ascertained at runtime of the program, such that during writing of the program, an association between a structure and the addresses is created and stored, where at the runtime, for accessing the memory, a relevant element of the structure is ascertained in a first step, the associated address is read from the stored association in a second step, and the memory is accessed via the address in a third step.
Claims13
A method for indirectly addressing a number of cells in a memory by a program of an automation component in an industrial automation arrangement, an associated address being ascertained at the runtime of the program to access the number of cells in the memory, the method comprising:
- creating and storing, during writing the program, an association between a structure and at least a portion of addresses which are useable by the program, said association comprising a matrix or a table having a column or row in which authorized program portions, program blocks or functions with respective types of authorization are stipulated;
- ascertaining, by the program to access the number of cells in the memory at runtime, a relevant element of the structure;
- reading, by the program to access the number of cells in the memory at runtime, the address associated with the ascertained relevant element from a stored association;
- and
- utilizing, by the program to access the number of cells in the memory at runtime, the read address;
- wherein said reading and utilizing steps are performed by firmware in the automation component.
An automation component for an industrial automation arrangement, the automation component being configured for indirect addressing of a number of cells in a memory by a program,
- wherein the automation component is configured to:
- ascertain, via the program to access the number of cells in the memory at runtime, a relevant element of the structure;
- read, via the program to access the number of cells in the memory at runtime, the address associated with the ascertained relevant element from a stored association comprising a matrix or a table having a column or row in which authorized program portions, program blocks or functions with respective types of authorization are stipulated;
- and
- utilize, via the program to access the number of cells in the memory at runtime, the read address;
- wherein said reading and utilizing are performed by firmware in the automation component.
Dependencies are inferred from the claim text.