TWINCAT variables

Adding variables to the TWINCAT data source

You can enter the name of the variable directly under “Name“.

You also have the option of searching for the variable. To do this, click on “Search“. Everything that is available on the controller is listed below. A desired variable can now be selected here.

Once all entries have been made, click on “Import” to create the variable.

The variable for the TWINCAT data source has been successfully created and can now be used.

TwinCat variables can also be created using the Import variables button.

In the window that then opens, you can choose between TwinCat data sources that have already been created.


TWINCAT address syntax for quick entry

TWINCAT variables can also be added with a quick entry.

A variable with a single field entry can be created here using the correct syntax.

In general, the following syntax applies to TWINCAT addresses:

  • [Datentyp].[SymbolPath]

Data types:

AbbreviationDescription
XBoolean
I1Byte
UI1UByte
I2Shot
UI2UShort
I4Integer
UI4UInteger
I8Long
UI8ULong
R4Real 4 byte
R8Real 8 byte
R10Real 10 byte
SString
WSWString
VVariant