# G199 Engage Synchronous Spindle Control (Group 00)

## Classic Control - Lathe Operator's Manual

The Online Interactive Operator's Manual is currently available in English only.

A PDF version of the Operator's Manual is available for download in multiple languages. Click the link below to view the Operator's Manual in your language. Click "Continue" to view the online version in English.

*R - Degrees, phase relationship of following spindle to commanded spindle

* indicates optional

This G code synchronizes the RPM of the two spindles. Position or speed commands to the following spindle, usually the secondary spindle, are ignored when spindles are in synchronous control. However, M codes on the two spindles are controlled independently.

The spindles remain synchronized until synchronous mode is disengaged using G198. This is the case even if power is cycled.

An R value on the G199 block positions the following spindle to a specified number of degrees, relative to the 0 mark on the commanded spindle. Examples of R values in G199 blocks:

G199 R0.0 (The following spindle’s origin, 0-mark, matches the commanded spindle’s origin, 0-mark) ; G199 R30.0 (The following spindle’s origin, 0-mark, is positioned +30 degrees from the commanded spindle’s origin, 0-mark) ; G199 R-30.0 (The following spindle’s origin, 0-mark, is positioned -30 degrees from the commanded spindle’s origin, 0-mark) ;

When an R value is specified on the G199 block, the control first matches the velocity on the following spindle to that of the commanded spindle, then adjusts the orientation (R value in the G199 block). Once the specified R orientation is achieved the spindles are locked in synchronous mode until disengaged with a G198 command. This can also be achieved at zero RPM. Refer also to the G199 portion of the Synchronized Spindle Control Display on 5.

% o61991 (G199 SYNC SPINDLES) ; (G54 X0 Y0 is at the center of rotation) ; (Z0 is on the face of the part) ; (BEGIN PREPARATION BLOCKS) ; T101 (Select tool and offset 1) ; G00 G20 G40 G80 G99 (Safe startup) ; G00 G54 X2.1 Z0.5 ; G98 M08 (Feed per min, turn coolant on) ; (BEGIN CUTTING BLOCKS) ; G01 Z-2.935 F60. (Linear feed) ; M12 (Air blast on) ; M110 (Secondary spindle chuck clamp) ; M143 P500 (Secondary spindle to 500 RPM) ; G97 M04 S500 (Main spindle to 500 RPM) ; G99 (Feed per rev) ; M111 (Secondary spindle chuck unclamp) ; M13 (Air blast off) ; M05 (main spindle off) ; M145 (Secondary spindle off) ; G199 (Synch spindles) ; G00 B-28. (Rapid secondary spindle to face of part) ; G04 P0.5 (Dwell for .5 sec) ; G00 B-29.25 (Feed secondary spindle onto part) ; M110 (secondary spindle chuck clamp) ; G04 P0.3 (Dwell for .3 sec) ; M08 (Turn coolant on) ; G97 S500 M03 (Turn spindle on at 500 RPM, CSS off) ; G96 S400 (CSS on, RPM is 400) ; G01 X1.35 F0.0045 (Linear feed) ; X-.05 (Linear feed) ; G00 X2.1 M09 (Rapid retract) ; G00 B-28. (Rapid secondary spindle to face of part) ; G198 (Synch spindle off) ; M05 (Turn off main spindle) ; G00 G53 B-13.0 (Secondary spindle to cut position); G00 G53 X-1. Y0 Z-11. (Rapid to 1st position) ; (*******second side of part********) G55 G99 (G55 for secondary spindle work offset) ; G00 G53 B-13.0 ; G53 G00 X-1. Y0 Z-11. ; G14 ; T101 (Select tool and offset 1) ; G50 S2000 (limit spindle to 1000 RPM); G97 S1300 M03 ( ; G00 X2.1 Z0.5 ; Z0.1 M08 ; G96 S900 ; G01 Z0 F0.01 ; X-0.06 F0.005 ; G00 X1.8 Z0.03 ; G01 Z0.005 F0.01 ; X1.8587 Z0 F0.005 ; G03 X1.93 Z-0.0356 K-0.0356 ; G01 X1.935 Z-0.35 ; G00 X2.1 Z0.5 M09 ; G97 S500 ; G15 ; G53 G00 X-1. Y0 Z-11. ; (BEGIN COMPLETION BLOCKS) ; G00 G53 X0 M09 (X home) ; G53 Z0 (Z home) ; G28 H0. (Unwind C-Axis) ; M30 (End program) ; %

Be aware: Many service and repair procedures should be done only by authorized personnel. The service technicians at your Haas Factory Outlet (HFO) have the training, experience, and are certified to do these tasks safely and correctly. You should not do machine repair or service procedures unless you are qualified and knowledgeable about the processes.

Danger: Some service procedures can be dangerous or life-threatening. DO NOT attempt a procedure that you do not completely understand. Contact your Haas Factory Outlet (HFO) and schedule a service technician visit if you have any doubts about doing a procedure.