- Home
- Knowledge Base
- Programming
- M Codes
- M54 Main and Sub Phase Control On
- Home
- Knowledge Base
- Programming
- M54 Main and Sub Phase Control On
- Home
- Knowledge Base
- TCM S Machine
- M54 Main and Sub Phase Control On
M54 Main and Sub Phase Control On
M54-(M) Main/Sub Spindle Phase Control ON. Synchronizes Main(Including GB) and Sub
Spindle for Pickoff of odd shaped parts.
The M54 is built into the M56 on TS/TCM so is therefore not needed.
This could also prevent marking on parts during transfer.
Parameter 4810 displays the actual error during M54. When the error exceeds
Parameter 4811 then an alarm occurs.
Parameter 4034 on the sub side holds the shift amount for phase shifting
M54. I tested putting in 400 in this parameter and obtained about 10 degrees.
The manual states 4096 pulses = 360 degrees.
Grid shift Values between Main/GB and Sub are stored in Param 4135(main)
To pickoff on odd shaped parts we need to Pin the Back sleeve on the taper
to align with a milled slot on the taper of the shaped Pickoff collet.
You will then M50 and G28H0 the sub spindle and indicate in the flats on
the sub spindle. This value is placed in Param 4135 on the main spindle.
Main spindle S1= Sub Spindle S1=
SAMPLE WITH M54
T0100(CUT OFF)
M590 M590
T0101M3S1300
M56(SPINDLE SYNCH ON and M54)
G0X.9Z1.068(PART + .005) G0Z1.6M26(RAPID TO PART-AIR BLOW ON)
G50S4000
G96S300
M591 M591
G98G1Z.563F50.
M20(CLOSE COLLET)
M27(AIR BLOW OFF)
M221(Z2-Z1 Superimpose ON) M221
(No Code allowed between M221 and M220)
(Add chamfer code)
G1X.05F.001
X-.04F.0005
M220(Z2-Z1 Superimpose OFF) M220
G97S500 G0Z9.0551T0
M57(SPINDLE SYNCH OFF)
M95
/M98P9001
M96
M97(PARTS COUNTER)
M599 M599
M30 M30
Sample Pickoff with Square P/O Collet on Square Feature without M54
T101
G0X.4Z.338
M510 M510
M21(Sub Open)
M50(C axis ON) M50(C axis ON)
G28HO G28H0
G0C75.(Orientation Position)
G0Z1.M26(Air Blow ON)
G98G1Z.277F50.
M520 M520
M20(Sub Close)
M27(Air Blow Off)
M51(C axis OFF) M51(C axis OFF)
G4U.2 G4U.2
G99
M221(Z2/Z1 Superimpose ON) M221(Z2/Z1 Superimpose ON)
M3S0
M56(Main/Sub Spindle Synch ON)
M3S4000
G1X.194
X.174W.01F.0005
X-.05F.002
M220(Spindle Synch OFF) M220
G28W0
T0
M95(Bar Feed Program Start)
/M98P9000
M96(Bar Feed Program Stop)
M97(Parts Count)
M540 M540
M30 M30