SetChildAsUint

SetChildAsUint 1:

This method sets the value of an XML node. The value is transferred to the method as input parameter of data type Unsigned Integer.

Syntax

METHOD SetChildAsUint : SXmlNode
VAR_INPUT
  n     : SXmlNode;
  value : UDINT;
END_VAR

SetChildAsUint 2: Return value

Name

Type

SetChildAsUint

SXmlNode

SetChildAsUint 3: Inputs

Name

Type

n

SXmlNode

value

UDINT

Sample call:

xmlNode := fbXml.SetChildAsUint(xmlExistingNode, 42);