Compensation Tables
06/2005
Danaher Motion
140 Rev
E
M-SS-005-03l
The table is composed from 4, 9, 3 entries for X, Y, Z axes, respectively.
Common shared comp1 as comp
‘This declares a table in the system.
CreateComp comp1 4 ,9, 3
Comp1.minposition[1] = 0.1
‘Setting min for the X
Comp1.maxposition[1] = 9
‘Setting max for the X
Comp1.minposition[2] = 1.1
‘Setting min for the Y
Comp1.maxposition[2] = 2
‘Setting max for the Y
Comp1.minposition[3] = 3
‘Setting min for the Z
Comp1.maxposition[3] = 3.12
‘Setting max for the Z
CompSet comp1 ax1 ,ax2, ax3 on ax1 ,ax2, ax3
‘Declare before target data definition
Comp1.TargetData[1][1] = 0.01
‘Setting the target
Comp1.TargetData[3][3*9*4] = 0.02
‘Setting the target
Comp1.CompActive=1
From now on, any movement on any of the axes in the table generates
compensation.