Creating TWINCAT data sources


The data source input mask opens, in which you can select the TWINCAT data source as "Type" as a first step.

However, if you first assign a name to the data source and if this contains the word "twin", then "TWINCAT" is already preselected

as the data source type. (This works with all data source types)



After this, the data source-specific settings adapt automatically to the TWINCAT data source.




TWINCAT Specific:


  • Connection type:

Here you can choose between "TWINCAT2" and "TWINCAT3". This is only differentiated by the "Port" to be used. (TWINCAT2 = Port 801 / TWINCAT3 = Port 851)


  • AMS address:
    The AMS address is usually the address of the server or the address of the TWINCAT device. 


  • Port:
    The port depends on the "Connection type".



After entering the information relevant for the connection, click on "Add".

And after editing an already created data source, click on "Save".




The TWINCAT data source is created and subsequently displayed in the data source overview.




Created data sources can be edited or deleted. You do this via the corresponding buttons. You also have the option of viewing all internal data sources.

This works by activating the checkbox "Show internal data sources".


Below you can create variables for the TWINCAT data source.


You can find out how to add variables for the TWINCAT data source in the “Adding TWINCAT variables” chapter:


>> Adding TWINCAT variables