SAF task

The block execution task (SAF task) directly executes commands that do not require preprocessing or have been prepared by the SVB task and handles cyclic communication with the drive devices.

Task tab

The SAF task is configured via the NC/PTP NCI Configuration node below the MOTION node, which is called NC-Task 1 SAF by default. Details about the task dialog, see TE1000 | The TwinCAT Project.

SAF task 1:

Settings tab

SAF task 2:

Retain data

TwinCAT-NC uses retain data to restore the position of individual axes with absolute measured value system at system startup. The Retain setting determines globally whether data required for this purpose is saved when the system is stopped and loaded when the system is started. In addition, the storage must be parameterized for each axis that requires such data (see Data Persistence).

Notice

Prevent data loss

If retain data is used, it is recommended that the system is backed up with a UPS so that the data can be stored safely even if the supply voltage fails.

Symbol Names

The setting Symbol Names, Language independent specifies that the generic part of the symbol name is not changed. This is then always held in English.

For example, without this setting Axes.Axis 1.SetPos would change to Achsen.Axis 1.SetPos when switching language from English to German, while with the setting it would remain English.

Online tab

The Online tab shows the utilization of the task over time and indicates the number of cycle time overruns. Details can be found in the TE1000 | TwinCAT 3 XAE documentation.

SAF task 3: