Frequently Asked Questions

TwinCAT Automation Interface is an interface to access the configuration of TwinCAT from an external application. This enables customers to automate the configuration of TwinCAT.

Yes. You can create the TwinCAT configuration offline by manually attaching (without "Scan Devices) all devices and then providing online values, e.g. addresses, later after all devices have been attached. Please see our samples page for more information. There is also an How-To sample which shows you how to provide addressing information for pre-configured I/O devices.

Every programming or scripting language that supports the COM object model is supported. Please see our system requirements page for more information.

Please see our version overview page for more information about which TwinCAT features are accessible via Automation Interface.

If you don't find an appropriate Automation Interface method or property for a specific setting, you may use the Import/Export feature of TwinCAT to read/write this setting. Please refer to our article about custom tree item parameters for more information.

Yes. This feature will be available with TwinCAT 3.1. Please refer to our version overview page for more information.

No. To execute Automation Interface code, TwinCAT XAE (Engineering) is needed, because Automation Interface directly accesses the Visual Studio COM object to communicate with the TwinCAT configuration. However, you can use a TwinCAT XAE computer to remotely connect to a TwinCAT runtime and configure it.

This is a question which cannot be answered easily because it heavily depends on what you would like to achieve. TwinCAT Automation Interface has been designed primarily to help customers to automate the configuration of TwinCAT. If you want to cyclically read/write values to IOs or PLC variables, our ADS APIs are probably better suited.

All TwinCAT XAE items that are language dependent (Devices, Boxes, Axes, Channels, ...) can either be accessed via the currently set XAE language or via their english name. For example, if the XAE language is changed from English to German, the term "Channel" will be displayed in XAE as "Kanal" but is still available under the name "Channel" via Automation Interface. To be fully compatible, we recommend to build your Automation Interface code based on english terminology.

Please note: This feature comes with TwinCAT 3.x only! Systems based on TwinCAT 2.x are not language independent!

Yes. There is an How-To sample which shows you exactly how to do that.

Yes. Please see our samples and How-To pages for more information.