TwinCAT Slave Axes Special notes for slave axes: 1. If a slave axis is coupled to a virtual axis as master axis, the slave axis can only start and carry out a compensation if the velocity filter time (of the virtual axis) is large enough for the axis not to change di- rection randomly. 2. Position compensation is possible independently on all axes of a cascade (including master axis). 3. Within a cascade, compensation is passed on to the subsequent slave axes. In case of negative (rela- tive to the axis direction) compensation, movement reversal may occur. 4.
In case of several compensations within a cascade, the compensation velocities will be added to each other, and the accelerations will be multiplied to each other. 5. In case of uncoupling of a slave axis during slave or master axis compensation, or of a control axis be- tween master axis and the slave axis to be uncoupled, the basic dynamics of the master axis is main- tained and the velocity and the position is carried out continuously differentiable, i.e. the compensation velocity at the uncoupling time is maintained, and the compensation is never completed. 6. Compensation takes place independent of the slave axis coupling factor.
Algorithm After checking the compensation start parameters, a calculation will be carried out to check whether compensation of the difference D over distance L is feasible with the compensation start parameters. If this is not the case, the maximum possible compensation difference is calculated and activated for D . In any case, the parameters are chosen in such a way that compensation occurs over the whole compensation length . The setpoint generation of the compensation is a non-jerk-limited 3-phase-algorithm ( trapezoidal velocity profile ), whereby different ramp slopes are possible. Compensation: slave is making up fully. Master start from 0.0 mm to 10,000.0 mm with V = 2000.0 mm/s.
Slave start position -500.0 mm, coupling factor 1.0. Compensation: A+ = 500.0 mm/s/s, A- = 1000.0 mm/s/s, V = 300.0 mm/s, VP = 2000.0 mm/s, D = 500.0 mm. L = 5000.0 mm. TX1250 36 Version: 1.1