Beckhoff Automation GmbH & Co. KG — 6.2 ITcSmTreeItem

API Parameters none Return Values STRING: Returns XML structure that includes all configured mappings. The following snippet shows an example for this structure: This example shows mappings between PLC I/O and TcCOM (C++) I/O. 6.1.15 ITcSysManager3::ConsumeMappingInfo Consumes an XML structure that includes the mapping information for a project. HRESULT ConsumeMappingInfo(BSTR bstrXml); Parameters bstrXml [in]: String with XML structure. The XML mapping information can be acquired by using ITcSysManager3:: ProduceMappingInfo() [ } 36] .

6.2 ITcSmTreeItem Each tree item in a TwinCAT XAE configuration is represented by an instance of the ITcSmTreeItem interface, which enables various interactions with the tree item. A tree item of this interface will be, for example, returned by calling the ITCatSysManager::LookupTreeItem [ } 35] method, which is used to navigate through the tree. Properties Automation Interface 37 Version: 1.2 ITcSmTreeItem Property Type Access Description Name BSTR RW Name of tree item Comment BSTR RW Comment. Disabled BOOL RW Get/Set state of tree item which can be one of the following enum values: • SMDS NOT DISABLED (item is enabled) _ _ • SMDS DISABLED (item is disabled) _