ITcModuleInstance2
Inherits from:
ITcModuleInstance
ITcModuleInstance2 adds context-based access and readable names for module instances. Contexts are validated against the context IDs and target tasks defined in the module. For fieldbus boxes and process images, these additional members primarily return E_NOTIMPL. In addition to the target OID, a context also contains the ADS port, priority, cycle time, and sort order.
Properties
|
Property |
Type |
get/set |
Description |
|---|---|---|---|
|
ModuleTypeName |
BSTR* |
get |
Name of the TCom module type. |
|
ModuleInstanceName |
BSTR* |
get |
Name of the module instance. |
Methods
|
Method |
Description |
|---|---|
|
SetModuleContext |
Sets the target context of a module instance. |
|
GetModuleContext |
Reads the target context of a module instance. |