ITcPlcIECProject::PlcOpenExport

Exports the specified tree nodes and their content to a PlcOpen conform XML file. A path to the XML file and the tree nodes will be specified in a parameter of this method.

HRESULT PlcOpenExport(BSTR bstrFile, BSTR bstrSelection);

Parameters

bStrFile

[in] : Path to the XML file

bstrSelection

[in] : Selection of tree items which should be exported. The items are separated by a semicolon, e.g. z.B. "POUs.FBItem1;POUs.FBItem2"

Return Values

S_OK

Items successfully exported into PlcOpen XML file.