Enable cores for TwinCAT
Example IPC with 4 cores The procedure for distributing the tasks to the cores is shown as an example for an IPC with 4 cores. |
- ►Click on the button + of Available TwinCAT Tasks to call up the overview of available cores and tasks
The dialog box Add TwinCAT Task opens.
The available cores and tasks are listed in the overview. The isolated cores are identified by a colored marking of the respective line.
Each task may only run on one core and must be set to 250 µs. |
- ►Activate the checkbox of the core CPU 3
- ►Ensure that the Base Time is set to 250 µs
- ►If required, select 250 µs in the drop-down menu Base Time
- ►Click on the arrow buttons Mover task CPU up and Mover task CPU down to move the XTS Task 1 to the core CPU 3
- ►Make sure that the Cycle Ticks of the XTS Task 1 of the CPU 3 core are set to 1
- ►If required, select 1 in the drop-down menu Cycle Ticks
- ►Activate the checkbox of the core CPU 2
- ►Make sure that the Base Time is set to 1 ms
- ►If required, select 1 ms in the drop-down menu Base Time
- ►Click on the arrow buttons Mover task CPU up and Mover task CPU down to move the NC-Task 1 SVB and the NC-Task 1 to the core CPU 2
- ►Activate the checkbox of the core CPU 1
- ►Make sure that the Base Time is set to 1 ms
- ►If required, select 1 ms in the drop-down menu Base Time
- ►Click on the arrow buttons Mover task CPU up and Mover task CPU down to move the I/O Idle Task to the core CPU 1
- ►Deactivate the checkbox of the core CPU 0
- ►Confirm with OK
The dialog box Add TwinCAT Task is closed.
The settings are displayed in the XTS Configurator and XTS Task 1 is added to XtsProcessingUnit 1.
Alternative view
You have the option of displaying the distribution of cores and tasks in an alternative view. This view corresponds to the display of the cores and tasks in the dialog box Add TwinCAT Task.
- ►Click on the System tab to display the alternative view
Further Information