Implementing devices

You can implement your drive in your TwinCAT project either manually or via an automatic scan. It is advisable to scan, because this will insert the required drive devices directly into the project.

TwinCAT in ConfigMode

To start the scanning process, TwinCAT must be in ConfigMode. ConfigMode is one of several TwinCAT states, which can be identified by the small gear icon in the status bar at the bottom of the screen. If the icon is blue, ConfigMode is activated, and the scan can be started. If the icon is green or red, follow these steps:

Implementing devices 1:

Click the blue gear icon in the toolbar.
You will see a query regarding the state change to be carried out.

Implementing devices 2:

Confirm the state change with OK.

Implementing devices 3: Implementing devices 4:

TwinCAT switches to ConfigMode, and the icon in the status bar turns blue.

→ TwinCAT is in ConfigMode.

Start drive scanning

If the right target system and ConfigMode are enabled, the scan can be started.

Implementing devices 5:

In the Solution Explorer select I/O → Devices.

Press the Scan in the toolbar or right-click on Devices and select Scan.
In both cases, the following sequence starts:

Implementing devices 6:

Close the information window with OK.

Implementing devices 7:

Select the devices to be automatically added to the TwinCAT project.
As a minimum, select the device ending with (EtherCAT).

Complete the selection with OK.
The Solution Explorer shows all selected devices.

Implementing devices 8:

 

. Implementing devices 9:

Confirm the following query with Yes. If you answer No, the scan is aborted. The message regarding a found servo drive or servo terminal can trigger a special scan for motors. This would read the electronic name plates of the motors and enter the data directly in the TCDriveManager.

Implementing devices 10:

Confirm the query with Yes to read the electronic type plates.
If the query is not confirmed, no name plates are read. In this case, the motor types must be entered manually. See Determining the motor type.

Wait until the scan is complete.
The Solution Explorer then shows the servo drives and terminals that were found.

Implementing devices 11:

 

Implementing devices 12:

To control the motors via the TwinCAT project, an NC or CNC axis configuration has to be created. Confirm the query with Yes to create an NC axis configuration. As a result of the automatic axis configuration creation, an axis is added for each motor that was found and linked accordingly.
If you require a CNC axis, close the window with No and create the configuration manually. See Create axis configuration.

The created NC axis configuration is shown in the Solution Explorer.

Implementing devices 13:

Implementing devices 14:

Decline the request to activate Free Run with No.

→The drive is fully implemented in the TwinCAT project.

Implementing devices 15:

Free Run mode

Free Run mode is used for synchronising the axes, if no NC is available. When NC is used, a triggering task is activated, which synchronises the axes. This is not available if the system is operated without NC. In Free Run mode a virtual task is created, which enables axis synchronisation and reading of I/O data.

If the system is in Free Run mode, the blue and red status bar icons flash alternately.

Implementing devices 16:

 

Implementing devices 17: