K3: Compensations
4.4 Interpolatory compensation
Extended Functions
248 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Table parameters
The position-related compensation values as well as additional table parameters should be
saved for every compensation relationship in the form of system variables:
● $AN_CEC[<index>,<N>] (compensation value for interpolation point <N> of
compensation table [<t>])
<N> = interpolation point (position of the basic axis), with 0 ≤ N ≤ (value of MD18342) - 1
The particular compensation value of the compensation axis must be entered in the table
for each individual interpolation point.
● $AN_CEC_INPUT_AXIS[<index>] (basic axis)
Name of machine axis whose setpoint is to be used as the input for the compensation
table [<t>].
● $AN_CEC_OUTPUT_AXIS[<index>] (compensation axis)
Name of machine axis to which the output of the compensation table [<t>] is applied.
Note
In multi-channel systems the "general axis names" AX1 ... must be defined, if the names
of machine axis and channel axis are identical.
● $AN_CEC_STEP[<index>] (interpolation point distance)
The interpolation point distance defines the distance between the input values for the
compensation table [<t>].
● $AN_CEC_MIN[<index>] (initial position)
The initial position is the basic axis position at which the compensation table [<t>] begins
(≙ interpolation point 0).
The compensation value for the initial position is $AN_CEC [<t>,0].
The compensation value of interpolation point 0 is used for all positions smaller than the
initial position (exception: table with modulo functions).
● $AN_CEC_MAX[<index>] (end position)
The end position is the basic axis position at which the compensation table ends, =
interpolation point <k>.
The compensation value for the end position is $AN_CEC [<index>,<k>].
The compensation value of interpolation point <k> is used for all positions larger than the
end position (exception: table with modulo functions).
The following boundary conditions apply to interpolation point k:
– For k = MD18342 - 1:
The compensation table is fully utilized!
– For k < MD18342 - 1:
The compensation table is not fully utilized. The compensation values entered that are
greater than k are ignored.
– For k > MD18342 – 1:
The compensation table is limited by a control function which reduces the end
position. Compensation values that are greater than k are ignored.