SetChildAsInt

SetChildAsInt 1:

Diese Methode setzt den Wert eines XML-Knotens. Der Wert wird der Methode als Eingangsparameter vom Datentyp Integer übergeben.

Syntax

METHOD SetChildAsInt : SXmlNode
VAR_INPUT
  n     : SXmlNode;
  value : DINT;
END_VAR

SetChildAsInt 2: Rückgabewert

Name

Typ

SetChildAsInt

SXmlNode

SetChildAsInt 3: Eingänge

Name

Typ

n

SXmlNode

value

DINT

Beispielaufruf:

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