You are on page 1of 16

Lathe M-code

Ref
Man
pgm
pgm
pgm
pgm
pgm
pgm
mult
list
list
list
list
pgm
pgm
pgm
pgm
pgm
gag
list
spc
lfgl
pgm
pgm
pgm
pgm
pgm
pgm
spc
spc
pgm5
pgm5
pgm
pgm
pgm
pgm
3816
3816
3816
3816
3816
pgm
pgm
pgm
pgm
pgm
lstJ
lstJ
pgm
pgm
list
list
lstJ
lstJ
spc
pgm
pgm
oper
spc
spc
pgm
pgm
oper
oper
oper
oper
oper
cam

added codes
Program Stop
Optional Stop
End of Program
Spindle CW
Spindle CCW
Spindle Stop
Tool Change
Coolant 1 ON
Coolant 1 OFF
Spindle jog OFF
Spindle jog ON
M-tool spindle Stop
M-tool spindle CW
M-tool spindle CCW
C-axis positioning (positive direction)
C-axis positioning (negative direction)
Request for data transfer
Oriented spindle stop Cancel
Oriented spindle position 1
Oriented spindle position 2
Tailstock barrier or Spindle interference monitoring OFF
Tailstock barrier or Spindle interference monitoring ON
Chamfering OFF
Chamfering ON
Chuck barrier OFF, Tool interference OFF
Chuck barrier ON, Tool interference ON
Thread lead along Z-axis
Thread lead along X-axis
Tool interference check function OFF
Tool interference check function ON
End of Program

standard
standard
standard
standard
Multiple machine
Multiple machine
Multiple machine
Multiple machine
Multiple machine
Post-process guaging (RS232C/CEJ MATIC)
Spindle orientation
Spindle orientation
OGL
standard
standard
standard
standard
standard
standard
Arc thread cutting
Arc thread cutting
standard
standard
standard

Straight infeed along thread face mode (on left face)


Zig-zag infeed in thread cutting
Straight infeed along thread face mode (on right face)
Loader gripper Z-slide Retract
Loader gripper Z-slide Advance
Loader arm Retract
Loader arm Advance to unloading position
Loader arm Advance to chuck position
Spindle gear range Neutral
Spindle gear range 1 or low-speed coil selection
Spindle gear range 2 or high-speed coil selection
Spindle gear range 3
Spindle gear range 4
OSL Unloading gripper Retract
OSL Unloading gripper Advance

standard
standard
standard
OSL-2 Okuma Simple Loader (7000)
OSL-2 Okuma Simple Loader (7000)
OSL-2 Okuma Simple Loader (7000)
OSL-2 Okuma Simple Loader (7000)
OSL-2 Okuma Simple Loader (7000)
standard
standard
standard
Spindle gear more than 2 ranges
Spindle gear more than 3 ranges

Override ignore cancel


Override ignore
Airblow B OFF
Airblow B ON
OSL Unloading gripper Open
OSL Unloading gripper Close
Index Chuck Auto Index
Tailstock spindle Retract
Tailstock spindle Advance
Cancel of M63
Chuking pressure LOW
Chuking pressure HIGH
Cancel of M61
Ignoring fixed speed arrival in constant speed cutting
Cancel of M64
Ignoring spindle rotation M-code Answer
Ignoring general M-code Answer
Ignoring T-code Answer
Turret indexing position free
Synchronized mode cancel in cam turning cycle

standard
standard
Additional Air
Additional Air

Code Functional explanation


M0000
M0001
M0002
M0003
M0004
M0005
M0006
M0007
M0008
M0009
M0010
M0011
M0012
M0013
M0014
M0015
M0016
M0017
M0018
M0019
M0020
M0021
M0022
M0023
M0024
M0025
M0026
M0027
M0028
M0029
M0030
M0031
M0032
M0033
M0034
M0035
M0036
M0037
M0038
M0039
M0040
M0041
M0042
M0043
M0044
M0045
M0046
M0047
M0048
M0049
M0050
M0051
M0052
M0053
M0054
M0055
M0056
M0057
M0058
M0059
M0060
M0061
M0062
M0063
M0064
M0065
M0066
M0067

1 of 16
released: July 08
Option Specification
standard
standard
standard
standard
standard
standard
ATC specification

Index chuck
Center work
Center work
Cycle time reduction
Chuck high/low pressure selection by M codes
Chuck high/low pressure selection by M codes
Cycle time reduction
Cycle time reduction
Cycle time reduction
Cycle time reduction
Cycle time reduction
Cycle time reduction
Cycle time reduction
Cam turning

Lathe M-code
Ref
Man
cam
cam
list

added codes

Code Functional explanation

M0068
M0069
M0070
M0071
4795 M0072
pgm M0073
pgm M0074
pgm M0075
spc M0076
spc M0077
spc M0078
spc M0079
list
M0080
list
M0081
lstJ M0082
pgm M0083
pgm M0084
pgm M0085
pgm M0086
pgm M0087
list
M0088
list
M0089
spc M0090
spc M0091
spcU M0092
spc M0093
2538 M0094
2538 M0095
AB11 M0096
AB11 M0097
spc M0098
spc M0099
pgm M0100
spc M0101
spc M0102
spc M0103
spc M0104
spc M0105
spc M0106
spc M0107
spc M0108
pgm M0109
pgm M0110
list
M0111
list
M0112
list
M0113
list
M0114
list
M0115
list
M0116
gag M0117
gag M0118
spc M0119
3816 M0120
4787 M0121
spc M0122
spc M0123
pgm M0124
pgm M0125
gag M0126
gag M0127
list
M0128
list
M0129
spc M0130
spc M0131
spc M0132
spc M0133
3816 M0134
3816 M0135
pgm M0136

Synchronized mode A ON
Synchronized mode B ON
Manual tool change command
ATC unit positioning at approach position (7000)
Thread cutting pattern 1
Thread cutting pattern 2
Thread cutting pattern 3
Parts Catcher Retract
Parts Catcher Advance
Steady Rest Unclamp
Steady Rest Clamp
Overcut advance
Overcut retract
Chip discharge Monitoring ON
Chuck Clamp
Chuck Unclamp
No return to the cutting start point after the rough turn cycle
Turret indexing direction reverse
Cancel of M86
Airblow A OFF
Airblow A ON
Front Door OR Cover Close
Front Door OR Cover Open
Bar feeder retract
Bar feeder advance
Loader loading
Loader unloading
Parts catcher for sub spindle retract
Parts catcher for sub spindle advance
Tailstock spindle thrust low
Tailstock spindle thrust high
Waiting synchronization command
External M code
External M code
External M code
External M code
External M code
External M code
External M code
External M code
Cancel of M110
C-axis joint
Automatic zero point setting for pick-off spindle
M-tool spindle on the 3rd turret stop
M-tool spindle on the 3rd turret forward rotation
M-tool spindle on the 3rd turret reverse rotation
Unloader open
Unloader close
Sensor head advance
Sensor head retract
Work count special
No Work confirmation
Steady rest close end
Steady rest retract
Steady rest advance
STM time over check ON
STM time over check OFF
Airblow D OFF
Airblow D ON
Tailstock swing retract
Tailstock swing advance
Chucking error detecting air OFF
Chucking error detecting air ON
Chucking error detection OFF
Chucking error detection ON
Z-axis thrust monitoring OFF
Z-axis thrust monitoring ON
Designation of multiple fixed cycle configuration

2 of 16
released: July 08
Option Specification
Cam turning
Cam turning
ATC specification
ATC specification
standard
standard
standard
Parts catcher
Parts catcher
Steady rest
Steady rest

standard
standard
LAP
standard
standard
standard
standard
Automatic cover open/close
Automatic cover open/close
Bar feeder
Bar feeder
Loader Interlock function
Loader Interlock function
Parts catcher
Parts catcher
Tailstock spindle high/low thrust selection by M code
Tailstock spindle high/low thrust selection by M code
standard
External M codes
External M codes
External M codes
External M codes
External M codes
External M codes
External M codes
External M codes
Multiple turning
Multiple turning
Special specification
Special specification
Special specification
Unloader
Unloader
Touch setter
Touch setter
Special specification
No Work Monitoring
Steady rest
Steady rest
Steady rest
STM time over check
STM time over check
Additional Air
Additional Air
Special specification
Special specification
Chucking error detection
Chucking error detection
Chucking error detection
Chucking error detection
Overload monitor
Overload monitor
Multiple turning

Lathe M-code
Ref
Man
gag
gag
cam
pgm
pgm
spc
spc
list
list
pgm
pgm
lstJ
4723
lstJ
4723
sub
sub
pgm
pgm
list
list
pgm
pgm
list
list
pgm
pgm
pgm
pgm
pgm
pgm
pgm
pgm
lstJ
lvt
lstJ
lvt
4999
4999
list
list
list
list
list
lstJ
list
lstJ
5083
list
5083
list
spc
spc
spc
spc
pgm
pgm
lst2
lst2
spc
spc
spc
3810
3810
spc
spc
spc
spc
spc

added codes

Code Functional explanation


M0137
M0138
M0139
M0140
M0141
M0142
M0143
M0144
M0145
M0146
M0147
M0148
M0149
M0150
M0151
M0152
M0153
M0154
M0155
M0156
M0157
M0158
M0159
M0160
M0161
M0162
M0163
M0164
M0165
M0166
M0167
M0168
M0169
M0170
M0171
M0172
M0173
M0174
M0175
M0176
M0177
M0178
M0179
M0180
M0181
M0182
M0183
M0184
M0185
M0186
M0187
M0188
M0189
M0190
M0191
M0192
M0193
M0194
M0195
M0196
M0197

Touch setter interlock release ON


Touch setter interlock release OFF
Lead machining function - learning operation
Tapping cycle M-tool constant rotation answer ignored
C-axis clamp or not selection
Coolant pressure low
Coolant pressure high
Coolant 2 OFF
Coolant 2 ON
C-axis unclamp
C-axis clamp
Steady rest Barrier OFF (NC-B)
Tailstock index pin OUT (PLC-B)
Steady rest Barrier ON (NC-B)
Tailstock index pin IN (PLC-B)
Synchronized rotation OFF
Synchronized rotation ON
M-tool spindle interlock ON
M-tool spindle interlock OFF
Airblow C OFF
Airblow C ON
Center work interlock ON
Center work interlock OFF
Lead machining function - synchronized operation OFF
Lead machining function - synchronized operation ON
Cancel of M161
Feedrate override fix (100%)
Cancel of M163
M-tool spindle speed override fix (100%)
Cancel of M165
Ignoring slide hold and single block
Ignoring tailstock spindle advance/retract interlock OFF
Ignoring tailstock spindle advance/retract interlock ON
Loading Mode OFF (Dust Collecting duct Up)
Transfer mode OFF
Loading Mode ON (Dust Collecting duct Down)
Transfer mode ON
C-Axis brake release mode ON
C-Axis brake release mode OFF
Robot inside the lathe interlock release OFF
Robot inside the lathe interlock release ON
Coolant 3 OFF
Coolant 3 ON
Y-axis unclamp
Feeler Open
Y-axis clamp
Feeler Close
Stopper advance
Tailstock Chuck Clamp
Stopper retract
Tailstock Chuck Unclamp
Robot/loader request 1
Robot/loader request 2
Robot/loader request 3
Robot/loader request 4
Chuck internal interlock release OFF
Chuck internal interlock release ON
Airblow F OFF
Airblow F ON
Tailstock joint OFF
Tailstock joint ON
Designation of G00 possible with tailstock joint
M-tool spindle orientation direction specified CW
M-tool spindle orientation direction specified CCW
Cancel of M194
Phasing for thread cutting
Cancel of M196
Thread cutting phasing stroke effective
Thread cutting phasing stroke clear

3 of 16
released: July 08
Option Specification
Touch setter
Touch setter
Cam turning
Multiple turning
Multiple turning
Coolant high/low pressure select by M codes
Coolant high/low pressure select by M codes
Additional coolant
Additional coolant
Multiple turning
Multiple turning
Tailstock Index pin control
Tailstock Index pin control
Opposing two-spindle
Opposing two-spindle
Multiple turning
Multiple turning
Additional Air
Additional Air
Center work
Center work
Special specification
Special specification
standard
standard
Multiple turning
Multiple turning
standard
standard
Center work
Center work
Vertical lathe machine(LVT)
Vertical lathe machine(LVT)
C-axis brake release function (customer spec)
C-axis brake release function (customer spec)
NC robot
NC robot
Additional coolant
Additional coolant
Y-axis
Y-axis
Double Cylinder Chuck spec
Double Cylinder Chuck spec
NC robot/loader, robot/loader interface type B/C/D/E
NC robot/loader, robot/loader interface type B/C/D/E
NC robot/loader, robot/loader interface type B/C/D/E
NC robot/loader, robot/loader interface type B/C/D/E
Chuck open/close interlock by M codes
Chuck open/close interlock by M codes
Additional Air
Additional Air
Tow-along programmable tailstock
Tow-along programmable tailstock
Tow-along programmable tailstock
Multiple turning
Multiple turning
Phase matching function for thread cutting
Phase matching function for thread cutting
Phase matching function for thread cutting
Phase matching function for thread cutting
Phase matching function for thread cutting

Lathe M-code
Ref
Man
lstJ
lstJ
4373
4373
list
pgm
mult
mult
AB205
AB205
4209
4209
AB199
pgm
pgm
pgm
pgm
spc
spc
lstJ
list
list
spc
spc
spc
spc
spc
spc
spc
mult
mult
list
spc
spc
spc
spc
spc
spc
spc
spc
list
list
4787
pgm
pgm
oper
oper
lstJ
sub
sub
sub
sub
5033
5033
list
list
lst2
lst2
lst2
lst2
lst2
lst2
lstJ
lstJ
lst2
lst2
4373
4373
lstJ

added codes

Code Functional explanation


M0198
M0199
M0200
M0201
M0202
M0203
M0204
M0205
M0206
M0207
M0208
M0209
M0210
M0211
M0212
M0213
M0214
M0215
M0216
M0217
M0218
M0219
M0220
M0221
M0222
M0223
M0224
M0225
M0226
M0227
M0228
M0229
M0230
M0231
M0232
M0233
M0234
M0235
M0236
M0237
M0238
M0239
M0240
M0241
M0242
M0243
M0244
M0245
M0246
M0247
M0248
M0249
M0250
M0251
M0252
M0253
M0254
M0255
M0256
M0257
M0258
M0259
M0260
M0261
M0262
M0263
M0264
M0265
M0266

STM Cycle Over ON


STM Cycle Over OFF
Z-axis synchronized feeding cancel
Z-axis synchronized feeding G13
Z-axis synchronized feeding G14
Turret unclamp
Magazine shutter close
Magazine shutter open
Turret Synchronous Feed Mode OFF
Turret Synchronous Feed Mode ON
Door interlock C,D ON
Door interlock C,D OFF
Spindle Orientation Ignore (Use with M151)
Keyway cutting cycle: Minus direction
Keyway cutting cycle: Zigzag
Keyway cutting cycle: Designated depth infeed
Keyway cutting cycle: Equal depth infeed
Load monitor G00 ignore OFF
Load monitor G00 ignore ON
Rotary tool Stop with Tool Orientation
Airblow E OFF
Airblow E ON
Flat turning OFF
Flat turning OFF (1:1)
Flat turning OFF (1:2)
Flat turning OFF (1:3)
Flat turning OFF (1:4)
Flat turning OFF (1:5)
Flat turning OFF (1:6)
ATC operation completion waiting command
ATC next tool return command
ATC M-tool spindle orientation
Universal M code
Universal M code
Universal M code
Universal M code
Universal M code
Universal M code
Universal M code
Universal M code
M-spindle phase variation
Sub spindle orientation
Steady rest 2 close end
M-tool spindle gear range 1 or low-speed coil selection
M-tool spindle gear range 2 or high-speed coil selection
Chip conveyer stop
Chip conveyer start
X-axis Rapid Traverse Increment Change
Sub spindle chuck interlock release OFF
Sub spindle chuck interlock release ON
Sub spindle chuck clamp
Sub spindle chuck unclamp
Work Ejector retract
Work Ejector advance
Laser interferometer data write
Laser interferometer data verify
Work Ejector Unit Advance
Work Ejector Unit Retract
Robot/loader request 5
Robot/loader request 6
Robot/loader request 7
Robot/loader request 8
Turning Step Feed OFF
Turning Step Feed ON
Coolant 3 OFF
Coolant 3 ON
Restriction on overlap mode rapid feed release OFF
Restriction on overlap mode rapid feed release ON
Parting line detecting Sensor Retract

4 of 16
released: July 08
Option Specification

Z-axis synchronized feeding


Z-axis synchronized feeding
Z-axis synchronized feeding
NC turret
ATC specification
ATC specification
Allow symmetrical movement with lower turret, AB205
Allow symmetrical movement with lower turret, AB205
Robot-loader
Robot-loader
Opposing two-spindle
Multiple turning
Multiple turning
Multiple turning
Multiple turning
Load monitor
Load monitor
Additional Air
Additional Air
Flat turning
Flat turning
Flat turning
Flat turning
Flat turning
Flat turning
Flat turning
ATC specification
ATC specification
ATC specification
Universal M codes
Universal M codes
Universal M codes
Universal M codes
Universal M codes
Universal M codes
Universal M codes
Universal M codes
Flat turning
Opposing two-spindle
Steady rest 2
M-tool spindle gear change
M-tool spindle gear change
Automatic chip conveyer operation
Automatic chip conveyer operation
Opposing two-spindle
Opposing two-spindle
Opposing two-spindle
Opposing two-spindle
Work Ejector
Work Ejector
Inductosyn pitch error compensation
Inductosyn pitch error compensation

Special specification
Special specification
Special specification
Special specification

Additional coolant
Additional coolant
LT-10/15/25 models
LT-10/15/25 models

Lathe M-code
Ref
Man
lstJ
lstJ
lstJ
lstJ
mult
gag
spc
spc
yax
yax
lstJ
lst2
lst2
5113
5113
lstJ
lstJ
lst2
lst2
762-025
lstJ
lstJ
lst2
lst2
lst2
lst2
sub
sub
spc
spc
lst2
lst2
spc
spc
list
list
lst2
lstJ
lst2
lstJ
lfgl
lfgl
lst2
lst2

added codes

Code Functional explanation

M0266
M0267
M0268
M0269
M0270
M0271
M0272
M0273
M0274
M0275
M0276
M0277
M0278
M0279
M0280
M0281
M0282
M0283
M0284
M0285
M0286
M0287
M0288
M0289
M0290
M0291
M0292
M0293
M0294
M0295
M0296
M0297
M0298
M0299

R-spindle Collet chuck Close command


Parting line detecting Sensor Advance
R-spindle Collet chuck Open command
Tailstock Advance Disable mode ON
Fixed Sensor power off (cancel M268)
Optical sensor start/stop / Fixed Sensor power on
Extreme low speed cutting ON
Extreme low speed cutting OFF
Home Position (G20) Effect Over Variable Limit ON
Home Position (G20) Effect Over Variable Limit OFF
ATC Optional Sequence
ATC 1st shutter close
ATC 1st shutter open
Steady rest 2 unclamp
Steady rest 2 clamp
M280 Cancel (Fuso Parting line detection type)
Laser Sensor Enable (Fuso Parting line detection type)
Slide step retract
Slide step advance
Turret clamp ignore
Chuck Interior Air blow Execution
Workpiece Count
Face driver advance
Collet Chuck clamp
Face driver retract
Collet Chuck unclamp
Sub spindle air blower OFF
Sub spindle air blower ON
Ceiling door close
Ceiling door open
Unloader retract
Unloader advance
Prohibit Thermal Compensation Value Updates
Allow Thermal Compensation Value Updates
SVP time constant switching mode ON
SVP time constant switching mode OFF
Cancel of M299
(B: Automatic Workpiece Input/Output Device Air OFF)
Repeat mode cancel
(B: Automatic Workpiece Input/Output Device Air ON)
Hand A close
Hand A open
Hand index A position
Hand index B position

M0300
M0301
M0302
M0303
M0304
M0305
lfgl
M0306 Workpiece pusher A advance
lfgl
M0307 Workpiece pusher A retract
Swing hand A
lfgl
M0308
Robot Door Interlock ON
spc
Swing hand B
lfgl
M0309
Robot Door Interlock OFF
spc
lfgl
M0310 Hand B close
lfgl
M0311 Hand B open
lstJ M0312 Tandem Loader Turnover Delivery command
lst2 M0313 Hand clamp miss check effective
lst2 M0314 Hand clamp miss check ineffective
4721 M0315 Wrist Rotation 90deg
lfgl
M0316 Workpiece pusher B advance
lfgl
M0317 Workpiece pusher B retract
lfgl
M0318 Robot/loader air blower ON
lfgl
M0319 Robot/loader air blower OFF
lfgl
M0320 Robot/loader general M code 1
Robot/loader general M code 2
lfgl
M0321
ATC Tool change Macro (opt. par.)
mac7
lfgl
M0322 Robot/loader general M code 3
lfgl
M0323 Robot/loader general M code 4
lfgl
M0324 Robot/loader general M code 5
lfgl
M0325 Robot/loader general M code 6

5 of 16
released: July 08
Option Specification

Gauging
Gauging
Low Speed cutting
Low Speed cutting
Home Position
Home Position
ATC specification
ATC specification
ATC specification
Twin Relieving Steady
Twin Relieving Steady

Slide step
Slide step
NC turret

Opposing two-spindle
Opposing two-spindle
Ceiling door
Ceiling door

TAS-S/TAS-C
TAS-S/TAS-C
Wheel machine
Wheel machine
Cam turning
Cam turning
NC robot, NC loader
NC robot, NC loader

NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader

OR Robot
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
ATC specification
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader

Lathe M-code
Ref
Man
lfgl
lfgl
lfgl
lfgl
lfgl
lfgl
lstJ
lstJ
lfgl
lfgl
lfgl
spcU
lflst
lflst
lflst
lfgl
lfgl
lfgl
lfgl
lfgl
lfgl
lfgl
lfgl
lfgl
lfgl
lfgl
lfgl
lflst
4920
4920
lflst
lst2
lflst
lst2
lstJ
lst2
lstJ
lst2
lst2
lflst
lflst
lflst
lst2
lflst
lst2
lflst
lst2
lflst
lst2
5032
5032
5032
5032
lfgl
lfgl
lfgl
spc
lfgl
spc
lfgl
lfgl
lfgl
lstJ
lfgl
lstJ
lst2
lst2
lst2
lst2

added codes

Code Functional explanation


M0326
M0327
M0328
M0329
M0330
M0331
M0332
M0333
M0334
M0335
M0336
M0337
M0338
M0339
M0340
M0341
M0342
M0343
M0344
M0345
M0346
M0347
M0348
M0349
M0350
M0351
M0352
M0353
M0354
M0355
M0356
M0357
M0358
M0359
M0360
M0361
M0362
M0363
M0364
M0365
M0366
M0367
M0368
M0369
M0370
M0371
M0372
M0373
M0374
M0375
M0376
M0377
M0378
M0379
M0380
M0381

Robot/loader general M code 7


Robot/loader general M code 8
Request home position valid
Request home position invalid
NC start
Buffering prohibit
Clamp Check Enable
Clamp Check Disable
Interference with NC lathe OFF
Interference with NC lathe ON
External start
Bar Stock change
Work count
A-workpiece designation
B-workpiece designation
Robot/loader general M code 9
Robot/loader general M code 10
Robot/loader general M code 11
Robot/loader general M code 12
Robot/loader general M code 13
Robot/loader general M code 14
Robot/loader general M code 15
Robot/loader general M code 16
External program selection (BCD)
Lot completion
NC lathe selection 1 (LFS-2SP: R machine)
NC lathe selection 2 (LFS-2SP: L machine)
NC lathe selection 3
Work pusher retract
Work pusher advance
Tailstock spindle retract 2
2nd Coolant 2 OFF
Tailstock spindle advance 2
2nd Coolant 2 ON
Change information type of vehicle
2nd Coolant 3 OFF
NG chute full work
2nd Coolant 3 ON
Spindle orientation 2nd position
2nd chucking error detection air OFF
2nd chucking error detection air ON
R-side turnover hand close
2nd Chuck Clamp
R-side turnover hand open
2nd Chuck Unclamp
R-side turnover retract
2nd Coolant 1 OFF
R-side turnover advance
2nd Coolant 1 ON
NC lathe home position move command 1
NC lathe home position move command 2
NC lathe home position move command 3
NC lathe home position move command 4
Robot/loader general M code 17
Robot/loader general M code 18
Robot/loader general M code 19
Steady rest interlock cancel OFF (or M472)
Robot/loader general M code 20
Steady rest interlock cancel ON (or M473)
Robot/loader general M code 21
Robot/loader general M code 22
Robot/loader general M code 23
C-axis brake low pressure OFF
Robot/loader general M code 24
C-axis brake low pressure ON
Swing V-hand A
Swing V-hand B
NC lathe power saving OFF
NC lathe power saving ON

6 of 16
released: July 08
Option Specification
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader, E-control standard

NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
Bar feeder
Special specification
Special specification
Special specification
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC loader (2M1L or 3M1L specification)
NC loader (2M1L or 3M1L specification)
NC loader (3M1L specification)
Work pusher
Work pusher
Additional coolant
Additional coolant
Additional coolant
Additional coolant
NC robot, NC loader or LOC-650
NC loader, opposing two-spindle & chucking error det.
NC loader, opposing two-spindle & chucking error det.
NC loader
Opposing two-spindle
NC loader
Opposing two-spindle
NC loader
Additional coolant
NC loader
Additional coolant
NC loader & home position movement
NC loader & home position movement
NC loader & home position movement
NC loader & home position movement
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
Steady rest
NC robot, NC loader
Steady rest
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader
NC robot, NC loader

Special specification
Special specification

Lathe M-code
Ref
Man
5032
5032
lflst
5032
lflst
5032
lflst
lflst
lst2
lst2
lflst
lflst
5081
lflst
macU
lflst
macU
lflst
macU
lflst
macU
lflst
4998
lflst
lflst
lflst
lst2
lst2
lst2
5277
5277
lst2
5068S
5068S
5032
5032
lstJ
lstJ
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lstJ
lstJ
lst2
mult
lst2
mult
lst2
lst2
lst2
lst2
lst2
lst2
lst2
loc
loc
loc
loc
lstJ
lstJ
lstJ
lstJ

added codes

Code Functional explanation


M0382 NC lathe home position move command 5
NC lathe home position move command 6
M0383
2nd Chuck Close
NC lathe home position move command 7
M0384
2nd Chuck Open
M0385 NC lathe home position move command 8
M0386 Workpiece Return from Turning Over
M0387 Workpiece Turn Over
M0388 2nd Airblow A OFF
M0389 2nd Airblow A ON
M0390 2nd door close
M0391 2nd door open
Spindle oscillation
M0392
L-turnover hand Close
Second headstock down
M0393
L-turnover hand Open
Second headstock up
M0394
L-turnover Retract
Disable axis movement when the second headstock is not located
M0395 either in the upper end position or in the lower end position
L-turnover Advance
Enables axis movement even when the second headstock is not
M0396 located either in the upper end position or in the lower end position
NC lathe No.2 home position move command 1
T-No. for loader in permission pot
M0397
NC lathe No.2 home position move command 2
M0398 NC lathe No.2 home position move command 3
M0399 NC lathe No.2 home position move command 4
M0400 Stopper lock OFF
M0401 Stopper lock ON
M0402 Notice of program end
M0403 B-axis unclamp (brake)
M0404 B-axis clamp (curvic)
M0405 Ignoring loader feed hold
M0406 Steady rest joint OFF (clamp)
M0407 Steady rest joint ON (unclamp)
M0408 Robot/loader interface interlock release OFF
M0409 Robot/loader interface interlock release ON
M0410 Tailstock spindle thrust 1
M0411 Tailstock spindle thrust 2
M0412 Robot/loader request 9
M0413 Robot/loader request 10
M0414 Robot/loader request 11
M0415 Robot/loader request 12
M0416 Robot/loader request 13
M0417 Robot/loader request 14
M0418 Robot/loader request 15
M0419 2nd Spindle Home positioning (sub-spindle)
M0420 M code macro function CALL (fixed sub-program)
M code macro function CALL (fixed sub-program)
M0421
ATC tool change macro (Can be M321)
M code macro function CALL (fixed sub-program)
M0422
ATC tool change macro (Can be M322)
M0423 M code macro function CALL (fixed sub-program)
M0424 M code macro function CALL (fixed sub-program)
M0425 M code macro function CALL (fixed sub-program)
M0426 Ring sensor selection cancel
M0427 Ring sensor selection ON
M0428 Tailstock position data request
M0429 Chuck pressure select
M0430 Tailstock chuck miss detect Air OFF (SGE-2911)
M0431 Tailstock chuck miss detect Air ON
M0432 Tailstock chuck miss detect OFF
M0433 Tailstock chuck miss detect ON
M0434 Machine Interference OFF
M0435 Machine Interference ON
M0436 Barfeed command- Bar Change
M0437 Ring sensor Low sensitvity level
M0438 Ring sensor High sensitvity level

7 of 16
released: July 08
Option Specification
NC loader & home position movement
NC loader & home position movement
OGL, 2-spindle
NC loader & home position movement
OGL, 2-spindle
NC loader & home position movement
NC loader
NC loader
NC loader & Two-spindle
NC loader & Two-spindle
NC loader & Two-spindle
NC loader & Two-spindle
OGL
Macturn-30
OGL
Macturn-30
OGL
Macturn-30
OGL
Macturn-30
NC Loader
NC Loader (customer spec.)
NC Loader
NC Loader
NC Loader

Full B-axis, Macturn


Full B-axis, Macturn
Tow-along steady rest
Tow-along steady rest
Robot/loader interface type B/C/D
Robot/loader interface type B/C/D
Special specification
Special specification
Special specification
Special specification
Special specification
Special specification
Special specification
Special specification
Special specification
M code macro function
M code macro function
ATC specification
M code macro function
ATC specification
M code macro function
M code macro function
M code macro function
Special specification
Special specification

Tailstock Air miss detect (used on LOC)


Tailstock Air miss detect (used on LOC)
Tailstock Air miss detect (used on LOC)
Tailstock Air miss detect (used on LOC)

Barfeed (used on LOC-650)

Lathe M-code
Ref
Man
lst2
lst2
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
spc
4785
4785
lstJ
lstJ
lstJ
lstJ
lstJ
lst2
5032
5032
lst2
lst2
lst2
lst2
4787
lstJ
4787
lstJ
lst2
5032
lst2
5032
5173
5173
5173
AB199
lstJ
lstJ
lst2
5219
5219
lstJ
lstJ
loc
lstJ
lst2
lst2
5173
5173
5173
5173
5173
5173
5173
5173
5306
5173

added codes

Code Functional explanation


M0439
M0440
M0441
M0442
M0443
M0444
M0445
M0446
M0447
M0448
M0449
M0450
M0451
M0452
M0453
M0454
M0455
M0456
M0457
M0458
M0459
M0460
M0461
M0462
M0463
M0464
M0465
M0466
M0467
M0468
M0469
M0470
M0471
M0472
M0473
M0474
M0475
M0476
M0477
M0478
M0479
M0480
M0481
M0482
M0483
M0484
M0485
M0486
M0487
M0488
M0489
M0490
M0491
M0492
M0493
M0494
M0495
M0496
M0497
M0498
M0499
M0500

Coolant 4 OFF
Coolant 4 ON
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
M code macro function CALL
Work stopper retract
Work stopper advance
Turnover Device in Machine Unclamp
Turnover Device in Machine Clamp
Turnover Device in Machine Return
Turnover Device in Machine Turn
High/Low pressure Selection coolant group rules command
Cut Finish notice
Spindle in Center Advance solenoid 1 OFF
Spindle in Center Advance solenoid 1 ON
Work Ejector unit Down
Spindle in Center solenoid 2 OFF
Work Ejector unit Up
Spindle in Center solenoid 2 ON
Steady rest interlock ON (or M372)
Spindle in Center solenoid 3 OFF
Steady rest interlock OFF (or M373)
Spindle in Center solenoid 3 ON
Coolant 5 OFF
Center Advance confirmation solenoid OFF
Coolant 5 ON
Center Advance confirmation solenoid ON
Unloader shutter interlock OFF
Unloader shutter interlock ON
Confirm Unloader Entry OK conditions
Extension of minus variable limit
Turnover Device command on Passing side
Turnover Device command on Receiving side
Tailstock advance to work support position
Chuck B clamp
Chuck B unclamp
Natural clamp Clamp
Natural clamp Unclamp
Front Chuck Compensating Clamp
Compensating chuck Unclamp
Lubrication Oil discharge OFF
Lubrication Oil discharge ON
Unloader Shutter Open
Unloader Shutter Close
Unloader carrier 1 Advance
Unloader carrier 1 Retract
Hand Open
Hand Close
Arm swing A-side (Hand shift retract)
Arm swing B-side (Hand shift advance)
Index chuck interlock release
Unloader Fixed cycle

8 of 16
released: July 08
Option Specification
Additional coolant
Additional coolant
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
M code macro function
Work stopper (customer spec.)
Work stopper (customer spec.)

In-Spindle Center spec. (customer spec.)


In-Spindle Center spec. (customer spec.)

Steady rest
Steady rest
Additional coolant
In-Spindle Center spec. (customer spec.)
Additional coolant
In-Spindle Center spec. (customer spec.)
Work Unloader
Work Unloader
Work Unloader
LT10 Cycle time reduction

Double Cylinder Chuck spec


Double Cylinder Chuck spec

Compensating clamp (used on LOC)

Work Unloader
Work Unloader
Work Unloader
Work Unloader
Work Unloader
Work Unloader
Work Unloader
Work Unloader
Index Chuck (customer spec.)
Work Unloader

Lathe M-code
added codes

Ref
Man

Code Functional explanation

lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
loc
loc
lst2
lst2
lstJ
lstJ
lstJ
lst2
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
4981
4981
lstJ
lstJ
lst2
lst2
lst2
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
5396
5396
5396
5396
5396
5396
lstJ
lstJ
lstJ
5243
lstJ
lstJ
spc
spc
spc
spc
cam
lst2
lst2
lstj
lstJ
lstJ
lstJ
lst2
lst2
lst2
lst2

M0501
M0502
M0503
M0504
M0505
M0506
M0507
M0508
M0509
M0510
M0511
M0512
M0513
M0514
M0515
M0516
M0517
M0518
M0519
M0520
M0521
M0522
M0523
M0524
M0525
M0526
M0527
M0528
M0529
M0530
M0531
M0532
M0533
M0534
M0535
M0536
M0537
M0538
M0539
M0540
M0541
M0542
M0543
M0544
M0545
M0546
M0547
M0548
M0549
M0550
M0551
M0552
M0553
M0554
M0555
M0556
M0557
M0558
M0559
M0560
M0561
M0562
M0563
M0564
M0565
M0566
M0567
M0568
M0569

Tool Count 1
Tool Count 2
Tool Count 3
Tool Count 4
Tool Count 5
Tool Count 6
Tool Count 7
Tool Count 8
Tow-along Interlock OFF
Tow-along Interlock ON
Rear air chuck clamp
Rear air chuck unclamp
X-axis plus variable limit check ON
X-axis plus variable limit check OFF
1st Product gauged Data Output Start
Product gauged Data Output Start
Centrifugal Separator cleaning Start (headstock at any position)
Measure Finish
M-spindle Lowest Speed ON
M-spindle Lowest Speed OFF
Status Indicator lamp Green ON
Status Indicator lamp Green OFF
Status Indicator lamp Yellow ON
Status Indicator lamp Yellow OFF
Status Indicator lamp Red ON
Status Indicator lamp Red OFF
Oil mist Off
Oil mist On
Tailstock Advance Output OFF
Oil Supply OFF
Oil level Max
Oil level Std
Oil level Min
Backup Roller Retract
Backup Roller Advance
Loader Request Signal (Exclusively for B)
Blushing Unit Interlock Cancel (Reserved for Macturn)
Blushing Unit Interlock ON (Reserved for Macturn)
Workpiece Pull out Device Retract
Workpiece Pull out Device Advance
Blushing Unit Interlock Advance (Reserved for Macturn)
Blushing Unit Interlock Retract (Reserved for Macturn)
W.stand movement upper to middle
W.stand movement middle to upper
W.stand movement lower to middle
W.stand movement middle to lower
Work rest Pull position
Work rest Insert position
Longitude Positioning Device Retract
Longitude Positioning Device Advance
Loader Suspension
Door Open Middle position
Blushing Unit Interlock OFF (Reserved for Macturn)
Blushing Unit Interlock ON (Reserved for Macturn)
HOB cutting synchronized rotation OFF
HOB cutting synchronized rotation ON
Move to Z-axis direction by slide hold during HOB cutting
Move to X-axis direction by slide hold during HOB cutting
Zero return of asynchronous axis
Chip Scraper grip Close, Tailstock-side Deburring Device Retract
Chip Scraper grip Open, Tailstock-side Deburring Device Advance
Snap Gauging Probe Close, Chuck-side Deburring Device Retract
Snap Gauging Probe Open, Chuck-side Deburring Device Advance
C-axis Positioning Pin OUT (reserved for Macturn)
C-axis Positioning Pin IN (reserved for Macturn)
Vibration Cutting tool ON
Vibration Cutting tool OFF
B-turret optional index control OFF
B-turret optional index control ON

9 of 16
released: July 08
Option Specification

LOC-650
LOC-650
Programmable tailstock
Programmable tailstock

Oil Mist coolant spec.


Oil Mist coolant spec.

Swing type Work Rest (customer spec.)


Swing type Work Rest (customer spec.)
Swing type Work Rest (customer spec.)
Swing type Work Rest (customer spec.)
Swing type Work Rest (customer spec.)
Swing type Work Rest (customer spec.)

NC/ballscrew door

Hob cutting
Hob cutting
Hob cutting
Hob cutting
CAM turning

(Special- 4892)

Lathe M-code
Ref
Man

added codes

Code Functional explanation

5052
5052
5052
5052
5052
5052
5052
5052
4998
4998
4999
4999
4999
4999
lst2
lst2
lst2
macU
macU
lstJ
lstJ
lstJ
5052
5052
5052
5052
5052
5052
5052
5052
lst2
lstJ
lst2
lstJ
mult
mult
lst2
lst2
lstJ
lstJ
lflst
lflst
lflst
lflst
spc
lstJ
lstJ
lstJ
4812
4812
lflst
lflst
lflst
lstJ

M0570
M0571
M0572
M0573
M0574
M0575
M0576
M0577
M0578
M0579
M0580
M0581
M0582
M0583
M0584
M0585
M0586
M0587
M0588
M0589
M0590
M0591
M0592
M0593
M0594
M0595
M0596
M0597
M0598
M0599

M0602
M0603
M0604
M0605
M0606
M0607
M0608
M0609
M0610
M0611
M0612
M0613
M0614
M0615
M0616
M0617
M0618
M0619
M0620
M0621

lstJ

M0622

lstJ
lstJ
5277
lflst
lflst
lflst
lflst
lflst
lflst
lstJ
lstJ
5239

M0623
M0624
M0625
M0626
M0627
M0628
M0629
M0630
M0631
M0632
M0633
M0634

M0600
M0601

External M code 9
External M code 9
External M code 10
External M code 10
External M code 11
External M code 11
External M code 12
External M code 12
Main Spindle brake OFF
Main Spindle brake ON
X/Z acc/dec time constant (default)
X/Z acc/dec time constant (pattern1)
X/Z acc/dec time constant (pattern2)
X/Z acc/dec time constant (pattern3)
Quality Check request, Gauging Start, Collet Chuck unclamp
Collet Chuck Advance
Collet Chuck Retract
2nd Spindle head brake (Mac 30/50)
2nd Spindle head clamp (Mac 30/50)
Discharge command
Cycle Time Measuring Stop
Cycle Time Measuring Start
External M code 13
External M code 13
External M code 14
External M code 14
External M code 15
External M code 15
External M code 16
External M code 16
M-tool spindle clamp angle 90
Opposing spindle C-axis positioning Pin Out (reserved for Macturn)
M-tool spindle clamp angle 270
Opposing spindle C-axis positioning Pin IN (reserved for Macturn)
M-tool spindle clamp angle 0
M-tool spindle clamp angle 180
B-axis one side positioning mode OFF
B-axis one side positioning mode ON
Y-axis barrier function Cancel
Y-axis barrier function ON
2nd Coolant ON
2nd Coolant OFF
2nd Spindle Inching OFF
2nd Spindle Inching ON
Move to Y-axis direction by slide hold during HOB cutting
Work Push-out Confirnmation Air OFF
Work Push-out Confirnmation Air ON
Monitor part Read-in Start
Shutter close
Shutter open
2nd Spindle Orientation Cancel
2nd Spindle Orientation
2nd Spindle Orientation 2
First spindle Stop after zero point Return (at power chuck pos.)
Y-axis Retraction to Negative direction of program coordinate system
during synchronized operation for Hob cutting
Y-axis Retraction to Positive direction of program coordinate system
during synchronized operation for Hob cutting
Inching Confirmation Lamp light command
B-axis unclamp
2nd Additional Air Blow 3 OFF
2nd Additional Air Blow 3 ON
2nd Additional Air Blow 4 OFF
2nd Additional Air Blow 4 ON
2nd Chucking Error Detection Air OFF
2nd Chucking Error Detection Air ON
Receiver OFF
Receiver ON
LF R-spindle interference check OFF

10 of 16
released: July 08
Option Specification
External M codes
External M codes
External M codes
External M codes
External M codes
External M codes
External M codes
External M codes
Spindle brake (customer spec.)
Spindle brake (customer spec.)
Special thread cutting spec. (customer spec.)
Special thread cutting spec. (customer spec.)
Special thread cutting spec. (customer spec.)
Special thread cutting spec. (customer spec.)

ATC+Sub spindle+H1turret+W-axis specification


ATC+Sub spindle+H1turret+W-axis specification

External M codes
External M codes
External M codes
External M codes
External M codes
External M codes
External M codes
External M codes

L-tool index
L-tool index
H1 turret
H1 turret

NC loader & Two-spindle (CE spec)


NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)
Hob cutting

LVT In-process gage spec


LVT In-process gage spec
NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)

Full B-axis, Macturn


NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)

Roof Door (CE spec)

Lathe M-code
added codes

Ref
Man

Code Functional explanation

5239
4966
4966
4966
4966
4966
4966
4966
4966
lstJ
lstJ
lst2
lst2
lst2
lstJ
lflst
lflst
smag
lawV
lflst
lflst
lst2
lst2
lflst
lflst
lawV
lawV
lawV
lawV
lawV
lstJ
lstJ
lst2
lst2
lst2
4998
lstJ
lstJ
lstJ
lflst
lflst
lst2
lst2
lst2
4998
4998
4892
4892
lawV
lawV
lawV
4998
4998
lflst
lflst
5239
5239
4943
4943
pgm
pgm
4871
4871
4943
4943
lstJ
lstJ
lstJ
lstJ

M0635
M0636
M0637
M0638
M0639
M0640
M0641
M0642
M0643
M0644
M0645
M0646
M0647
M0648
M0649
M0650
M0651
M0652
M0653
M0654
M0655
M0656
M0657
M0658
M0659
M0660
M0661
M0662
M0663
M0664
M0665
M0666
M0667
M0668
M0669
M0670
M0671
M0672
M0673
M0674
M0675
M0676
M0677
M0678
M0679
M0680
M0681
M0682
M0683
M0684
M0685
M0686
M0687
M0688
M0689
M0690
M0691
M0692
M0693
M0694
M0695
M0696
M0697
M0698
M0699
M0700
M0701
M0702
M0703

LF R-spindle interference check ON


Chuck index 0 deg.
Chuck index 45 deg.
Chuck index 90 deg.
Chuck index 135 deg.
Chuck index 180 deg.
Chuck index 225 deg.
Chuck index 270 deg.
Chuck index 315 deg.
2nd Coolant 2 OFF
2nd Coolant 2 ON
Magnet level 1, Chucking
Magnet level 2, Chucking
Magnet level 3, Chucking
Headstock Rotation command
2nd Additional Air Blow 1 OFF
2nd Additional Air Blow 1 ON
Canceling the designation of "MAIN-MG TOOL"
ACC Spindle orientation
2nd Additional Air Blow 2 OFF
2nd Additional Air Blow 2 ON
Low load check OFF
Low load check ON
2nd Chucking Pressure LOW
2nd Chucking Pressure HIGH
ACC airblow
A-Chuck index (Machining station)
B-Chuck index (Machining station)
ACC chuck interlock release OFF
ACC chuck interlock release ON
Loader Chucking Error Air OFF
Loader Chucking Error Air ON
Main drive jig unit retract
Main drive jig unit forward
Main drive jig unit oscillation
Sub drive jig unit oscillation
Low spindle Acceleration mode ON
Low spindle Acceleration mode OFF
Quality Check mode OFF
2nd Additional Coolant 2 OFF
2nd Additional Coolant 2 ON
Loader request answer
Time over check ON
Time over check OFF
Work cover downturn
Work cover upturn
Rolling-head close
Rolling-head open
ACC chuck Clamp
ACC chuck Unclamp
Setup finish
Status indication lamp OFF
Status indication lamp ON
2nd Air Blow OFF
2nd Air Blow ON
LF Right Moon door Close
LF Right Moon door Open
Tool breakage detection interlock release ON
Tool breakage detection interlock release OFF
Off a change control for spindle rev (HSSC OFF)
On a change control for spindle rev (HSSC ON)
Spindle phase synchronous mode OFF
Spindle phase synchronous mode ON
Tool breakage detection sensor advance
Tool breakage detection sensor retract
Mist Collector OFF
Mist Collector ON
Mist Collector Retract
Mist Collector Advance

11 of 16
released: July 08
Option Specification
Roof Door (CE spec)
Spec. Index Control chuck (customer spec.)
Spec. Index Control chuck (customer spec.)
Spec. Index Control chuck (customer spec.)
Spec. Index Control chuck (customer spec.)
Spec. Index Control chuck (customer spec.)
Spec. Index Control chuck (customer spec.)
Spec. Index Control chuck (customer spec.)
Spec. Index Control chuck (customer spec.)

NC loader & Two-spindle (CE spec)


NC loader & Two-spindle (CE spec)
ATC with Sub-magazine
LAW-V ACC function
NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)

NC loader & Two-spindle (CE spec)


NC loader & Two-spindle (CE spec)
LAW-V ACC function
LAW-V ACC function
LAW-V ACC function
LAW-V ACC function
LAW-V ACC function

Sub-spindle Drive Jig (customer spec.)

NC loader & Two-spindle (CE spec)


NC loader & Two-spindle (CE spec)

Work Cover (customer spec.)


Work Cover (customer spec.)
Special- 4892
Special- 4892
LAW-V ACC function
LAW-V ACC function
LAW-V ACC function
Status Lamp Control (customer spec.)
Status Lamp Control (customer spec.)
NC loader & Two-spindle (CE spec)
NC loader & Two-spindle (CE spec)
Roof Door (CE spec)
Roof Door (CE spec)
Tool Breakage Detection- Macturn
Tool Breakage Detection- Macturn
Harmonic Spindle Speed Control
Harmonic Spindle Speed Control
Spindle Phase Synchronous function
Spindle Phase Synchronous function
Tool Breakage Detection- Macturn
Tool Breakage Detection- Macturn

Lathe M-code
Ref
Man
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
4943
4943
lst2
lst2
lst2
lst2
lst2
lst2
lstJ
lstJ
lstJ
lst2
lst2
lst2
lst2
lst2
lst2
5000
5000
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lst2
lst2
lstJ
lstJ
lst2
lst2
lst2
lst2
4700
4700
lst2
4700
4700
lst2
4700
4700
4700
4700
4700
4700
loc
lst2
lst2
lst2
lst2
5219
5219
4700
4700
4700
4700
4700
4700

added codes

Code Functional explanation


M0704
M0705
M0706
M0707
M0708
M0709
M0710
M0711
M0712
M0713
M0714
M0715
M0716
M0717
M0718
M0719
M0720
M0721
M0722
M0723
M0724
M0725
M0726
M0727
M0728
M0729
M0730
M0731
M0732
M0733
M0734
M0735
M0736
M0737
M0738
M0739
M0740
M0741
M0742
M0743
M0744
M0745
M0746
M0747
M0748
M0749
M0750
M0751
M0752
M0753
M0754
M0755
M0756
M0757
M0758
M0759
M0760
M0761
M0762
M0763
M0764
M0765
M0766
M0767
M0768
M0769
M0770
M0771

Work Support Retract


Work Support Advance
Centering unit middle advance
Centering unit advance
Centering unit middle retract
Centering unit retract
Centering unit unclamp
Centering unit clamp
Tool breakage detection ON
Tool breakage detection OFF
Work change request
Work out request
Tool load request
Tool unload request
Loader cycle start
Loader cycle stop
Designated Alarm-C Enable
Designated Alarm-C Disable
Tool Life Check
Tailstock advance limit switch effective
Tailstock advance limit switch ineffective
Loader time over check start
Loader time over check stop
Loader axis interlock
Cancel of M727
Workpiece stand downturn
Workpiece stand upturn
Work Counter A
Work Counter B
Work Counter C
Work Counter D
Work Counter E
Work Counter F
Work Counter G
M739 Cancel
Temporary Workpiece Stand position fixture Pin OUT
W.stand movement interlock ON
W.stand movement interlock OFF
Steady rest XB-axis travel Interlock cancel OFF
Steady rest XB-axis travel Interlock cancel ON
Override Limit OFF
Override Limit ON
Ball valve open
Ball valve close
Tailstock brake OFF
Tailstock brake ON
Centering unit machining cycle
Work conveyor Advance
Work conveyor Retract
Work conveyer start (CW)
Work conveyer start (rearward)
Work conveyer stop
Turret speed reducer OFF
Turret speed reducer ON
Pick-off chuck Close
Pick-off chuck Open
Rear chuck Compensating clamp
Water coolant select
Oil coolant select
Coolant reverse pump OFF
Coolant reverse pump ON
Chuck B interlock OFF
Chuck B interlock ON
Work Conveyor Interlock ON
Work Conveyor Interlock OFF
Tailstock chuck Interlock ON
Tailstock chuck Interlock OFF
Pick-off chuck Airblow OFF
Pick-off chuck Airblow ON

12 of 16
released: July 08
Option Specification

Tool Breakage Detection- Macturn


Tool Breakage Detection- Macturn

Tow-along Work rest spec. (customer spec.)


Tow-along Work rest spec. (customer spec.)

Tailstock brake function (customer spec.)


Tailstock brake function (customer spec.)
Work conveyor (customer spec.)
Work conveyor (customer spec.)
Work Unloader
Work conveyor (customer spec.)
Work conveyor (customer spec.)
Special Turret speed reducer (customer spec.)
Special Turret speed reducer (customer spec.)
Pick-off chuck (customer spec.)
Pick-off chuck (customer spec.)
Compensating clamp (used on LOC)
Hybrid coolant option
Hybrid coolant option
Hybrid coolant option
Hybrid coolant option
Double Cylinder Chuck spec
Double Cylinder Chuck spec
Work conveyor (customer spec.)
Work conveyor (customer spec.)
Tailstock chuck (used on LOC-650)
Tailstock chuck (used on LOC-650)
Additional Air (customer spec.)
Additional Air (customer spec.)

Lathe M-code
Ref
Man
5113
5113
lstJ
lstJ
lstJ
lstJ
lst2
lst2
4676
4676
lst2
loc
loc
lstJ
lstJ
lst2
lst2
lstJ

4709
4709
4709
4709
4709

lst2
lst2
lst2
5454
5454
5454
5454
lst2
lst2
5173
5173
lstJ
lstJ
5066
5066
lstJ
5426
5426
5173
5173
5201
lstJ
lstJ
lst2
lst2
lst2
lstJ
lstJ
lst2
lst2
lstJ
lstJ
lst2
lst2
lst2
lst2
lst2
lst2
lflst
lflst
lstJ

added codes

Code Functional explanation


M0772
M0773
M0774
M0775
M0776
M0777
M0778
M0779
M0780
M0781
M0782
M0783
M0784
M0785
M0786
M0787
M0788
M0789
M0790
M0791
M0792
M0793
M0794
M0795
M0796
M0797
M0798
M0799
M0800
M0801
M0802
M0803
M0804
M0805
M0806
M0807
M0808
M0809
M0810
M0811
M0812
M0813
M0814
M0815
M0816
M0817
M0818
M0819
M0820
M0821
M0822
M0823
M0824
M0825
M0826
M0827
M0828
M0829
M0830
M0831
M0832
M0833
M0834
M0835
M0836
M0837
M0838
M0839
M0840

Steadyrest 2 Retract
Steadyrest 2 Advance
Steadyrest 3 Open
Steadyrest 3 Close
Steadyrest 3 Retract
Steadyrest 3 Advance
Steady rest pressure LOW
Steady rest pressure HIGH
Bar feeder Steady rest Open
Bar feeder Steady rest Close
Setup program button off
Tailstock chuck clamp
Tailstock chuck unclamp
Unloader Stand-by at Middle point command ON
Unloader Stand-by at Middle point command OFF
Air drill OFF
Air drill ON
First spindle Home positioning 3

13 of 16
released: July 08
Option Specification
Twin Relieving Steady
Twin Relieving Steady

Bar feeder including steady rest (customer spec.)


Bar feeder including steady rest (customer spec.)
Tailstock chuck (used on LOC-650)
Tailstock chuck (used on LOC-650)

Cutoff detector Retract


Cutoff detector Advance
Parts conveyor OFF
Parts conveyor ON
Tailstock Traverse function

Barcenter-34
Barcenter-34
Barcenter-34
Barcenter-34
Barcenter-34

Airblow H OFF
Airblow H ON
Cycle Airblow ON
High-pressure coolant level A
High-pressure coolant level B
High-pressure coolant level C
High-pressure coolant level D
Cutting feed interlock release OFF
Cutting feed interlock release ON
W-axis travel interlock OFF
W-axis travel interlock ON
Tool Unclamp (reservation only)
Tool Clamp
ATC shutter interlock release OFF
ATC shutter interlock release ON
Spindle Unclamp command
Spindle override effective in threading
Spindle override ineffective in threading
Unloader carrier 2 Advance
Unloader carrier 2 Retract
Group Tool Move to Main
Thermal Deviation offset function OFF
Thermal Deviation offset function ON
2nd spindle CW
2nd spindle CCW
2nd spindle stop
Loader axis Travel Interlock OFF
Loader axis Travel Interlock ON
Roller Vanishing OFF
Roller Vanishing ON
XB-W axis Interference Check OFF
XB-W axis Interference Check ON
Interlock Release for M-tool index command
Interlock Release Cancel for M-tool index command
Lube motor output fix OFF
Lube motor output fix ON
Airblow F OFF
Airblow F ON
Hand A Pusher push-in Confirmation
Hand B Pusher push-in Confirmation
ATC Shutter

Additional Air
Additional Air
High pressure coolant
High pressure coolant
High pressure coolant
High pressure coolant
M-spindle function
M-spindle function
Work Unloader
Work Unloader

Macturn ATC
Macturn ATC
Variable Spindle Speed Threading
Variable Spindle Speed Threading
Work Unloader
Work Unloader
MG TOOL Re-positioning cycle, Macturn

W-axis overlap control


W-axis overlap control
W-axis overlap control

Additional Air
Additional Air
OGL-LFS
OGL-LFS

Lathe M-code
Ref
Man
lst2
lst2
lst2
lst2
lstJ
lstJ
mult
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
lstJ
cas
cas
lst2
lst2
lst2
lst2
5318
5318

5318
5318
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
4282
4282
4282
lst2
lst2
lst2
lst2
lst2

lst2
lst2
lst2
lst2
lst2
lst2
5416

lst2
lst2

added codes

Code Functional explanation


M0841
M0842
M0843
M0844
M0845
M0846
M0847
M0848
M0849
M0850
M0851
M0852
M0853
M0854
M0855
M0856
M0857
M0858
M0859
M0860
M0861
M0862
M0863
M0864
M0865
M0866
M0867
M0868
M0869
M0870
M0871
M0872
M0873
M0874
M0875
M0876
M0877
M0878
M0879
M0880
M0881
M0882
M0883
M0884
M0885
M0886
M0887
M0888
M0889
M0890
M0891
M0892
M0893
M0894
M0895
M0896
M0897
M0898
M0899
M0900
M0901
M0902
M0903
M0904
M0905
M0906
M0907
M0908
M0909

2nd spindle low-speed coil selection


2nd spindle high-speed coil selection
Tool End Face Air Blow OFF
Tool End Face Air Blow ON
Oilmist Mode OFF
Oilmist Mode ON
Tailstock Retract End
Tailstock Measurement
Sub-spindle 2 Chuck Interlock Release OFF
Sub-spindle 2 Chuck Interlock Release ON
Sub-spindle 2 Chuck Clamp
Sub-spindle 2 Chuck Unclamp
Airblow G OFF
Airblow G ON
Coolant 7 OFF
Coolant 7 ON
Coolant 8 OFF
Coolant 8 ON
Emergency Return Completion
Tailstock Deburring Device Roller ON
Tailstock Deburring Device Roller OFF
Chuck Deburring Device Roller ON
Chuck Deburring Device Roller OFF
Grinding whetstone spindle unit retract
Grinding whetstone spindle unit advance
Collision Avoidance function ON
Collision Avoidance function OFF
Macturn M-spindle nose airblow OFF
Macturn M-spindle nose airblow ON
Airblow I OFF
Airblow I ON
Touchsetter Shutter Open
Touchsetter Shutter Close

Touchsetter Interlock Release OFF


Touchsetter Interlock Release ON
Data Hold
Data Hold Cancel
2nd Airblow H OFF
2nd Airblow H ON
Spindle Synchronous Rotation Both Chuck Clamp IL cancel
Data Clear
Data Clear 2
2nd Airblow F OFF
2nd Airblow F ON
C-axis Synchronous Control Mode OFF
C-axis Synchronous Control Mode ON (A-turret)
C-axis Synchronous Control Mode ON (B-turret)
Sub-spindle C-axis joint OFF
Sub-spindle C-axis joint ON
M-tool Spindle jog CW ON
M-tool Spindle jog CCW ON
M-tool Spindle jog OFF

14 of 16
released: July 08
Option Specification
W-axis overlap control
W-axis overlap control

NC/Multus tailstock

Additional Air
Additional Air

CAS
CAS
Chip Removal cycle, added function
Chip Removal cycle, added function
Additional Air
Additional Air
Laser TS
Laser TS

Additional Air
Additional Air

Additional Air
Additional Air
C-axis Synchronous Control Function
C-axis Synchronous Control Function
C-axis Synchronous Control Function

Parts turnover hand air blower OFF


Parts turnover hand air blower ON
Sub-spindle Oscillation
Work Washer shutter Close
Work Washer shutter Open
Work Washer Fixed cycle
Machining Mode interlock Cancel

Spindle Unclamp
Spindle Clamp

(VTM??)
(VTM??)

Lathe M-code
Ref
Man
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
lst2
5506
lst2

added codes

Code Functional explanation


M0910
M0911
M0912
M0913
M0914
M0915
M0916
M0917
M0918
M0919
M0920
M0921
M0922
M0923
M0924
M0925
M0926
M0927
M0928
M0929
M0930
M0931
M0932
M0933
M0934
M0935
M0936
M0937
M0938
M0939
M0940
M0941
M0942
M0943
M0944
M0945
M0946
M0947
M0948
M0949
M0950
M0951
M0952
M0953
M0954
M0955
M0956
M0957
M0958
M0959
M0960
M0961
M0962
M0963
M0964
M0965
M0966
M0967
M0968
M0969
M0970
M0971
M0972
M0973
M0974
M0975
M0976
M0977
M0978

M-axis Unclamp
Chuck Grasp diameter 1
Chuck Grasp diameter 2
Chuck Grasp diameter 3
Chuck Grasp diameter 4
Chuck Grasp diameter 5
No Tool Interlock Release OFF
No Tool Interlock Release ON
Chuck center LOW pressure
Chuck center HIGH pressure
Lamp OFF command
Spindle jog CCW ON
System link Output OFF
System link Output ON
Slider Retract
Slider Advance
Tool 1 gripper Close
Tool 1 gripper Open
Tool 2 gripper Close
Tool 2 gripper Open
M-axis Unclamp
M-axis Clamp
Long Tool Interlock Release OFF
Long Tool Interlock Release ON
Automatic Pallet Change cycle
Work Setup Complete

15 of 16
released: July 08
Option Specification
VTM
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
(VTM??)
VTM
VTM

Lathe M-code
Ref
Man

added codes

Code Functional explanation


M0979
M0980
M0981
M0982
M0983
M0984
M0985
M0986
M0987
M0988
M0989
M0990
M0991
M0992
M0993
M0994
M0995
M0996
M0997
M0998
M0999
M1000
M1001
M1002
M1003
M1004
M1005
M1006
M1007
M1008
M1009
M1010
M1011
M1012
M1013
M1014
M1015
M1016
M1017
M1018
M1019
M1020
M1021
M1022
M1023

List
Lst2
Pgm
Spc
Sub
Yax
Gag
Gagy
Cas
Oper
Lfgl
Lflst
Lvt
lawV
Cam
Mult
Indx
smag

5238
n/a
5238
5240
5255
5253
4802
5287
5264
5241
5273
5314
5223
4813
5080
5262
5029
5005

Reference Manuals
P200 Programming Appendix
P200 Control Help list
P200 Programming
P200 Special Function (1,2,3)
P200 Sub-spindle function
P200 Y-axis function
P100 Gauging
P100 Gauging Y-function
Collision Avoidance Basic
P200 Operation (basic)
P200 LF-S Operation (inc-OGL)
P200 LF-S Operation (CE spec)
P100 Oper LVT
E100 Law-V ACC
E100 Cam lathe
P200 Multus/Macturn Operation
E100 L-Tool Index
E100 Sub-mag

16 of 16
released: July 08
Option Specification