beckhoff TE1000 TwinCAT 3 — 5.1.1.8 ITcSysManager::UnlinkVariables

API | ITcSysManager ITcSysManager9::SaveAsArchive: Save as a .tszip archive 5.1.1.7 ITcSysManager::StartRestartTwinCAT | ITcSysManager::StartRestartTwinCAT Triggers a restart of the TwinCAT runtime on the target system. For a remote target, an AMS control command is sent; locally, the SystemServer COM server is addressed. In UI builds, a confirmation dialog appears first. Signature HRESULT StartRestartTwinCAT(); Parameter (none) Return value Error codes E_ACCESSDENIED : System Manager is disabled or the system service is unavailable. See also IsTwinCATStarted ActivateConfiguration 5.1.1.8 ITcSysManager::UnlinkVariables | ITcSysManager::UnlinkVariables Deletes the link between two variables.

If bstrV2 is empty, all links originating from bstrV1 are removed. Detects and reports broken links, recalculates the owner status, and sets the Mapping Modified flag. Signature HRESULT UnlinkVariables(BSTR bstrV1, BSTR bstrV2); Parameter Return value Error codes TSM_E_ITEMNOTFOUND : The variable could not be resolved. E_ACCESSDENIED : System Manager is disabled. See also LinkVariables TE1000 41 Version: 1.7.0 Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description bstrV1 BSTR [in] Path name of the first variable. bstrV2 BSTR [in, defaultvalue("")] Path name of the second variable, or empty to remove all links from bstrV1.

Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _