You are on page 1of 2

Beam Sag Compensation in 810D/840D

Beam Sag Compensation: X axis is compensated w.r.t. Z axis movement.

19300 =$ON_COMP_MASK=(General Machine data) Option bit need to be


Entered

18342[0] = MM_CEC_MAX_POINTS[0]=2 (General Machine data)


41300[0] = CEC_TABLE_ENABLE[0]=1(Setting Machine Data)
41300[1] = CEC_TABLE_ENABLE[1]=1(Setting Machine Data)
32710=CEC_ENABLE[AX1]=0 (Axis Machine data)
32710=CEC_ENABLE[AX3]=0 (Axis Machine data)
NCK RESET
s
RUN this below program
%_N_MPF0003_MPF
;$PATH=/_N_MPF_DIR
$AN_CEC[0,0]=0.003 // 3 micron correction in X
$AN_CEC[0,1]=0.005// 5 micron correction in Z
$AN_CEC_INPUT_AXIS[0]=(AX3)// Ax3=Z Base axis
$AN_CEC_OUTPUT_AXIS[0]=(AX1)// AX1=X Compensation Axis
$AN_CEC_STEP[0]=610// Compensation Begins at 610
$AN_CEC_MIN[0]=210 // Compensation Begins at 210
$AN_CEC_MAX[0]=400 // Distance between two points 400
$AN_CEC_DIRECTION[0]=0// Table applies both the direction of travel.
$AN_CEC_MULT_BY_TABLE[0]=0//
$AN_CEC_IS_MODULO[0]=0// Compensation table is modulo
M17
NCK RESET
32710=CEC_ENABLE[AX1]=1 (Axis Machine data)
32710=CEC_ENABLE[AX3]=1 (Axis Machine data)
NCK RESET
Now move the Z axis in Jog Mode; Go to Diagnosis-->Service Display--
>Service Axis-->select X axis
In X axis service menu observe for Temp +sag Compensation.

The CEC table has to be enabled in the DRIVE MD of both axes it uses and
has to be switched on in PARAMETERS, MISC.

**Metric comp must be applied with machine in Metric mode**

Enable CECs in axes and tables in PARAMETERS, MISC. Enable metric or


imperial in MD32711. (1) metric.
Reset//, set MD to active.
Example CEC table and description as below

METRIC
CHANDATA(1)
$AN_CEC[0,0]=0.0008
$AN_CEC[0,1]=0.0002
$AN_CEC[0,2]=-0.0005
$AN_CEC[0,3]=-0.0021
$AN_CEC[0,4]=-0.0039
$AN_CEC[0,5]=-0.0045
$AN_CEC[0,6]=-0.0051
$AN_CEC[0,7]=-0.0055
$AN_CEC[0,8]=-0.0066
$AN_CEC[0,9]=-0.0078
$AN_CEC[0,10]=-0.009
$AN_CEC_INPUT_AXIS[0]=(AX1)
$AN_CEC_OUTPUT_AXIS[0]=(AX1)
$AN_CEC_STEP[0]=50
$AN_CEC_MIN[0]=-250
$AN_CEC_MAX[0]=250
$AN_CEC_DIRECTION[0]=1
$AN_CEC_MULT_BY_TABLE[0]=0
$AN_CEC_IS_MODULO[0]=0

The first number in the square bracketed column is the table designation in
this case Table 0.
The second number in the square bracketed column is the number of the
compensation point on the INPUT axis. (The max number of points has to be
decided in Drive MD.)The value after this is the amount of movement applied
to the OUTPUT axis at this point.
"CEC_INPUT_AXIS" is the INPUT axis on table 0 and "CEC_OUTPUT_AXIS" is
the OUTPUT axis on table 0. (In this example both are the same axis so linear
comp would be applied - this is an alternative to ball screw error comp!)
"CEC_STEP" is the spacing size between the points on the INPUT
axis."CEC_MIN" and "CEC_MAX" are the start and end points of the INPUT
axis."CEC_DIRECTION" is the direction in which the comp is applied.

You might also like