ITcSystemServer
The TwinCAT system can be controlled via the ITcSystemServer interface. ITcSystemServer has been designed as an OLE automation interface, so that it can also be used by script languages such as Visual Basic Script.
Methods in Vtable sequence
IUnknown methods | Description |
---|---|
QueryInterface | Returns a pointer to the interface requested. |
AddRef | Increments the reference counter. |
Release | Decrements the reference counter. |
IDispatch methods | Description |
GetTypeInfoCount | Supplies the number of "type information" interfaces, that an object offers (0 or 1). |
GetTypeInfo | Gets the type information for an object. |
GetIDsOfNames | Connects names of methods with optional arguments with a corresponding set of DISPIDs. |
Invoke | Offers access to properties and methods of an object. |
ITcSystemServer methods | Description |
---|---|
Starts the TwinCAT system. | |
Stops the TwinCAT system. | |
Stop with subsequent start of the TwinCAT system. | |
Requests all TwinCAT COM servers to save their configuration in the TwinCAT project file (*.tps). | |
Property displaying the current state of the TwinCAT system. | |
Property, with which the AmsNetId of a TwinCAT system can be queried. | |
Property, with which the current time difference between the Windows NT system time and the real-time clock of the PC is displayed. | |
Synchronises the Windows NT system time with the real-time clock of the PC. |