SetAttributeAsUint

SetAttributeAsUint 1:

Diese Methode setzt den Wert eines Attributs. Der Wert ist hierbei vom Datentyp Unsigned Integer.

Syntax

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

SetAttributeAsUint 2: Rückgabewert

Name

Typ

SetAttributeAsUint

SXmlAttribute

SetAttributeAsUint 3: Eingänge

Name

Typ

a

SXmlAttribute

value

UDINT

Beispielaufruf:

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