beckhoff TwinCAT 2 — 4.3 Stepper motor axes

TwinCAT NC Axes Settings in TwinCAT NC The scaling factor of the encoder (Sf) is to be calculated from the feed per motor rotation (VU) and the step number (S) of the motor in the selected operating mode: Sf = VU / S Use of a KL2521 If a KL2521 is used the reference velocity (Vref) of the drive is to be calculated from the reference frequency (BF) and the scaling factor (Sf) of the encoder. The reference output is to be set to 1.0 when doing so. If the reference frequency of the terminal is set as per the maximum usable frequency then the "maximum allowed velocity" and the "rapid traverse velocity (G0)" in the global axis data can be set to a max of about 90 % of the reference velocity.

If a higher reference frequency is selected then a maximum of about 90 % of the velocity may be entered, that would result in case the reference frequency is set exactly. V ref = BF * Sf Use of a KL2502-0010 or -3020 If a KL2502-0010 or -3020 is used then the reference velocity of the drive can be entered in two alternative formats. The first one uses an extrapolation of the output frequency on the full value range of the setpoint, even if this frequency cannot be displayed by the terminal. Here the S shows the step number of the motor in the selected operating mode.

Here the reference frequency (BF) is the product of the maximum output value and the frequency scaling and results in 32768*8=262144. V ref = BF * S = 262144 * S Alternatively the reference velocity of the drive at the max selected velocity can be specified. For this the max corresponding frequency (Fmax) and the step number (S) of the motor are to be calculated in the selected operating mode. V ref = Fmax * S The associated relative control factor (A) is to be given as the reference output. A = F max / BF = F max / 262144 Numerical Control (NC) Basics 25 Version: 1.2