96-8000
M CODES
215
June 1999
M35 Decrement Coolant Spigot Position
M35 decrements the coolant spigot position one place. Decrementing the spigot position causes the spigot to
move toward the spigot home position. The home position is designated as zero. If the current spigot position
is 5 and M35 is executed, then the current spigot position will move to 4. The spigot home position for a
horizontal mill places the spigot at the most positive Z axis location. Decrementing the spigot will raise the
coolant stream direction.
M36 Pallet Rotate
This is used on Horizontal mills only. Flashes PART READY button on the front switch box. It delays the
pallet change execution until the PART READY button is depressed.
M39 Rotate Tool Turret
The M39 code is used to rotate the tool turret without performing a tool change. The desired tool pocket
number (Tn) must be programmed previous to the M39.
This M code may be useful to move an empty pocket to face the spindle. This is not normally required but is
useful for diagnostic purposes or to recover from a tool changer crash. Remember that the pocket facing the
spindle must always be empty for a tool change.
M41 Low Gear Override
The M41 code is used to override the spindle gear implied by the Snnn command. With M41, the spindle gear
will always be low. If the speed commanded is above the low gear limit, the spindle speed will be the low gear
limit. This M code does not turn the spindle on or off. If the spindle was turning before this command, it will be
started again. If it was stopped before this command it will be left off. M41 is ignored if there is no gear box.
M42 High Gear Override
The M42 code is used to override the spindle gear implied by the Snnn command. With M42, the spindle gear
will always be high. Note that this may reduce the torque at the tool. This M code does not turn the spindle on
or off. If the spindle was turning before this command, it will be started again. If it was stopped before this
command it will be left off. M42 is ignored if there is no gear box.
M50
Horizontal Mills Only. Signals the calling program and executes a pallet change sequence.
M51-M54 Set Optional User M
The M51 through M54 codes are optional for user interfaces. They will activate one of relays 25 through 28 and
leave it active. These are the same relays used for M21-M24. Use M61-M64 to turn these off. The RESET key
will turn off all of these relays. When Through the Spindle Coolant is enabled, M54 is disabled.
When the M-Code Relay Board is installed and the Parameter 209 bit (MCD RLY BRD) is set to 1, M21-M28
become available on a secondary board.