beckhoff TwinCAT 2 — 5.3 Controller

TwinCAT NC Axis components Position PP controller Controller parameters Example A PP controller uses two P constants Kvs and Kvf and a velocity threshold Vdyn to define a function for a velocity dependent kv factor. The velocity threshold Vdyn is a relative value, calculated as SetVelocity / ReferenceVelocity. The diagram below shows the connection Numerical Control (NC) Basics 38 Version: 1.2 Parameter Data type Unit Description Standstill: proportional factor Kvs float >=0 [mm/s]/mm Proportional gain of the P component when stationary. Output velocity when stationary = pre- control velocity + Kvs lag error Position control travel:

Proportional factor Kvf float >=0 [mm/s]/min Proportional gain of the P component when moving. Position control: velocity threshold Vdyn float >=0 Output velocity when moving = pre-control velocity + Kvf lag error. OPERATION MODE: automatic offset calibration BOOL Activation or deactivation of the automatic offset calibration. The automatic offset calibration is only active in the range of the relative pre-control velocity defined by [-Offsetlimit,+Offsetlimit]. It calculates and activates a DAC offset that minimizes the lag error in the position control. Offset filter time float >=0 s Integrator time constant.

Offset limit float >=0 The upper limit of the active range of the offset calibration as a relative proportion of the output magnitude. Acceleration pre- control proportional factor Ka float >=0 s Output velocity component = Ka set acceleration.