The calculation of KP/Tn is done with the actual ad-
justed mode (with encoder or encoderless).
The controller gain remains unchanged at mode
change
The calculation of KP/Tn always occurs for the mode
with encoder. At mode change the controller gain is in-
ternal adjusted depending on the smoothing times.
The ratio of the smoothing times for encoderless oper-
ation (ds28) and operation with encoder (ec26/2 +
ec27) should be in the range of 1/16….16.