beckhoff TwinCAT 2 — 5.4 Set value generators

TwinCAT NC Axis components Controllers for special axes types (high/low speed, stepper motors, SERCOS) Controller parameters Delay time compensation For every controller at there is an option of compensation for the delay between the time when a set value is output and the time when it has an effect. Here, the set position is delayed by an adjustable time in comparison with the set velocity. The delay time compensation is an element in the set value generator [ } 40] for an axis. 5.4 Set value generators Every axis is assigned to a set value generator, and this in turn consists of three components: block preparation generator (in the block preparation task):

checking the start parameters and, in the case of master axes, calculation of the dynamic profile. block execution generator (in the block execution task): calculation of the local set values. asynchronous generator for reaction to asynchronous requirements (override, new end position, position compensation etc.). Master generator: SVB The SVB master generator checks whether a start is permissible in the current operating state of the axis, checks the start parameters in general and in relationship to the axis parameters, and calculates, from the global set values , a dynamic profile which is saved in compressed form (a run-time table) for the generation of the local set values.

When these actions have been successfully completed, the SVB master generator automatically starts the SAF master generator. Master generator: SAF Each time the task is called, the SAF master generator calculates the local set values of from the runtime table for position (for the position controller), velocity with arithmetic sign (for the velocity feed forward), acceleration (for a controller with acceleration feed forward), direction (for the feed enable, which depends on the direction). Numerical Control (NC) Basics 40 Version: 1.2 Parameter Data type Unit Description CONTROLLER mode ENUM Controller mode: only STANDARD is possible.

Weighting of the pre-control float >=0 Relative weighting of the pre-control. OPERATION MODE: position lag monitoring BOOL The default value of 1.0 corresponds to 100 % pre-control weighting. Maximum position lag float >=0 mm Maximum permitted position lag. Maximum position lag error filter time float >=0 s If the position lag exceeds the maximum permitted position lag error for a period of time that is longer than the maximum lag error filter time, and if the monitoring is active, the axis will be stopped instantaneously through a voltage output of 0 V and placed in the logical "error" state.