Implementing devices

To implement your drive components in the TwinCAT project, they can be inserted manually or via the automatic scan process. However, it is advisable to scan, as this inserts all drive components 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 enabled, 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 menu bar and select “System”.
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 icon 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:

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 10:

Confirm the query with Yes to read the electronic nameplates
If the query is not confirmed, no nameplates 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. By automatically creating the axis configuration, an axis is added to each motor 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

The Free Run mode is used to synchronize the I/O components and drives when no NC is available. During operation with NC, a triggering task is activated which synchronizes the I/O components and drives. This is not available if the system is operated without NC. In Free Run mode, a virtual task is created that enables the above-mentioned components to be synchronized. The I/O data is also read.

 

Implementing devices 16:
Implementing devices 17:

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