Infosys在阅读器中打开 / AI 翻译

TF6xxx - Connectivity · 0 次阅读

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);