SetAttributeAsUint

SetAttributeAsUint 1:

This method sets the value of an attribute. The value has the data type Unsigned Integer.

Syntax

METHOD SetAttributeAsUint : SXmlAttribute
VAR_INPUT
  a     : SXmlAttribute;
  value : UDINT;
END_VAR

SetAttributeAsUint 2: Return value

Name

Type

SetAttributeAsUint

SXmlAttribute

SetAttributeAsUint 3: Inputs

Name

Type

a

SXmlAttribute

value

UDINT

Sample call:

xmlAttr := fbXml.SetAttributeAsUint(xmlExistingAttr, 42);