Symbol:
Keyword: PROPERTY
Properties are an extension of the IEC 61131-3 standard and a tool for object-oriented programming.
Properties are used for data encapsulation because they allow for external access
to data and act as filters at the same time. For this purpose, a property provides
the accessor methods Get
and Set
which allows for read and write access to the data of the instance below the property.
You can add a property with accessor methods below a program, a function block, or a global variable list. Click “Project Add Object Property” to open the “Add Property” dialog.
You can add an ⮫ interface property below an interface.
When you copy a property that is inserted below a POU and add it below an interface, or if you move the property there, the included implementations are removed automatically.
-
Dialog: Add Property
-
Editor: Property
-
Get and Set accessors
-
Monitoring of properties in online mode