ITcPlcTaskReference

Inherits from: IUnknown

Linking a PLC task to a task module Tree Item. get: Path of the linked task module; set: searches for the target Tree Item, validates the task type, and assigns it.

Properties

Property

Type

get/set

Description

LinkedTask

BSTR

get/set

ItemPath to the linked ITcSmTreeItem (task module). get: returns "" if not connected / no task. set: returns an error if not connected: TSM_E_ITEMNOTFOUND (path not found) or TSM_E_INVALIDITEMTYPE (target is not a task).

Methods

(none)