ITcPlcPou

Inherits from: ITcXmlDocument

Represents a PLC-POU. Inherits the DocumentXml property (access to the entire object file) from ITcXmlDocument.

Properties

Property

Type

get/set

Description

DocumentXml

BSTR

get/set

Entire object file as XML (inherited from ITcXmlDocument). set: replaces the Name attribute with the current caption, sets the ID to an empty value, deletes and overwrites the POU file, and reloads it. Returns "" if not connected. set: Error if not connected; Error_CannotSetEmptyDocument (E_INVALIDARG) if the value is empty; error if Visual Studio rejects the change or the POU root is missing.

ReturnType

BSTR

get/set

Return type of a function POU (from the signature; otherwise ""). Not implemented (see warning). Returns "" if not connected.

Methods

(none)