

The project including the two variables identified with “AT” are then integrated in the configuration tree of the System Manager: PLC project integrated in the PLC configuration of the System Manager Select the PLC configuration “PLC_example.tpy” in the browser window that opens. Once the System Manager has been notified, the warning no longer appears.įirst, integrate the TwinCAT PLC Control project in the System Manager via the context menu of the PLC configuration right-click and select “Append PLC Project…”: Appending the TwinCAT PLC Control project This file (“*.tpy”) contains variable assignments and is not known to the System Manager, hence the warning. After successful compilation, TwinCAT PLC Control creates a “*.tpy” file in the directory in which the project was stored. Warning 1990 (missing “VAR_CONFIG”) after a compile process indicates that the variables defined as external (with the ID “AT%I*” or “AT%Q*”) have not been assigned. Sample variables and a sample program have been created and stored under the name “PLC_example.pro”: Sample program with variables after a compile process (without variable integration) The following section refers to Structured Text (ST).Īfter starting TwinCAT PLC Control, the following user interface is shown for an initial project: TwinCAT PLC Control after startup

The Continuous Function Chart Editor (CFC).There are two text-based languages and three graphical languages. TwinCAT PLC Control is the development environment for the creation of the controller in different program environments: TwinCAT PLC Control supports all languages described in IEC 61131-3. In the menu under “Actions” → “Choose Target System.”, via the symbol “ ” or the “F8” key, open the following window: Selection of the target system If the intention is to address the TwinCAT runtime environment installed on a PLC as development environment remotely from another system, the target system must be made known first.

Once the TwinCAT system including the user interface (standard) is installed on the respective PLC, TwinCAT can be used in local mode and thereby the next step is “ Insert Device”. Generally, TwinCAT can be used in local or remote mode. The starting point is the TwinCAT System Manager.Īfter successful installation of the TwinCAT system on the PC to be used for development, the TwinCAT 2 System Manager displays the following user interface after startup: Initial TwinCAT 2 user interface TwinCAT basically uses two user interfaces: the TwinCAT System Manager for communication with the electromechanical components and TwinCAT PLC Control for the development and compilation of a controller.
