Object: Interface Property Permalink

Symbol: _cds_icon_interface_property.png

Interface properties are an extension of the IEC 61131-3 standard and a tool for object-oriented programming. An interface property declares the accessor methods ‎Get‎ and ‎Set‎ (no implementation code). Therefore, a function block that implements an ⮫ interface also inherits their interface properties.

You can add an interface property to the device tree for an interface. Then an interface is extended with the accessor methods ‎Get‎ and ‎Set‎. The ‎Get‎ accessor is for read access. The ‎Set‎ accessor is for write access. You can delete an unneeded accessor. Click “Project  Add Object  Interface Property” . to add an accessor. The “Add Interface Property” dialog opens.