NC task

NC task 1:
Expand Solution-Explorer > TwinCAT Project
Right-click on MOTION to open the context menu
Click Add New Item... in the context menu
NC task 2:

The Insert Motion Configuration dialog box opens.

Select NC/PTP NCI Configuration
Confirm with OK

An NC task SAF is added.