General compensation value data (kw.*)
3.2.15
Example of a compensation value list
# ****************************************
# Axis compensation data for Z-axis
# ****************************************
kopf.achs_nr 1
kopf.log_achs_name X
kw.crosscomp2.interval 100000 /* 10 mm */
kw.crosscomp2.last_index_master1 100
kw.crosscomp2.last_index_master2 100
kw.crosscomp2.start_position_master1 -400000 /* -40 mm */
kw.crosscomp2.start_position_master2 -700000 /* -70 mm */
kw.crosscomp2.unit 1 /* 0.1 my */
kw.crosscomp2.n_cycles 10
kw.crosscomp2.master1_ax_nr 2
kw.crosscomp2.master2_ax_nr 3
kw.crosscomp2.table[ 0][ 0].correction -3
kw.crosscomp2.table[ 0][ 1].correction -1
kw.crosscomp2.table[ 0][ 2].correction 4
kw.crosscomp2.table[ 0][ 3].correction 9
kw.crosscomp2.table[ 0][ 4].correction 13
kw.crosscomp2.table[ 0][ 5].correction 17
kw.crosscomp2.table[ 0][ 6].correction 42
kw.crosscomp2.table[ 0][ 7].correction 53
...
kw.crosscomp2.table[100][ 90].correction 82
kw.crosscomp2.table[100][ 91].correction 77
kw.crosscomp2.table[100][ 92].correction 68
kw.crosscomp2.table[100][ 93].correction 63
kw.crosscomp2.table[100][ 94].correction 61
kw.crosscomp2.table[100][ 95].correction 59
kw.crosscomp2.table[100][ 96].correction 57
kw.crosscomp2.table[100][ 97].correction 52
kw.crosscomp2.table[100][ 98].correction 56
kw.crosscomp2.table[100][ 99].correction 58
kw.crosscomp2.table[100][100].correction 49
End
3.3
Leadscrew error compensation (kw.ssfk.*)
Leadscrew error compensation (referred to below as SSFK) is an axial correction. The position setpoint of
the compensated axis is changed by a compensation value in the position controller timing, in order to
compensate for leadscrew errors, for instance. This correction is cancelled by computation for the measured
actual position values so that the correction performed does not appear in the display data of the controller.
SSFK data is stored in the corresponding compensation value list for each axis. General data of the list body
is entered in the structure kw.ssfk.*. It contains the following elements.
3.3.1
Maximum number of table entries for leadscrew error
compensation (P-COMP-00059)
P-COMP-00059
Maximum number of table entries for leadscrew error compensation
Description
This leadscrew error compensation parameter (FCT-C5) sets the memory space
required for a particular number of table entries.
The size of the actually used compensation table is defined by `kw_nr_max` (P-
COMP-00020 [} 26]) and `kw_nr_max` must be smaller than `max_points`.
Parameter
kw.ssfk.max_points
Data type
UNS32
Data range
0 <= P-COMP-00059
Axis types
T, R, S
Dimension
T: ----
Default value
1500
24
R,S: ----
Version: 1.22
TF5200 | TwinCAT 3 CNC
Axis compensation