M231 X2/Z1 Composite Control Mode ON

  1. Home
  2. Knowledge Base
  3. Programming
  4. M Codes
  5. M231 X2/Z1 Composite Control Mode ON
  1. Home
  2. Knowledge Base
  3. Programming
  4. M231 X2/Z1 Composite Control Mode ON
  1. Home
  2. Knowledge Base
  3. TCM S Machine
  4. M231 X2/Z1 Composite Control Mode ON

M231-(M&S) X2/Z1 Composite Control Mode ON
X2,Z1 Move, Z2 is brought forward and is stationary.
Use Sub Prgm with wait codes to bring Z2 Forward
Allows T20’s to work on Main and Programming is done in Main.
T20’s offsets are inputed on the Main side.
Z Positive is into the part in M231
Use G98 is no feed per rev from sub to main is possible.
Built in Wait code. Program on line by itself in main and sub.

I forgot to tell you how to set the T22 offset on the main side.
1. Mount T22 Endmill in machine
2. Face off Part in Main spindle using T2
3. Enter G50 Z0 in MDI on main side to set current Z1 position to 0 or wherever you want to set Z2 zero.
4. MDI Z-.1 To draw stock .1 into the Guidebushing
5. MDI T100 and move tool up and out of the way so the y axis tool block won’t interfere with sub spindle
6. MDI on sub side T2200
7. MDI on sub side G0Z0 to bring sub spindle forward to Z2 0
8. Handwheel the Z1 stock out to touch the endmill
9. Go to Offset T22 on the MAIN side not the sub side. Place cursor on the Geometry offset.
10. Enter Z0 and Press Measure or Z-.003 and Measure if Paper was used for Touch off.

Sample Code:
M520 M520
T2300
M231 M231
T2121M13S2000(Hex 16.5mm Polygon)
G50U-40.(40.Dia. Cutter)
G51.2P1Q2(Poly ON 1:2 ratio front direction)
G0X20.Z19.
M560 M560
G0Z25.
G98G1Z0F2000
M561 M561
G1X16.F.05
G1Z29.F.03
X20.F.05
G50.2(Poly Off)
G50U40.(U shift cancel)
G0Z-1.T0M5
M230 M230
G99G0Z190.T0
M521 M521

Drill and Tap example

M501 M501
T2300
G0Z0
M231 M231
T2121M50
G28H0
M103S2000
G0X10.Z-1.C0
G83R.5Z12.Q3000P500F.05
C180.Q3000
G0Z-1.T0

T2222M104S1000
M29S1000
G0X10.Z-1.C0
G84Z10.P100F1.
C180.
G0Z-1.T0
M230 M230
G28W0
M502 M502

SM-20 Sample M231 Proven

T100
M501 M501
T2100
G97 G0Z0
M231 M231
T2121M50(.125 EM)
G28H0
M103S3000
G0G98X.314Z-.2C0
G83R.15Z.075F1.5
C120.
C240.
G0Z-.1T0
M105
M51
M230 M230
G28W0
M105
M502 M502

Milling Example
T2100
M501 M501
T100(CLEARANCE) G0Z0
Z0(Z.1)(DUMMY)

M231 M231

G4P300

T2121M50(ISCAR .625 FACE MILL R0)

G28H0M103S2200
(.5X-.0295)

G98X1.6

M83

Z[.4331+.135]
C0

G12.1

G1G42X1.284F20.

G3I-.6125F45.

G1G40X1.6

G13.1

M230
M230

Was this article helpful?

Related Articles