AttributeAsUint

AttributeAsUint 1:

This method returns the value of an attribute as data type Unsigned Integer. The attribute is transferred to the method as input parameter.

Syntax

METHOD AttributeAsUint : UDINT
VAR_INPUT
  a : SXmlAttribute;
END_VAR

AttributeAsUint 2: Return value

Name

Type

AttributeAsUint

UDINT

AttributeAsUint 3: Inputs

Name

Type

a

SXmlAttribute

Sample call:

nValue := fbXml.AttributeAsUint(xmlAttr);