ITcSysManager

ITcSysManager is the main interface of the TwinCAT Automation Interface. It enables basic operations for configuring TwinCAT 3 XAE: project lifecycle, Tree Item search, linking variables, and controlling the target system. Due to limitations in the COM object model, new functions have been added over the years through separate successor interfaces— ITcSysManagerX. When writing new code, you should use the highest interface version supported by the respective TwinCAT version.

Chain of inheritance

ITcSysManager
└── ITcSysManager2
    └── ITcSysManager3
        └── ITcSysManager4
            └── ITcSysManager6
                └── ITcSysManager7
                    └── ITcSysManager8
                        └── ITcSysManager9
                            └── ITcSysManager10
                                └── ITcSysManager11
                                    └── ITcSysManager12
                                        └── ITcSysManager13
                                            └── ITcSysManager14
                                                └── ITcSysManager15
                                                    └── ITcSysManager16
                                                        └── ITcSysManager17
                                                            └── ITcSysManager18

The TcSysManager and TcSysManagerDll CoClasses implement this family.

Interface versions

Version

Newly introduced

ITcSysManager

Root interface: project lifecycle, Tree Item search, variable linking, target system control.

ITcSysManager2

Set/read target NetID, retrieve accumulated diagnostic messages.

ITcSysManager3

ID-based Tree Item search, XML import/export of variable links.

ITcSysManager4

Access to the type system, module manager, and category-based Tree Item enumerator.

ITcSysManager6

Non-error-throwing variants of the lookup APIs.

ITcSysManager7

Property ConfigurationManager (TC3 only).

ITcSysManager8

Access to file protection settings (signature, encryption, Object Protection Level).

ITcSysManager9

Archive export as .tszip (SaveAsArchive).

ITcSysManager10

Properties DTE and VsProject (access via the host Visual Studio).

ITcSysManager11

Safety module selection dialog, property AutoSaveProjectToTarget.

ITcSysManager12

Property TcVersionFixed.

ITcSysManager13

CreateItemCollection (Factory for empty Tree Item collections).

ITcSysManager14

Project variant support, property PinnedTcVersion.

ITcSysManager15

Property PlcStandaloneMode.

ITcSysManager16

JsonCommand, BuildTargetPlatform.

ITcSysManager17

Properties ProjectName and ProjectFilePath.

ITcSysManager18

SelectTreeItem.

See also