5238-E P-39
SECTION 3 MATH FUNCTIONS
5-5. Program Example
This is a program example for transferring a workpiece to the sub spindle chuck.
LE33013R0300500130001
60 50 45
W
W
t
1000 mm/mim
200 mm/mim
Feedrate
:
:
:
:
G29 PW=30⋅⋅⋅⋅⋅⋅Limits the maximum torque of the sub spindle feed motor
(W-axis motor). (30 %)
G94 G22 W50 D5 L10 F1000 PW=25⋅⋅⋅⋅⋅⋅Pushes the sub spindle chuck against
the workpiece end face by torque skip
G29 PW=5⋅⋅⋅⋅⋅⋅Lowers the W-axis motor torque.
M248⋅⋅⋅⋅⋅⋅Sub spindle chuck close
M84⋅⋅⋅⋅⋅⋅Main spindle chuck open
G28⋅⋅⋅⋅⋅⋅Cancels W-axis torque limit.
G90 G00 W300⋅⋅⋅⋅⋅⋅Returns the W-axis to the retract position at the rapid feedrate.