Error Compensation in CSP Mode

Error Compensation in CSP Mode

COMPENSATE_XY in the axis with the following table puts +/- 10 compensation on the axis as it moves. The table has these values:
TABLE(0, 0, -10, 10, -10, 10, -10, 10)

The COMPENSATE_XY takes the length that is put in the command and divides it into the number of table points. It then applies the additional distance of the compensation values linearly interpolated over the segments of the total length. So if the motion moves 300 and during the move it goes 10 less, then 10 more then 10 less and so on.

If at 0 compensation at position 0 and 10 compensation at position 50 it will move total 60 during that segment. If next segment compensation is -10 then it moves only 30 in next segment. And so on. You see the speed going up and down as it compensates for position errors. All the compensation is done in the demanded position (DPOS).

This is for single axis compensation, for example for a ball-screw to compensate for the cyclic variation in one turn. Usually the table values will be 0.1 mm or even less.
    • Related Articles

    • Following error when using CSP in M753 Control Techniques drives

      Target Position is in DAC_OUT in CSP mode Encoder position is in ENCODER in CSP mode. Both can be monitored on the scope. FE is DPOS - MPOS so has a larger value than the real following error due to the EtherCAT cycle time. Set FE_LIMIT to suit the ...
    • Error mapping to compensate for mechanical errors

      COMPENSATE_XY is probably the command you want. From the TrioBASIC Help: In some applications both of the X-Y axes of a machine bed require compensation for ballscrew errors depending on the X-Y position: Axis 0 - Motor Axis - COMPENSATE_XY command A ...
    • AN-335 Gantry Error Compensation

      This document explains how to correct the position error between the two motors commanding the Gantry axis (longitudinal axis) of advanced Gantry systems
    • EtherCAT CoE 402 Mode of Operation

      If an EtherCAT slave goes operational and enables OK but does not move when the axis has a move command then check that SERVO is set to 1 and also check the drive mode of operation. For CSP, if 0x6061 is not 8, then check that the requested mode ...
    • P375 card with 3 stepper - MPOS and DPOS in error

      Even with open loop stepper, the P375 has an encoder counter that counts the pulses and sends them back to the controller so that we can do registration. The feedback is in pulse counts but DPOS is in counts x 256. Therefore it is necessary to set ...