System information
TABLE OF CONTENTS
SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) ........................................ 303
Program stop (M00)................................................................................................................ 305
Optional stop (M01)................................................................................................................ 305
Block skip ( / )......................................................................................................................... 305
End of program (M02, M30, M99)......................................................................................... 305
Spindle on/off (M03, M04, M05) ........................................................................................... 305
Tool change (M06) ................................................................................................................. 305
Coolants on/off (M07, M08, M09) ......................................................................................... 306
Clamp for rotary table (M10).................................................................................................. 306
Release clamp on rotary table (M11)...................................................................................... 306
Tool changer codes (M19-M28) ............................................................................................. 306
Disable Drives (M31) ............................................................................................................. 306
Channel (M32)........................................................................................................................ 307
Miscellaneous M codes (M65/75, M67/77, M68/78, M69/79, M50/60)................................ 307
Graphics off/on (M90, M91)................................................................................................... 307
3D Sweep off/on (M93, M94) ................................................................................................ 307
Tapered Walls (M95).............................................................................................................. 308
Rounded Walls (M96)............................................................................................................. 312
Pocket Clear (M97)................................................................................................................. 316
Subprogram call (M98)........................................................................................................... 317
Subprogram terminate (M99) ................................................................................................. 317
Preparation of subprogram...................................................................................................... 318
Subprogram execution ............................................................................................................ 319
Custom M codes ..................................................................................................................... 320
SECTION SIX - PARAMETRIC PROGRAMMING................................................................ 323
Parametric reference ............................................................................................................... 323
Parametric assignment command ........................................................................................... 323
PB byte parameter................................................................................................................... 323
Arithmetic operators ............................................................................................................... 324
Relational operators ................................................................................................................ 324
Function operators .................................................................................................................. 325
Mathematic expressions.......................................................................................................... 326
Conditional statements............................................................................................................ 326
IF-THEN................................................................................................................................. 326
WHILE-WEND ...................................................................................................................... 327
Transfer statements ................................................................................................................. 327
GOTO statement ..................................................................................................................... 328
CALL statement...................................................................................................................... 328
GOSUB and RETURN ........................................................................................................... 328
Computational functions......................................................................................................... 330
Text command ........................................................................................................................ 333
Miscellaneous Commands ...................................................................................................... 335
IPIN......................................................................................................................................... 340
OPIN ....................................................................................................................................... 340
Parts Inspection and Digitizing Commands............................................................................ 340
Back line ................................................................................................................................. 341
xii










