( CASA D9-Y+ milling ( drills two holes and mills rectangle-shaped hole in Y direction ( . ( Install 3 mm cutter ( Set start reference at one mounting hole ( Spindle speed set to 2500~3000rpm ( 80% Kero+ 20% RTD used as cutting lubricant ( . clr ( clear all existing programs/commands p ( begin programme m 1 ( set motor to FULL step mode t 200 ( set start speed to 200 steps/sec max 400 ( set MAXimum motor speed to steps per sec. i.e. 400 steps/sec a 500 ( set acceleration to 500 steps/sec/sec de 500 ( set deceleration to 1500 steps/sec/sec k 50 ( sets step constant to 50 ( first hole s 4 0 ( BDC switch OPEN s 4 1 ( check that the TDC switch is closed o 1 1 ( mist lubrication on s 4 0 ( BDC switch OPEN o 1 0 ( mist lubrication off y 2499 ( move y to other hole s 4 1 ( check that the TDC switch is closed o 1 1 s 4 0 ( BDC switch OPEN o 1 0 x -390 ( should be 420 y -404 ( should be 374 s 4 1 ( check that the TDC switch is closed o 1 1 x -30 y 30 ( into the corner ( skew at 10 deg for 8.4 mm y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 ( 10 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 ( 20 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 ( 30 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 ( 40 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 y -3 x 17 ( 49 y -1 x 7 y -1454 ( skew at 10 deg for 8.4 mm y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 ( 10 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 ( 20 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 ( 30 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 ( 40 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 y -3 x -17 ( 49 y -1 x -7 y 1750 s 4 0 ( BDC switch OPEN o 1 0 x 420 y -2125 c 0 ( turn motor current off q