You are on page 1of 314

YASNAC MX3

CNC SYSTEM FOR MACHINING CENTERS

Before i!1itial operation, read these instructions thoroughly. and retain for future reference.

YASKAWA
This manual is primarily intended with 9" CRT char-
acter display (basic) to give operators instructions for
YASNAC MX3 programming, operation and maintenance.
For operation of 14" CRT character display (ACGC,
optional), refer to the instruction manual (TOE-C843-8.
31) separately provided.

This manual applies to the basic and optional fea-.


tures of YASNAC MX3. The optional features are marked
with a dagger. For the specifications of your YASNAC
MX3, refer to the machine tool builder's manual.

586-175

YASNAC MX3 Operator's Station


with 9" CRT Character Display

- ii -
CONTENTS
Page
1. PREFACE······ ~ •••.....••••••••••••••.••••••••••.••••••••••••••••••.••••••••••••••••'~•••• ~ •••••••••••••
2. PROGRAMMING •••..••••••••••••••••••••••••••••••••.•••••••••••••••.•••••••••••••••••••••••••••••••.•.•
2.1 INPUT FORMAT • • • • • • • •• • • • . . . • . • • • • . . . • • • • . • . • . • • • • . • • • • • • • • • • • • • • • • • • • • • • • . • . . • • • • • • • • • • • • • • • • • • • • • • • 1
2.2 PROGRAM NUMBER AND SEQUENCE NUMBER ••• . . ••• . • •• •. • • • • ••••• .• . . •. •••• . • • ••• •• •••• •• ••• .• . . • . . .. 6
2.3 COORDINATE WORD .................................................................................... 6
2.4 TRAVERSE AND FEED FUNCTIONS ....................................................................... 10
2.5 SPINDLE·SPEED FUNCTION (S·FUNCTION) ................................................................ 13
2.6 TOOL FUNCI10N (f·FUNCTION) •••••••••••••••....••...••••••.•.•••••..•••..•.••.••••••..••.•••••.•.•••.. 14
2.7 TOOL COMPENSATION .................................................................................. 15
2.8 MISCELLANEOUS FUNCI10NS (M·FUNCTION) ............................................................. 16
2.9 PREPARATORY FUNCTION (G·FUCNTION) ................................................................ 22
2.10 USERMESSAGEDISPLAyt ............................................................................. 99
2.11 USERMACRO (G65ANDG66) .. ••••• .... ••••• ...... ··• ........ • ........ • .... •••·• .... •·• .... •· ........ ··100
2.12 SOLIDTAPFUNCTIONt ............................................................................. ···128
2.13 AUTOMATIC CORNER OVERRIDE···· ........ • .... •···· ...... · ...... ••••• .... •·· ...... • .... ··· .. ••••··· "134
2.14 IllGH·SPEED CONTOURING FUNCTION'····· •••••••••••••••••••••••••••..•••••••••••••••••••••••••••••••• '136
3. PART PROGRAM TAPE CODING .. • ..................................................................... '''139
3.1 TAPE CODE .......................................................................... · .. ·· .. • ...... ·· .. ·139
3.2 PROGRAMMING ........................................................................................ 139
3.3 PART PROGRAM TAPE PUNCHING .... ···· ...... ·· .. · ...... • ...... ••••• .... ·· .. · ............ • .. •·· .... •• .. ·142
3.4 PART PROORAM TAPE HANDLING •••••••••••••••••••••••••••••••••••••••••••••••••••••• ··················142
4. NC OPERATOR'S STATION WITH 9" CRT CHARACTER DiSPLAy·· ...... ••• .. • .. ••• .. · .... ·• .. • .... •·· ...... ·143
4.1 PUSHBUTTONS. LAMPS AND KEYS ••.•••••••••.•..••.•••••••.•..••••••••••••..••••••..•••••••••••••.•••• '143
4.2 POWER ON/OFF OPERATION ••••••••.•••••••.•..••.••••••••••.•.•••••.•••••.••.••••••.•••••••••.•••••••• '147
4.3 DISPLAY AND WRITING OPERATION • .... • .. •· .. · .. · .. • .... •••·· .... •·· .......... • ...... • ...... • .... • .... 148
4.4 TAPE INPUT/OUTPUT OPERATIONS OF NC DATA ......................................................... '161
4.5 LOADING PART PROGRAMS INTO MEMORY .. ·· .... •···· .... •··· ...... ·•·· .... •···· .... •··· .... •• .... ·····164
4.6 EDIT ................................................................................... •• .... • .... ·····167
4.7 SUPPLEMENT TO DATA INPUT/OUTPUT INTERFACE·················· .. ·········· .. ······•······ .. ····•··· '169
4.8 TAPE VERIFYING .......................................................... ·····························172

5. MACHINE CONTROL STATION····· .. ····· .. ························ .. ····· .. ······· .... •········· .. •····• '175
5.1 SWITCIllNG UNITS ON THE CONTROL STATION ......................................................... "175
5.2 OPERATION PROCED!JR.E ................ , ............................................................... 185

6. OPERATION PROCEDURE .. ···································· .. ············· .. ···········•····· .. · .. •· '203


6.1 INSPECTION BEFORE TURNING ON POWER .............................................................. '203
6.2 TURNINGONPOWER ............................................................... ···········• .. •·· .. ·203
6.3 MANUAL OPERATION ................................................................................. "203
6.4 PREPARATION FOR STORED LEADSCREW ERROR COMPENSATION
ANDSTOREDSTROKELIMITt ................................................................. ······ .. ·204
6.5 PREPARATION FOR AUTOMATIC OPERATION .............................. , ............................ ·204
6.6 OPERATION IN TAPE AND MEMORY MODE ............................................................. '205
6.7 MANUAL OPERATION INTERRUPTING AUTOMATIC OPERATION' ........................................... '205
6.8 AUTOMATIC OPERATION IN MDI MODE ••...••••.••.•••....•••......••.••..••.••••.•.•.••••.••••..•.•.•• '205
6.9 MDI OPERATION INTERRUPTING AUTOMATIC OPERATION ................................................. 206
6.10 PREPARATION FOR TURNING OFF POWER .. · ...... ·······,··· .. •· .. · ........ · ........ • .... ····· .... •· .. ·206
6.1 I TURNING OFF POWER .••••••.••••••.....••.•.•..•.•.••••..•.•..••.•.•..•••••••..••••••...•........•.••. 206

7. MAINTENANCE·························································································· ·208
7.1 ROUTINE INSPECI10N SCHEDULE •.......•.....•...•••......•••...•.••••.•.••....••.••....•..........•• '208
7.2 BATTERY REPLACEMENT ...................................................................... ···· .... ·210
7:3 POWER SUPPLY ....................................................................................... ·211
7.4 TIlERMALOVERLOADRELAYOFSERVOUNIT ................................................. ····· .. • .. 211
7.5 MOLDED.cASECIRCUITBREAKERS (MCCB) ··• .. •·····•·· .. ··•· ...... ······•·· .... ·,··· .. ·· .... ······· .. ·213
7.6 TROUBLE CAUSES AND REMEDIES ....................................................................... 213
APPENDIX·l LIST OF SETTING NUMBERS .............................................................. ······215
APPENDIX·2 LIST OF PARAMETER NUMBERS······························································· ·227
APPENDIX·3 STORED LEADSCREW ERROR COMPENSATION ............................................... '258
APPENDIX"" LIST OF STANDARD INPUT/OUTPUT SIGNALS .................................................. '262
APPENDIX·5 LIST OF ALARM CODES ...................................................................... ·271
APPENDIX·6 LIST OF ADDRESS CHARACTERS· ............ • ........ • .... · ........ · .. •· .... •·· ........ •·• .. '299

- ill -
INDEX
Subject Chapter Par. Page
A ABSOLUTE/INCREMENTALPROGRAMM[NG(G90.G9[) ·················2········· 2.9.26 .••..•••. 92
ADDING PART PROGRAM (INSRT KEY) •..•••..•.••.............•...•. 4 ........ 4.6.4 •........• [68
ADDRESS AND FUNcnON CHARAITERS ............................. 2 .....•.• 2.1.2 .•.•...••. 3
ADDRESS KEyS············ .... · .. · .... · .. · .... · ...... · .......... ···· 4 ........ 4.1.4 .......... [45
ADDRESS SEARCH ........... ·· .. ·· .. ····· .. ·· ...... ··· .. · .. ·· .. ·· .. ·4 ........ 4.3.10 ......... 160
ALARM CODE DISPLAY .............................................. 4 ........ 4.3.12 ......... 161
ALARM CODES AND REMEDIES ...................................... 7 ........ 7.6.2 .......... 213
ALARMMESSAGEDISPLAYBY#8000COMMAND ...................... 2 .. · .... ·2.10.1 ......... 99
ALARM NUMBER OF USER MACROS .. • ...... · .. · ................ · .... · 2 ........ 2.1l.l0 ......... 123
ARGUMENT DESIGNATION ........................................... 2 ........ 2.11.2 ......... 102
AUTO MODE HANDLE OFFSET··· .. · .. · .... ·· .. ·· .... • .. ··· .. · .... ···· 2 ........ 2.9.31 ......... 98
AUTOMATIC ACCELERATION AND DECELERATION ........ · .......... • 2 ........ 2.4.5 .......... 13
AOUTOMATIC COORDINATE SYSTEM SETTING i ....................... 5 ........ 5.2.2 .......... 187
AOUTOMATICCORNEROVERRIDE ................................... 2 ........ 2.13 .......... 134
AOUTOMATIC OPERATION IN MDI MODE .............. • ...... · .... · .. • 6 ........ 6.8 ............ 205
AOUTOMATICRETURNTOREFERENCEPOINT(G28)i ................. 2 ........ 2.9.14 ........ ·214
AOUTOMATIC TOOL LENGTH MEASUREMENT i ...................... 5 ........ 5.2.3 .......... 188
AXIS INTERLOCK INPUT ............................................. 5 ........ 5.1.29 ........ ·183
B BATTERy .......... · .............. · .. · ........ · ...................... 7 ........ 7.1.3 .......... 210
BATTERY REPLACEMENT ............................................ 7 ........ 7.2 .. < . . . . . . . . 210
BEFORE MAINTENANCE CALL ........................................ 7 ........ 7.6.5 .......... 214
BUFFERREGlSTER .................................................. 2 ........ 2.1.5 .......... 5
C CABLE CONNEITOR SPECIFlCATIONS ................................. 4 ........ 4.7.4 .......... 171
CANNEDCYCLES(G73.G74.G76.G77.G80TOG89.G98.G99)i ...... · .... • 2 ........ 2.9.25 ......... 74
CAUTIONS IN PROGRAMMING .... · ........ • .................... • .... • 3 ........ 3.2.3 .......... 141
CIRCLECUTTING(G!2.G13)t ........................................ 2 ........ 2.9.9 .......... 30
CIRCUIT PROTEcrORTIUP (ALARM NO. 331 TO 335) .................... 7 ........ 7.4.1 .......... 211
CIRCULAR INTERPOLATION (G02, G03) ................................ 2 ........ 2.9.4 .......... 26
CIRCULAR PATH MODE ON/OFF ON
TooLRADIUSCOMPENSATIONC(M97.M96)t .................... 2 • ...... ·2.8.6 .......... 20
CIRCULARPROIEcnONCOMPENSATION ............................. 2 ........ 2.14.3 ......... 138
COMMAND DATA DISPLAY ...... · ............ · .. · .................. ·4 ........ 4.3.2 .......... 149
CONDmONSFORADDINGSOUDTAPFUNcnONS .................... 2 ........ 2.12.1 ........ ·128
CONSIDERATIONS AND REMARKS FOR USER MACROS ................. 2 ........ 2.11.9 ......... 120
CONSTANT DISPLAY .................................................. 4 .... · .. ·4.3.1 .......... 148
CONTROL COMMANDS .............................................. 2 ........ 2.1.6 .......... Il7
CONTROL PANEL • ...... • .. • .............................. · ........ ·7 ........ 7.l.l .......... 209
COORDINATE WORD ...................... • ........ • .. • .. • .......... · 2 ........ 2.3 ........... 6
COORDINATE WORD ................................................ · 2 ........ 2.3.1 .......... 7
CRTCHARAcrERDiSPLAY .......................................... 4 ........ 4.1.2 .......... 144
CURRENTVALUENUMERICALSETTINGFUNcnON .................. ·5 .. • .... ·5.2.9 .... ·•· .. ·200
CURSOR KEYS ....................................................... 4 • ...... ·4.1.8 .......... 146
CYCLE START PUSHBUTTON AND LAMP .............................. 5 .. • .... ·5.1.2 .......... 176
o DATA KEYS ......................................................... 4 ........ 4.l.5 .......... 145
DECIMAL POINT PROGRAMMING ..................................... 2 ........ 2.1.3 .......... 5
DELETING PART PROGRAM BLOCK ..............:..................... 4 ........ 4.6.2 .......... 167
DESCRIPTION ON PROGRAMMING .................................... 2 ........ 2.12.2 ......... 128
DISPLAY AND WRITE OF LOCAL VARIABLES
ANDCOMMONVARIABLES ..................................... 2 ...... ·.·2.11.8 ........ ·120
DISPLAY ANDWRmNGOPERA1l0N .................... • .. • ...... · .... 4 .... · .. ·4.3 ........... 148
DISPLAY IN THE i!!ll
(SETTING) FUNcnON ........................... 4 ........ 4.3.6 .......... 155
DISPLAY LOCK/MACHINE LOCK SWITCH .............................. 5 ........ 5.1.21 ........ ·180
DISPLAY OF REGISTERED PROGRAM NUMBER ........................ 4 ........ · 4.5.4 .......... 166
DISPLAYING AND RESETTING CURRENTPOsmON .................... 4 ........ 4.3.4 .. · ...... ·152
DISPLAYINGANDWRmNGPARAMETERS ............................ 4 ........ 4.3.7 .......... 158
DISPLAYINGANDWRITINGTOOLOFFSETANDWORKOFFSET ......... 4 · ...... ·4.3.5 .......... 154
DISPLAYINGON/OFF INPUT/oUTPUTSIGNALS ...................... ;·4 ........ 4.3.13 ......... 161
DRYRUNSWITCH ................................................... 5 ........ 5.1.2 .......... 180
DWELL (G04) ........................................................ 2 ........ 2.9.6 .......... 29

- iv -
INDEX (Cont'd)
Subject Chapter Par. Page
E EDIT············································,·················· 4" .... , ..•. 4.6 ••••....... 167
EDIT KEYS ....•..........••....•....•........•........•............• 4 •••.•... 4.1.10 .••.•..•. 146 .
EDIT LOCK SWITCH i ..••..............•.••..•••....•......••...•••.. 5 •. : ..•.• 5.1.28 ..•..•.•. 183
EIA/ISO AUTO-SELECT .•.......•••..•••.............•...•....•..... 3 ..• , ..•• 3.1.2 .••••....• 139
EMERGENCYSTOPPUSHBUTTON ····································5 ·····::·5.1.4 ·······:··176
EXACT STOP (G09, G61, G64) .......................................... 2 ........ 2.9.7 .......... 29
EXERCISES OF USER MACRO ......................................... 2 ........ 2.11.11 ........ 123
EXTERNALDECELERA110NINPUTSIGNALSi .. ··· .. ••· .. · .. · ...... ··5 ........ 5.1.30 ......... 183
F FI-DIGITPROGRAMMINGi .......................................... 2 : ...... ·2.4.4 .......... 12
FEED HOLD PUSHBUTTON AND LAMp .............................. · .. 5 ........ 5.1.3 ..... .'.... 176
FEED STOP AJNCTION BY SENSOR SIGNAL ............................ 5 ........ 5.2.10 ......... 200
FEEDRATE (F FUNCTION) ............................................. 2 ........ 2.4.2 .......... 11
FEEDRATE 1/10 ...................................................... 2 : ..... ;. 2.4.3 .......... 12
FEEDRATEOVERRIDECANCELSWITCH .............................. 5 ........ 5.1.13 ........ ·179
FEEDRATEOVERRIDESWITCH ...................................... 5 ........ 5.1.I2A ...... ;·178
FEEDRATE,SPINDLESPEEDEDITINGAJNCTION ........................ 5 .... ' .. ·5.2.7,.......... 197
5TH AXIS CONTROL i ................................................ 2 ........ 2.3.6.......... 9
5THAXISNEGLECTINPUT .......................................... ·5 ........ 5.1.22C ........ 181
FORMCOMPENSA110NFUNCTION .................................. ·2 ........ 2.14.2 .. • ........ 136
4TH AXIS CONTROL i ............................................ '" 2 ........ 2.3.5 .......... 8
4TH AXIS NEGLECT INPUT ........................................... 5 ........ 5.1.22B ........ 181
FUNCTION KEYS .................................................... 4 ........ 4.1.3 .......... 144
G GENERAL PART PROGRAM FORM .................................... ·3 ........ 3.2.2 .......... 141
H H- AND D-FUNCTION (H, D CODES) ................................... 2 ........ 2.7.3 .......... 15
HANDLEAXISSELECTSWITCHi .. ··• .. · .... • .. ··· .. · .. · .. ··· .. ··· .. ·5 ........ 5.1.6 ...... ····176
HANDLE DIAL i (MANUAL PULSE GENERATOR) ....................... 5 ........ 5.1.5 .......... 176
HANDLE DIALS FOR SIMULTANEOUS CONTROL OF
UPTOTHREEAXESi .......................................... ·5 ........ 5.1.8 .......... 177
HEUCAL INTERPOLATION (G02, G03) i ............................... 2 ........ 2.9.5 .......... 28
HIGH-SPEED CONTOURING FUNCTION- ............................... 2 ........ 2.14 .. · .. • .... · 136
HOLE PATTERN CYCLES (G70, G71, G72) i ............................. 2 ........ 2.9.24 ......... 72
IMPORTANT ALARM CODES .......................................... 7 ........ 7.6.4 .......... 214
INCH/METRICDESIGNATIONBYGCODE(G20,G21)i .... · .. ·••· .. ··· .. ·2 .. •• .. ··2.9.11 ......... 33
INPUT FORMAT' ..................................................... 2 ........ 2.1 ... . .. .. . . . I
INPUT FORMAT ..................................................... 2 ........ 2.1.1 ..... ..... I
INPUT/OUTPUT SIGNALS ............................................. 7 ........ 7.6.3 .......... 213
INPUTTING SETTING DATA AND PARAMETER DATA .................. ·4 ........ 4.4.2 .......... 162
INPUTTINGTOOLOFFSETSFROMTAPE ............................... 4 ........ 4.4.1 .. · .... ···161
INSPECTION BEFORE TURNING ON POWER ............................ 6 ........ 6.1 ........... 203
INTERNAL TOGGLE SWITCHES ....................................... 4 ........ 4.3.8 .......... 159
J JOGFEEDRATEOVERRIDESWITCHt ................................ ·5 ........ 5.1.I2B ........ 179
JOG FEEDRATE SWITCH ............................................. 5 ........ 5.1.10 ......... 178
JOGPUSHBUTTONS ................................................. 5 ........ 5.1.9 .... · .. ···177
K KEEPINGNCTAPE .................................................. ·3 ........ 3.4.2 .......... 142 I···

L LABELSKIPFUNCTION .............................................. 2 ........ 2.1.4 .......... 5


LEASTINPUT INCREMENT AND LEAST OUTPUT INCREMENT ........... 2 ........ 2.3.7 .......... 9
LINEAR INTERPOLATION (GOI) ...................................... 2 ........ 2.9.3 .......... 25
UST OF ADDRESS CHARACTERS ................................ APPENDIX-6 ................... 299
UST OF ALARM CODES ........................................ APPENDIX-5 ................... 271
USTOFGCODESANDGROUPS · .. ··· .. ···· .... · .... · .... ····· .. • .. ··2 ·· .... ··2.9.1 .......... 22
. UST OF PARAMETER NUMBERS ............................. .... APPENDIX-2 ................... 227
'USTOFSETTINGNUMBERS ................................... APPENDIX-I .. ·· .. • .... · ...... ·215
UST OF STANDARD INPUT/OUTPUT SIGNALS .................. , APPENDlX-4 ................... 262
LOADING PART PROGRAMS BY MDI .................................. 4 ........ 4.5.3 .......... 166
LOADING PART PROGRAM TAPE INTO MEMORY ·· .. ····· .. · .. · .. ·······4 ........ 4.5.1 .......... 164
LOADING PART PROGRAMS INTO MEMORY .......................... 4 ........ 4.5 ............ 164

- v -
INDEX (Conl'd)
Subject Chapter Par. Page
M M CODES FOR INTERNAL PROCESSING (M90TO M199) ·················2 ........ 2.8.2 ........•. 17
MCODESFORSTOP(MOO,MOI,M02,M30) · .. ·· .. · .... · .... · .. · .. ·· .. ··2 ···· .. ··2.8.1···· .... ··• 16
M-FUNCTION LOCK SWITCH (AUXILIARY FUNCTION LOCK) ............ 5 ........ 5.1.23 ......... 182
MACHINE CONTROL STATION ........................................ 5·· .. · .. ··· .. ·······; .. · .. 175
MACHINING INTERRUPTION POINT RETURN FUNCTION' ............... 5 ........ 5.2.8 .......... 199
MAINTENANCE' ..................................................... 7 .................... '.... 208
MAKING ADDITION TO A PART PROGRAM .. · .. ·········· .. · .. · .. ······ 4 ........ 4.5.2 ..... : .. :. 165
MANUAL ABSOLUTE SWITCH ........................................ 5 ........ 5.1.24 ......... 182
MANUAL CENTERING FUNCTION .................................... 5 ........ 5.2.11 ·· ....... ·200
MANUAL OPERATION ................................................ 6 ........ 6.3·· .. •····· .. 203
MANUAL OPERATION INTERRUPTING AUTOMATIC OPERATION .. ······ 6 ........ 6.7 ........... 205
MANUALPULSEMULTlPLYSELECTSWITCHt ·· .. ··· .. ······ .... · .. ·5 · .. ·····5.1.7 .. · ....... 176
MANUALREFERENCEPOINTRETURNSWITCHt ....................... 5 ........ 5.1.15 ........ ·179
MANUALRETURNTOREFERENCEPOINT ............................... 5 ........ 5.2.1 .... : ..... 185
MANUALSKIPFUNCTION ............................................ · 5 ........ 5.2.. 6 ...... ·C .. 196
MAXIMUM PROGRAMMABLE DIMENSIONS' ........................... 2 ........ 2.3.8 .......... 10
MDI OPERATION INTERRUPTING AUTOMATIC OPERATION ............ · 6 ........ 6.9 .: ... ; ..... : 206
MEMDATA(MEMORYDATA)KEYS .. ··· .. · .. ·· .. · .. · .... · .. · .. ·· .. ··4 ... ; .... 4.1.11 •· .. ·;···146
MESSAGEDISPLAYBYCONTROL-OUTANDCONTROL-IN···· .. · .... ···· 2 ...... ··2.10.2 ......... 99
MIRROR IMAGE AXIS SELECTOR SWITCH ............................. 5 ........ 5.1.25 ......... 182
MIRRORIMAGE'ON/OFF(M95,M94) .................................. 2 .. · .... ·2.8.5 .......... 17
MiSCELLANEOUS FUNCTION (M-FVNCTION) ........................... 2 ........ 2.8 ............ 16
MODE SELECT SWITCH .............................................. 5 ........ 5.1.1 .......... 175
MODIFYING PART PROGRAM BLOCK ................................. 4 ........ 4.6.3 .......... 168
MOLDED-CASE CIRCUIT BREAKERS (MCCB) ........................... 7 ........ 7.5 ............ 213
MULTI-ACTIVE REGISTERS ON/OFF (M93. M92) t ....................... 2 ........ 2.8.4 .......... 17
MULTI-ACfIVEREGISTERSt ........................................ 2 ........ 2.1.6 .......... 5
N NCOPERATOR'SSTATIONWITH9"CRTCHARACTERDISPLAY · .... • .. ·4 · ...... •· .. ·•· .. · .. ·· .. ·143
NCTAPECHECK .................................................... 3 ........ 3.3.3 .......... 142
NCTAPEPUNCH .................................................... 3 ........ 3.3.2 .......... 142
NEXT KEY .......................................................... 4 · ...... ·4.1.6 .. • ...... ·145
o ON-LINE DIAGNOSTICS .............................................. 7 ........ 7.6.1 .......... 213
OPERATION COMMANDS"" .......................................... 2 ........ 2.11.5 ......... 115
OPERATION IN TAPE AND MEMORY MODE · .... ··· .. • .. ··· .. ·········6 · .. · .. ··6.6 · .. · ...... ·205
OPERATION PROCEDURE ............................................ 5 ........ 5.2 ........... 185
OPERATION PROCEDURE ............................................ 6 ........................ 203
OPERATlONTlMEDISPLAY· .... · .. ·· .................................. 4 ........ 4.3.9 ·· .. · .... ·159
OPERATIONS USING DATA INPUT/OUTPUT INTERFACE ................ · 4 ........ 4.7.5 .......... 172
OPTIONAL BLOCK SKIP (II -!9) t ...................................... 2 ........ 2.2.3 .......... 6
OPTIONALBLOCKSKIPSWITCH ··· .. ··· .. ······ .... ··· .. ···· .... ····5 ........ 5.1.19 ......... 180
OPTIONAL STOP SWITCH ............................................ 5 ........ 5.1.18 ......... 180
ORG (ORIGIN) KEY .................................................. 4 ........ 4.1.9 .......... 146
OTHER M CODES .................................................... 2 ........ 2.8.8 .......... 22
OUTLINE OF TOOL COMPENSATION' ................................... 2 ........ 2.7.1 .......... 15
OUTPUTTINGPARTPROGRAMTOPAPERTAPE .. ·:·· .. · .... · .... · .. ····4 ···· .. ··4.4.5 .......... 163
OUTPUTTING SETTING DATA AND PARAMETER DATA TO
PAPER TAPE .. ··· .. • .. ··· .. · .. ·· .. ···· .. ····· .. ··· .. ···· .. ······ 4 ........ 4.4.4 .......... 162
OUTPUTTING TOOL OFFSETS TO PAPER TAPE ......................... 4 ......... 4.4.3 .......... 162
OVERLOAD (ALARM NO. 351 TO 355) .................................. 7 ........ 7.4.2 .......... 212
OVERVIEW ......................................................... 2 ........ 2.14.1 ......... 136
OVERVIEW OF USER MACRO BODY ................................. : 2 ........ 2.11.3 ......... 104
P PAGE KEYS ......................................................... 4 ........ 4.1.7 .......... 146
PAPER TAPE SELECT .. · .. ··· .... · .. · .... · .. ··· .. · .. ··· .. ····· .. · .. ···· 3 ........ 3.3.1 .......... 142
PART PROGRAM DISPLAY ......................... ··· .. ····•• .. ······4 '" ..... 4.6.1 .......... 167
PART PROGRAM TAPE CODING ....................................... 3 ........................ 139
PART PROGRAM TAPE HANDLING···· .. ······ .. ··········· .. ········· 3 ........ 3.4····· .... ··· 142

- vi -
INDEX (Cont'd)
Subject Chapter Par. Page
P PART PROGRAM TAPE PUNCHING .•.............•..••..••.•...••.••.. 3 ••...••. 3.3 .•.•....... 142
"+5V.±12V"LEDS(RED)UT ........................................ • 7 ........ 7.3.2 .......... 211
"+24V"LED(RED)UT .............................................. ·7 ........ 7.3.3 .. • ...... ·211
PLANE DESIGNATION (Gl7,GI8,GI9) ................................. 2 .. · .... ·2.9.10 ......... 33
PLAYBACKFUNCTIONt ............................................. 5 .. • .... ·5.2.5 .......... 193
POsmONING(GOO,G06) .............................................. 2 ........ 2.9.2 .......... 25
POWER ON/OFF OPERATION .......................................... 4 ........ 4.2 ............ 147
POWERON/OFFPUSHBUTTONS ....................................... 4 ........ 4.!.! .......... 144
POWERSUPPLY ..................................................... 7 ........ 7.3 ............ 211
PREFACE ...................... , ............... , ..................... I" ..................... ..
PREPARATION FOR AUTOMATIC OPERATION ......................... 6 .. " .... 6.5 ...... "". 204
PREPARATION FOR STORED LEADSCREW ERROR COMPENSATION
AND STORED STROKE UMIT t " " ............ " " ........... ,,". 6 '''''''' 6.4 " " ....... 204
PREPARATION FOR TURNING OFF POWER .................. ·" .... • .. · 6 .. ,," .. 6.10" ........ • 206
PREPARATORY FUNCTION (G-FUNCTION) ............................. 2 ........ 2.9 ........... 22
PROCESS SHEET .... " .............. " .... · .... " .. ·" .......... " .. ·3 '''''''' 3.2.1 "":';'''139
PROGRAM COPY t (025) .......... " .. " ...... ··"" ...... " " .... " .. 2 ........ 2.9.12B .... ". 35
PROGRAMINTERRUPTIONON/OFF(M91,M9O)t " ...... " ............. 2 " " .... 2.8.3 .......... 17
PROGRAM NUMBER .................. " ...... " " " ...... " ........ 2 .. " .... 2.2.1 .... ".... 6
PROGRAM NUMBER AND SEQUENCE NUMBER .... " .................. 2 " ...... 2.2 ........ ". 6
PROGRAM RESTART t ................ " " ........ " ..... " ......... 5 " ...... 5.2.4 .... " " .. 190
PROGRAMMING ..................................... " ........... " .. 2 ........................ I
PROGRAMMING ..................................................... 3 .. · ...... 3.2 " ......... 139
PROGRAMMING OF ABSOLUTE ZERO POINT (G92) .. " ........ " " ..... 2 " ..... , 2.9.27 ...... ". 92
PUSHBUTTONS, LAMPS AND KEyS·· .... · .. ··· .. ··· .. ·· ...... ··· .. ·· .. 4 ........ 4.1 ............ 143
R RAPIDTRAVERSERATE " .. " ........... " ...... " .................. 2 ........ 2.4.1 .... " " .. 10
RAPIDTRAVERSERATEOVERRIDESWITCH .............. " .......... 5 " ...... 5.!.!1 ..· ...... ·178
REFERENCE POINT CHECK (G27) t ......... " ............... " ........ 2 ........ 2.9.13 .... "". 37
REFERENCE POINT LAMPS t " ...................... " ...... " ""'" 5 " ...... 5.!.!6 ..... ,," 179
REGISTRATION OF USER MACROS .................................... 2 ........ 2.11.7 ......... 119
REMOTE POWER ON/OFF PUSHBUTTONS ........ " ... " " ........ ,, ... 4 " ...... 4.2.3 .......... 148
RESET KEY ................. " .. " ................. " ......... " .... 4 " " .... 4.!.!2 ......... 146
RETURNFROMREFERENCEZERO(G29)t ................. " ...... " .. 2 .. " .... 2.9.15 " .... ". 39
ROTATION OF COORDINATES (G68,G69)" ............ " .. • .... "· .. ,, .. 2 " ...... 2.9.29 .... "". 97
ROUTINE INSPECTION SCHEDULE ......... " ....... " ................ 7 ........ 7.1 ........... 208
S S 2·DIGIT PROGRAMMING·· .... ···· .... ···· .... · .... · .... • .. ··· .. ,,·· 2 ., ...... 2.5.1 ......... 13
S 5-DIGIT PROGRAMMING .. ·" ........ ·" ........ " .... ·" .. " " .... · 2 " ...... 2.5.2 ...... ". 14
SCALING FUNCTION (G50, G51) t ............... " .................... 2 '''''''' 2.9.21 "....... 61
2ND MISCELLANEOUS FUNCTION (B-FUNCTION) t ................ , , " 2 .. " .... 2.8.9 • • .. . . . .. 22
2ND, 3RD AND 4TH REFERENCE POINT RETURN (G30) t ................ 2 " ...... 2.9.16 ...... ". 40
SEQUENCE NO. COLLATION STOP FUNCTION ............ " ............ 4 " ...... 4.3.11 ......... 160
SEQUENCE NUMBER" .... " .............. " .................... " '" 2 .. " .... 2.2.2 .......... 6
SERVO ALARM (ALARM NO. 391 TO 395) ........ " ........ " .......... 7 ........ 7.4.3 ....... ". 212
SERVOMOTOR AND DC MOTOR FOR SPiNDLE··· .... ··· .. ··· .. ··· .. ,,·· 7 ., ...... 7.1.2 .......... 209
SETTING AND PARAMETER TAPE VERIFYING .. ·•• .... · .. ••· .. ,,···· .. · 4 ........ 4.8.1 ....... ". 172
SETI1NG OF BAUD RATE AND OTHERS OF
SERIAL INTERFACE ........ " .............. " .. " .. ; .... " ... " .. 4 .. " .... 4.7.3 .... " .... 170
SETTIGN OF DATA lNPUT/OUTPUTINTERFACETO BE USED ... " ....... 4 ........ 4.7.2 ...... " .. 170
SETTING OF LOCAL COORDINATE SYSTEM (G52) t ..................... 2 ........ 2.9.30 ......... 98
SIMULTANEOUSL Y CONTROLLABLE AXES OF .
FIVE-AXIS CONTROL t ......... " " .. " .. " ........... " .. . .. ... 2 ........ 2.3.4 ....... ". 8
SIMULT ANEOUSL Y CONTROLLABLE AXES OF
FOUR-AXIS CONTROL t ..................... " ......... " ..... " " 2 ........ 2.3.3 .......... 7
SIMULTANEOUSLY CONTROLLABLE AXES OF
THREE-AXIS CONTROL' ......................................... '" 2 ........ 2.3.2 .......... 7
SINGLE BLOCK SWITCH" .... " " ...... " .......... " .... " " " ...... 5 " " " " 5.!.!7 " ....... 179
SKiPFUNCTION(G3I)t •· .. ··· .. ··· .. ··• .. ··· .. ,,···· .. ·,· .. ··· .. ····2 ··•• .. ··2.9.17 ......... 40
SOUDTAPFUNCTIONt ...... " .......... " ...... " ...... " ...... " .. 2 .. " .... 2.12 .......... 128
SOUD TAP AND ITS RELATION WITH
SPINDLECONTROLI/O .......................................... 2 ........ 2.12.4 ......... 130

- vii -
INDEX (Cont'd)
Subject Chapter Par. Page
s SOUDTAPRELATEDFUNCTION •.•.•........•..... ··················2 .. .. .... 2.12.3 ......... 130
SOUDTAPRELATEDPARAMETER ..•......•.••..•..•••..•..•......... 2 ........ 2.12.5 ......... 131
"SOURCE" LED [GREEN) UNIT ........................................ 7 7.. 3.1 ........ ·211
SPINDLE INDEXING FUNCTION' ....................................... 5 ........ 5.. 2.12 ........ • 200
SPINDLE SPEED OVERRIDE SWITCH t ................................. 5 ........ 5.1.14 ......... 179
SPINDLE-SPEED FUNCTION (S-FUNCTION) ............................ 2 ........ 2.5 ........... 13
SPUCINGNCTAPE .................................................. 3 ........ 3.4.1 .......... 142
STARTLOCKINPlIT(ORSWITCH)t .................................. ·5 ........ 5.1.27 ......... 183
STORED LEADSCREW ERROR COMPENSATION .. · .. ·• .... ·...... APPENDIX-3 .... · ............ ·;· 258
STORED STROKE UMIT (G22,G23) t .................. • ...... • ........ ·2 ........ 2.9.12A ........ 34
SUBROlJflNE PROGRAM (M98, M99) ...................... - ........... 2 ........ 2.8.7 .......... 21
SUMMARY OF EDITING OPERATION ........ • ........................ ·4 ........ 4.8.4 .......... 174
SUPPLEMENTTODATAINPlITlOlITPlITINTERFACE .................. ·4 ........ 4.7 .......... ·169
SWITCHING UNITS ON THE CONTROL STATION ........................ 5 ........ 5.1 ............ 175
T T2-DIGITPROGRAMMING ........................................... 2 ........ 2.6.1 .. : ....... 14
T4-DIGITt PROGRAMMING" ........................................ 2 ........ 2.6.2 .......... 14
TAPE CODE ......................................................... 3 ........ 3.1 ........... 139
TAPE CODE ......................................................... 3 ........ 3.1.1 .......... • 139
TAPE INPlITlOlITPlIT OPERATIONS OF NC DATA ...................... 4 ........ 4.4 ........... 161
TAPE VERIFYING .................................................... 4 ........ 4.8 ............ 172
THERMAL OVERLOADERELAY OF SERVO UNIT ...................... ·7 ........ 7.4 .......... ·211
THIRDTOHFTHSTOREDSTROKEt .................................. 5 ........ 5.1.31 .......... 184
TOOL COMPENSATION' ............................................... 2 ........ 2.7 ........... 15
TooLFUNCTION(T-FUNCTION) ....................................... 2 ........ 2.6 ........... 14
TOOL LENGTH COMPENSATION (G43, G44,G49) t ...................... 2 ........ 2.9.19 ......... 54
TOOL LENGTH MEASUREMENT PUSHBlITTON AND LAMP; ............ 5 ........ 5.1.26 ......... 183
TOOL UFECONTROL (GI22,Gl23) .................................... 2 ........ 2.9.28 .......... 93
TOOLOFFSETMEMORY · .... · ...... ···· .. ·· .. ·· .. •··· .. ·· ...... ·· .. ·2 ........ 2.7.2 .......... IS
TooLOFFSETVALUEDESIGNATION(GlO) .. · .... , ...................... 2 ........ 2.9.8 .......... 30
TOOL OFFSET VALVE TAPE VERIFYING ............................... 4 ........ 4.8.2 .......... 172
TOOL POSITION OFFSET (G45 TO G48) ................. , ............... 2 ........ 2.9.20 ......... 56
TOOLRADIUSCOMPENSATIONC(G40,G41,G42)t ······ .. · .. ··· .. ····2 ........ 2.9.18 .. · .... • .. 41
TRAVERSE AND FEED FUNCTIONS ................................... , 2 , ....... 2.4 .. .. . .. .. .. . 10
TROUBLE CAUSES AND REMEDIES ................................... 7 ........ 7.6 .......... • .. 213
TURNlNGOFFPOWER .................................... ··· .. ··· .. ·4 ........ 4.2.2 · .. ·· .. ···147
TURNING OFF POWER ................................................ 6 ........ 6.11 .......... 206
TURNING ON POWER ................................................ 4 ........ 4.2.1 .......... 147
TURNING ON POWER" ............................................... 6 ........ 6.2· .. · ........ 203
TYPES AND FUNCTIONS OF INTERFACE" .............................. 4 ........ 4.7.1 .......... 169
U UNIDIRECTIONAL APPROACH (G60); ................................ 2 ........ 2.9.23 ......... 71
USER MACRO (G65 AND G66) ......................................... 2 ........ 2.11 ........... 100
USER MACRO CALL COMMANDS ..................................... 2 ........ 2.11.1 ........ ·100
USER MESSAGE DISPLAY t ........................................... 2 ........ 2.10 .......... 99
V VARIABLES ...... · ........ · ......................................... 2 ........ 2.11.4 ......... 104
VERIFYING PART PROGRAM TAPE ............... , .................... 4 · .. · .. ··4.8.3 .......... 172
W WORKCOORDINATESYSTEMSETTlNGA(G52TOG59)t ··" .. · .. ··· .. ·2 ........ 2.9.22A ........ 63
WORKCOORDINATESYSTEMSETTlNGB(G52TOG59)t ·· .. ··· .. ··· .. ·2 ... , .... 2.9.22B ........ 65
WORKCOORDINATESYSTEMSETTlNGC(G52TOG59); · ........ , .... ·2 ........ 2.9.22C ........ 68
WRITING IN BLOCKS AND DISPLAYING CONTENTS BY MDI ............ 4 ........ 4.3.3 .......... lSI
Z Z-AXISFEEDNEGLECTSWITCH ................ • .......... · ...... · .. ·5 ........ 5.U2A ........ 181

- viii -
1. PREFACE
When reading this manual keep in mind that the Unless otherwise specified, the following rules
information contained herein does not cover every apply to the description of programming exam-
possible contingency which might be met during ples shown in this manual.
the operation. Any operation not described in
this manual should not be" attempted with the
control.
Absolute Zero Point: -$-
Reference Zero Point
The functions and performance as NC machine are
determined by a combination of machine and the (Return to refer'S'e zero by manual and auto-
matic return): .
NC control. For operation of your NC machine.
the machine tool builder's manual shall take pri-
Dimensions: in MM
ority over this manual.
The illustration of· machine control station should
be used for your reference in understanding the
function. For detailed array of operatorUs devices
and names, refer to machine tool builder's manual.

2. PROGRMMING

2.1 INPUT FORMAT

2.1.1 INPUT FORMAT

A variable block format conforming to JIS#B Table 2.1 shows the input format. Numerals
6313 is used for YASNAC MX3. following the address characters in Table 2.1
indicate the programmable number of digits.

EXAMPLE

X + 5 3
T
1
Down to third decimal place } in mm
T Five digits of integer
or
inches

Sign

Address character: X

Note:
A decimal point should be omitted in actual pro- Metric input format
gramming, when you make a program including
decimal points. refer to 2.1.3." DECIMAL POINT 04 N4 G3 a+43 F5 S2 T2 M3 D(H)2 B3:
PROGRAMMING" on page 5. Inch input format

The leading zeros can be suppressed for all ad- 04 N4 G3 a+34 F31 S2 T2 M3 D(H)2 B3;
dress codes. Plus signs need not be programmed.
Notes:
but all minus signs must be programmed.
II a II represents X •. y. Z. I. J or K.
In the mil-nual, EOB (end of block) code in a pro-
gram example is represen ted by a semicolon (;). p. Q J Rand L are omitted in the above format
In actual programming. CR (EIA code) or LF/NL because they are used for various meanings.
(Iso code) should be used instead of the semi-
colon (:).

# Japanese Industrial Standard

1
;., .
2.1.1 INPUT FORMAT (CONT'D)

"; i ; ' ':. . , ': i:~ \

Table 2.1 Inpu~,Jf~rtp,<:t.~ d:oi _ [" .. '


.;;:, ........:..."':::-

B'asic
No.
Optional

Pr,ogram No. 04 04 B
~ .
2 .Seq uen..ce N 0'. ~ ..;. "~ N4

3
..)
:. ·"."·G function G3'l. .G3·

:~.+ 53 ,a + 44 B
4. Cordi nate
Word
o'

b + 53 ,b + 53 b + 53 o
5 :'Feed/min .-.' F50 F31 F50 F41 'C- 'B

6 F32 ,:.. , F51 B

e--' 52 B
7 S- function_ °
,
55 55 :,.:,"'... ;.",;,.'
.... -,- TZ .T._.?.:... :"i:'~"_:';"'" ~B
8 -:j'i-'--""'----+--'"'-------,;-"',---,,!""' . ;'.:,-<.~---'-;- -
.. ~>" T4 'T4" " ' , . '0
. -~.~~----

'.i::.:..,., •••...
9 M-function o' M3 ,B
.".:
10 ...__ .H2 or D2 HZ o~ Di ..... -,,'.
'

11 B-function 'r.:~ . __ ._ :'~ B3


""',
:J?3
------ '--,-,''''' .,:

12 P53

13 P1
;
14 Sequrn.ce N<? d~gna~ .! P4 !. P4.; .. ~B

15 .'.
L8
. - .... - - -."

..•. ";'" :i
,j
., ~ r::'

','.

: 0.---:- ---.:: __ _

-. -.-. -';
, l'_

:~; :·r·

~·I,~ .. ' .. ' '.

. ...
2
1 ,.,'.
2.1.2 ADDRESS AND F,iJ1-ICTION CHARA~TERS

Address characters and their meaning:;>. Jre' sh6wlI


in Table 2.2.

' ,
··.fr·'1T
, ····rr, ",,; ..
Address
Characters
,....
'>~p.:-
'.,.
~
if!
"
.'
·<MI!anlngR .': B :,;, Basic
{) :.'.,'O;'tional
A
';1 :
Aclditiori'ir i-trbiry a:ds I'hr':.dleJ to X- i-l.Kitl . .' . .,7· 0"
. " .~ . ',,-:::~.. ~.,--.;:-=.-~ ...- .....;:,--:-..~--~ ~'-"" - . " ',i"

Add~ ti6~~'l'~:r?'!~ry
...-------. -,_... _-_ .........
B axls f}ill;i1llel to Y-'ilxi~ 0

C Adc1it\o.nai· r,otary axis parallel to L::-.axb •. 9,


.
• ".; '. ! , , \ r'
. _-
D Tool r'~diu.~. offset number B; 0

'E User macro character 0

.. F Feedrate _.. "" B

G Preparatory function B, 0

H Tool len gth offset number B


.. ~.

I X -coordina.t~ of arc center B


Radius for circle cutting O·
Y-coordiriate' ~f arc center
J B •. 0..
Cutting depth for circle cutting
K ~ -coordiI~ht~" arc center B
.
L Number of repetitions B. 0
" "

M Mi~cellaneou~::'f~ctions . B
.. _._. -
\ N .,",'
:·'Se·qu~nc~.~~ ~~'ber . B
., , ..
0 Program number B
: . I;. ,-.1.
. p Dwell lime. ,-"Program
designati?~",i~ subprogram
No. and sequence No. B
0

. Q Depth of i¢i.tiJ:. shift of canned cycles 0

R Point R fo~fcari~e~ cycles


' h 0, B
Radius dEfsi'gnatioto of a circular arc
S ?pin(pe-speed function B,
" ,.
T Tool function·, B

U "Additional.linear axis parallel to X -axis 0' "

"
._h
-
linear axis. parallel to V-axis
V Additional~
,. <- ," 0

W
,.
°fA ddi. tiomil t-'lil1ear
'-~'~
axis parallel to Z-axis 0,
.. " ',.\,:" "
X X ,coordirLaJ..e~: : B
:".
---.---.~
c:' C:J.
y Y -:coordina ten B
....'

Z~coordin·at.e(l
• 'I"!
~---
--
.-.-......... ,. -
Z B

" "
, , ,

3
2.1.2 ADDRESS AND FUNCTION CHARACTERS (CONT'D)

Table 2.3 Function Characters

EIA Code ISO Code Meanings Remarks

Error in significant data area in EIA /


Blank Nul
Disregarded in ISO

BS BS Disregarded
/

Tab HT Disregarded

CR LF /NL End of Block (EOB)

~ CR Disregarded

SP SP Space

ER' % Rewind stop

UC
~ Upper shift

LC
~ Lower shift

2-4-5 bits ( Control out (Comment start)


ElA:
2- 4- 7 bits ) Control in (Comment end) Special
code
+ + Disregarded. User macro operator

- - Minus sign. User macro operator

o to 9 o to 9 Numerals

a to z A to Z Address characters. User macro operator

/ / Optional block skip

Del DEL Disregarded (Including All Mark)

Decimal poin t

Parameter
setting
# Sharp (Variable)

Astrisk (Multiplication operator)


* *
= = Equal mark

[ [ Left bracket
EIA:
J J Right bracket
Special
code
0 : User macro operator

$ $ User macro operator

@ @ User macro operator

? ? User macro operator

Notes:
1. Characters other than the above cause error in significant data area.
2. Information between Control Out and Control In is ignored as insignificant data.
3. Tape code (EIA or ISO) can be switched by setting.

4
2.1. 3 DECIMAL POINT PROGRAMMING ~.'12~) .·5~ !lUFFER REGISTER
I\: ( ~1' ",!',
Numerals containing a decimal point may 1:?e. ,-!§eq~: ::::O't.i.riIrg:normatoperation,! one block of data is
as the dimensional' data of addresses rela"fed ';tq "..--:. ""'·... r·ead .. i'n ....ad.vance~ and compensation computing is
coordinates (distance), time and speed. ';::;.,..' '. iJ.';~\ jJ~ mad~.::f~r..... the~ f911ow-on operation.
Decimal points can be used in the followi~;'g'ad:! .. ,...,,, -,' ':"" :Ifi'~ne~too'r~i-~dius compensation C+ mode. two
dress words. . f ;'...1,", "F';!~t < ,IJ~ 'III;
-".
b)ock~ (;'( cHiia"or- •
up to 4: blocks of data are read
' .
Coordinate words: X, y. Z, I. J. K, A /,',B / ·G, pt . f. 'n~1 it( 'a'~~a1J:se,;~~d' compensa,tion computing required
h ., d 0 bl k
. or t e next operatlOll. 15lexecute. ne DC can
U.V,W.Q. R ,;,;'; ..).; !-"i :!:':. dmtaih-;-up-.:to ~28 characters including EOB.
Time word: P f; j" ,"
• ~I
Feed ra te word: F
2.1;6' MULTI-ACTIVE REGISTERS t
EXAMPLE
F:or the portion of part programs sandwiched in
[ mm] [inch] between M93 and M92. up to 4 blocks of data are
read in advance.
X 15. X15.000 mm or XIS. 0000 inches

Y20.5 - - - Y20.500 mm or Y20,5000)nshes


M code Meaning
(G94)F25.6 - F25,0 mm/min or F25.6 inches/min
(for F4.0) (for F3, I) M92 Multi-active register off

G04P 1. - - - Dwell 1.000 sec M93 Multi-aftive register on

Normally. when data without a decimal point is Note: When power is applied or the control is
input, the control regards nln as 0.001 mm reset, the control is in the state of M code
(or 0.0001 inches, or 0.001 deg.). marked with -,.

Inter-block stoppage can be eliminated when the


program is so made that ;the automatic operation
2.1. q LABEL SKIP FUNCTION time of advance reading of 4 blocks is longer than
processing time of advan'ce reading of next 4
In the cases named below. the label skip function blocks of data. f
becomes effective. and LSK is displayed on the
CRT. Note: I
When the power supply is turned on. Advance reading is not ITIade for every 4 blocks
but is always ready to be made up to 4 blocks in
When the RESET key is pushed,
M93 mode,
While the label skip function is effective. all data
on the punched tape up to the first EOB code are
neglected. When LSK is displayed on the CRT in
the MEM (memory) or EDIT (editing) mode. it in-
dicates the presence of a poin.~er at the leading
end of the part program.

5
2.2 PROGRAM NUMIiliR AND SEQUENCE NUMIiliR When searching for sequence numbers, be sure
to search or specify program numbers before-
2.2.1 PROGRAM NUMBER hand.

Program numbers may be prefixed to programs Notes:


for the purpose of program identification.
When 5 or more digits are written as a sequence
Up to 4 digits may be written after an address number, only the digits up to the 4th from the
character II 011 as program numbers. Up to 99 trailing end are effective.
program numbers can be registered in the con-
When two or more blocks have the same sequence
trol. and up to 199 or 999 can be registered
number, only one is retrieved and read, and
employing an option.
no more searching is performed.
One program begins with a program number, and
Blocks without sequence numbers can also be
ends with M02, M30 or M99. M02 and M30 are
searched for with respect to the address data
placed at the ends of main programs. and M99 is
contained in the blocks.
placed at the ends of subprograms.

< ~--------~)J~----------~
% 010; ..... M02;

'---~v~--~
01234;·· ... M99;

57 '~-~v~--'
% < 2.2.3 OPTIONAL BLOCK SKIP (11· - /9)t

Those blocks in which II I n l1 (n = I - 9) is includ-


ed are neglected between In and the end of that
block, when the external optional block skip
PROGRAM WITH PROGRAM WITH switch for that number unl! is on.
PROGRAM NO. 10 PROGRAM NO. 1234
EXAMPLE
ER (or % at ISO code) is punched on the tape at
/2 N1234 GOI XIOO /3 Y200;
the top and end of the program.
When the switch for 12 is on. the entire block is
Notes: neglected, and when the switch for 13 is on, this
block is read as if
The blocks for optional block skip such as
IM02;. IM30;. IM99; are not regarded as ends N 1234 GOI XIOO;.
of programs.
With lilli, 11111 may be omitted.
To make the reading of M02, M30, and M99 in-
effective as a program end, and to make the
Notes:
succeeding ER (ErA) or % (ISO) as a sign of
program ends is possible with a parameter The optional block skipping process is executed
change. (#6021DO) while the blocks are read into the buffer resis-
ter. If the blocks have been read. subsequent
switching on is ineffective to skip the blocks.
2.2.2 SEQUENCE NUMBER
While reading or punching out programs. this
function is ineffective.
Integers consistjng of up to 4 digits may be writ-
ten following an address character N as sequence The optional block skip 12 - 19 is an option
numbers. function.
Sequence numbers are reference numbers for
blocks, and do not have any influence on the
2.3 COORDINATE WORD
meaning and sequence of machining processes.
Therefore, they may be sequential, non-sequen-
Generally, commands for movements in axis direc-
tial, and duplicated numbers, and also not using
tions and commands for setting coordinate sys-
any sequence number is also possible. Generally,
tems are called coordinate words, and coordinate
sequential numbers are convenient as sequence
words consist of address characters for desired
numbers.
axes and numerals representing dimensions of
directions.

6
".': .' ,_-, ,- t ,",
2,3.1 COORDINATE WORD

' t" ,;"1' ! , 'J D'e'script~on

Main axes
Address

X y. Z
-.'
- ..
, . Position~'~r "distince in ~X. Y or Z coordinate
':direction.
A, B, C : These"' c'oordinatewords are treated as commands
4th and 5th in the directions of the 4th and 5Th axes.
axes t. or . A,. B and C are used for rotary mntion. and
~'
U, V, W U, V and Ware used for p~rallel motion.
,- Circular arc increment in circle cutting
Q
Circular ( GI2 G13)
in terpola tion R Generally, radius values 9£ circles.
auxiliary
data Generally, distances from start point to arc
I, J, K
center (in X, Yand Z components) .

2.3.2 SIMULTANEOUSLY CONTROLLABLE AXES 2.3.3 SIMULTANEOUSLY CONTROLLABLE AXES


OF THREE-AXIS CONTROL OF FOUR-AXIS CONTROL t

Table 2. 5 shows simultaneously controllable Table 2.6 shows simultaneously controllable


axes. axes.
Table 2.5 Simultaneously Controllable Axes of Table 2.6 Simultaneously Controllable Axes of

----- -----
Three-axis Control Four-axis Control
Simultaneously Simultaneously
con trollable axes controllable axes
Position in g GOO X, Y and Z axes Positioning GOO X, Y, Z, and a. rl) axes

Linear in terpola- Linear in terpola 11)


tion GOI X, Y and Z axes tion GOI X. y. Z, and a axes
(2J,(3'_
Circular inter- Two axes: XY, YZ or ZX Circular inter- Two axes, XY, YZ, ZX,
polation G02, G03 (see Npte.) polation G02, G03 Xd1!!Yatl: or Zan)
Circle cuttingt Circular cuttingt I
Two axes: X and Y Two axes: X and Y
G 12, GI3 G12, GI3
I

Helical in terpola- Circle in XV-plane and linear Helical in terpola- T hre~ axes: circle in XY-
feed in Z-axis direction. tiont G02, G03 plane and linear feed in Z-
tion t G02, G03
Refer to 2.9.5 HELICAL axis direction. Refer tc
INTERPOLATION. 2.9.5 HELICAL INTERPO-
LAT~ON on page 27.
Man ual con trot Simultaneous control of X, Y
and Z Manual control One axis, X, Y, Z. or ci l !

(l)The a. axis represents1any one of axes A, B, C,


Note: U, V or W, selected as the 4th axis.
I
Circular arc plane is determined according to the (2) Circular arc plane is determined accordin g to
currently effective G codes for plane designation. the currently effectiv~ G codes for plane desig-
(G17 to GI9) nation (Gl7 to G 19). ·For details. refer to
For details. refer to 2.9.4, "CIRCULAR INTER- 2.9.4." CIRCULAR INT:ERPOLATION (G02. G03r
POLATION (G02. G03r on page 24. on page 24. I
I .
(3) For circular interpolation axis 0)., anyone of
linear axes U, V, andlW should be designated.
I

7
2.3.4 SIMULTANEOUSLY CONTROLLABLE AXES Even when inch system is selected by parameter,
OF FIVE-AXIS CONTROLI the values for the B-axis remains tldeg. 1I unit.
The control does not convert B-axis coordinate
Table 2.7 shows simultaneously controllable axes. commands. However. feedrate command F is
converted. (Refer to 2.9.3 ... LINEAR lNTERPO-
Table 2.7 Simutaneously Controllable LATlON"')
Axes of Five-axis Control

=::::::::=::::: Simultaneously
Controllable Axes
2.3.5.2 LINEAR AXIS (U, V OR W AXIS)

Posi tianin g GOO X, y, Z, a and (J axes The linear axes are defined as follows.
Linear in tcrpola Table 2.9 Linear Axes
tion GOI X, Y, Z, a and /l axes

Circular inter- 11' Linear axis Definition


Two axes, XY, YZ, ZX,
polation G02. G03
Xc<, Yo. • or 20. U-axis Linear axis parallel to X-axis
Circular cuttingt
Two axes: X and Y
GI2, G13 V-axis Linear axis parallel to Y-axis
Helical interpola- Three axes: circle in XY-
W-axis Linear axis parallel to Z-axis
tion t G02. G03 plane and linear feed in z-
axis direction. Refer to
2.9.5 HELICAL INTERPO- Note: In this manual, linear axes either U. V
LATION. or Ware indicated by c-axis.
Manual control One axis. X, Y, Z. a(2Jor /3. The unit output increment and input increment for
C-axis is the same as the other linear axes, X, Y
(1) Circular interpolation is executed only when and Z. No discrimination is necessary.
the 4th axis is linear. Circular interpolation
will not function for the 5th axis. if it is linear When inch system is selected by parameter. input
axis. values must be in inches for C-axis.

(2) Manual pulse generator is of I-axis or 3-axis.


y

v
4TH AXIS CONTROL t
2.3.5

An additional 4th axis can be incorporated. In


B I
this manual, the 4th axis is referred to as a- --u
axis, and represents any of the 6 axes, A. B, C.
U, V and W. Address. is specified by parameter x
#6023. c
A
2.3.5.1 ROTARY AXIS (A, B OR C AXIS) -7w
The rotary axis is defined as follows. 2
Fig. 2.1 4th Axis in Right-hand
Table 2.8 Rotary Axes for 4th Coordinate Systenl
Axis Control Table

Rotary axis Definition

A axis Rotary axis parallel to X-axis

B axis Rotary axis parallel to Y-axis

C axis Rotary axis parallel to Z-axis

Note: In this manual. anyone of the three


axes. A. Band C. is referred to as
B-axis.

The unit of output increment and input increment


for B-axis is IIdeg. 1I instead of IImm H used with
linear axes. For the other respects, the treat-
ments are the same as those in mm. (Metric
system)

8
2.3.6 5TH AXIS CONTROLt The unit output increment and input increment for
C-axis is the same as the other linear axes, X. Y
An additional 5th axis can be incorporated. In and Z. No discrimination is necessary.
this manual. the 5th axis is referred to as j3-
When inch system is selected by parameter. input
axis, and represents any of the 6 axes, A, B. C,
values.m~st .be in inches for C-axis.
U. V and W.
y
2.3.6.1 ROTARY AXIS (A. B OR C AXIS)
v
The rotary axis is defined as follows. B t
Table 2.10 Rotary Axes for
--u
5th Axis Control x
c
Rotary axis Definition

A axis Rotary axis parallel to X-axis


-y A

W
B axis Rotary axis parallel to Y-axis z
Fig. 2.2 5th Axis in Right-hand
C axis Rotary axis parallel to Z-axis Coordinate System

Note: In this man ual. anyone of the three


axes. A. Band C. is referred to as 2.3.7 LEAST INPUT INCREMENT AND LEAST
b-axis. OUTPUT INCREMENT

The unit of output increment and input increment 2.3.7.1 LEAST INPUT INCREMENT
for b-axis is ndeg. II instead of !l mm n used with
linear axes. For the other respects, the treat- The minimum input units that can be commanded
men ts are the same as those in mm. (Metric by punched tape or MDI are shown in Table
system) 2.12.
Even when inch system is selected by parameter, Table 2.12 Least Input Increment
the values for the b-axis remains IIdeg. 1I unit. (#6006D5 = "0. ")
The control does not convert b-axis coordinate
commands. However, feedrate command F is Linear Axis Rotary Axis t
converted. (Refer to 2.9.3 ... LINEAR INTERPO-
LATION" on page 24.) --------------
Metric inp ut 0.001 mm 0.001 deg

Inch input 0.0001 in 0.001 deg


2.3.6.2 LINEAR AXIS (U. V OR W AXIS)
Least input increment times ten can be set by
The linear axes are defined as follows. setting parameter #6006D5 at 11 1. 11

Table 2.11 Linear Axes for Input Increment x 10


I
5th Axis Control (#600605 "1. ") i'
Linear axis

U-axis

V-axis
Definition

Linear axis parallel to X-axis

Linear axis par<l;llel to Y-axis


-------
Metric input

Inch input
Lineat Axis
I

0.01 .bm
I
O. 001 lin •
Rotary Axis t

0.01 deg

0.01 deg
I
Metr.lc Input and Inch mput can be selected by
W-axis Linear axis parallel to Z-axis
setting #600lDO.

Note: In this manual, linear axes either U, V


or Ware indicated by c-axis.

9
2.3.7.1 LEAST INPUT INCREMENT (CONT'D) In incremental programming, input values must
not exceed the maximum programmable value.
Notes:

Selection of metric system or inch system is In absolute programming, move amount of each
made by setting (#600lDO). axis must not exceed the maximum programmable
value.
Selection of x 1 or x 10 is mode by param-
eter setting (#6006D5). Note: The machine may not function properly if
a move command over the maximum programmable
Tool offset value must always be written in 0.001 value is given.' The above maximum program-
mm (or 0.0001 inch, or 0.001 degt.), and offset mable values also apply to distance command ad-
is possible in these units. dresses I. J. K, R. Q in addition to move com-
mand addresses X, Y, Z. G.
In 0.01 mm increment system, the fcl1awing op-
eration must be made in the unit of D, 01 mm. The accumulative value must not exceed the maxi-
mum accumulative values shown below.
Write operation in MOl mode.
Programming for operation in MEMORY modet. Table 2.15 Maximum Cumulative Values
Program editing operation in EDT mode t .

Notes:
~ Linear axis Rotary axis t

Metric input ± 99999.999 mm ± 99999.999 deg


If NC programs set by 0.001 mm is fed in-
to or stored in an equipment set by 0.01 mm
Inch input ± 9999. 9999 in. ± 99999.999 deg
increment. the machine will move ten times
the intended dimensions.
Listed input values do not depend on metric I
If the increment system is switched when the inch output system.
contents of NC tape are stored in memory, the
machine will move by ten times or one tenth of
the c(l"nmanded dimensions. 2.4 TRAVERSE AND FEED FUNCTIONS'
Wren the stored program is pW1ched out on the
tape-!-. the stored figures are punched out lias 2.4.1 RAPID TRAVERSE RATE
stored ll regardless of switching of the incre-
men t system. 2.4.1.1 RAPID TRAVERSE RATE

The rapid traverse motion is used for the motion


2.3.7.2 LEAST OUTPUT INCREMENT
for the Positioning (COO) and for the motion for
Least output increment is the minimum unit of tool the Manual Rapid Traverse (RAPID). The trav-
motion. Selection of metric or inch output is made erse rates differ among the axes since they are
by parameter (#6007D3) setting, dependent on the machine specification and are
determined by the machine tool builders. The
Table 2.13 Least Output Increment rapid traverse rates determined by the machine
are set by parameters in advance for individual
axes. When the tool is moved in rapid traverse
Linear axis Rotary axist
in two or three axial directions simultaneously,
-------------
Metric output 0.001 mm 0.001 deg
motions in these axial directions are independent
of each other, and the end points are reached at
different times among these motions. Therefore,
Inch output 0.0001 in. 0.001 deg
motion paths are normally not straight.
For override rapid traverse rates, Fa, 25%, 50%
2.3.6 MAXIMUM PROGRAMMABLE DIMENSIONS and 100% of the basic rapid traverse rates, are
available. Fa is a constant feed rate set by a
Maximum programmable dimensions of move com- parameter (#6231).
mand are shown below.

Table 2.14 Maximum Programmable Dimensions 2.4.1.2 SETTING RANGE OF RAPID TRAVERSE
RATE

Linear axis Rotary axis t For each axis, rapid traverse rates can be set

--------------
Metric
Metric input ±99999.999 mm ±99999.999 deg
at some suitable multiple of 0.001 mm/min (or degl
min) •
output The maximum programmable rapid traverse rate
Inch input ±3937.0078 in. ±99999.999 deg
is 24. 000 mm Imin. However, respective machine
Metric input ±99999.999 mm ±99999.999 deg tools have their own optimum rapid traverse rates.
Inch Refer to the manual provided by the machine tool
output builder.
Inch input ±9999.9999 in. ±99999.999 deg

10
2.Q.2 FEEDRATE (F FUNCTION) G03 X···. Y···· r···· F200

With five digits following an address character F. With this command,


tool feedrates per· minute (mm {min} are program-
F = 200 =.Jfx2 + Fy2
med.
The programmable range. of feedrates is as follows. (mm/min)

Table 2.16 Programmable Range of Feedrate


CENTER
Format Feedrate (Feed/minhange

------------
Metric
output
Metric input F40 Fl. -F24000. mmfmin

Inch input F31 FO.I-F944.8 in./min

Metric input FSO Fl. -F60960. mm/min


Inch
output
Inch input F31 FO.I-2400.0 in./min

Fig. 2.4

The maximum feedrate is subject to the perform- F commands for linear interpolations involving
ance of the servo system and the machine system. motions in simultaneously controlled three axial
When the maximum feedrate set by the servo or directions specify feedrates also in the direction
machine system is below the maximum program- tangential to the motion path.
mable feedrate given above, the former is set by
a parameter (#6228), and whenever feedrates EXAMPLE
above the set maximum limit are commanded. the
feedrate is clamped at the set maximum value. With GOI X··· y ... Z··· F400
F commands for linear and circular interpolations
involving motions in simultaneously controlled
F = 400 = JfX 2 + fy 2 + fZ 2

two axial directions specify feedrates in the direc- (mm fmin)


tion tangential to the motion path.

EXAMPLE G 91 (incremental)
+Y
GOI X40. Y30. FSOO END POINT
With this command, / -----\-~1

F = 500 = j300 2
(mm/min) ~
+ 400 2
L- X component
I
I
I
I
--A---'! I
I
---:--..L
I
I
I . I I 40Omm/min
~ Y component I
I START
I
I II I
I

I POINT +x
: _______I .Y1/
+z

Fig. 2.5

i~terpolations
+x
t/ 400mm/mln
F commands for linear involving
motions in simultaneously con trolled four axial
L.z directions specify feedrates also in the direction
tangential to the motionlpath.
...--!-----
F (mm/minl = JfX21+ fy2 + fZ2 + [,,2
Fig. 2.2

11
2.ij.2 FEEDRATE (F FUNCTION) (CONT'D) Table 2.18(a) F Command and
Setting No.
NOTES: Setting No. for
F command
Fl-digit speed
If FO is programmed, it is regarded as a data
error. (alarm code 11030) Fl 16561
Donot programF commands with minus numerals, F2 16562
otherwise correct operation is not guaranteed.
F3 16563
EXAMPLE
F4 16564
F-250 wrong F5 16565

F6 16566
2.ij.3 FEED RATE 1/10 F7 16567

The feedrate programmed by F commands can be F8 16568


converted to 1/10-th value with a parameter set-
F9 16569
ting as follows.
When parameter #6020 DO or D 1 is set to It 1. n Setting "1" :::. 0.1 mm!min
the feedrates range becomes as shown below.
Table 2.18(b) F Command and
Table 2.17 Programmable Range of Parameter No.
1/10 Feedrate
Parameter No. for
F command
Format Feedrate (Fee::l/min) range Fl-digit multiply

---------------input
Metric
Metric F41 FI.O-F24000.0 mm/min Fl 16141
output F32 FO.OI-F944.88 in./min F2 lt6142
Inch input

Metr:lc input F51 Fl.O-F60960.0 mm/min F3 16143


Inch
output FO.OI-F2400.00 in./min 16144
Inch input F32 F4

F5 i6145
When parameter #6020 DO or Dl is set to 110, PI

the feedrate range returns to normal. F6 i6146

F7 jj6147

2. ij. ij F 1-DICIT PROCRAMMINC t F8 i6148

(1) Specification of a value 1 to 9 that follows F9 16149


F selects the corresponding preset feedrate.
Setting "1" ;:; O. 1 mm/min /pulse
(2) Set the feedrate of each of F 1 to F9 to the
setting number shown in Table 2.18(a). Table 2.18(c) Parameter No. for
Maximum Feedrate
(3) By operating the manual pulse generator
when FI-DIGIT switch is on, the feed rate of Fl- Parameter No. Meaning
digit command currently specified may be in-
i62Z6 Max speed of Fl to F4
creased or decreased. Set the increment or de-
crement value per pulse (Fl-digit multiply) to the i6227 Max speed of F5 to F9
parameters listed in Table 2. 18 (b) .
Notes:
As a result of this operation, the contents of the
setting number of the Fl-digit feedrate are a. When this feature is installed. the specitying
1 to 9 mm/min by the usual F function is not al-
changed. lowed. Specifying 10 mm/min or more is allowed
usually.
(4) Upper Limit of Feedrate
b. If FO is specified, error "030" will be caused.
Set the maximum feedrate of F I-digit designation c. When DRY RUN switch is on, the rate of dry
to the following parameter. If a value greater run is assumed.
than the usual maximum feedrate (the contents
d. For Fl-digit specification. the feedrate over-
of #6228) is set. it is governed by the contents
ride feature is invalid.
of #6228.
e. The feedrate stored in memory is retained
after the power is turned off.

f. For the variable command of micro-program


Fl-digit command is possible.

12
2. q. 5 AUTOMATIC ACCELERATION AND' 2.5 SPINDLE-SPEED FUNCTION (S-FUNCTION)
DECELERATION
2.5.1 52-DIGIT PROGRAMMING
Acceleration and deceleration for rapid traverse
and cutting feed are automatically performed. The spindle speed is specified by two digits fol- .
lowing the address S (SOD to 599).
2.4.5.1 ACCELERATION AND DECELERATION
For each S code and its corresponding spindle
OF RAPID TRAVERSE AND MANUAL FEED
speed (r/min), refer to the machine tool builder's
In the following operation. the pattern of auto- manual.
matic acceleration and deceleration is. linear . When a move command and an S code are issued
Positioning (GOO) in a block, whether the S command is executed
Man ual rapid traverse (RAPID) together with the move command or after the
Manual continuous feeding (JOG) completion of tool move depends on the machine
Manual HANDLE feeding (HANDLE) tool builder. Refer to the mac hine tool builder's
manual.

S codes are modal, remainIng effective, when


once commanded, until next S code is commanded •
.v If the spindle is stopped "by MOS (spindle stop)
~~-------------~
, command, the S command in the control is kept.

EXAMPLE

GOO 511 M03


TIME __ S command
Spindle cw 5 II: Effective
Fig. 2.6
X·"" y"" z·
Rapid traverse rate and acceleration I deceleration GOl z-" F.··
constant of rapid traverse rate can be set by
parameter. (#6280 to #6302)
GOO X· y ... z· .. M05 ; . .. Spindle stop
2.4.5.2 ACCELERATION iDECELERATION OF M03
FEEDRATE
Gal
x ...
Z" ..
y ...

F .. ·
Z ...
'}511 Effectlve
Automatic acceleration and deceleration of feed
motion (GOl - G03) are in the exponential mode. 522
x· .. y. F ...
1 522 Effective

v Note: The two-digit BCD output I~ ~nt to the machine

\ F.
.,....--------- when S and two-digit command Is Issued.

TIME
Fig. 2.7 Exponential acceleration
deceleration

Feedrate time constants and feedrate bias are


set by parameters. During tapping, another time
constants and bias other than for usual feedrate
can be set by parameters (#6406-#6434).

Note:
The automatic acceleration/deceleration param-
eters are set to the optimum values for the re-
spective machines. Do not change the setting
unless this is required for special purposes.

13
2.5.2 55-DIGIT PROGRAMMING 2.6 TOOL FUNCTION (T-FUNCTION)

With five digits written after an address character 2.6,1 T 2-DIGIT PROGRAMMING
S (500000, spindle speeds in rpm are
directly cqmmanded. Two digits, following the address T. specify the
tool number. Leading zeros may be omitted.
The programmed speeds become effective upon
the inputting of an S-command-completion-input-
signal (SFlN). T DO
When an S command is programmed in the same
block with M03 (spindle forward run) or M04 TL~___ TOOI number
(spindle reverse run), the execution of the next
block starts only after the spindle speed reaches
the level specified by the S command, in most The figures used for the designation of tool num-
cases. However. for exact behavior of the ma- ber are determined by the machine. Refer to
chine tool under consideration, refer to the ma- the machine tool builder's manual.
chine tool builder's manual. When a move command and a T code are issued
The S commands are modal. and when it is pro- simultaneously,
grammed once, it remains effective until another the two commands are executed simultaneously,
command is programmed. Even when the spindle or
is stopped by MOS J the S command remains ef- the T command is executed upon completion of
fective. Therefore, when the spindle starts the execution of the move command,
again with an M03 (or M04), the spindle runs at
the speed specified by the S command. depending on the design of the machine.

When the spindle speed is to be changed by a For this, refer to the machine builder's manual.
new S command after it is started with an M03 or
M04, attention must be paid to the selected spin- T codes are modal, and therefore, once they
dle speed range. are given, they remain effective until another
T command is given.
Notes: T code commands are generally for making
The lower limit of programmable S commands automatic tool changers (ATe) to select the
(50 and other 5 commands near 0) is determined tool number to be used next. Therefore, they
by the spindle motor of the machine tool. Refer can be given without regard to the G, H 'or D
to the machine tool builder's manual. Do not codes which are for offsetting for the length
program minus values as S commands. or radi us of the tool curren t1y in use.

When the control is equipped with the S 5-digit


command function, spindle speed overriding
is possible. That is, override speeds between 2.6.2 T 4-DIGIT PROGRAMMING
50 and 120% of the commanded spindle speed
can be obtained at intervals of 10%. Four digits following the address T specifies the
tool n urn ber .

EXAMPLE
T DODD
5 1000 M03
LT001 number
S SPEED
1000 r/min SYNCHRONIZATION
,
,...--~--

I Leading zeros may be omitted.


: ACTUAL SPI!>IDLE SPEED
This tool code is the ~ame as the T 2-digit
.,..START
codes, except for the increased number of
digits.
I-~~--j COMPLET 1 ON OF
M CoMMAND
START OF
THE BLOCK

Fig. 2,8

14
2.7 TOOL COMPENSATION The setting range of offset values is as follows.

2.7.1 OUTLINE OF TOOL COMPENSATION

The tool compensation function is in the following


three modes.
~ Linear axis Rotary axis t

Metric input o - ± 999. 999 mm 0- :': 999.999 deg


Tool length compensation
Inch input o - ± 99.9999 inch 0- ± 999.999 deg
This function is for compensating the differences
in tool length. and is effective in the Z axis di- Listed input values do not depend on metric!
rection. Specified length compensation becomes input output system.
effective from the block in which G43 or G44 is
programmed together with an H code. It is For the procedures of storing values into mem-
cancelled with HOD or G49. ory, refer to 4.3.5. "DISPLAYING AND WRITING
OF TOOL OFFSET DATA" on page 137.
Tool position offset (for simple compensation
for tool radius)
This function is for compensating for errors in 2.7.3 H- AND D-FUNCTION (H, 0 CODES)
machined dimensions to be introduced by the
radius of tools. It is effective in the X. Y. and
Two or threet digits. following the address H or
Z (4th and Stht) axis directions. It is effec-
D, specify tool offset numbers.
tive only for the block in which G45 - G48 is
programmed together.

Tool radius compensation C+ (for compensating


HO~ or DOD
for tool radius effects with complicated machin-
ing contours)
This function is for compensating for the tool
radius effect with any given machining contours.
L Tool offset
number
I
It is effective in X-Y, Y-Z, and Z-X planes.
The tool offset numbers 01 through 99 directly
It becomes effective from the moment G41, or
correspond to the 9·9 offset-value memory num-
G42 is commanded together with a D code, and
bers. That is, when certain numbers are des-
is cancelled by G40.
ignated. the corresponding offset values stored
in the offset memories will be used to offset the
Note: For details of these compensations func-
tools.
tions, refer to 2.9. "PREPARATORY FUNCTION
( G-FUNCTION)". Tool offset numbers 00 (HOD or DOD) h~ve differ-
ent meanings i depending on the respective offset
functions. Fbr details, refer to the descriptions
2.7.2 TOOL OFFSET MEMORY on the respective G functions.
H- and D~codes must be used properly according
For the three groups of offsets, all the necessary
to their functions.
offset values must be stored in memory before-
hand.
The following number of offset values can be
stored in the tool offset memory.
Code Function

~ Offset Value Storage H code Tool length offset

Basic 99 D code Tool position offset, Tool radius


compensation
Optional 299
I
The tool offset numbers 01 through 99 can be
used freely iri combination with the both Hand
D codes. 1

15
2.7.3 H- AND D-FUNCTION (H, 0 CODES) (CONT'D)

However. for program min g ease. it is recommend- H codes: HOI to H30


ed to divide the numbers into H code part and
D codes: D3! to D99
D code part.

Table 2.19 H or D Code and Offset Number

Offset method G code H or D code Offset value memory

G43
Tool length offset G44
G49
H C2J1TI-
-- No.
01
02
03
04
Offset value

G45
G46
Tool position offset
G47
G48
D
mm\
96

\
Tool dia. compensa-
G40 97
ticn C G4! 98
(Intersection com- 99
puting sy.stem)
G42

2.8 MISCELLANEOUS FUNCTIONS (M-FUNCTION) the automatic operation after the commands in
the block containing M02 have been completed.
The miscellaneous function is specified with the Although the control is reset in most cases,
address M and maximum three digits. The function the details are determined by the machine. Re-
of each M code (MOO to M89) is determined by fer to the machine tool builder's man ual.
the machine. except for several M codes. Refer
to the machine tool builder's manual for the func- M30 (End-of-Tape)
tion of M codes except for the following M codes
concerned with the control. M30 is given at the end of tape. When given in
automatic operation mode. this code stops the
automatic operation after the commands in the
2.8.1 M CODES FOR STOP (MOO, MOl, M02, M30) block containing M30 have been completed. In
addition, in most cases. the control is reset
MOO (Program Stop) and rewinds the memory. Since the details
are determined by the machine, refer to the
This code. when given in automatic operation machine tool builder's manual.
mode, stops the automatic operation after the
·commands in the block containing MOO have Notes:
been completed and MOO R signal is fed. The
program may be continued by pressing the When MOO. MOl, M02 or M30 is given. it pre-
CYCLE START button. vents the control from reading ahead the next
block of information. :rhe single decoded signal
is fed in addition to the 2-digit BCD output for
MOl (Optional Stop) M codes.
MOl performs the same function as program Whether MOO, MOl, M02 or M30 executes spin-
stop MOO whenever the OPTIONAL STOP switch dle stop. coolant off or some other executions.
is on. When the OPTIONAL STOP switch is off, refer to the machine tool builder's manual.
the MOl code is disregarded.

M02 (End-of-Program)

M02 is used at the end of program. When given


in automatic operation mode, this code stops

16
2.8.2 M CODES FOR INTERNAL PROCESSI NG 2.8.4 MULTI-ACTIVE REGISTERS ON/OFF
(M90 TO M199) (M93, M92) t

M90 through M199 are used only for internal pro- M code Meaning
cessing. Even when they are programmed, no
external output signal (BIN and decoded output) M92 Multi-active register OFF
is sent.
M93 Multi-active register ON
M90t: Program in terrupt off
Note: When power is applied or the control is
M91 t : Program in terrupt on
reset. the control is in the state of M code
M92t: Multi-active register off marked with..., .
M93t: Multi-active register on
M93:
M94: Mirror ima ge off
DUl:'ing the time from this command to M92, the
M95: Mirror ima ge on control assum~s the 4 blocks-advance-reading
M96t: Tool radius compensation C: mode. Namely, up to 4 blocks of data are read
circular path mode in advance for the following operation.

M97t: Tool radius compensation C: Inter-blo~k stoppage can be eliminated when


intersection computing mode the program is so made that the operation time
of advance reading of 4 blocks is longer than
M98: Subroutine program call processing time of advance reading of next 4
M99: Subroutine program end blocks of data.

MIOO to 199: Used for enhansed codes M92:


This command cancels 5 blocks-ad vance-reading
2.8.3 PROGRAM INTERRUPTION ON IOFF mode.
(M91, M90)t
Note: In tool ,radiUS compensation C mode. the .
blocks without move command can be contained( up to
The {allowin g M codes are used for the program two blocks}. Under this condition. 6 blocks. in-
in terruption function. cluding the two blocks. may be read in advance.

2.8.5 MIRROR IMAGE·ON/OFF (M95, M94)


M code Meaning

M90 Program interrupt function OFF M code Meaning


M91 Program interrupt function ON M94 Mirror image OFF

Note: When power is applied or the control is M95 Mirror image ON


reset, the control is in the state of M code
marked with """1IIIIIIII. Note: When power is applied or the control is
reset, the control is in the state of M code
M91 P ..... . marked with~.
. I
During the time from this command to an M90 ,
With these cJdes. mirror image operation can
command. whenever a program interruption be started and stopped at any desired point in
signal is received. the program under execu- the program.\ These commands must always be
tion is interrupted Of the machine is in motion. , block.
made on a single
it is stopped after deceleration). and the a jump
is made to the program the number of which is M94 and M95 lare modal. When the power supply
wri tten after the P. is turned on; M94 (OFF) is in effect.
,
The axis on lhich mirror image is to be effect-
M90; ed is specifie'd by setting #600000 to D 3 (or
mirror image !axis designation switch.) For
With this command, the program interrupt func- this procedure. refer to 5.1.25, " MIRROR IMAGE
tion is cancellea. AXIS SELECTOR SWITCH" on page 157.
I

Note: Program interrupt function during DNe !


operation is ineffective.

17
2.8.5 MIRROR IMAGE·ON/OFF (M95. M94) Notes:
(CONT'D)
When G28 or GZ9 is used to change tools or for
When M95 is given, the subsequent blocks will ending machining processes. rt:lake sure to can-
control the machine in mirror-image fashion. cel the mirror image effect by means of M94.
that is. movements in the specified coordinate If mirror image effect is not cancelled when G28
direction will be reversed. or G29 is given, an error nOS81! is shown.

The mirror image effect is not effective on the


offset movement resulting from the tool length
offset function.

Do not switch the designation of mirror image


y
axis during operations tmder M95 (ON) mode.

0---\ Displayed current position by POS key in mir-


\ ror image fashion indicates the actual motion of
\
\ tool. Displayed data by COM key show program-
//\ X AXIS MIRROR
IMAGE ON
med commands.
PROGRAMMED
COMMAND Program must be made so that mirror image
operation starts and stops at the same position.
~~---------r------------X If the start position and the stop position are
not the same, movements of the machine after
cancelling mirror image will be shifted by the
di fference between both positions.
Fig. 2. 9 When the .operation is reset, it will be in M94
mode.
With both the absolute and increment move
commands, the same mirror image effect will be
obtained. The block including M95 command
constitutes the mirror p£lint.

When M94 is given, mirror image effect will be


cancelled on the subsequent blocks. Mirror
image operation must be started and cancelled
at t.he same position.

18
EXAMPLE

+Y

,--.
X AXIS MIRROR IMAGE ON 100
---)
PROGRAMMED COMMAND

lL _____ ~~~
t
40 A

-120 -80\
// \
-40
-:~V
---4-------'~-----+--_r~~--+---~~----------+---+X
STAR
POIN
40 60 120
1\0
\\
,
'7----<>-40

PATH BY
I
CORRECT PATH
ERRONEOUS
CANCELLING

NOl G92 XO YO

N02 M95 Mirror image on.

N03 G90 GOI X40. Y40. F300 ~

N04 X120.

N05 YIOO.

NOb X40.

N07 Y40. If lIM94 ; 11 is programmed here.


the tool moves on the dotted line.
NOB XO YO
N09 M94 ; Correct mirror imageioff.

NlO X20. Y-40.

Nil XbO.

Fig. 2.10

19
2.8.5 MIRROR IMAGE·ON/OFF (M9S, M94j(CONT'D) 2.8.6 CIRCULAR PATH MODE ON/OFF ON TOOL
RADIUS COMPENSATION C (M97, M96}t
• Mirror image external input function

(a) Overview
In addition to the conventional mirror image M code Meanin g
function. the mirror image execution mode can also
be set when power is turned on, or reset, by M96 "'lIlIIII Tool radius compensation circular
setting the corresponding parameter. When the path ON.
mode is the mirror image execution mode (power on
or reset,) the parameter can be set to select the Tool radius compensation circular
command mirror image at the G28 intermediate point M97 path OFF.
or not. (Execution of intersection point)
(b) How to use the function
Note: When power is applied or the control is
0) Upon power ON or upon reset reset. the control is in the state of M code
marked with-, .
#6005, D2 0: M94 mode (mirror image off)
1: M95 mode (mirror image on)
(ii) Upon power ON, when it is M95 mode (#6005, In the G41 or G42 cutter radius compensation
DZ is n 1. n) mode, when M96 is given, the tool moves along
#6005, Dl 0: Commands mirror image at the G28 a circular path around a corner with an angle
intermediate point of 180 0 or larger. In the M97 mode, the tool
1: Does not command mirror image at does not move along a circular path at the
the G28 intermediate point corner, but moves along two intersecting
straight lines intersecting at a calculated in-
NOTE: The specifications are the same as the tersecting point shifted from the programmed
conventional specifications, when #6005, D2 is 110. n contour by the tool radius.
Therefore. turn off mirror image by M94. when
commanding G28. or G29 under this mode. Error
"058" occurs if not turned off.
M96 MODE M97 MODE
(c) Program example
~l~~ULAR INTERSECTION
* Example of commanding mirror image on the G 28
intermediate point
Program example (mirror image of X-axis only is
on)

y REFERENCE POINT
PROGRAMMED

X-AXIS MIRROR
IMAGE ON 100 Fig. 2.11
/ PROGRAM COMMAND
50
M96 and M97 are modal. When the power is
~ turned on, M96 takes effect.
X
M96 and M97 are effective on the following
-100 -40 0 40 100 move command blocks.

GOlX"'Y"';

(GO!) x··· y ... M96 } Effective from


the corner of
these 2 blocks
Note: When commanding axis designation under
the mirror image mode (M95) by M code. stop the GOI X··· y ... F···
Effective from
look-ahead by parameter (#6116) of the set/reset M
codes.
M96 (or M97) ;
(GO!) x··· y ...
} the corner of
these 2 blocks

20
2.8.7 SUBROUTINE PROGRAM (M98. M99) Format of subroutine program (M99)

With this function. call of subroutine programs Subroutine programs are written in the follow-
which have been numbered and stored in advance ing format, and are stored in the part program
is made and executed as many times as desired. memory in advance .

. The following M codes are used for this function.

o ... _ Program No.

M code Meaning

M98 Call of subroutine program


Subroutine
M99 Subroutine program end M99 ;
program end.

Call of subroutine program (M98)

M98p··· L··· A utomatic return command from subroutine pro-


gram
With this command. call of the subroutine pro-
gram with the n urn ber specified after P is made
M99 ;
and is executed number of times specified after
L. When no L code is programmed. the sub- At the end of subroutine programs, M99 is
routine is executed once. written in a block of its own. When M99 is
Subroutine programs can be nested up to 4 commanded in the subroutine program which
times. has been called by M98, the execution of the
main program is automatically restarted at the
block immediately following the M98 block.

EXAMPLE

Call of subroutine program and execution of it


are made in the sequence shown below.

Subroutine program
Main program

0]00 0200
NOOI GOO NOOi ... "
NOO2 M98 P200 L3 N002
N003
NOO4 M98 P200
N050 M99
N005
~I~
E L..--_ _

E "' -+----
"'

21
2.8.7 SUBROUTINE PROGRAM (M98, M99) (CONT'D) 2.8.9 2ND MISCELLANEOUS FUNCTION
(B-FUNCTION) +
Special use of M99
B-function and T 4-digit t commands cannot be
M99 p ... used simultaneously.
With this command, the main program does not Three digits following the address B give index
return to the block following the M98 block after table posi tions.
executing the subroutine program, but returns
to the block with a sequence No. specified by The actual index positions corresponding to the
the P code. respective B codes depend on the machine tool
builder. For this, refer to the specifications of
Notes: the machine tool builder. When a B-function is
given together with a move command in one block,
I f the program n umber specified by the P code
is not found, this is regarded as an error "041.11 the B command is executed simultaneously with
the move command, or
While a subroutine program is repeated L times.
the number of remaining repetitions may be B command is executed after the execution of
displayed. For details. refer to 4.3 DISPLAY the move command,
AND WRITING OPERATION. depending on the design of the machine tool.
This function is usable when subroutine pro- For this refer to the specifications of the ma-
grams are stored in the part program memory. chine tool builder.
The main program can either be commanded B codes are modal. When one B code is given.
from NC tape or the part program memory. it remains effective until another B-command is
When the nesting of subroutine programs is given.
attempted more than 4 times, an error state is
caused. Notes:
B function standard interface is in 3-digit BCD
Commanding M99; in main program will return
output.
the execution of the program to the head of the
main program and control endless operation. With MDI operation on NC panel, IIBI1 is used to
specify address for B codes. Therefore, when
the control has B-function. the 4th and 5th
2.8.8 OTHER M CODES
axis control cannot be added.
For using M codes, other than those mentioned
above, refer to the machine tool builder 1 s man-
ual.
2.9 PREPARATORY FUNCTION (G-FUNCTlON)
Table 2.20 Typical Examples of
M Codes for Machine 2.9.1 LIST OF G CODES AND GROUPS

M code Meanings Remarks An address character G and up to 3 digits follow-


ing it specify the operation of the block.
Spindle forward
M03 Ordinary G codes are either non-modal C; codes
running
marked with * or modal G codes belonging to
Spindle reverse M03 and M04 are
M04 groups 01 through 15. Those G codes belonging
running not switchable. to the division B are included in the basic spe-
M05 (stop) must cifica tions:
MOS Spindle stop
be in termediated.
MOB Coolant on The G codes belonging to groups 01 through
IS are modal. remaining effective when once
M09 Coolant off commanded until other G codes in the same
group will be commanded.
The G codes in the * group are non -modal, and
When these M codes are given in a block together are effective only for the block in which they
are commanded.
with move command, whether the M commands are
executed simultaneously or after completion of
move command, are determined by the type of
machine. Refer to the machine tool bwlder 1 s
manual.

22
The G codes belonging to groups 01 through 15
may be programmed twice or more in the same
block. However, when different G codes in the
same group are programmed, the rast appear-
in g G code is effective. ~

When a G code belonging to the 01 group is com-


manded during a canned cycle (G73. G74, G76,
G77 and G8l through G89), the canned cycle is
canceled and these codes in the group 09 be-
comes G80.
When the RESET key is depressed durin g the
execution of a tool compensation C (G41. or G42)
or a canned cycle, they become respectively
G40 or G80 which cancels the programmed com-
mands.
G43, G44, G49 and G4S through G48 belonging
to the * group can be programmed together with
the following G codes in the 01 group in the
same block.
If * group other than those G codes and Geodes
of 08 group can be programmed in the same block
as G code of 08 group alarm will be performed.

Combination Geode

G43, G44, G49 GOO, GOI, G60

G4S - G48 GOO, GOL G02, G03, G60

The transition state of the following G codes


can be changed by setting of parameters.
The G codes belonging to the following groups
can be specified as to the state immediately
after the application of supply power.
(#600SDO - D4)

Group Initial state Parameter

03 G90 or G9l #600SDO

01 GOO or GOl #6005D6


-
08 G43, G44 or G49 #600SD3, D4

G codes in the a 1 group rna y selectively be


changed to GOO or kept unchanged after re-
setting. (#600SD6)
During the execution of G92. Display may
selectively be made. (#600SDS)

Group Timina; Parameter OFF Parameter ON -

Upon power ON 017 017


01 .---------- -------- -- ----- - - - - -
Stores the G code commanded
Upon re$et immediately before this 017
command
PM600S DO
O.... GQO
Upon pt'wer ON Same as on the left
03
1. ... G91
- 5to;';$ -the - G~; ~o~~a;:;d-ed PM600S DO
Upon reset immediately before this 0 •••• G90
command 1. ... G91

23
2.9.1 LIST OF G CODES AND GROUPS (CONT'D)

Table 2.21 List of G codes

G B: auic G Function s, 8 ••ic


Group Function 0: Option,,] Croup
0, Optional
code code
B 01 Unidirectional approach 0
~
Positioning G60
B Exact stop mode B
~ Linear interpolation G61 13
GOZ OI
Circular interpolation CW.
B. 0
G64 Exact stop mode cancel B
Helical interpolation CW
- G65 • Non modal call of l;lser macro 0
Circular interpolation CCW.
~
G03 B. 0 Modal call of user macro 0
Helical interpolation CCW 14
G67 Modal call of user macro cancel 0
B
- G04

G06
Dwell
Positioning ;n error detect
B ~ 18
Coordinate rotation ON 0
off mode G69 Coordinate rotation OFF 0

~ • Exact stop B
- G70 Bolt hole circle 0
Tool offset value and work ~ • Ar< 0
Gl0 coordinate, Shift-value B. 0
G72 Line-at-angle 0
modification
Canned cycle 10 0
Gl2 Circle cutting CW 0 ~
Canned cycle 11 0
GI3 Circle cutting CCW 0
~G76 Canned cycle 12 0
G17 XY plane designation B
Gl8 02 ZX plane designation B
G77 Canned cycle 13 0
09
GT9 G80 Canned cycle cancel 0
YZ plane designation B
- Canned cycle 1. Output
G20 Inch input designation 0 G81 0
06 for external motion
G2l 0
~
Metric input designation
Canned cycle 2 0
G22
04
Stored stroke limit ON 0
G83 Canned cycle 3 0
G23 Stored stroke limit OFF 0
Canned cycle 4 0
G25 • Program copy 0 ~G85 Canned cycle 5 0
0
~ Reference point check
G86 09
Canned cycle 6 0
Automatic return to
G2B
reference point
0 G87 Canned cycle 7 0

• G88 Canned cycle 8 0


-G29
Return from reference point 0
Return to 2nd. 3rd. 4th reference
G89 Canned cycle 9 0
G30 0
Absolute command designation B
~
point
03
G3l Skip function 0 G91 Incremental command designation B
G40 Tool radius compensation cancel 0 Programming of absolute zero
G92 • point
B
G41 07 Tool radius compensation. left 0
G93 Solid tap mode ON 0
G42 Tool radius compensation. right 0 05
Tool length compensation. plus G94 Solid tap mode OFF 0
G43 B
direction Return to initial point for 0
G98
~
canned cycles
G44
08 Tool length compensation. minus
direction
B - 10
Return to point R for canned
~
G99 0
B cycles
G49 Tool length compensation. cancel
G45 Tool position offset. extension B GI06 • Automatic corner override 0
Tool register start 0
G46 Tool position offset. retraction B ~ 17
- • Tool position offset. double
Gl23 Tool register end
Tool life
control
0
G47 B
- extension G124 • Tool register cancel 0
Tool position offset. double Gl98 Form offset mode dN 0
G48 retraction
B •
G50 Scaling OFF 0
Gl99 • Form offset mode OFF 0
15
Notes:
G5l Scaling ON 0
I. The G codes in the'" group are non-modal. and
G52 12 Return· to base coordinate system 0
are effective only for the block in which they
Temporary shift to machine coor- are commanded. They cannot be programmed
G53 • dinate system
0
twice or more in a block. They must be
programmed only once in a ?lock of its own.
~ Shift to work coordinate system 1 0
2. The codes marked with ----.., are automatically
G55 Shift to work coordinate system 2 0
selected at power on or reset.
""""G56 12
Shift to work coordinate system 3 0
3. The code marked 1 is automatically selected
Gs7 Shift to work coordinate system 4 0 upon power ON.
G5s Shift to work coordinate system 5 0
G59 Shift to work coordinate system 6 0

24
2.9.2 POSITIONI NG (GOO, G06) Notes:
GOO commands position the tool in the ERROR
GOO X··· y... z··· (at··. /3)
DETECT ON mode. which means that the pro-
(where a.andf3~A. B. C, U. V, orW)
gram advances to the next block only after the
servo lag pulses are decreased below the per-
With this command, the tool is sent to the speci-
missible level, and this is detected by the con-
fied position in rapid traverse motions along the
trol. With this command, therefore the corner
3 axes (5 axes!) simultaneously. If any of the
of the workpiece is machined sharp.
coordinate positions is not specified, the machine
dOt~S not move alan g that coordinate axis. With the ERROR DETECT OFF mode commanded
by G06. the program advances to the next block
The rapid traverse rate for the respective axes
immediately after the completion of pulse distri-
are inherent to the machine tool. Refer to the
bution.
machine tool builder's manual.

Motions in the respective axis directions are in- 2.9.3 LINEAR INTERPOLATION (GOl)
dependent each other. and therefore. the result-
ant tool path is not necessarily straight. When GOI X··· y ... Z.·. (at ... j3 ... ) F ...
programmin g tool positionin g commands, take
care to avoid the possibility of tool and workpiece where 0:. and f3 = A, B, C, U, V, or W
interference. With this command, the tool is moved simultane-
ously in the three (five +) axial directions result-
EXAMPLE ing in a linear motion. W.hen a certain axis is
GOI X40. Y40. Z40. missing in the command, the tool does not move
in the axial direction of that axis.
Feedrate is specified by an F code the feedrate
y in the component axial directions are so control-
led that the resultant feedrate becomes the spec-
4)1-_ _~ ified feedrate.

F /Fx 2 + Fy2 + Fz2 + Fo.2+ Ff32

x (where Fx, Fy ... are feedrate in the X, y ...


40. directions. )

The end point can be programmed either in ab-


40.
solute coordinates or in incremental values with
z G90 or G91 respectively. (Refer to 2.9.31,
'Absolute/lncreme"ntal Programming (G90. G91)"}.
Rapid traverse rate
If no F code is given in the hlock containing the
X axis: 8m/min GOI or in preceding blocks, the block constitutes
y axis: 8 m/min an error "030. It
Zaxis: 4m/min
EXAMPLE
Fig. 2.12
I
GOI X40. Y40. Z40. FIOO
GOO is a modal G code belonging to the 01 group.
y
Error detect OFF positioning (G06) 100 mm/min
4 :::1-+--""7> RESULTANT
G06 X··· y ... z·· . (at···(j ... )
FEEDRATE
With this command, the same positioning motions (TANGENTIAL
are initiated as with a GOO command, with the FEEDRATE)
followin g exceptions. o X
After the completion of the positioning motion. 40.
with G06 block, the program advances to the
next block in the ERROR DETECT OFF mode
40.
(Note). Therefore, the tool path at the corner
is rounded. z
G06 is a non modal G code belonging to the * I
group. and therefore, it is effective only in IF'19. 2.13
which it is programmed.
Where the optional 4th or 5th axis is a rotary
axis (A. B or C), for the same F code. the
feedrates in the basic three axis directions
(X. Y and Z). arid the rotary axis feedrate are
as indicated.

25
2.9.3 LINEAR INTERPOLATION (cOil (CONT'D)

Table 2.22 Minimum F Command Unit

In minimum F command tmit


F-function
Feedrate of basic
Feedrate of rotary axes
three axes

Metric input F40 1 mm/min 1 deg !min


Metric
output
Inch input F31 0.1 in. fmin 2.54 deg fmin

Metric input F50 1 mm/min 0.3937 deg fmin


Inch
output
Inch input F31 0.1 in. fmin 1 deg/min
Note: Feedrate of hnear 4th aXlS as the same as that of basIc three axes.

2.9.Q CIRCULAR INTERPOLATION (C02, C03)

With the following commands. the tool is control- ZX. or YZ plane, at a tangential speed specified
led along the specified circular pathes on the XY. by the F code.

G02} R... }
XY plane G17 { G03 x··· y ...
{ I· .. J ... F·· .

ZX plane GIS G02 } z·· . X· .. R··· } F ...


{ G03 { K··· ...

G02 } y ... R... }


YZ plane G19 { G03 z·· . { J ... K···
F.· .

The moving direction of the tool along the circle


is as follows.

G02: Clockwise
G03: Counter-clockwise

y X Z

~, ~,XY plane
( G17)
ZX plane
(G 18)
bt, YZ plane
( G19)
Fig. 2.14

26
When circular interpolation (C02, G03) is to be pensation (G41. G42). If no selection is made to
programmed, usually, the plane of interpolation the contrary, XY plane (C17) is selected auto-
should be specified in advance with C 17. G 18 or matically immediately after the switching of the
G19. power supply.
G17: XY plane or X4 planet The end point of the circular arc may be specified
by G90 or G91 respectively in absolute or incre-
GIB: ZX plane or Z4 plane t
men tal values. However. the center of the circle
G19: YZ plane or Y4 planet is always program~ed in incremental values from
the start point, irrespective of G90 or G91.
In addition to the plane of circular interpolation.
these G codes specify planes for tool radi us com-

EXAMPLE

G17 G90 G03 X15. Y40. 1-30. J-IO. F150 G17 G91 G03 X-40. Y20. 1-30. J-IO. F150;
(a) Absolute command with (G90) (b) Incremental command

y y

-40.
END POINT START
40.
40.
G03 JOINT
1\ GO~ 20.
20.
CENTEli_- -- 1-10.
20. END POINT
CENTER___ - -
j -10.
T T
-30. -30.
x x
15 55. 15. 55.

Fig. 2.15

Instead of the coordinates I, J, and K of the In this case.


center of the circle, the radius can be directly
specified with an R command. This is called when R > 0, a circular arc with the center an-
circular interpolation with radius R designation gle less than 180 0 , and
mode. when R < O. a circ ular arc with the center an-
gle larger than 180 0 are specified.

G17 G02 X··· y ... Ric··· F···

180· OR OVER

END POINT

•\,
\ d,.-----180· OR BELOW
-R \

-----IY--+R --l_.b
START POINT

Fig. 2.16

27
2.9.4 CIRCULAR INTERPOLATION (C02, C03)
(CONT'D)

CI7 G02(G03) I· .. J ... F··. Ln

With this command. complete circular interpolations When a linear 4th axis option is used. circular
are repeated n times. Without an L designation, interpolation is possible in the Xa • Za • and
the interpolation is executed only once. Yo. planes in addition to the XY. YX. and ZY
planes (where a = U. V. or W)

X a plane GI7 { G02


G03 } X··· (x • • • {R...
I· .. J ...
} F·· .

Z a plane GI8 { G02


G03 } z·· . 0.. . • {R ...
K·· . I··· }
F·· .

Ya plane GI9 { G02 } y ... Q'. ••• { R··· F·· .


G03 J ... K·· .}

Note:

GI7 G02 X··· {R... } F·· .


~ ~
r· '. J ...
Where address characters for the 4th axis is
missing as in the above command, the XY plane
The end point is
is automatically selected. Circular interpolation
represented by "0 "
cannot be performed on the axes including
rotary 4th axis.
Circular pathes covering two or more quadrants
can be programmed in a single block. A com-
plete closed circle can also be programmed.

EXAMPLE

GOO XO YO Fig. 2.18

G02 XO YO IlO. JO FIOO When the end point is programmed in the hatch-
complete circle ed areas shown above. no alarm state is creat-
y ed but the tool will keep on rotating.
I

Especially when tool compensation is applied.


coordinate values of the point and the center
must be programmed accurately.

When radius is specified as 00, j=O on G17


G02 plane) in specifying circular arc, alarm 102
(CAL ERROR=D!VISION) is triggered.

--~~------~-----+------x 2.9.5 HELICAL INTERPOLATION (G02, G03)t


10. 20.
A circular interpolation on a certain plane, and
a linear interpolation along an axis not included
in that plane can be executed in synchroniza-
tion. and this combined interpolation is called
helical interpolation.
Fig. 2.17

When the coordinate values of the end point of


a circular path is not exactly on the correct
circular path due to calculation errors, etc.,
correction is made as shown below.
Points 0 are commanded as end point. (See the
figure below.)

28
Command format

( a) For XY plane GI7 {G02} X",


G03
y ...
C'"
I· .. J ...
} 2 (a) ... F·· .

(b) For ZX plane GIS {G02} 2·· .


G03
X· " {R' ..
K· .. I ... } Y (0) ... F·· .

(c) For YZ plane GI9 {G02} y ...


G03
2·· .
C'"
J ... K··· } X(a) ... F·· .

( d) For XO'. plane GI7 {G02}


G03
X··· a·· . {R ...
I· .. J ... ] 2·· . F·· .

(e) For Z 0'. plane GIS {G02}


G03
2·· . a·· . {R ... I··· }
y ... F·· .
K···
(f) For yO'. plane GI9 {G02} y ... a·· . {R ...
J ... K··· }
X· .. F ...
G03
Where a is one of the linear 4th axes U. V. or
W. If no 4th axis is programmed in (d). (e), 2.9.6 DWELL (G04)
and (f). they are regarded as equal to (a). (b)
and (c). G04 p."

EXAMPLE This command interrupts feed for the length of


z time designated by the address P.
Dwell is programmed as an independent block.
The maximum length of time which can be desig-
90.1----v- END POINT nated with address P is as follows.

Format Dwell time (P programmable range)


k-_~~~l~O~O~._ _ y
P53 0 - 99999.999 sec
F = 10
The value does not depend on metric/inch input
10 OJ:'1-=oJ:{1Jv-- or metric linch output.

"'sTART POINT
x EXAMPLE
GI7 G03 XO YIOO. RIOO. 290. FlO. G04 P2500
Fig. 2.19 Dwell time: 2.5 sec.

Notes: Two types of dwell can be selected by parameter:


The circular arc should be within 360 0 • Dwell when the spe'cified value in the command
block before the d,,{,ell block is identified by lag
As long as above note (a) is satisfied, the
pulses of servo, art dwell on completion of pulse
start and end points can be taken at any time. distribution.
The feedrate F means the tangential speed on
the plane of circular interpolation. There-
fore, the speed (F') in the direction of linear 2; 9.7 EXACT ST~P (C09, C61. C64)
interpolation is as follows.
Exact stop (G09)l
F' = F x (Length covered by linear interpolation)
When a block c0titaining G09 is executed, the
(Length of circular path) program advance,s to the next block after com-
pleting a block iIj the Error Detect On mode
Tool radius compensation ct can be applied (Note a). This function is used when sharp
only to the circular path on the plane of cir- corners are desired. G09 is non-modal, and is
cular interpolation. effective"only in jthe block in which it is con-
tained. !
I

29
2.9.7 EXACT STOP (G09, G61, G64) (CONT'D) (where Q2 is used to discriminate from tool
offset value designation and a means to set up
Exact stop mode (G6l) a work coordinate system. Pm (m = 1 to 6)
corresponds to the work coordinate system m
When once G61 is commanded, all the following to be set up.)
blocks will be completed in the Error Detect
On mode before proceeding to the next block. For Pl· .. G54
For P2··. GoS
Exact stop mode cancel (G64)

This G command is for cancelling the effect of


G61.
For p6··· G59 corresponds.
Notes:
With the above command. data of any desired
In the Error Detect On mode, the program pro-
work coordinate system can be changed.
ceeds to the next block only after the number
of servo delay pulses is found to have decreas-
ed below a permissible limit following the com- (b) For the work coordinate system setting B
plete distribution of circular interpolation specification •. change the setting of the work
command pulses. cooordidnate system by specifying G 10 Q2 Pm
In X ... Y ... Z ... (a •.. /3 .•• );. (In specifies JI to
In the G09 and cbl. off modes. the program pro- J6. The meaning of Q2: and Pm is the same as
ceeds to the next block immediately after the mentioned in (a).)
complete distribution of the pulses of ordinary
linear and circular interpolations. and there-
fore, because of the servo delay. tool pathes 2.9.9 CIRCLE CUTTING (GI2, G13)t
are rounded at the corner. This mode is called
I1Error Detect Off" mode.
This is a canned cycle which includes a complete
For rapid traverse. the Error Detect On and series of movements for machining a circle in a
Off modes are can trolled only by GOO and G06. single block. It includes the following functions.
and not by the above G codes.
Format

2.9.8 TOOL OFFSET VALUE DESIGNATION (GIO) G12(G13) I··· D··· F··.

With a GIO command, correction of tool offset


values and work coordinate system can be made
as follows. .Y-AXIS

(1) Designation of tool offset value (GlO)


TOOL
Normally. tool offset values are written in by
MDI. On the other hand. with a program GlO
p ... R··· ;. (where P = tool offset number
and R = tool offset value). any programmed -4++-- X-AXIS
offset values can be replaced by a designated
value.
When GlO is commanded in the G90 mode. R is
stored as is.
When GIO is commanded in the G9I mode, R is
added in the previous tool offset value.
I-(D (D
I
(2) Changing work coordinate system t

(a) Corresponding to G54 through G59. separate


work coordinate systems are set up as setting Fig. 2.20
da ta in ad vance.

GIO Q2 Pn X··· y ... Z··· (a·· '/3 ... ); Designation of rapid traverse section R
G12 (GI3) I··· R··. D.·· F···
With this command. a circular bore is machined
as shown below. Numerals following an address
character R specifies rapid traverse sections.

30
y Tool path

G12:

G13: ®
Tool (D) represents a set value of tool radius
compensation.

G12: Clockwise (CW)

G13: COWlterclockwise (CGW)

I: Radius of finished circle


(incremental value with sign)

R: Rapid traverse section


(incremental value with sign)

D) D: Tool radius compensation No.

I F: Cutting feed rate

Fig. 2.21

Commanding repeated circle designation


GI2(G13) I .. · Doo· Loo· Foo· y
G12:~
With this command, the circular bore surface
can be exec uted L times.

Commanding spiral circle Q. K


Q: RADIUS
GI2(G13) I ... Doo· Koo. Qoo. Foo. INCREMENT
With this command, the tool is moved along a
spiral before finally finishing a circular hole,
as shown below. For the sake of simplification,
x
the diagram shows the tool path with a zero
radius (D = 0). Q (radius increment) must be
programmed without sign.

K RADIUS OF
FINISHED CIRCLE

Fig. 2.22

31
,
I
2.9.9 CIRCLE CUTTING (GI2, Gl3}t (CONT'D)

y
Tool path

(D) represents a set value of tool radius


compensation.
x G12: Clockwise(CW)

G13: Counterclockwise (CCW)

I: Radius of finished circle


(incremental value with sign)

R: Rapid traverse section


(incremental value with sign)

D: Tool radius compensation value


I
Fig. 2.23

Combined designation of rapid traverse sec- If R-d and I-d have different signs, this is
tion. repeated circle and spiral circle. also regarded as an error.
Rapid traverse section, repeated circle desig- When programming GI2(G13), always specify a
nation and spiral circle can be commanded in tool radius compensation number D. If this is
combination as shown below. not specified. the tool moves without radius
GI2(GI3) 1. .. D ..• R .•• (or J •.. ) K .•. compensation.
Q ... L··· F···
EXAMPLE
Notes:
GOO Z-40.;
Circle cutting is possible only on the XY plane.
GI2 150. R40. DIO F300 DIO IO.Omm
The tool speed in the rapid traverse section is
set by parameter #6225. GOO Z40.;

Feedrate override cannot be applied to rapid


traverse rate. While dry run switch is ON, the
tool speed conforms to dry run speed.
With a circle cutting command (GI2, G13). the
tool is offset for its radius compensation with-
out the use of G41 or G42 (tool radius compen-
sation). When using GI2 or G13. cancel tool
radius compensation with G40.
In the explanation above, only motions in the (,) ~--+---------~----~~~
+ direction of X-axis is considered. With proper
use of signs for I. J. K and D codes, motions
in the - direction of X -axis (symmetrical with
respect to Y-axis) can be commanded. In Fig.
2.24, signs of I. Rand (D) are minus. How-
ever, cutting in the Y-axis direction is impos-
sible.

I. J. K, R, Q and L codes in circle cutting com-


mand are effectIve only in the block containing
them.
The radius I of finished circle and the rapid Fig. 2.24
traverse section R are subject to the fonowing
restriction. When values not in conformity
with the restriction are programmed,· this is
re garded as an error.
!R-d!<!r-d!
32
GOO Z- 40.; 2.9.11 INCH/METRIC DESIGNATION BY G CODE
(G20, G21l t
GI3 I-50. J7. DIS F300; DIS -8.0 mm
GOO Z40.; Unit of input data are selectively specified by the
following G codes between metric and inch.

G code Input unit

G20 Inch
TOOL RADIUS

7.0 DEPTH OF CUT G21 Metric

These G codes are programmed at the leading end


of a block of its own. If one of these G codes are
commanded, the units of all the fallowing motions
are changed afterwards.
subsequent programs
tool offset values
"'!"-==:=::~~AUTOMATICALLY COMPUTED
part of setting parameters
RAPID TRAVERSE SECTION
part of manual movements
50 displays

Notes:
When G20 or G21 is commanded. the setting of
Fig. 2.25 inch/metric selecti'on is changed. Therefore,
the state of G20/G21 at the time of power ap-
plication depends on the setting by parameter
2.9.10 PLANE DESIGNATION (Gll, GIS, G19) #6001 DO.

The plane for making circular interpolation and, EXAMPLE


tool radius compensation is designated by G codes
GI7/GIS/GI9.
ER
G!7: XY plane
CR
GIS: zx plane
G19: YZ plane 01234
G20 -----+Inch input designation
When the 4th axist of linear axis is s_elected.
the following planes are newly a<:ided.

G17: XY plane or Xa plane


GIS: ZX plane or Z" plane
G19: YZ plane or Yo. plane
When G20/C21 sellction is commanded in the
a. means U. V or program. take th~ foHowing procedure before-
, W axis.
hand. :
The move command in each axis can be program- ,
med regardless of the plane designation by G171 A. When work coordinate system (G54 to G59)
GIS/GI9. is used. retur~ it to base coordinate sys-
tem.
For example. if
: B. Cancel all tool compensation command.
GI7 Z .. ·
(G41 to G4S)
is designated, motion is on Z axis.
The plane for making tool radius compensation by
command G41 or G42 is univocally determined by
G 17. G 18 or G 19. It is not possible to designate
compensation plane including the fourth axis of
rotary axis.
The XY plane (G17) is selected when the power
is turned on.

33
2.9.11 INCH/METRIC DESIGNATION BY G CODE 2nd prohibited area (Stored stroke limit 2)
(G20, G21) t (CONT'D) The boundary of the 2nd prohibited area is
specified by a parameter setting or by G22.
Take the following procedure after the command The inside or the outside of the boundary can
of G20/G21 selection. selectively be made a prohibited area by means
A. Program absolute zero point for all axes of parameter setting.
before move command.
G22 X· .. y ... z··· I··. J ... K.··
B. In principle. make the display reset opera- ''-----.,'----~
tion when current position display (exter-
C point D point
nal) is used.
Upper limit Lower limit
The tool offset values are processed different-
ly in the G20 mode and the G21 mode. With this command, the checking of the 2nd
G20lG21 must be commanded after modifying prohibited area is started, and with G23 ;,
the tool offset values. the check function is cleared.

Stored off- Processin g in Processing in 2ND PROHIBITED AREA


set values G20 (Inch) G21 (Metric) ./

15000 -f-- 1. 5000 15.000 mm

./
/'
/'
2.9.12A STORED STROKE LIMIT (e22, G23) +
This function is for checking the current tool Where 2nd prohibited
position during manual or automatic operation area is outside.
for entry into the prohibited area specified by
parameters or by G22. If the tool enters a pro-
hibited area. machine operation is stopped and
an error si gn is displayed. A2(X. Y, Z)

1st prohibited area (stored stroke limit 1)

The area outside the area specified by a param-


eter is a prohibited area. Generally, this can
be used as a substitute of overtravel checking
ftmction. Upper limit pointAI and lower limit
poin t Blare specified by parameters.
B2(I,J,K)
Where 2nd prohibited
area is inside.

~ PROHIBITED AREA Fig. 2.27


AI(Xa, Ya, Za)
;/

BJ (Xb,
x

Fig. 2.26

34
Table 2,23 Setting of Stored Stracke Limit for Each Axis

x y Z Division

1st prohib- Point Al #6600 #6601 #6602


ited area Parameter
Point BI #6606 #6607 #6608

2nd prohib- Point A2 #6510 #6511 #6512


ited area Setting
Point B2 #6513 #6514 #6515

Note: Point A sets plus value of boundary line on the machine


'coordinate system and point B sets minus value.

The parameters for specifying the inside and If an alarm state is created by the entry of the
the outside of the 2nd prohibited area are as tool into the prohibited area, the tool can move
follows. only in the returning direction.
The stored stroke limit cannot be checked dur-
ing a machine lock operation.
#6007DO Meaning

1I01! Inside prohibition


II 1II Outside prohibition 2.9.128 PROGRAM COpyl (G25)
(1) The command G25P 'pi 'p2' Q 'q't' ql' L
" , .; , executes L times any program from
sequence p2 of program p 1 to sequence q2 of
The 2nd prohibited area checking function can
program ql.
also be turned on and off with the following
setting number. G25: Program copy Geode
P: pIj First 0 number
p2j First sequence number (N)
#6001D1 Meaning Q: ql: Last 0 (pl~ql)

110 11 2nd prohibited area q2j Last sequence


check; off
Each will be commfmded with four digits. The
2nd prohibited area leading zeroes of p2 and q2 cannot be omitted,
I! 111
check; on L: Number of repetitions (One time if omitted)
(2) Although the G25 command can be given by
Notes: tape, MDI or memory operation, it will be ne-
cessary to store the program to be copied in the
The 1st and the 2nd prohibited area can be memory, When sequence numbers are overlapped.
specified overlapping each other. the first sequencei number will become effective.
Boundary lines on the minus side are included
in the prohibited areas, Boundary lines on (3) The G25 comrriand may also be used again
the plus side are not included in the prohi-
bited areas. I
in the program being copied, This is called
multiple program copying and is possible up
to a maximum of four levels. However, error
All the prohibited areas become effective after tl042!1 will occur if four levels are exceeded.
,, a manual return to reference point or a return

kJ
.' to reference point by G28 after turning on
the power supply.
If the tool is in the prohibited area at the time
when the prohibited area becomes effective.
B<J
o lAvel
0"--·,
1.1 lAvel 1
0>,--., I<EJ<Otlh ~I

this is immediately regarded as an error. In


this case, turn off the 2nd prohibited area by I
I
the setting of the setting number, and either
rewrite the data or move the tool out of the
prohibited area m'anually.
I,

35
2.9.12B PROGRAM COpyt (G25)(CONT'D) (f) If a P or Q command is less than four digits,
it will be considered a sequence number and
(4) Program copying can be commanded in a fixed the program sequence number will be searched.
cycle (G70 to Gn. G73. G76. G81 to G89). (g) The leading zeros in both commnads P and
(5) Simple jump command "M99 1T can be used in Q can be omitted. However. for five digits or
the program being copied by the G25 command. more, the lower four digits will be considered
It is the same as the M99 function commanded the sequence number.
in the main program. (h) If M98 or M99 is commanded in the G25 block.
error 11040" will occur.
Notes:
0) Since M99 will have priority if it is in the
(a) Error "04211 will occur if the total number
block (End block of G25) specified by q2 of
of levels called by G25 and M98 exceeds four
when used in a subprogram. G25. the command will return to the beginning
of the program being executed. Do not command
(b) If G25 is used during a user macro call M99 in the block specified by q2.
(G65, G66). up to four separate levels. are possible.
(c) Since the sequence number specified by address
(j)
be
The ° (ql) at the end of the Q command can
omitted. When omitted. it will automatically
p2 and q2 will be searched from the first number be considered t~ be the same as the leading 0
of each program, care will be required not to of the P command.
duplicate the sequence numbers. If duplicated.
the first sequence number will become effective. (k) A program copy command in a fixed cycle
cannot be commanded in the same block with the
(d) In command G25 P (pI) (p2) Q (ql) (q2) fixed cycle command. If commanded. G code
L ... ;. the fallowin g errors will occur. error "021" will occur.
Error 11 041 11 when pI cannot be searched
Error "04111 when p2 cannot be searched
Error n040" when pI and ql are not the same
(e) If a reset operation for errors or an M30/M02
reset occurs when executing command G25.
execution will return to the beginning of the
called program of the OL level.

TAPE OR MEMORY
Ii MEMORY
Reset operation
calls the beginning
of the memory.
---,,
00001 ; N 100----- ~ ----- ; , N200-----------; N 300-----------;
,,
NOI G92--------;
:
NllO M99 PKI0;
,,
, I N220 M98 P400;
N 10 : N120
SIMPLE
G25 Pl00 Q150; JUMP G25 P200 Q250;
RESET
(Note)
N 140- ----------;

I
I
N 150----- ------; •
N 250-----------; N 380 M99;

a Level 1st Level 2nd Level 3rd Level


Program No. 00001 Program No. 00001 Program No. 000001 Program No. 00400

Note: Always use the program number in the P


command when commanding from a tape.
Example; NIOG25 P.Q,!.0IOO Q1550; Program number
l

36
TAPE OR MEMORY II MEMOR Y
Rest operation
calls the beginning of
program No. set at Level O.
,-----------------------
I
I
I
I
NODI NIOO I moo NJOO
I I
I I
I
I
I
I

NOlO GZ5 POIDIOO


/ N120
I

G25 POOl10200 NUS M98 P65j I


I
Q010150; QOOl10250; I
I
I I
I I
I I
I I
I I
I I

N250
• I
N400 M99;
a Level. 1st Level 2nd Level 3rd Level
Program No. 0050 Program No. 0001 Program No. 0011 program No. 0065

Note:
1. M98 can be used in a program copied with
G25. Four levels may not be exceeded even
when using G25 with M98.
2. Care should be taken when jumping to a
different L level with M99 since execution will
become endless with no means of escape.

2.9.13 REFERENCE POI NT CHECK (G27) t

This function is for checking the correct return If the point is in conformity with the reference
of the tool to the reference point after performing point, the reference point return lamp lights.
a cycle of operation in accordance with a program If the tool is correctly in the reference point in
which starts at the reference point and ends at all the axes. automatic operation is performed
the reference point. further. but if the tool is not in the reference
pain t even in one axis, this is regarded as an
G27 X··· y." Z··· (,,+ ... ) : error (alarm 241 - 244 display). and the auto-
With this command, the tool moves towards the
specified position along the three axes (4 axes~') lamp goes off.) I
matic operation is interrupted. (Cycle start

simultaneously but independently, and after the If G27 is commanded in the tool offset mode, the
arrival at the specified point. the point is check- tool return point is also offset. Cancel the tool
ed for the conformity to the reference point. If offset mode when commanding G27.
any of the axes is omitted in the command. the
tool does not move in that axis and no check is
made in that axis.

37
2.9.13 REFERENCE POINT CHECK (C27)t A. When the succeeding program is made in the
(CONT'D) incremental mode:
Tool moves by the amount of incremental
Reference point as meant here is a fixed point value from the reference point. The tool
relative to the machine to which the tool returns offset is not effective.
by the manual reference point return motion or
B. When the succeeding program is made in the
by G28 automatic reference point return motion.
absolute mode:
Refer to 6.1.15 ... MANUAL REFERENCE POINT
Tool moves to the position which is speci-
RETURN SWITCH "on page 170. The mirror image
fied by absolute value and tool offset value.
function can be applied to the G27 command.
To avoid non-conformity errors. clear the mirror C. When G29 is given immediately after the
image mode with M94 (Mirror image off) before G28:
commanding G27. By G29 command. the tool moves to the off-
set interim positioning point and the suc-
2.9.14 AUTOMATIC RETURN TO REFERENCE ceeding motion is made according to the
POINT (C28)+ item A and B.

G28 X ... y ... Z··· ((It ... p ... ) ; When returning the tool to the reference point
for the first time after turning on the power
With this command. the tool is sent back to the supply, pay attention to the tool position.
reference point. The tool moves towards the Refer to 6.2. I MANUAL RETURN TO REFER-
specified points in rapid traverse. and automati- ENCE POINTt.
cally stops at the reference point.
Return to reference point in rapid traverse
The tool moves simultaneously in up to 3 axes (5
axest) • However. the tool will not move in the In addition to the above 11 Automatic Return to
direction of the axis for which a coordinate in- Reference Point, 11 11 Rapid Traverse Return to
struction is omitted. Reference Point!! function may be incorporated in
the control. With this function, the motion se-
EXAMPLE quence is as follows.
After positioning at an interim positioning point
G28 X .. · Yo.· ZOo. B, the tool directly moves to the reference
point in rapid traverse. The returning timeis
shorter than that with the ordbary return to
Z
I reference in which deceleration LSs are used in

! ~ REFERENCE ZERO POINT


all the axes.
With the "Rapid Traverse Return to Reference

______15___
POSITIONING B
. -
Z AXIS
DECELERATION LS
Point, H point B may not necessarily be within
the reference point return possible area.
The rapid traverse return to reference point
RETURN TO REFERENCE becomes possible only after the tool has been
A ,- ZERO returned once to the reference point in all the
if START INTERIM axes by manual operation or by G28, following
Z POINT POSITIONING POINT the turning on of the power supply.
'--+-------j Y AXIS DECELERATION LS Rapid traverse return to reference point is ef-
Y
~~L- _ _ _ _L-_ _ _ _ _ _ y fective only with G28. Manual return motions
are not changed by it.
Where a 4th axis is used. when no command is
Fig. 2.28 given for the 4th axis in a G28 command. and
when the tool has been returned to the refer-
"Return to reference point" involves the same ence poin t in the X. Y •. and 2 axes, the tool
series of motions as the manual return to refer- moves to the reference point in the rapid trav-
ence point. erse return mode. If a command for the 4th
axis is included in the command. the tool re-
Notes: turns to the reference point in the ordinary
If G28 is commanded in the tool radius compen- return mode. unless the return motions in all
sation mode (G41. G42) or in a canned cycle. the 4 axes have been completed.
this is regarded as an input error "024." For return to reference point in rapid traverse,
If G28 is commanded in the Mirror Image mode tool cannot be moved in RAPID or JOG mode
(M95), this constitutes an input error !1058.!! unless REFERENCE POINT RETURN switch turns
off after completion of reference point return.
The tool position offset command is not cancel-
led by G28. Make it a point to cancel it before
commanding G28. If G28 is given in the tool
position offset mode, the tool motion by the
succeeding program becomes as described be-
low. Care should be taken.

38
2.9.15 RETURN FROM REFERENCE ZERO (C29)t EXAMPLE 2

This code is used to return the tool to its original N31 G91
position after return to reference zero by auto-
N32 G28 Z·· .
matic return to reference zero, along the same
path. N 33 G28 X20. Y40.
N34 M06
G28 y ... Z··. Point A -+ B + C
N35 G29 X40. Y-40.
~ (Reference zero point)
Point B

G29 y ... z··· Pain t C -+ B -+ D C


'---v--------J ~ (REFERENCE ZERO)

~~
Point D

~ ~REFERENCE ZERO POINT) o


[
..j'
Z:1K:
I
I "
"
+YL
"1
1---
j RETURN TO REFERENCE ZERO
8 (INTERIM POSITIONING
A
I "
+-______ bD +X

__ / , POINT) 20 40
Dcr" ,
,,
d Fig. 2.30
A

Notes:
Fig. 2.29 An input error II 024 11 occurs if G29 is program-
med in tool 'radius compensation mode (G41,
When G29 is programmed, it is not necessary to G42) or during canned cycle mode (G73, G74,
consider the distance between paint Band C in G76. G77. G81 to G89).
the program. Particularly when an incremental
instruction is used. this is effective for return- An input error n059" occurs if G29 is given
ing tool to the original position. after returning without execution of G28 after the control is
to reference zero. turned on.
Movement of C -+ B and of B -1- D is made at rap- In: principle, cancel tool offset before program-
id traverse rate simultaneously along three axes ming G28 or G29. If they are programmed when
(simultaneously five axes t ) by G29. However. in offset is also effective, interim positioning
an axis for which a coordinate instruction was point B will also be offset. and the tool passes
omitted, the tool will not move. point B'.
I
If G28 is programmed a number of times, the fi-
nal coordinates of point B which the last G28
creates is effective for the move of G29.
I
EXAMPLE 1 (In the case of absolute input) I 11IL C
Interim point
I ~ (REFERENCE ZERO POINT)

N21 G90
coordina tes
X Y Z
1,1
N22
N23
G28
G28 X30.
ZIO. Y20.
~
;~ (0, 20. , 10.
( 30. , 20. , 10.
_---B~.j! OFFSET AMOUNT
D' 0--- ,
/ B

Y-50.
/ I (INTERIM POSITIONING
,/ POINT)
A'
Equal to 'GOO X30. Y20.
the two =
blocks GOO X-40. Y-50.
Fig. 2.31

39
2.9.15 RETURN FROM REFERENCE ZERO (e29)t 2.9.17 SKIP FUNCTION (e31)t
(CONT'D)
G31 X .. · y ... Z· .. (at ... /1 ... ) F ... ;
An input error 11058" occurs if G29 is given dur-
ing mirror image (M95). With this command. a special linear interpolation
is commanded. During the interpolation movement
The following command or operation must not under the command of this program. whenever a
be taken because interim positioning point B of skip signal is inputted. the interpolation is inter-
G28 does not meet with that of G29. rupted immediately. and the program advances
to the next block. From the moment that a skip
(1) The following operations are made between signal is inputteo. to the time the control start
G28 and G29 commands. to process the signal, delay time is less than
0.5 m sec. G31 is non-modal.
Setup of absolute zero (e92. ORG key)
Mac hine loe k EXAMPLE
Manual operation at Manual Absolute Off NIOO G90 G31 XIOO. Y50.
(2) G2S and G29 are commanded in the blocks N200 GOI XSO. Y 15.
following the block containing M94 which
cancels mirror image at the different point
from the starting point of mirror image.
(3) G28 and GZ9 are commanded after manual
operation at Manual Absolute Off.

2.9.16 2ND, 3RD AND qTH REFERENCE POINT


RETURN (e30) t
SKIP SIGNAL IS
G30 Pn X ••• y ... z .. · (at ... /1 ... ) INPUTTED HERE
(100.,50.)
(where Pn = P2. P3. P4)
//7
With this command. the tool first moves to an in- / I
\
" '

1
terim positioning point. and then. moves to the , I
I
2nd, 3rd or 4th reference point. ACTUAL MOTION

Yl,,~
I
PATH
~>
P2, 2nd reference point Wh en P'IS omltte
. d• I MOTION WITHOUT
,00 I
SKIP SIGNAL
P3, 3rd reference point the tool moves to I
P4, 4th reference point th~ 2nd reference (50 .• ~O,) o
pomt. (SO., 15J

If any axis of the coordinate instruction is omit-


ted in the command. the tool remains motionless
in the direction of that axis. Fig. 2.32
Each reference point is specified by the param- When G31 block is executed without a skip signal
eters (#6612 to #6629) before hand. being inputted. the machine stops at the end of
the block, and the alarm code 11087 11 is displayed.
EXAMPLE
Feedrate of the tool is set for G31 blocks selec-
G30 P3 X30. X50. The tool returns to the tively by one of the following two methods as
3rd reference pain t specified by parameter #60 19D 4.
moving jn the X and Y To be specified by F similar to ordinary pro-
directions. grams.
To be set in advance by parameter #6232.
Notes:
When a skip signal is inputted, the coordinate
Three items except the last one in NOTES of values at the moment are automatically stored as
2.9.14 AUTOMATIC RETURN TO REFERENCE parameter data.
POINT (G2S)t on page 37. apply to G30 in the
same manner.

When G29 is commanded after G30. the tool


moves to the designated point by G29 by way
of interim positioning point designated by G30.
However the interim positioning point is renew-
ed on the axis designated by G30.

40
#6552 storing X coordinate value G41 (LEFT)
#6553 storing Y coordinate value
#6554 storing Z coordinate value
#6555 storing 4th coordinate value
#6556 storing 5th coordinate value
These coordinate values indicate the positions
when skip signal is ON and not the position when
the tool is stopped.
These data can be treated as coordinate data in G42 (RIGHT)
user macros.
When a skip signal is not given in spite the exe- Fig. 2.33
cution of G31 by setting (#6004DO). the program
moves on to the next block automatically. Switching between G41 and G42 can be made
in the compensation mode. Details will be
given in item 5 below.

2.9.18 TOOL RADIUS COMPENSATION C 2. Designation of compensating plane


(CQO, CQ1, CQ2)t
The plane in which tool radius compensation
It is possible to specify the radius of the tool and is made is designated by G17. G18. G19.
to cause automatic tool path offset by this value. They are G codes of 02 group. The XY plane
Store the offset value (tool radius value) in the (G17) is in effect at the time power is turned
offset value memory in advance by MDI, and pro- on.
gram the tool offset number correspond to the
tool radius value by a D code in the program.
Table 2.25 G Coodes for Designation
1. Designation of compensation direction and of Planes
of D code
G code Group Meaning
Tool radius compensation C is programmed
with G41. G42 and is cancelled by G40.
G17 02 XY plane
G41 and G42 indicate the directions of tool
offset with respect to the direction of move-
G18 02 ZX plane
ment.
Table 2.24 G codes of Tool Radius Gl9 0'2 YZ plane
Compensation C

G code Group Meaning Note: When the power is turned on, Gl7
is effect~ve.
Cancellation of tool radius ,
G40 07
compensation C Make sure to dJsignate a G code for plane
designation in the same block as that of G41.
G41
Tool radius compensation G42 or in a preceding block. Plane desig-
07
C, left nation cannot b:e made in a compensation mode.
It is not possible to apply too) radius compen-
rool radius compensation sation in a plan1e including the fourth axist.
G42 07
C. right
3. Method of entrJ, into
.
compensation mode
Note: When the power is turned on. G40 is
effective. . When G4l( G42) lis prog~ammed. the tool moves
to an offset position with the distance equal
Note that the directions of compensation to the radius. ;The offset position is on the
(right, left) indicated above are reversed norma) line at the start point of the block
when the sign of the tool radius value in the immediately aft~r G41 (G42). If no coordinate
offset memory designated by a D code is neg- instruction is programmed in the block of
ative. Make sure to designate a D code in G41(G42), movement is made by the offset
the block containing G41. G42 or in a preced- value only. B~cause G4l(G42) accompanies
ing block. If DOO is commanded. tool radius a movement, it is necessa~y to program GOO
will be regarded as nO. 11 or GOI for a G 'code in group A. An input
error (alarm code "026) occurs if a G code
other than GOO', GOI is programmed.

41
2.9.18 TOOL RADIUS COMPENSATION C
(CQO, CQ1, CQ2)t (CONT'D)

EXAMPLE A EXAMPLE B

(a) Gl7 GOl F··· (e) Gl7 COl F···

G4l( G42) D··· X··· y ... G4l( G42) D···

X··· ; X··· y ...

G02 X··· y ... J ...

TOOL, G40

G41
'..--
~ G41 "-,,
"" ,' /,
y
, '
/', "
G42 \,
'~~----r-O

PROGRAMMED PATH
L-.-_ _ _ _ X CENTER

(b) Gl7 GOI F· ..


(d) Gl7 GOl F·· .
G4l( G42) D··· X· .. y ...
G4l( G42) D··.
G02 X··· y ... J ...
G02 X··· y ... J ...

TOOL. G40

TOOL, G4

CENTER CENTER

Fig. 2.34 Fig. 2.35

42
Pay attention to the fact that offset is made B. Outside corner (over 180 0 ) :
on the normal line to the program line deter- Circular path type (in the case of M96)
mined by the block after G4l( G42) at the
start point in all of the examples (a) to (d) CIRCULAR
above. When the movement on the compen-
sation plane is not programmed in the block
after G41( G42), the next one block is read
,
ff
, ,I ARC
.-.- . . \ !'-"" ................
ahead and the compensation start with the
block. The blocks without move command
can be programmed continuously up to two.
Input error occurs if move commands on the
compensation plane are not programmed in Fig. 2.37
more than three bloc ks .
When compensation entry is programmed in
In this case. movement of circular path is
the GOO mode. positioning movement is made
included in the former block.
independently by each axis to the offset
point. Take care not to make the tool inter- Code M97 can l?e used to machine the outside
fere with the workpiece. corner by the intersection computation. de-
pending on th~ work. Refer to 2.8.6. "CIR-
CULAR PATH MODE ON/OFF ON TOOL RA-
4. Movement in compensation mode
DIUS COMPENSATION C (M97. M96)" on page
20 for details.
When after the tool radi us compensation is
programmed by G41. G42, the tool moves along M96 Tool radius compensation circular
the offset path until the instruction G40 is path ON
given.
M97 Tool radius compensation circular
path OFF (execution of intersection
As calculation of the path is automatically computation)
made by the controL designate only the Normally. M96 is used for this operation.
shape of the workpiece in the program. The however. when there is a possibility of an
tool path is controlled as follows depending Itovercutlf in cutting special shapes with the
on the angle between blocks. M96. M97 should be used.
A. Inside corner (180 0 or less):
Intersection computing type C. Movement in G~O mode

The instruction GOO positions tools independ-


ently along each axis toward the final offset
position. Care should be taken on the cutter
path.

GOO OR
GOl

Fig. 2.36
OR

(In M96 mode)

Fig. 2.38

43
2.9.18 TOOL RADIUS COMPENSATION C
(CQO, CQ1, CQ2)t (CONT'D)

D. Shape requiring care

Do not program a wedge shape having an


ace ute angle.

G42 G41

M97
M96 _-- I (a) Wrong
M97 \ • _----- I
-_\.-',----~-~~ 'f.:----'"
\ _---- I ~ I Where the tool cannot
0':.:-.:::--- ----~i--- - - --- ----- ~ , enter the wedge shape,.
The intersection is ,
t the intersection point
is located on the opposite
located at a far point side.

G42 G41

97 (b) Correct

Increase Program a path allowing


the angle. the entry of the tool.

Fig. 2.39

5. Command involving no movement in compen- The blocks with no coordinate instructions


sation mode can be processed continuously up to two
blocks. When coordinate instructions are
The control normally reads in advance two missing in three or more blocks, tool radius
blocks during tool radius compensation mode compensation becomes impossible and accurate
and computes the tool path. If either of tool path cannot be obtained. Therefore. in
these blocks give no coordinate instructions a program where G41 or G42 is used. ensure
such as G04 (dwell). the control reads the that. after them. three or more blocks without
block further ahead and makes computin g. movement command plane will not follow.

44
EXAMPLE

Gl7 GOI G4l X··· y ... D··· F···


X··· y ...

X··· y ...

G04 PlOOO Blocks without movement


X··· y ...
in compensation plane.
(When these blocks are within
two, machining is made smoothly.)

X··· y ...

z·· .
z ... }
X··. y ...

X··· y ...
G40 X· .. y ...

If no movement instruction is programmed in three or more continuous blocks for retracting


three continuous blocks. offset in the block in the third axis or the like, and offsetting on
immediate before them is made on the normal the normal line is not satisfactory. a dummy
line at the end point. Where movement in the block can be inserted by I. J or K.
compensation plane cannot be programmed in

EXAMPLE

NODI Gl7 GOI G4l X··· y ... D··· F···


N002 X··· y ...

NOlO X··· y ...


] XV plane

NOll I··· J ... Dummy block I


NOl2 Z.·. •
NOl9 Z ...
r-------------,
} Z axis
3 blOCkS)
( or above
________ :..._J
,
(x. Y)

IL N020 X," y... ; ...J,-


____________

XY plane

N029 X", y ...

N030 G40 X··· y ... Fig. 2.40

45
2.9.18 TOOL RADIUS COMPENSATION C
(G40, G41, G42)t (CONT'D)

The dummy block is not programmed for actual I: Dummy for X axis
movement but it only provides data required command
Programmed in
for tool radius compensation computation. In J: Dummy for Y axis incremental
the example indicated above, an instruction command values
that is the same as the first block (N020) of
restarted movement of the XY plane after move- K: Dummy for Z axis
ment of Z axis is programmed as a dummy by command
I and J. I. J and K are used as the addresses If X", y ... of N020 is in absolute values in
of this dummy instruction, and they correspond the above example, give an instruction by con-
to X. Y, Z axes respectively. Suitably use verting into incremental values.
them in accordance with the plane designation.
Note: Make a dummy b10ck as foHows if the
EXAMPLE object of the dummy block is circular
interpolation.
N050 GOI X··· y ...

N051 GOI Hb) J(-a) Dummy block

N052 z·· .
I'
N052: : N059 ... _ ........
I I _-
j CENTER
b
N053 Z·· . " / a
} Z axis

J~
N059 Z·· .
N050
y

~N051,
N060 G03 X··· y ... Ha) J(b) Circular NO....6....
0_.-P
in terpola tion
DUMMY BLOCK
b (LINEAR)
N061 GOI X·· . y ...

Fig. 2.41

This is. insert a linear dummy block that gives 6. Switching between G41 and G42 in compensa-
the tangential direction at the start point of tion mode
the circular interpolation program block as
shown above. Exercise care with the sign In this compensation mode, direct switching
of the dummy block data depending on the between G41 and G42 is possible without mak-
shape of the circle. The tool stops at point A ing cancellation with G40.
by the dummy block in preparation for the
next circular command. EXAMPLE

NIO Gl7 GOl F···


Nll G4l(G42) D···
-"CENTER
--- ---
N20 GO] X·· . y ... F·· .
y

BLOCK
IN2l G42( G4I) X·· . y ...
I- switching
Block of

N22 X·· .
Fig. 2.42

46
G42
(b) G42 + G4!

(a) G4! + G42


(M96 mode)
Fig. 2.43

Note:" The movement identical to what is shown


above is also obtained when block N21 is
split into two blocks as follows.

G42 (G4I)

x··· y ...
BLOCK READ AFTER
CHANGE OF TOOL
RAn IUS VALUE
7. Change of tool radius value in compensation
mode

New D code commanded in the compensation


mode is effective in the block next to the
commanded block.

S. Method of cancellation of compensation

G40 is the command for cancelling tool radius


compensation C and for positioning or feed-
ing the tool to just programmed end point.
In this case. the tool moves to a point on the Fig. 2.44
normal line at the end point of the block im-
mediately before the block containing G40.

Therefore. no portion will be left unmachined


even when a cancellation with .sharp angle is
programmed. Because G40 accompanies Can-
celling movemeht. program it in the GOO or
GOl mode like G41. G42. An input error 1102711
occurs if group A other than GOO. G02 is used.

47
2.9.18 TOOL RADIUS COMPENSATION C
(CQO, CQ1, CQ2)t (CONT'D)

EXAMPLE A
(a) G4l (G42) (b) G4l (G42)

GOl X", F··· G02 X··· y... I··· J ...


G40 X··· y ... GOl G40 X··· y ...

TOOL G40

,
/

CENTER

Fig. 2.45

EXAMPLE B
(e) G4! (G42) (d) G4l (G42)

y ... I ... J ... G02 X··· y ... I· .. J ...


G02 X···
GO! X··· y ... GOl G40
G40
G40

G4l G40

CENTER

CENTER

Fig. 2.46

In all cases (a) through (d) described above. the offset position on the normal line at the end
the tool reaches the programmed end point via point of the block immediately before G40.

48
9. Cautions and remarks in tool radius compen-
sation C

A. Maximum programmable dimen sians (Refer to


Table 2.14) is not changed even in tool \
radius compensation C. /' ~-~-,
/" \ J
NO INTERSECTION -t"--- I
I
B. Programmed shapes that produce input
errors '"
, . . _... / d.,
'/
"'" >,
I I
TOOL
Input error "045'1 occurs with the follow-
ing programmed shapes.

(1) When programming an inside arc with tool


compensation. if No-intersection
error occurs when
tool radius is too
Programmed arc radius r + 5 (setting unit)
large relative to
~ tool radius d the programmed shape.
5: 0.001 (In mm)
Fig. 2.48
0.0001 (in Inches)

(3) When reversing command or an angle close


to reversin g command is programmed in
TOOL M97 (Outside Corner Circular Arc Point
Off) mode.

r < d r < d

(a) Reversing command R

(a) Inside compensation (b) Inside compensation H

error error

~~ (b) Command close


to reversing
Note: With the
circular arc COm-

: '~~ i
mand, tangent angle
Outside compensation
e alone is insuffi-
, r < d r i. ~ is correctly made I
cient.

I t even when r < d I


'-------- I Fig. 2.49
I
Fig. 2.47
In M96 mode', all of the above shapes are
correctly compensated.
(2) When no intersection point exists on the I
locus of the offset tool center.

49
2.9.18 TOOL RADIUS COMPENSATION C
(GQO, GQ1. GQ2)t (CONT'D)

C. Input errors OCcur when the following G


codes are programmed in the compensa- COMPLETING POSITION
tion mode. OF PULSE DISTRIBU-
II ON OUT OF THE
COMPENSATION PLANE.

G codes prod ucin g


input errors
Prohibited G codes

G12, Gl3 (G17 to G19)


G28, G29
COMPENSATION
PLANE
rl
L /' "" /~
/~ '~96
G73, G74, G76, G77
G81 to G89 '
G92

* If a Hreset operation l1 is performed in the Fig. 2.50


compensation mode. compensation is can-
celled and G40 remains.
K. Input error 11046" OCcurs when circular in-
D. Tool radius compensation C is applied to terpolation is programmed out of the plane
the movement path offset by tool length designated by G17, GIS or G19.
offset and tool position offset. However,
in principle. avoid applying compensation L. Offset position may be temporarily modified
C to the path using tool position offset by progr"amming a dummy block using ad-
for compensation of tool radius. dresses I, J, K.

E. When programming G41, G42 and G40, GOO (G42)


or GOI and an F code should be program-
med in the same block or in a preceding
block.
NIOO GOI X··· y ...
F. An input error occurs if a G code. G17 to I· .. J ...
NIDI
G19 of plane designation for changing the
compensation plane is programmed during NI02 X···
compensation.

G. Program circle cutting (G12, G13), and


canned cycles (G73, G74, G76, G77, G80
to G89) in the tool radius compensation
cancel mode. Circle cutting and helical Nl02
cutting incorporate tool radius compensat-
ing functions in themselves. Input error
1102411 occurs when they are programmed in
the compensation mode. y

H. Tool radius compensation C is also possible DUMMY BLOCK USING


on circular interpolation by radius R des- I, J CODES: NIDI
ignation. x
1. Subprogram (M98, M99) can be program-
med in the compensation mode. Fig. 2.51

J. Compensation is applied to the projection


to the compensation plane designated by
G17, Gl8 or G19 when simultaneous move-
ment along three axes (five axes t maximum)
is programmed in compensation mode.

50
M. Advance reading of blocks is prohibited
when MOO, MOl (M02, M30) commands are
given, and compensation is usually inter-
rupted. Continuation of correct compen-
sation is secured by programming I, J. K B
in a dummy block immediately before MOO,
MOl to avoid interruption·,
MOVEMENT
OF TOOL
(G4l)

,,
,,
N200 y ...
,
GOI X···

N201
N202

N203
I· ..
MOO

X···
J ...

y ...
'IJ Command
movement
data N 203
using I, J

N. Up to 99 radius values can be stored in the


offset memory in total for the tool radi us
compensation, together with the values for
other compensation. Make designation by
a D code. The maximum programmable value Fig. 2,53
of tool radius compensation is f999, 999 mm
(or !99. 9999 inch) . 10. Intervention of MDI operation in compensation
mode
O. Overcut occurs if compensation is program-
med on a step less than the tool radius in MDI operation can not be intervened in com-
M96 mode. Keep this in mind. Although pensation mode.
undersize cut occurs with the G97 mode, it
is better than overcut with the M96 mode, 11. Intervention to active buffer in compensation
mode

The data given below can be programmed in


the compensation mode of G41 or G42 with
procedures identical to those of MDI opera-
---T
, tion, after turning on the SINGLE BLOCK
... --- switch to suspend the block. and then, se-
lecting the RAPID or JOG mode.

Programmable jdata:
OVERCUT UNDERSIZE F, M, 5, T and B.1. codes
CUT
Programmable IbIOCk:
(a) M96 mode (b) M97 mode In addition to the block of instructions
of the active buffer just executed
I
Fig. 2.52
I
When the CYCL~ START button is pushed in
P. Even in M96 mode, the tool moves directly the RAPID or JOG mode after programming,
toward point B without making circular path, the instructions! are immediately executed and
if both t:. X and t:. Yare smaller than a fixed signals such as 'BCD output are sent out.
value as shown below. The fixed value in A utomatic opera~ion can be resumed when
this case is the val ue set by parameter CYCLE START is made after returning to the
(#6230) . original automatic operation mode.
Note: In the oJeration described in these
items, the folloiring M codes cannot be written.
MOO, MOl, M02, M30, M90 to MI99

51
2.9.18 TOOL RADIUS COMPENSATION C
@
(G40, G41, G42)t (CONT'D) ,/-
, / --'"~-­
EXAMPLE A ,•
I

,,
I

,,;
@/
,
,
10.

40.
G41
oo
~

+Y

40. 80. 40.

START POINT
Z- Outside cutting Inside cutting

G41
• r.42

CDC91 GOI 2-25. Incremental; Z axis @ J-20. Dummy block (for modi-
F ISO; lowering fying offset position)

(Dc 17 (GOl) F300 XY plane designation. @ 225. Z axis Two blocks


feed command elevationl without move-
ment on the
G)C41 D21 Tool radius compensation @ MOl Optional designated
start command with tool stop plane
offset No. 21
(i}l G42 IG01) X130. Switching of direction of
G)y 140. Offset to a pomt on the Y90. F200D ; compensation(ieft -to right)
normal line of start point
of this block. @ 2-25. F ISO. Z axis lowering

@X30. Y40. @ Y-40. F300

(0C02 XIOG. ISO. @ X-bOo


G)COI X30. Y-40. Outer Cutting @ Y30.

G)Y'IOO. @ C02 X80. 140. Inner Cutting

(9)X-40. @ GOI Y-3D.

@G03 X-SO. RSO. R designation circular @ X-60.


arc
@ Y30. Offset to a point on the
@GOI X-70. normal line of end point
of this block

@ 225. Z axis elevation

@ G40 (GOl) X-60. Compensation cancel


Y-IZO. FZOOD ; command

The same effect is obtained even when the commands in parentheses


are not made. They are entered for ease of understanding.

Fig. 2.54

52
2.9.19 TOOL LENGTH COMPENSATION B. (GOI) Z···
(GQ3, Gqq, Gq9)t G43(G44) H ...

The tool length compensation function is for add- With this command. the tool is shifted by
ing or subtracting the stored tool offset values the distance specified by the G code.
to the Z-axis coordinate instruction values for
the purpose of compensating for the deviations c. G43(G44) z··· H···
in tool len gth. H··· ( 2)

. G codes for tool length compensation With the command (2). the tool is shifted
by the difference between the previous
tool offset value and the new tool offset
G code Group Meaning value.

G43 08 (+) direction When G43. G44 and G49 are to be commanded.
the accompanying 01 group G codes must be
G44 08 ( -) direc tion GOO, GOI or G60. When G02 or G03 is used,
G49 08 cancel this is regarded as an error.

Direction of shift
G43 and G44 are modal functions. remammg The direction of tool shift is determined by the
effective when once commanded until cancella- sign of tool offset value as programmed in the
tion by G49. H code and by the G code used.

G49 cancels tool length compensation effects.

HOD also cancels tool length compensation effects.

~
Sign of tool offset value
The tool length compensation function is pro-
grammed in the fallowin g format. Positive Negative
A. (GOI)
G43 Plus direction Min us direc tion
G43(G44) z·.· H···
With this command. the tool moves towards G44 Minus direction Plus direction
the Z coordinate position which is
the sum of (or difference between) the H
value and the Z value. As the" result. the
tool point is displaced from the specified
Z-coordinate position by the distance spec-
ified by the H code.

54
EXAMPLE

HID Offset value: -3.0


Hll Offset ·value~ 4.0

CRT display including offset value


(Z direction only)
NIOI G92 ZO 0.000 ACTUAL
NI02 G90 GOO Xl.O Y2.0 0.000
;~~~TION I I
NI03 G43 Z-20. HIO -23.000
PROGRAMME~ -20.000
NI04
NI05
GOI
GOO
Z-30.
ZO HOO
FlOOO
;
-33.000
0.000
TOOL
J7/)//V0
POSITI~,~-23,000

:c
.
/
7

' .... // -: -30.000


,.~.'-- -33.000

N201 GOO X-2.0 Y-2.0 ACTUAL


N202 G44 Z-30. Hll -34.000 TOOL
POSITION
~
N203 GOI Z-40. FlOOO -44.000 PROGRAM .• - 30.000
N 204 GOO ZO HOO 0.000 TOOL POSITIO~, / -34.000

~/~.
F_ 40 000
' · . L _ _ _ -40.000

Notes:

When the tool offset value is changed by the When a G92 command involving the Z axis is
MOl function while programs in the offset given during the execution of a program in the
mode is in execution. the change is effective tool length compensation mode, the tool length
from the block containing D code. compensation is canceled. In principle, when
G92 is to be programmed, the existing tool
The tool position offset function or the tool
length compensation mode should first be can-
radius compensation function is effective on
celed.
the tool which is already offset by the tool
length compensation function. During the automatic execution of a program in
the tool length compensation mode, the number
G43, G44 and G49 can be programmed in can-
of the effective tool compensation memory (H
ned cycles. If they are programmed, this is
code·number) can be displayed. For this, re-
regarded as an input error.
fer to 4.3.2. "DISPLAY OF COMMAND DATA:'
G43, G44, and G~9 commands must be given in
GOO or GOl mode. When G43 is commanded in
G02 or G03 modei no alarm is triggered but
correct motion may not be made.
I

55
2.9.20 TOOL POSITION OFFSET (G45 TO G48) Extension or reduction is made only in the
block in which G45 to G48 are programmed
Tool position offset A is for extending or reduc- and movements in other blocks are unaffect-
ing the movement value designated in the program ed. Therefore, to restore extended or re-
by the values in the tool offset memory, and is duced values to the original program values,
mainly used for tool radius compensation for an extension or reduction in the opposite
square patterns. Therefore, this function is not direction must be prog,"ammed eventually.
required with controls equipped with G40, G41.
G42 (tool radius compensation C). 3. Make program command by incremental de-
signation (G9!) for the sake of making the
1. G codes of tool position offset above operation clear. When the command is
given by absolute designation (G90}, exten-
sion and reduction are made along the direc-
G code Group Meaning tion of movement to the movement value from
the end point of the preceding block, to the
G45 * Extension command target point. That is, extension
and reduction are made to the incremental
G46 * Reduction movement amount. The programming may
become comp lica ted.
G47 * Expansion by double
4. W"hen programming G45 to G48, designate the
G48 * Reduction by double tool offset number by a D code simultaneously
with axis designation. Because D codes are
modal, they may be omitted if the same D
2. G45 to G48 extend and reduce the movement code is used. Store the tool radius value in
value programmed in the block. in the direc- the tool offspt value memory.
tion of movement by the tool offset value.

EXAMPLE

G91
CD GOO G46 X··· y ... 001 Reduction

0 GOI G47 y ... (DOl) F.· . Extension by double


(}) G47 X·· . (DOl) Extension by double
@ G47 y ... (DOl) Exten~ion by double
@ G47 X· .. (001) Extension by double

® GOO G46 X··· y ... (DO!) Reduction

Fig. 2.55

56
5. Extension and reduction G46 XIO. DIO DIO = 20.

Extension or reduction is determined by the


sign of the tool offset value designated by a
D code in addition to the G code.

C'_nF_-- n1 10. (COMMAND)

~
Sign of tool offset value
Positive Negative
END POINT START POINT
G45 Extension Reduction (TOOL MOVEMENT)
G46 Reduction Extension
Fig. 2.58
G47 Extension by Reduction by
double double
Extension by 7. The above applies to X and Y axes, but G45
G48 Reduction by
double double to G48 may also be programmed to Z axis in
the same manner.
Note: In general. tool offset value should
be "positive. II 8. Application to circular interpolation
If I, J, K are programmed in the block with
6. Values of extension and reduction
G45 to G48, extension or reduction is made
A. Programmed incremental move values are respectively in the same directions as X. Y,
extended or reduced by the designated tool Z. Therefore, tool radius compensation is
offset values or by twice their values. possible with 1/4 circle. 3/4 or full circle.
G91 GOO G47 X60. 010 010 = 20.
G91
G45 G02 X50. Y50. ]50. 010
010=20.
60. (COMMAND) 40. (EXTENSION BY DOUBLE)

t 100.' 0-----=1 MOVEMENT OF


END
START
POINT POINT TOOL ~/--I
/ r--- EXTENSION OF Y'
(TOOL MOVEMENT)
PROG~~I~r, /~ 20.
Fig. 2.56 /
I EXTENSION OF X:
I >< 20.
B. Where extension or reduction is applied to t 0
an axis in the preceding block and the start m
poin t has already been offset. the total move- 50. (X)
ment value is identical to that described a-
bove. but the distance is measured from the 50. (1)
~EXTENSION OF I:
offset start point.
I 20.
With an instruction same as that described
above: IFig. 2.59
. correct
]n practIce. I ra d· .
IUS compensatIon 0f
circular arc is!made if an offset is applied
9-'6:..:0:...._..:.(C.:.O:..:MMAN=:-.:D;...) ~~. __<;);TENSION BY DOUBLE) in the preceding block.

100. G91 GOI F .. J


START
POINT
END POINT
(TOOL MOVEMENT) G46 x .. · y ... I
I
DIO
.Offset value by preceding block G45 y ...
I
Fig. 2.57 G45 G02 X .. : y ... ] ...

Note: Where the tool offset value is larger GOI X··\


than the programmed movement value. I
the direction of movement may be re-
versed when extension or reduction
is applied.

57
2.9.20 TOOL POSITION OFFSET (G45 TO G48) 9. When programming G45 to G48. the G code of
(CONT'D) 01 group can be given together in the same
block. An input error occurs if instruction
is given with other G codes.

TOOL MOVEMENT /,-- ~~,L--_ 10. When only movement by offset in the incre-
mental designation (G91) is required, pro-
"/
, gram !l0" as the axis movement instruction.
I (X. Y)
I

,I G9l GOI G45 XO YO DIO F··.


• CENTER
Movement is made in the positive
direction along both X and Y axis
by the offset value with DID.
PROGRAMMING
G9l GOO G46 XO Dll
Movement is made in the negative
direction along X axis by the off-
set value with D 11.
START POINT
It is meaningless to give a sign to TlO,II
Note: When it is necessary to program 1/2
circle, assemble them using 1/4 circle. 11. H code of D code can be selected by parameter
setting of the tool position offset (G45 to G48),
offset number command G45 to G48 commands
Fig. 2.60
H code or D code can be selected for offset
number command, by parameter setting.

Setting parameter
#6073 D2
= I: D code only is effective
= 0: D and H codes are effective

Notes:
When G45 to G48 are programmed as the simul-
taneous movemen t instruction alon g two axes,
extension or reduction is made in the two axes.
Overcut or undersize cut will occur if this is
(a)
applied to cutting. Keep this in mind.
Even when the offset value is changed by MDI.
G45
the offset instruction previously programmed
will not be affected. It becomes operable when
G45 to G48 are programmed thereafter.
UNDERSIZE
CUT This tool position offset can be applied in ad-
dition to the tool length offset.
Mirror image can be applied to tool position off-
set. That is. it is possible to perform symmet-
rical cutting with this offset applied.
Tool position offset is independent of G codes
G45 (G17/G18/G19) of plane'designation.
(b) G45 to G48 can not be programmed in the can-
ned cycles mode. An input error will occur if
Fig. 2.61 this is programmed.
If G92 is programmed in the offset mode. pro-
gramming of absolute zero point is made after
the offset value is canceled from the designated
axes. In principle, program G92 after return-
ing the offset value to the original value by
programming extension or reduction in the
opposite direction.
During automatic operation, the offset distance
in each axis from the programmed end point by
tool position offset can be displayed Refer to
4.3.2.3. "DISPLAY OF TOOL OFFSET STATE:
COMMAND (OFFSET)."
58
EXAMPLE A

30. 30. 50. 70.

® I ____ ~__ _
. . -----t-, I

J
-,
: : 1---.-----;--:-:---.-
~f:0, -,- 6
o
M 30R
..L..®----J :@ o
'"

,
--@
40R
I

/ ~ ----------------------
(1)/
/ S~RT
POINT
40. 140.

CD G91 GOI 2-25. FI50

CD G46 X40. Y40. DIO F300


Gl G45 Y70.

® G45 G02 X30. Y30. 130.

® G45 GOI X30.


CD Y-50.
G) G4B X50.

® Y50.
@ G47 X70.
@ G47 Y-60.
i[j) G46 XO ;

@ G46 G03 X-40. Y-40. J-40.


@ G46 GOI YO ;

~ G47 X -140.
@ G46 X-40. Y·:40.
@ 225.

Fig. 2.62

59
2.9.20 TOOL POSITION OFFSET (G45 TO G48)
(CONT'D)

EXAMPLE B
50. \0. 20.

l
I
tv
I
,
I

,,,
o I
'" Of,
, I
I
I
,/

0,,,,,
,0
)--
,
----cD---- -_/
,,/@tY
L . +X
-'------6
STARTL-~3~0~'-r____~7~0~.____~
POINT' .
(j)
CD G91 GOI F300
C] G46 X30. Y40. 015
Q) G45 X70.
CD G45 G03 X40. Y40. 340.
CD G45 G03 X-40· Y40. 1-40·
@ G46 GOI X-ZOo
Ci) Y50·
® G45 X-50.
G) G45 G03 X-50. Y-50. 3-50.
@ G46 GOI YO ;
@ X50.
@ Y-80.
@ G46 X-30. Y-40.

Fig. 2.63

60
2.9.21 SCALING FUNCTION (G50. G51)t Example

With this function, workpiece contours program-


Where setting #6500 = l. #6501 = 100
med by part programs can be enlarged or reduced
at any desired scale.
Multiplication factor ::. -rJ-o = 0.03 times

Multiplication should not exceed the enlarging


The followin g G codes are used .for this. function. and reducing range.
When I. J, or K is programmed in the G51 com-
mand. scaling functions on the axis designated:
G code Group Meaning I··· X-axis, J ... Y-axis. K ... Z-axis.
Scaling will work only on the axis selected by I,
G50 15 Scaling OFF J. or K.
G51 15 Scaling ON Example
Note: When power is applied or the control is G51 noo JO PO.S
reset. the control is in the state of G code
marked with -,. With this command, scaling will work on X- and
Y -axis and not on Z-axis.
G51 I··. J ... K ... p ...
Where the work coordinate system is specified. I
With this command. the program is executed on J, and.K in the G51 block designates the distance
an enalrged or reduced scale with the scale between coordinate system zero point and scaling
ratio specified by p. and the center of scaling center.
specified by I. J. and K.
Example Y Nt G92 XO YO ;
G50; command cancels the scaling mode.
N2 GOO G90 X200. YIOO.
The enlarging and reducing scales can be se- Nl G51 1200. J200. ;
400.
lected within the following range.

SCALING
Enlarging and reducing range 0.000001-99.999999
200. x - - - CENTER

Wh.en no scale ratio is specified in the program, N2


the ratio set by parameter #6500 becomes effec-
tive as the scale ratio. 200. 400. 600. 800.
Command unit for P is: 1::. O. OOOOOL
When P command includes decimal number. num-
G92 G54
bers after decimal point are regarded as six- Nl G54
digit numbers. y
N2 GOO G90 X200. Y100.
Work 400. N 3 G51 1200. J200.
Example Coordinate 400
System •
PO.999999 0.999999 time Shift Amount . SCALING
(ZOO, 100) 200. X ----- CENTER
P2.0 2 times
P2 O. 000002 time 200. N2

When P (designating multiplication) is omitted.


multiplication is determined by setting #6500 and
#6501. 200. 400. 600. 800.

#6500 Fig. 2.64


Multiplication =
#6501
Notes:
Scaling is turned on when approaching for
usual machining and off after retraction on
completion of approaching. Turning off and
on scaling during machining win not form the
correct contour.
Scaling is executed on the two axes on machin-
ing plane. If scaling is executed on a single
axis, an alarm occurs at circular command be-
cause scaling cannot work according to circular
command.

61
2.9.21 SCALlNG FUNCT10N (GSO. GS1)t G28. G29, G30, G31. G36, G37, G38. G53, G92
(CONT'D) Scaling (G51) command cannot be given during
tool radi us compensation C.
Alarm codes for scalin g are listed below.
Block commands G51 I.·. J ... K .,' P ...
and GSO; should be programmed independently.
If X, Y and Z commands coincide in the same Table 2.26 Alarm Codes for Scaling
block. an alarm will occur.
Alarm Code Causes
When the scale ratio of one or more is program-
med, the resultant command value should not
050 G50 and G51 blocks not
exceed the maximum.
commanded independently.
Scale ratio 0 cannot be commanded. If com-
manded. an alarm will occur. Multiplication factor set as O.
Unusable G code commanded
Scaling is not effective on compensation value.
051 during scaling
Canned cycles cannot be executed with scaling Scaling function y,rorking on
commanded on Z-axis. If scaling is command- Z-axis during canned cycle.
ed on Z-axis during canned cycle execution. Scaling (G51) commanded
an alarm will occur. during compensation C.
When operation is reset (reset pushbutton,
M02, M30 command). scaling is turned off. Scaling should always be commanded by G51
and GSO as a pair. Commanding G51 during
Display of command and position will show the
scaling mode is ignored.
values of command and position after scaling is
finished.
The following Geodes cannot be commanded
during scaling. If commanded. an alarm will
occur .

62
2.9.22A WORK COORDINATE SYSTEM SETTING A B. Work coordinate system
(GS2 TO GS9)t
When any of the G codes G54 through G59
is commanded. a coordinate system with the
Six types of work coordinate systems correspond-
origin shifted by the amount set by the set-
ing to six G codes. G54 through G59. are avail-
ting numbers corresponding to that Geode
able for selective. use.
is set up. The coordinate systems set up
by these G codes are referred to as work
There are three types of coordinate systems as
coordinate systems, and when once a work
fo11ows.
coordinate system is set up, the tool will be
controlled to it. Since there are six Geodes
A. Basic coordinate system
for work coordinate systems, up to six work
This is the basic coordinate system to be coordinate systems can be used.
set up by G92, by the ORIGIN key, or by
the automatic coordinate system setting func- C. Machine coordinate system
tion. When the power supply is turned on.
This is a coordinate system which is fixed
until any of these actions will be made, the
to the machine, and is 'set up when the tool
tool position at the time of turning on is
is returned to the reference point. This
treated as the temporary coordinate origin
coordinate system has its (a, 0, 0) point at
point.
the reference point.

The setting number for setting the shift amO'lU1ts


for G codes from G54 to G59 are as follows.

Table 2.27 Work Coordinate System Setting A

G code Coordinate system X Y Z a

G54 Work coordinate system I #6516 #6517 #6518 #6519


G55 Work coordinate system 2 #6522 #6523 #6524 #6525·
G56 Work coordinate system 3 #6528 #6529 #6530 #6531
G57 Work coordinate system 4 #6534 #6535 #6536 #6537
G58 Work coordinate system 5 #6540 #6541 #6542 #6543
G59 Work coordinate system 6 #6546 #6547 #6548 #6549

Setting up work coordinate systems


(GS4 to G59) EXAMPLE
G54 (G55, G56, G57, G58 or G59); NI G90 XIOO. Y200.
When this ommand is given. from that time on. N2 G54
the tool will be controlled by the work coordi-
N3 X 100. Y300.
nate system.
N4 X300. Y200.
Returning to basic coordinate system (G52)
NS G52 ;
G52 ;
N6 XO YO
With this command. the currently effective
work coordinate system is cancelled. and the
basic coordinate system becomes effective agail1.
y
N)
SHIFT AMOUNT FOR WORK
400. 30
COORDINATE SYSTEM 1
Temporary shift to positions on machine coordi- (200 •• 100.)
4, NS
nate system 300. 20
N1
(G90) GS3 X." y". Z ••• 200. 2
10
With this command. the tool is shifted to the
/L~chc-';J";-.,ho-,,in---d",-,l;,,---- WORK COORD I NAT E
position (X. Y. Z) on the machine coordinate 100.
N
100. 200. 360. 460. sbo. 600. SYSTEM (1)
system only in this block. G53 is a non-modal I!"'-''-----J._---'-_~_~_~~~__J. _ _ BASIC COORDINATE
Geode. 100. 200. 300. 400.500. 600. 700. BOO. X SYSTEM

Fig. 2.65

63
2.9.22A WORK COORDINATE SYSTEM SETTING A
(G52 TO G59)t (CONT'D)
y~

EXAMPLE (Reference program)


______
r
REFERENCE ZERO
~/ MACHINE
X200. YIOO. ; - C53 XH COORDINATE
NI G92
SYSTEM
--fl+-----~ WORK COORDINATE SYSTEM
N3 GS4 G90 XIOO. Y200. C52/

N4 GS3 X300. YIOO. / ~4 TO C59 / G53 BASIC


Xo COORDINATE

\
NS X300. YO SYSTEM

N6 G52 ABSOLUTE ZERO

N7 XO YO

Fig, 2.66

800. 700. 50

700. 600. 40 SHIFT AMOUNT OF WORK


COORDINATE SYSTEM 1
600. 500. (300., 300.)

500. 400. 20

400. 300.
WORK
300. 200. COORDINATE
00. 400. 500. 600. 700.800. SYSTEM 1
200.
N3 MACHINE
100. COORDINATE
200. 300. 400. 500. 600. 700. 800.900. SYSTEM

N6 BASIC
100. 200. 300. 400. 500. 600. 700. 800. 900.1000.1100. COORDINATE
SYSTEH

Fig. 2.67

Notes:
The shift amounts for work coordinate systems The rewritten shift amounts will become effec-
can be specified by programs with GIO com- tive when a new work coordinate system com-
mands. in addition to the MDI writing. For mand is executed.
details, refer to 2.9.8. " TOOL OFFSET VALUE
DESIGNATION (GIO)." G53 commands should only be given under the
following conditions. If these conditions are
Work coordinate systems set up by G54 through not satisfied. the commands are regarded as
G59 are canceled by the G52 command. and the errors.
basic coordinate system becomes effecti ve again.
(1) The mirror image function is not used.
When once a work coordinate system has been
(2) No canned cycle is in use and no tool com-
set up by any of the commands G54 through
pensation C is in use.
G59, the selected shift amounts can not be
changed even when they are rewritten. (3) If a 01 group G code is used. it is GOO.
Gal or G60 and nothing else.

64
If a GS3 command is executed with the machine 2.9.22B WORK COORDINATE SYSTEM SETTING B
lock function on, the current value displayed (G52 to G59}t
changes sequentially until the command value
corresponding to the machine lock function off (1) Outline of work coordinate system-setting
state will be displayed. If the machine lock expansion
function is switched on and off during the ex- Lip to 30 types of work coordinate systems can
ecution of G53 blocks, correct positioning can be set with the expansion of the work coordinate
not be achieved. systems of specification A (6 types) by using
However. when a complete G53 block is execut- commands Jl to J5 at the same time as G54 to
ed with the machine lock function off. correct G59. The expanded area will be set by #6700
positioning is achieved as programmed. even -#6771.
when the machine lock function is 'switched on The five axes X, Y , Z ,a. (3 can be set since G 54
and off before that block. to G59 and G54Jl to G59Jl are the same. In
commands J2 to J5, only three axes X, Y ,Z can
G53 commands should be given in the G90 mode.
be set but the 4th and 5th axes cannot be set.
If they are given in the G91 mode, the command
values are regarded as G 90 mode values. (2) Setting numbers for specifying work coor-
dinate system shift
When work coordinate systems are to be changed
with anyone of the GS4 through GS9 commands,
the program should be written 50 that a new Table 2.28 Wor:k Coordinate System Setting B
coordinate system will be set up in the G90 X Z a
Y (3
mode and the basic coordinate system will be
reset in the G90 mode. ----------
G54(Jl) H6516 #6517 # 6518 #6519 #6520

If a G53 command is given while the tool length J2 #6700 # 6701 #6702
-----
compensation or tool position offset function is J3 #6718 #6719 #6720
on. the tool offset value is deleted tempo- 14 #6736 #6737 #6738
rarily. Generally. when giving a G53 command.
J5 #6754 #6755 #6756
the tool length compensation and tool position
offset commands should be canceled in advance. G55(J I) #6522 #6523 #6524 ;6525 #6526
If a G 53 command is given while the tool J2 # 6703 #6704 #6705
position offset command is ON, subsequent
programs will be as follows: 13 #6721 # 6722 #6723
(I) If subsequent programs are given In 14 # 6739 #6740 #6741
Incremental mode, it will cause the tool to J5 #6757 #6758 #6759
move by incremental amount given from
reference point as a command. (Offset G56(Jl) #6528 #6529 #6530 #6531 .6532
amount not considered.) J2 #6706 #6707 #6708
(2) If subsequent programs are given In J3 #6724 #6725 #6726
absolute mode. It will cause the tool to
move by "absolute position plus offset J4 #6742 #6743 # 6744
amount" given as a command. J5 #6760 # 6761 #6762
When anyone of the commands G54 through G57(J 1) #6534 .6535 # 6536 #6537 #6538
G59 Is given while the tool length
compensation or tool position. the J2 416709 #6710 #6711
compensatton remains effective. Generally. J3 #6727 #6728 *6729
when anyone of the commands G54 through
G59 Is to be given. the tool length J4 #6745 #6746 #6747
compensation or tool position offset command J5 #6763 #6764 #6765
should be canceled tn advance.
G58(Jl) #6540 #6541 H542 #6543 # 6544

COM Z100. 12 #6712 #6713 #6714


G43 ZO HOI
13 #6730 # 6731 #6732
G54
J4 #6748 #6749 #6750
G90 Z1000 COM Z1100.
J5 #6766 #6767 116768
G59(Jl) #6546 #6547 #6548 #6549 #6550
Shift amount for Z axis is 1300.
J2 #6715 #6716 #6717
G54 shift: Z 300. 13 #6733 H6734 H6735

Offset: HOI 100. 14 #6751 #6752 #6753


J5 #6769 #6770 #6771
If G92 is given during execution on the work
coordinate system set up by G54 through G59, (3) Setting comment display
GS4 through G59 or the basic coordinate sys-
tem is shifted 50 that the current position is For work coordinate system setting, comments will
to be a shifted position by G92. G92 should be displayed as shown below. This display will
not be used in G54 to G59 modes in general. be possible if the 4th axis or 5th axis of G54(Jl)
to G59(Jl) is provided.

65
2.9.226 WORK COORDINATE SYSTEM SETTING 6 (7) Temporary shift on the machine coordinate
(G52 TO G59)t (CONT'D) system (G53)
Similar to Specification A, G 5 3 can command a
Setting Comment Display
temporary shift on the machine coordinate system
with the G53 command. G53 is a non-modal G
code.
SETTING 01234 N 1234 Example: G53(G90)GOO X ••• Y ••• Z ••• (a ••• j1 ••• );
#6520 -12345678 (G54 f3) (8) Changing work coordinate systems with GIO
#6521 o (a) Similar to Specification A. GIO command
#6522 o (G55 X)
corrects the work coordinate system from the
#6523 o (G55 Y)
program.
#6524 o (G55 ok! GIO Q2 Pm In X ... Y ... Z ... (<< ••• jl);
#6525 o (G55 ,. a)\
This command corrects the specified work coor-
#6526 o (G55 ',f3) ,:
dinate system to be corrected can be specified
#6527 o by the combination Pm In.
#6528 o (G5/"X;
#6529 12345678 (G56 Y)
Pm selects commands from G54 to G59.
LSK RDY PI ~ G54
to to

Selection of 4th or 5th axis displays anyone


/ P6 G59

In •.... selects any of JI to J5.


of A, B. C, U, V, or W axis.
Example: P2J3 ••.•. G55J3
(4) Work coordinate system setting
P4J2 •••.. G57J2
(a) G54 In; (n~l, 2, 3, 4, 5)
(b) Omission of J or specification of JO will be
With this command. subsequent programs will considered equivalent to J 1.
cause the tool to move along the work coordinate
(c) Error 11038 11 will occur if a wrong numerical
system. G54 to G59 are modal commands.
value is specified for m or n.
(b) The G54; command and G54 J1; command are
(d) Error 1'038 11 will result if the 4th and 5th
equivalent.
axes are commanded when executing commands
(c) If a command is a numerical value above J6, J2 to J5.
alarm 11129" will result.
(9) Work coordinate system shifting in user macro
(d) During the J2 to J5 commands. the amount_
(a) The amount of work coordinate shifting (and
of shift on the 4th and 5th axes will be 0 and
external work coordinate system corrections) can
the basic coordinate system will become effective
be read by using a system variable for the right
again.
element of an arithmetic expression.
(5) Returning to the basic coordinate system (G52)
(b) The values can be changed by using the
(a) G52; above system variable as the left element.
With this command it will be possible- to cancel (c) The correspondence between the system
the currently selected work coordinate and variable and the amount of work coordinate
return to the basic work coordinate system. shift will appear as listed in the following
table. Y axes of #2600'5, the Z axes of
(b) G52 is a modal command. #2700'5, the a axes of #2800'5 and the B axes
of #2900'5 have the same correspondence as
y the X axis. Command G54 to G59 (equivalent
SHIFT AMOUNT FOR to J 1) only in the case o£ the a and 8 axes.
400. 300 WORK COORDINATE SYSTEM
(200·, 100)

N'
N6
WORK COORDINATE SYSTEM
100. 200. 100. 400. SOO. bOO. GS4J2
N7~~~~~~~O~~~L-~---L--- BASIC COORDINATE SYSTEM
100. 200. laO. 4 O. SOO. bOO. 700. 800. X
NI G92 XO YO:
N2 G90 GOO XIOO. Y200. :
N3 G54J2: Work Coordinate System Shift Amount
N4 X200. Y300;
#6700 200.
N5 X400. YIOO:
N6 G52: #6701 100,
N7 XO YO;

66
Table 2.29(a) Table 2.29(c)
System Work Coordinate System Work Coordinate
Vabiables System Shift Axis Variables Shift Amount Axis
Amount System
External Work External Work
#2500 Coordinate system #2700 Coordinate. system
correction amount correction amount
#2501 G54. (JI) #2701 G54 (JI)
#2506 G59 (J l)
#2511 G54 J2 #2706 G59 (JI)
#2711 G54 J2
#2516 G59 J2 X
#2521 G54 J3 #2716 G59 J2 Z
#2721 G54 J3
#2526 G59 J3
#2531 G54 J4 #2726 G59 J3
#2731 G54 J4
#2536 G54 J4
#2541 G54 J5 #2736 G59 J4
#2741 G54 J5
#2546 G59 J5
#2746 G59 J5
Table 2.29(b)
Work Coordinate Table 2.29(d)
System
System Shift Axis Work Coordinate
Variables System
Amount Shift Amount Axis
Variables
External Work System
#2600 Coordinate system External Work
correction amount #2800 Coordinate system
#2601 G54 (JI) correction amount
. #2801 G54 (Jl) a
.
#2606 G59 (JI)
#2611 G54 J2 #2806 G59 (J 1)

#2616 G59 J2 Y System Work Coordinate


System Shift Axis
#2621 G54 J3 Variables
Amount
.
External Work
#2900 Coordinate system
#2626 G59 J3 correction amount
#2631 G54 J4 #2901 G54 (JI) (3

.
#2636 G54 J5 #2906 G59 (Jl)
# 2641 G54 J5

#2646 G59 J5

67
2.9.22B WORK COORDINATE SYSTEM SETTING B Table 2.29 (e)
(G52 TO G59)t (CONT'D)
X Y Z a f3 R
(d) Program examples
(i) #116 = #2501;
-----------
G54(j I ) #6516 #6517 #6518 #6519 #6520 #6521
12 #6700 #6701 #6702 #6703 #6704 #6705
Command G54(J 1) assigns the amount of work #6736 #6737 #6738 #6739 #6740 #6741
13
coordinate system shift of the X axis as the co-
mmon variable #116. 14 #6772 #6773 #6774 #6775 #6776 #6777
15 #6808 #6809 #6810 #6811 #6812 #6813
(ii) #2511 = #4
G55(j I ) #6522 #6523 #6524 #6525 #6526 #6527
Command G54 J2 cancels the amount of work
coordinate system shift of the X axis and sets 12 #6706 #6707 #6708 #6709 #6710 #6711
the contents of local variable #4. 13 #6742 #6743 #6744 #6745 #6746 #6747
(10) Correction of the work coordinate system J4 #6778 #6779 #6780 #6781 #6782 #6783
shift by an external input #6816 #6817 #6818
I5 #6814 #6815 #6819
(a) The amount of work coordinate system shift G56(j I ) #6528 #6529 #6530 #6531 #6532 #6533
can be corrected by means of an external data
12 #6712 #6713 #6714 #6715 #6716 #6717
input signal.
13 #6748 #6749 #6750 #6751 #6752 #6753
(b) The new amount of shift can be obtained
by inputting the amount of axis correction from J4 #6784 #6785 #6786 #6787 #6788 #6789
the outside and adding this to all of the shift 15 #6820 #6821 #6822 #6823 #6824 #6825
values from G54(J2) to G59 (J5).
For example, inputting the amount of shift for G57(j 1 ) #6534 #6535 #6536 #6537 #6538 #6539
the X axis will correct X axis shift amounts 12 #6718 #6719 #6720 #6721 #6722 #6723
for all commands from G54(J2) to G59 (J5).
13 #6754 #6755 #6756 #6757 #6758 #6759
(11) Notes and remarks 14 #6790 #6791 #6792 #6793 #6794 #6795
(a) The notes in Specification A are also applicable 15 #6826 #6827 #6828 #6829 #6830 #6831
to Specification B.
G58(j 1 ) #6540 #6541 #6542 #6543 #6544 #6545
(b) Use the G54J2 to J5; commands in the GOO
12 #6724 #6725 #6726 #6727 #6728 #6729
or GOl mode. Alarm 11129 11 will result if used
in any other mode. 13 #6760 #6761 #6762 #6763 #6764 #6765
J4 #6796 #6797 #6798 #6799 #6800 #6801
2.9.22C WORK COORDINATE SYSTEM SETTING C #6836
15 #6832 #6833 #6834 #6835 #6837
(G52 TO G59)t
G59(j 1 ) #6546 #6547 #6548 #6549 #6550 #6551
(l) Outline of work coordinate system setting I2 #6730 #6731 #6732 #6733 #6734 #6735
expansion function
I3 #6766 #6767 #6768 #6769 #6770 #6771
The rotary angle can be set in the work coordinate #6802 #6803 #6804 #6805 #6806 #6807
14
system setting when commanding G54 to G59. to
perform the coordinate system rotation at the same I5 #6838 #6839 #6840 #6841 #6842 #6843
time. The J2 to J5 commands of G54 to G59 are
also expanded to allow setting of the 4th and 5th (3) Setting command display
axes.

(2) The item on the rotary angle is added to the SETTING 01234 N 1234
work coordinate system setting. The 4th and 5th
11:6520 -12345678 (G 54 P)
axes can be set to all the work coordinate systems
#6521 3000 (G 54 R)
at the same time. See Table 2.29 (e) for the #6522 0 (G55 X)
setting numbers. #6523 0 (G 55 Y)
#6524 0 (G 55 Z)
#6525 0 {G 551'~l'\
#6526 0 (G 55'.~~l.:
#6527 0
#6528 0 (G 56 X)
#6529 12345678 (G 56 Y)
LSK ROY

A, B, C, U, V or W is displayed by the
4th and 5th axes specification.

Fig. 2.67A

68
(4) Work coordinate system setting (8) Work coordinate system alteration by GIO
Setting is performed in the same way as for work As is the work coordinate system A- and B-
coordinate system setting B. Rotation is added to specifications, the work correction of the coordinate
move the work coordinate system. system can be commanded from the program by the
(a) G54 In; (n = I. 2. to 5) GIO command.

With this command, all later programs move on the


(a) GIO Q2 Pm In X .. • Z .. • a'" B'" R .. • ;
specified work coordinate system. G54 to G59 are
modal commands. Command as above, to correct the specified work
coordinate system.
(b) The G54; command and G54 Jl; are equivalent. The combination of Pm and In specifies the
(c) Commanding numerals exceeding J6 causes alarm coordinate system to be corrected.
11129. n Select G54 to G59 by Pm· ••
PI = G44
(d) When J2 to J5 is commanded, the shift amount to
of the 4th and 5th axes becomes 0 and returns to P6 = G59
the basic "coordinate system.
Select Jl to J5 by In .. •
Example P2 J3 ••• G55 J3
(5) Returning to the" basic coordinate system (G52) P4 J2 ... G57 J3
(a) G52;
(b) When J is omitted or when JO is specified, it is
With this command. the currently selected work regarded as Jl.
coordinate system is canceled, to return to the
(c) When a wrong numeral is commanded for m or
basic coordinate system.
n, error "038" occurs.
(b) G52 is modal.
(d) The 4th and 5th axes commands are enabled
when J2 to J5 are commanded.
(6) Program example
(This is added to the work coordinate system shift
G92 XO YO ZO; B-specifications. )
Nothing changes under G92.
(e) R··· corrects the rotary angle.

(9) Work coordinate system shift amount in the


macro program
G54;
(a) The following system variables are added to the
(G68 XO YO R (value of #6521»
macro, by the addition of the work coordinate
Shifts the work coordinate system by G54,
system shift a~ount.
and rotates the coordinate system for R,
centering the work coordinate system (0, 0). (b) The notes and how to use the system variables
are the same as the A- and B-specifications.
G55;
(G69)
(G68 XO YO R (value of #6527» Table 2.29(0
Shifts the work coordinate system by G54
and cancels the rotation t to create a new Work Coordinate
System
coordinate system by the G55 work System Shift Axis
Variables
coordinate system shift amount and rotary Amount
angle. External Work
G52; #2500 coordinate system
(G69) correction amount
Returns to the G92 coordinate system by #2501 G54 (J1)
GSZ. The rotation is also canceled.
·· .'
#2506 G59 (JI)
M30;
shows what the program will be like *2511 G54 J2
when actually programmed. ·
#2516 G59 J2
(7) Temporary move in the machine coordinate X
#2521 G54 J3
system (G53)
·
As in the .A-specifi~ation, the move on the machine
#2526 G59 J3
coordinate system c~n be temporarily commanded by
the G53 command. G53 is a non-modal G code. #2531 G54 J4
·
(Example) G53 (G90) GOO X··· y ... Z ...
(a.... B .... ) ;
·
#2536 G59 J4
#2541 G54 J5
··
·
#2546
..
G59 J5

69
2.9.22C WORK COORDINATE SYSTEM SETTINGC Table 2.290)
(G52 TOG59)t (CONT'D)
Work Coordinate
System
Table 2.29(g) System Shift Axis
Variables
Amount
Work Coordinate External Work
System System Shift Axis
Variables #2800 coordinate system
Amount correction amount
External Work #2801 G54 (Jl)
#2600 coordinate system
correction amount .
#2806 G59 (Jl)
#2601 G54 (Jl)
#2811 G54 J2
· .
#2606 G59 (Jl)
#2816 G59 J2
#2611 G54 J2 a
#2821 G54 J3

#2616 G59 J2
Y #2826 G59 J3
#2621 G54 J3
#2831 G54 J4

#2626 G59 J3
#2836 G59 J4
#2631 G54 J4
· #2841 G54 J5

#2636 G59 J4
#2846 G59 J5
#2641 G54 J5

#2646 G59 J5 Table 2.29(j)

Work Coordinate
System
Table 2.29(h) System Shift Axis
Variables
Amount
Work Coordinate External Work
System
System Shift Axis #2900 coordinate system
Variables
Amount correction amount
External Work
.
#2901 G54 (Jl)
#2700 coordinate system
correction amount
#2906
··
G59 (Jl)
#2701
.
G54 (Jl)
.
#2911 G54 J2

#2706 G59 (Jl)


#2916 ··
G59 J2
#2711 G54 J2
#2921 G54 J3 a
#2716 G59 J2 ·
Z #2926 G59 J3
#2721 G54 J3

·
. #2931 G54 J4

#2726 G59 J3
#2936 G59 J4
#2731 G54 J4
· #2941 G54 J5

#2736 G59 J4
#2946 G59 J5
#2741 G54 J5
·
#2746 G59 J5

70
(c) Assign the following system variables to the (12) Notes and remarks
rotary angle.
(a) All the notes for the B-specifications apply to
the C-specifications.
Table 2.29(k)
(b) Command the G54 to G59 commands under the
Work Coordinate GOO to GOI mode. If commanded under other
System modes. alarm "129 11 occurs.
System Rotary Address
Variables
Angle (c) G68 and G69 cannot be used in this
#2951.
.
G54 Jl specification. Executing G68 and G69 will cause
alarm •

#2956 G59 JI (d) The coordinate system rotation by the G54


command is canceled by the G52 command or by
#2961
.
G54 J2 setting 0 in the work coordinate system setting .
(e) The G28/G30 commands during coordinate
#2966 G59 J2 .system rotation under the G54 command, can
#2971 G54 J3 perform rotation at the intermediate positioning
R point, but not on the reference point.
Coordinate system rotation is also not performed for
#2976 G59 J3 G53. .
#2981 G54 J4 (0 The coordinate rotation plane of this specifi-
cation is fixed to the G 17 plane.
*2986 G59 J4
#2991 G54 J5 2.9.23 UNIDIRECTIONAL APPROACH (G60lt

. This function is effective to position the tool at


#2996 G59 J5 high accuracy.

G60 x··· y ... Z··.("t ... {3)


(10) Correction of the work coordinate system shift With this command. the tool moves and stops at
amount by external input the specified position. If the tool approaches
the stop position in the direction specified by
(a) The work coordinate system shift amount can be
the parameter (#6014), it overtravels the stop
corrected by external data input signals. position by the amount specified by parameters
(b) The externally input axis correction amount is (#6436 - #6440) once, and then returns to the
added to all the G54 (JI) to G59 (J5) shift amounts specified position .to stop.
to make new shift amounts. The setting of the
work coordinate system shift amount is not directly
corrected. The work coordinate system is corrected
for external work coordinate system correction
amount. Shift amount on actually moving work - - _ DIRECTION SET BY
coordinate system = External work coordinate system PARAMETER
correction amount + work coordinate system shift OVER-
amount setting. TRAVEL
(c) For rotary angle, the direct setting is l
corrected. ·Therefore, there is no external work
coordinate system correction amount.

(ll) J-number monitor during execution of work


coordinate system shift STOP
POSITION
The pair addition number J can be monitored by
#6195, during execution of the work coordinate
system shift (G54 to G59).
No J Note: Unidirectional approach is effective in
Jl #6195 1 the. canned cycle mode. Shift by G 76 includes
J2 = 2 unidirectional approach. Cancel this function
J3 =3 before executing G76 for safety purposes.
J4 = 4
J5 = 5
Fig. 2.68

71
2.9.24 HOLE PATTERN CYCLES (G70, G7l, G72)t Arc cycle (G 71)

With this function. when a radius and a center With this function. when the following command
angle are specified the corresponding rectan-
I is given. the tool is successively positioned to
gular coordinate positions are computed auto- L points located on a circular arc with the cen-
matically and the tool is brought to the required ter located at X. Y and with the radi us of I.
positions. This function is used in conjunction at a center angle of K degrees. starting from
with one of the canned cycles GSl through G89. the point lying on a line intersecting the X
G73, G74, G76 and G77. With this function. the axis at J degrees.
bolt hole cycle. the arc cycle. and the line at
angle cycle are programmed. The tool moves to G71 X··· y ... I··· J ... K··· L···
the position specified by a radius and an angle X. Y: Coordinates of the arc center, defind
in rapid traverse (GOO). either in G90 or G91 mode

Bolt hole cycle (G70) I: Radius of the arc programmed with an


accuracy of the least programmable
G70 x· .. y ... I.·. J ... L··· increment, and in positive numbers
With this command. the tool is positioned suc- J: Angular position of the first hole. pro-
cessively at equally spaced L points on a cir- grammed in 0.001 degrees. Positive
cle with the center at X, Y and the radius of values are used to command counter-
I starting at a point located on a line forming
J
clockwise direction.
J degree with the X axis. In the command,
X, Y: Coordinates of the bolt hole cycle, de- K: Angular spacing in degrees with an accu-
fined either in G90 or G91 mode. racy of 0.001 degrees. Positive values
are used to command counter-clockwise
I is the radius of the bolt hole circle, pro- direction.
grammed in a positive number and program- L: Number of holes, to be set in positive
med with an accuracy of the least input in- numbers.
crement.
J is the angular position of the first hole. pro- EXAMPLE
grammed in degrees with an accuracy of
0.001 degree. CCW direction is regarded
positive.
L is the number of division of the circumfer- END
ence. POINT 7
For the counter-clockwise sequence, posi-
tive numbers are programmed, and vice
versa.

EXAMPLE
I
2

3 Y=30 MM
START
POINT X= 70 MM

4 6 END POINT G81 G98 G90 2-50. R-20. F20 LO


G71 X70. Y30. !l10. 120. K15.2 L7
G80 GOO XO YO
5
Fig. 2,70
G81 G98 G90 2-50. R-20. F20 LO
G70 X90. Y30. 140. J20. L6
G80 GOO XO YO

Fig. 2.69

72
Line at angle cycle (G72) The machining control of G70, G71 or G72 ends
When the fonawing command is given. the tool with the drilling of the last hole. and to move
is positioned successively at L points lying on the tool to the next position, the G90 {absolute}
a line forming J degrees with the X axis. with mode is more convenient than the G91 (incre-
a Wliform interval of I. starting at X. Y. mental) mode. because the latter involves com-
plicated calculations.
G72 X .. · y ... I··· J •.. L···
X. Y: Coordinates of the starting point, either Immediately after the completion of the machin-
in G90 or G91 mode ing process as commanded by 070, G71 or 072.
the canned cycle is still effective. and care must
I: Interval is programmed in degrees. at be taken in programming the subsequent block.
an accuracy of the least input incre- Make it a point to cancel the canned cycle by
ment. When I is negative. the holes GSO.
will be located on the line in the nega-
tive direction. If G70, 071 or 072 command is given in the tool
J: Angles programmed with an accuracy of radius compensaion mode (G41 or G42). the
0,001 degrees. ALARM code will be displayed.
Positive values are used for CCW direction.
G70, G71 and 072 are non-modal 0 codes.
L: Number of holes programmed in positive
numbers. Give G70. 071 or G72 command in a canned cy-
cle mode only. If they are given without pro-
EXAMPLES
gramming any canned cycle. the ALARM code
will be displayed.

6 END
5
4 POINT
1-25 MM 3
2
X-70 MM 1 J-1S.S·

Y-30 MM

GSI G9S G90 Z-50. R-20. F20. LO


G72 X70. Y 30. 125. Jl5.5 L6
GSO GOO XO YO
Fig. 2.71

Notes:

When the hole pattern cycles are to be program-


med with G70. G71 or G72. in principle, a can-
ned cycle G73, G74, G76, G77, G81 to G89
should be programm~d with L = 0, in the preced-
ing block. Since L = 0,' the canned cycle is not
executed, but drilling data will be registered.
070, 071 or 072 may be programmed in the same
block with a canned cycle G code.
However 073 and 083 which involve I. J, and
K can not be programmed with 070. 071 or 072
in the same block. -When 073 or 083 is to be
used. either Q is to be used or 1. J. and K
should be programmed in the preceding block.

73
2.9.25 CANNED CYCLES (73, G74, G76, G77,
GSO TO GS9, G9S, G99}t

Canned cycles (G73. G74. G76. G77. GSO to GS9. one block. 14 types of cycles are available, and
G98, G99) are simplified programs that contain GSO code is commanded for cancelling them.
specific movements over a number of blocks in

Table 2.30

G code Plunging At hole bottom Retraction Application

G73 Wood peeker Rapid traverse High speed deep


-
feed hole drillin g

G74 Feed Spindle forward Spindle reversing Reverse tapping


running after after feed
dwell

G76 Feed Spindle i~dex- Rapid traverse Boring


ing .... shift + shift. spindle
start

G77 Spindle index- Dwell Rapid traverse + Back boring


iog ... shift spindle indexing
...... rapid traverse ... shift + rapid
.... shift .... spindle traverse ...
start + feed shift. spindle
start

GSO - - - Cancel

GSI Feed - Rapid traverse Drilling

GS2 Feed Dwell Rapid traverse Spot, facing

G83 Wood peeker Rapid traverse Deep hole


-
feed drilling
G84 Feed Spindle revers- Spindle forward Tapping
ing after dwell runnin g after
feed

GS5 Feed - Feed Boring

GS6 Feed Spindle stop Rapid traverse Boring


... Spindle start

G87 Feed Spindle stop Man ual retraction Boring


.... Spindle start

GSS Feed Spindle stop Man ual retraction Boring


after dwell .... Spindle start

GS9 Feed Dwell Feed Boring

74
r-
Command format:

G code of canned cycle

G .. · x±··· y± ... Z±.·· R ... p ... Q ... L ... F···

T
T c u t J . : feed rate

Number of repeats

Drilling pitch for G73, G83


Shift amount of G76, G77

Dwell at hole bottom

Point R coordinate command

Point Z coordinate command

Drilling position X, Y coordinate command

Number of repeats is specified by the address

Q(D4
START I
~INITIAL POSITION
L . . Where L is not given, number of repeats
is regarded as It 1. n
If 0 is given for L, only positioning to (X, Y)
is made. Shift direction of shift of G76, G77
POINT @ l® can be made. at the intended angle specified
I
--<)-~-- POSITION R by the parameter. (#60]900)
Z axis returning position at the end of canned
cycle can be designa~ed by the following Geode.
--<:>--L-__ POS I TI ON Z
(HOLE BOTTOM)
Geode Meaning

Fig. 2.72 G98 Initial level return

G99 Position R level return


Operations CD
through G.) are executed in
one cycle with the commands shown above. Note: When power is applied or the control is
reset. the control is in the state of Geode
CD Positioning the drilling position (X, y) marked with-',
(]) Rapid traverse to R point Where parameter #6019DO is set to O. the shift
direction is made in the specified direction.
Q) Dril1in g to Z poin t The direction is set as listed below.
(!) Return to R point or to initial point

~
Directio
X( +)
02

0
0]

0
X( -) 0 I
Y( +) I 0
Y (-) I I

Where parameter #601900 is set to 1. the shift


direction is made at the intended angle. The
shifting angle is set by setting #6506 (1 = 0.001
deg) .

75
2.9.25 CANNED CYCLES (73, G74, G76, G77,
G80 TO G89. G98. G99)t ICONT'D)

Table 2.31 Canned Cycle

~ With G99 (re turn to R) Iwith G98 (return to initial point

G73 e73 X ... Y •.. z... R ... Q ... L .•. F ... ;


(Fixed
pitch) Cd--I (X, Y) Cd --I (X, y) INITIAL
POINT
I I fI
I
High
speed t R I
R

deep
Q
Ir---< -6 I
Q
I...: -6 I
I
hole I I
Q I Q
drilling 1,----- f-.0 I I~ f-6 I
I
I
Q I
Q
I : II
6: Setting datal ""2luLL Z 6: Setting data ~z
e73 G73 X ... Y ••• Z ... R ... 1. .. J ..• K ... L ... F ... ;
(Varia-
ble)
Q --1 (X, y)
I: Initial value
Q--I (X, Y) INITI AL

I J: Reducing value I II POINT

High K: Final value


I
It R
speed
deep
hole
I
Ie- r6 ! 1
1-1-" :
I
I-J
I I
drilling I I-J
1- -6 I I --6 I
I
I
I

~z
1-2J 1-2J
II

6:
K
Setting data I jj6211)
I
6:
K
Setting data
~z
e74 G74 X ... Y ••• Z ... R ... P.:.• L .. F ... ;

CJ--1 (X, y) o (X, Y)' INITIAL


--rTPOINT
Reverse I SPINDLE I SPINDLE
tapping /REVERSE : / REVERSE
R R

Z Z

SPINDLE FORWARD SPINDLE FORWARD


AFTER DWELL AFTER DWELL

76
Table 2.31 Canned Cycle (continued)

~ G98 (return to initial point)

z...
With G99 (return to R) With

G76 G76 X... Y ••• R..• Q.' •• L. .. F ... ;


SPINDLE

Q c::!
--~
(X.
I
y)

SPINDLE
Jli'4& I
r
START
INITIAL
POINT
Boring
¢=r
/START
R
I I
I
:
R

#6210
....
e;
'"
y. I SHIFT
SPEED
#6223 #6210
....
~
'"
Y
I SHIFT
SPEED
#6223
DWE/ ~b-z DWELY '~r-z
SPINDLE SPINDLE
~ I
INDEXING STO Q INDEXING Q

G77 Cll X... Y ••• z... STOP


R. .. Q ••• L..• F ... ;

,
V(X.-- Y) _ _ _ ,
-~
INITIAL
POINT
SHIFT , I
I I
DWELL I I
Back NOT USED Z
boring I I
I
:
I
I
I
I
'""'
""'
>-<
I
I
I
I
SPINDLE ~~
~-e; I R
ORIENTATI7 -~-~

SPINDLE START

CSO CSO ;
Cancel

CSl CSl X... Y ••• z.. R... L. .. F ... ;

, - C:L~~·t C1j~Y) INITIAL


POINT
Drilling
- I
I
I
I
t I
I
I
R R
: tI I
I
I
I
I I
I
Z
~ Z

77
2.9.25 CANNED CYCLES (73, G7Q, G76, Gn,
GBO TO GB9, G9B, G99)t (CONT'D)
Table 2.31 Canned Cycle (continued)

With G99 (return to R) With G98 (return to initial point)

G82 G82 X... Y... Z... R... P ... L... F ... ;

Q--4 (X, Y)

I
I
o (X, Y)
---'-«
I +
I
INITIAL
POINT

Spot
facing R :
I
R

t
I
I
I
I
,I Z
I
Z

~LL (P) DWELL (P)

G83 G83 X... Y... z... R ... Q ... L ... F ... ;


(Fixed
pitch)
N
¥--r
(X, y) CL ~..--'-y,-) I
_ _--,,--_
J
INITIAL
POINT
I I I
I
I
'-~""nr-rr-R .-~"".--,rL--R
'

Q+-l'Lt''~~!Il=tlg
Deep
hole
drilling
t6 " '+:L-L;"Ic-+
Q-+---{)""",l'-jrT--rl-7-_1-'~l'-+ -5
I I I I I
I
I I ,I Q I I I I
Q'-i-_lW'tt==t;=t
I I
6 +-_1J'~=1~:t
I I
(;
Q
: +-f-5
Q
: -+-1- 6
I
I
L1- z
:
I
L....-_ Z
6: Setting da ta (16213) 6: Setting data

G83 G83 X... Y... Z... R ... 1. .. J ... K ... L ... F ... ;
(Variable
pitch) CJ
(X, y)
--4 Initial value
I I:
n
(X, ,Y--"-)_ _ _-r-__ INITIAL
V- POINT ---r I
I J: Reducing value I I

Deep
K: Final value
'-~OT",--.,--R
: R
hole I ,!:t: t ~!~"t!rlr::::~t~l~:=+
drilling -i-1.~II ~+=:t:!=+ 6 I
6

I-J+__i.:'-p'I=_~
; I ; I
't= 6
: ': I:
':;::::
, I-J ~---1"1LJ::::==i'~+ 6
,; f-!-
I
I
I-2J I
1 +-0 1-2J
6
,;
I
K I . K
~Z z
6: Setting data (416213) 6: Setting data

78
Table 2.31 Canned Cycle (continued)

With G99 (return to R) With G98 (return to initial point

G84 C84 X... Y... z ... R ... P .•• L ... F ... ;

Q--4 (X, Y)
SPINDLE
FORWARD
~ (X, Y)
V---?-r- POINT
INITIAL

I I I
, I/SPINDLE
/ R FORWARD
Tapping C>-+'-- R

0--'--2 b--'-- 2

SPINDLE REVERSE SPINDLE REVERSE


AFTER DWELL AFTER DWELL

C8S G85 X ••• Y ••• Z ••• R ••• L ••• F ••• ;

N
V--"4
(X, y)

I
CJ (X, y)
--4>---T1- POINT
I I
INITIAL

I I
Boring I
b--.--R b-+-- R

b-....L-Z 2

G86 G86 X ••• Y ••• Z ••• R ••• L. .. F... ;


SPINDLE
START
C:L~ y)
SPINDLE
O--"4 (X, Y)
t/"
/"
INITIAL
I POINT
START I I
Boring /R :
b--j-- R

1,, t
,I
: Z
I
b---'-'- 2
/
SPINDLE STOP SPINDLE STOP

79
2.9.25 CANNED CYCLES (73, G74, G76, G77,
G80, TO G89. G98, G99)t (CONT'D)

Table 2.31 Canned Cycle (continued)

With G99 (return to R) With G98 (return to initial point)

G87 G87 X ... Y ... Z ... R ... Q ... L ... F. .. ;


SPINDLE
START
r<'I r1 (X, y) /
V- - -r---r-
(X, Y)
y---<;> SPINDLE INITIAL
START : I POINT
I

Boring /R I
~--r--- R
:
: MANUAL
1----~TRACTIO~

SPINDLE STOP
/ /
SPINDLE STOP

G88 G88 X ... Y ... Z ... R ... P ... L ... F ... ;


SPINDLE
START
r9 (X, Y) [ ] (X, y) /
V----</ --~ INITIAL
I
I SPINDLE : r POINT
I
/START
<>------r,- R ~;-I_ R
Boring i
I
MANUAL : MANUAL
~TRACTIO j ___ RETRACTION
{>-..L-_ Z Z

SPINDLE STt SPINDLE STOP


AFTER DWELL (p) AFTER DWELL (P)

G89 G89 X•.. Y... Z .•• R•.. P, •. L ..• F .•• ;

r'1 (X,
V-- 4
Y) Qui.....
(X, Y)' INITIAL
'-POINT
I
I I I
I
Q-,-- R R
Boring

{>--'-_ Z z
/ /
DWELL (P) DWELL (p)

80
EXAMPLE

A. G9B G90 GBI X··· y ... 2-70. R-40. F.··


Return to initial point, absolute

B. G99 G91 GBI X··. y ... 2-70. R-40. F···


Return to point R. incremental

NeD
V--11 INITIAL Q-~
o ,I ,, POINT

TI40
I, I, T R POINT

-40

-70

-Z
ti R POINT

Z POINT
I,
I,
6--L-
'--'--Z
-70

POINT

Fig. 2.73

c. NI G9Z xo YO 20 : Absolute position


Remarks
2 = R =
N2 G9B G90 G81 XIO. YIO.
2-50. R-20. FIOO • -50. -20. Canned cycle start
N3 G91 X20. R-30. • -50. -30. Change in X, R

N4 2-50. • -80. -30. Change in 2

N5 G99 2-40. R-50. .. -90. -50 . Change. in R, 2

N6 G80 GOO 250.


• Tool moves to ,2 = 0 Canned cycle cance.l

Newly programmed addresses only are changed Note: Since address P", Q. I ... J and K are
including the case where switching is made from modal in canned cycle mode. if once
G 90 to G 91 sue h as N 2 -+ N 3 indica ted in the commanded. they are effective until
above case. As for the non-programmed ad- the canned cycle is cancelled.
dresses. the positions programmed in the earlier
blocks are maintained.

81
2.9.25 CANNED CYCLES (73, G74, G76, G77,
G80 TO G89, G98, G99)t (CONT'D)

Variable pitch command (G73. G83)

In the deep hole drilling cycles of G73 and G83.


1:

J:
Initial value
Reducing value in 2nd
and subsequent plunges
1 Command is
given without
variable drilling pitch can be programmed with signs
addresses I, J, K instead of address Q for pro-
gramming a constant drilling pitch.
K: Final value J

,
+ POINT R
1
'!i!ll!l:!:l:
P OINT R

lJrr:±
1 I I I', , I , ' I ' j

,-tJ~
, I I' I 6
I II I r I , r ,I f
I-J , 'I I I I III I
: I I I I I
o
I ~ t'I
O I
I:, I : : I ;: I
1-2J
I-2J
, I I II,

I. I , I,'
I I I I
1-(n-l) J , I
I_(n_OJr--' ,

K I I K
' ,
, : if
~ K
1.
1 POINT Z K p OINT Z

K': Final plunge to point Z


Kl ~ K

(a) With C73 (b) With G83

Fig. 2.74

The value of 6 is given by setting (#6211 for Drilling pitch


G73, #6213 for G83).
1st plunge 10 mm <0 IlO.
Notes: 2nd plunge 9 mm
Q. I, J. K are modal during canned cycle modes 3rd plunge 8 mm
and are effective until the canned cycle is can-
celled. Specify them without signs. 4th plunge 7 mm

Variable pitch can also be programmed by ad- 5th plunge 6 mm


dress Q instead of I. Furthermore. when in- 6th plunge 5 mm
structions Q. I. J. K are given simultaneously.
drii.ling cycle is executed with variable drilling 7th plunge 4 mm ¢ K4.
pitch with Q as the initial value. 8th plunge 4 mm
00 must be commanded in the block including
modal G code before programming variable pitch 9th plunge 2 mm Q K'
with I, J, and K.
Total 55.00 mm ¢ Z-55.
EXAMPLE

G91 G73 X··· y ... T-30. Z-55. IlO ... · .


J1. K4. F-··

82
Notes: Execution of subprogram (M9B) in canned cycle
mode. In a canned cycle mode. M98 p ... L···
When the canned cycles are executed by turn- can be programmed to call up subprogram and
ing on the SINGLE BLOCK switch, a temporary the canned cycle is continued in the subpro-
stop is made in an intermediate position, and gram. The address P (program No. of the first
the FEED HOLD Jamp lights up. block of subprogram) with M98 command de-
stroys temporary the contents of address P for
(1) After positioning to point (X, Y)
designation of dwell time, but after the jumping
(2) After positioning to point R
to subprogram. it resumes the contents.
(3) After termination of each cycle, if L
command has been given.
Notes:
The single block stop after the completion of
canned cycles is normal, and the FEED HOLD Programming consideration of M98 in the canned
lamp does not light up. cycle mode is the same as those of other than
canned cycle modes. (e. g. Restriction of ex-
Be sure to designate the R point and Z point by ecution to no more than four levels, M98 com-
programming Rand Z before entering the can- mand from punched tape and the like. )
ned cycle mode. R point and Z point are clear-
ed when canned cycles are cancelled. Address L for designation of repetition number
of subprograms is nonmoda1. But described
When executing canned cycles with the address below is a special case that the address L is
data changed, the block requires any of the fol- retained temporarily.
lowing address commands. The canned cycles
will not be executed otherwise. EXAMPLE

j X. y. Z. a. Rj G9l G8l XIO. R-20. Z-30. FIOO

When M, S, Tor Bt code is given in the can- L3 : The canned cycle is not executed
ned cycle, M, S, T signals are sent at the first because X, Y, Z, <1. or R is not
positioning in the block. In general. M, S, T designated in this block.
should be commanded in their own block. The L3 is retained.

An program error "021 11 is triggered when anyone X20. The canned cycle GBI is executed
of the following G codes is programmed in the 3 times using the retained L 3.
canned cycle mode. After the execution, the L3 is
erased.
G codes of *
group except for G04
G70. G71. and G72
As mentioned above, address L in canned cycle
G codes of 07 group (G41. G42) is retained until actually executed.

When programming G92. G27, G28 etc., make Changing of R point and Z point
sure to cancel the canned cycles in advance. When R is commanded instead of Z during the
Cancellation is made when a G code of 01 group execution of canned cycle in G91 mode. Z be-
is programmed during canned cycles. comes incremental value from the new R point.
Care should be taken.
An program error lt024t1 is triggered when
canned cycles are programmed in the tool radius G92 xo YO zo
compensation C mode (G41, G42).
G91 x··. y ... R-S.O
An program error 11024 lt occurs when canned
cycles are programmed in the tool radius com-
Point R Point Z
pensation C mode (G41, G42).
Z-IO.OF -S.O -10.0
Start of spindle forward or reverse (M03 or X·· . R-7.0 -7.0 -12.0
M04) should be executed by automatic opera-
tion commands before entering canned cycles. X·· . z- 3. 0 -7.0 -10.0
Do not enter into canned cycles after manually R-4.0Z-11.0 -4.0 -15.0
switching the spindle between forward and re-
verse.

83
2.9.25 CANNED CYCLES (G73, G74, G76, G77,
G80 TO G89, G98, G99)t (CONT'D)

EXAMPLE

+y

~-----~-----~----­
,,
,
6--------0--------0--------0--+

,,
,,
,,
--~~--~------------------------------+x
START POINT
".

Fig. 2.75

N 10 Gn XO YO ZO

Nll G90 G98 Return to initial point, Absolute

N 12 G81 X30. Y40. R-20. z- 30. FlOO ; Drilling cycle

N13 M98 Pl00 Jump to subprogram

N 14 GOO XO YO

N 15 TOS Tapper selection

N16 M06 Tool change

N 17 G84 X30. Y40. R-20· Z-30. F2000 ; Tapping cycle

N18 M98 P400 Jump to subprogram (Note)

N 19 GOO XO YO ;

84
9.25A Upgrading the canned cycle (G73, G74, G76, 2.9.25A.2 IMPROVEMENT ON THE HIGH-SPEED
G77, G80 to G89, G98, G99, G181. GI82, GI85, DEEP HOLE DRILLING CYCLE
G186, G187. GI89)*
(1) In high-speed deep hole drilling, inserting some
The following functions are added to the conven- dwell at the bottom of the hole in each pitch can
tional YASNAC MX3 canned cycles. help lighten the load on the drill. Command the
dwell time by setting #6212 or by address P.
Initial point alteration
(2) The drill can be moved up to the R point
Improved command procedure for the high-speed
during high-speed drilling. This allows the chips
deep hole drilling cycle
to be removed during the cycle.
2-step feed
Reciprocal feed
Improved command procedure for boring and back
r4 (X y) INITIAL
boring
2-step drilling cycle
V---1>---------F
I
POINT
W POINT
Improved command procedure for the tapping ,
cycle ~
,, R POINT
2.9.25A.I VARIOUS FUNCTIONS Q I
d, ,
,, ,I
!,,
, ,, ,,,
(1) Initial point alteration

It is no longer necessary to cancel the canned cycle


Q
r &',,
, ,, ,,,
,: -
once before changing the initial point" in the canned -&
cycle. Address W is used. ,I
, C POINT
, &
Example Q TI ,
-------.., r-,-r--W2 t ' 2 POINT
, ,- .--i--+---+--- W 1
Rl-' ,r,, i---<-+"";"-- R 3
o
Dwell
Single-block stop
R 2 ---t-7--i

21---1.-'
2.9.25A.3 2-STEP FEED
23
2 I?elaying the cutting speed near the drilling start
point can improve the precision without performing
center drilling.
G99G81 X"'Y'''R 1 ···z 1 "'F'" ;
G98 X"'Y"'RZ"'ZZ"'Wl"';
X"'Y'''R3'''Z3'''WZ",;
X···Y··· ;

Notes:
1. The W point command under the G91 mode
creates the R point and Z point based on the
initial point of the previous block; not the W
point of command block. Therefore, The old R Address E: Speed of the 1st step
point and Z point are stored to make the move, Address F; Distance of the 1st step speed
unless the R poil)t and Z point are newly (commanded without sign)
commanded.
2. When under the G98 mode (return to the initial
level), single-block stop is not performed at the
R point, but at the W point or the initial point.

85
2.9.2SA.4 RECIPROCAL FEED Example: Fixed pitch

Tapping /horing, etc.:

~.~-y-)----------~F
The forward and return cutting speeds can be
commanded separately. In tapping. the machining
can also be ended before the tapper is elongated.
In boring, the machining time can be shortened. T- INITIAL POINT
In reaming, the flaw made on the machining surface W POINT
during the return cycle can be prevented.
,,
,, R POI NT

! ,,,
--------,
81, ,,,
F FEEDLJ'
E FEED C
Q
-
Q
- ,
81
,, ,
,, ,, ,,,
,, , ,
j ,, ,,,
,
Address: E Return speed
,,, C POINT
Q
81 ,,
2.9.2SA.S IMPROVED COMMAND PROCEDURE FOR
BORING AND BACK BORING

The G76/G77 shift direction can now not only be


I'
~Z POINT

specified by setting. but can also be commanded in Dwell


the program. The dwell time before shift can also o Single-block stop
he given by setting #6210 or by the program
command. C Temporary R point return depth (increment)
This makes commanding of G76/G77 easier. p Hole-bottom dwell
W New initial point (absolute/increment)
G76 X···Y"·Z"·R"·I· ..J .. ·P"·; Setting data (#6211)
~~

l Dwell time Notes:


Shift direction designation 1. When the pitch dwell is commanded by the
program, it has priority over setting #6212.
When program command is not given, dwell is
2.9. 2SA. 6 2-STEP DRILLING CYCLE
performed by entering a numeral in the setting
Two-step drilling cycle is provided to correspond #6212 (I = I ms). PO also follows #6212.
with drilling cycles of hollow workpieces, such as 2. The default of the hole-bottom dwell can also b
castings. 100 is added to the canned cycles of the set by #6212.
G80s, as the 2-step drilling command (GISI, G182,
GI8S. G186. GI87. GI89). 3. C and Q are incremental amounts without sign.

2.9.2SA.7 IMPROVED COMMAND PROCEDURE FOR G 74 Reverse tapping


THE TAPPING CYCLE
G74 X ... Y ... Z ... R ... P ... L ... F ... E ... Q ..
In the tapping cycle, dwell can be commanded upon w...
R point return and initial point return, in addition
to the hole-bottom dwell. This can absorb the
elongation of the tapper.

G73 High-speed deep hole drilling


n
V_JF (X.y)
INITIAL POINT
G73 X ... Y ••• Z ... R ••• Q ... L ... F ... C ... P ... : W POINT
w••• (Fixed pitch) F FEED' REVERSE SPINDLE ROTATION
: AFTER DWELL AT THE R POINT
G73 X... Y ... Z ... R ••• I ... J ... K ... L ... F ... FORWARD R POINT
SPINDLE
C ... P ... W... (Variable pitch) ROTATION E FEED
AFTER
DWELL
......1-"-_ Z PO I NT

Dwell
o Single-block stop

E: Return feedrate (Z point -to R point)


Q: R point dwell
W: New initial point (Absolute/incremental)

86
G76 Boring
rl 0--------1
G76 X ... Y ••• z ... R ..• Q ••• L ••• F .•• P •.. V-(~~~) n. , , I INITIAL POINT
w..• (Fixed shift) I '
I '

G76 X ••• Y ••. z ... R ••• I. .. J ... L ••. F •.• P ••• 0----- -~-t_w POINT
I
w... (Variable shift)
--,..,r---+-+--Z POINT

O
SPINDLE START

(X.Y) /
----~¢= r--INITIAL POINT

,,, ,, J---6--!-- R POINT


,
¢= ?--W POINT
¢=
¥-R POINT

SPINDLE START OR (I, J) SHIFT


AFTER DWELL
0: Single-block stop
SHIFT
I X-axis shift amount (incremental)
SPINDLE ~ Z POINT J Y-axis shift amount (incremental)
INDEXING STOP P Dwell
Q W: New initial point
OR (I, J) SHIFT
Notes:
Dwell 1. Addresses I and J are disregarded when
o Single-block stop address Q and address I or J are commanded at
the same time.
I X-axis shift amount (incremental)
2. In the dwell after back boring, the program
J Y -axis shift amount (incremental)
command has priority over the #6210 setting.
P Dwell
W: New initial point 3. The shift speed is set in #6223.

Notes: G81 Dwell


1. Addresses I and J are disregarded when G81 X ••• Y ••• Z ••• R ••• L ••• F ••• E ••• Q •••
address Q and addresses I, and J are
commanded at the same time. w•..
2. In hole-bottom dwell, the program command has

CJ~INITIAL
priority over the #6210 setting.
3. The shift speed is set in #6223. Note that this
POINT
setting is effective only when #6019, hit DO is

4.
ON.
Address Q is modal, so a Q command before the
I or J, will disregard the I or J. If the I· or J
I

t--w
,

POINT

is to be enabled, command Q80 to cancel the 1 R POINT


canned cycle before commanding I or J. Q
5. Setting #6210 is effective only when #6018, bit f,,
D7 is effective. ,
G77 Dog boring :,
,
G77 X ••• Y ••• z ... R ••• Q ••• L ••• F ••• P ••• ,,,
w.•. (Fixed shift) Z POINT

G77 X ••• Y ••• z ... R ••• 1. •. J ... L ••• F ••• P ••• 0: Single-block stop
w••• (Variable shift)
E: 2-step feedrate (lst step: E, 2nd step: F)
Q: Speed switching point (incremental)
W: New initial point (Absolute/incremental)

Note: Return to the R point or initial point after


reaching the Z point is made by rapid feed.

87
2.9.2SA.7 IMPROVED COMMAND PROCEDURE FOR
THE TAPPING CYCLE (Cont'd)

G82 Spot facing


G82 X ••• Y ••• Z ••• R ••• P ••. L ••• F .•• E .•. Q •••
w... •I,
,
0> - - - W POINT

,
r<t.y)
.

.,,..-<!>--j,.--,r-r-r-r---,..-9---- R PO I NT
T : ~ : I , ~

V-y----r--INITIAL POINT Q : I r ,,
I I I I
I ,
,
I

I ;I' ::::
I "

Q
,,
I

,,
I
I

i Q ,
I

IL:
E FEEDI
I
I
I

F FEED : •o DwelI (P)


S~tting data
I
I
I
I Z POINT ....- ' - - - - Z POINT
DWELL (p) o Smgle-block stop

P Hole-bottom dwell

o
Owen
Single-block stop
W New initial point (Absolute/incremental)
Setting data (#6213)

E 2-step feedrate (lst step: E. 2nd step: F) Note: When the pitch dwell is commanded by the
Q Speed switching point (incremental) program. it has priority over setting #6212. When
W New initial point (Absolute/incremental) the P command is not given. dwell is performed by
entering a numeral in the setting *6212 (1 ;:::: 1 ms)
Note: Return to the R point or initial point after
reaching the Z point is made by rapid feed.
G84 Tapping
G84 X .•• Y ••• Z ••• R ••• P ••• L •.• F ••• E ••• Q ••
G83 Deep hole drilling W•••
G83 X ••• Y ••• Z .•• R •.• Q ... L ••• F •.• P •••
W... (Fixed pitch)
N__
V (-{lX' Y)
'>-........ t;>-- INITIAL POINT
G83 X ••• Y ••• Z ••• R ••• I. .. J ••. K ••• L ••• F •••
: > - - - - - - - W POINT
P ••• W••• (Variable pitch)
FORWARD ROTATION OF
SPINDLE AFTER DWELL
AT THE R POINT
O---i"'"'--R POINT

F FEED I I E FEED
Dwell
o Single-block
stop
~---'----z POINT
REVERSE ROTATION OF
SPINDLE AFTER DWELL

E Return feedrate (Z point + R point)


Q R point dwell
W New initial point (Absolute/incremental)

88
G8S Boring G87 Boring
G8S X ... Y ••• Z ••• R ••• L ••• F ••• E ••• W••• G87 X ••• Y ••• Z ••• R ••• L ••• F ••• W••• ;

r<1(x.y)
V -9>--<:,>-- INITIAL POINT CJ-~NITIAL(x.y)

, ,
SPINDLE START

POINT

6---w
I
POINT
,
t-w POINT

9"--';>--- R POINT <:>---<'__- R PO I NT

I E FEED
:/MANUAL
FEED

' - - ' - - Z POINT ~_--1_ _ Z POINT

0: Single-block stop
SPINDLE STOP
E Return cutting feedrate 0: Single-block stop
W New initial point (Absolute/incremental)
W New initial point (absolute/incremental)
G86 Boring
G86 X ••• Y ••• Z ••• R ••• L ••• F ••• E ••• Q... GBS Boring
W•••

/
G88 X ••• Y ••• Z ••• R ••• P ••• L ••• F ••• W•••

~(x.Y) ~SPINDLE START SPINDLE START

V--;--r--INITIAL POINT
O, (x.y)
-~INITIAL POINT
/ ...

: t--w POINT
:
,
~w POINT
9--~..,-R POINT
Q o---9--R POINT

,,
:/MANUAL FEED
F FEEDI

r--'--- Z POINT

SPINDLE STOP /
SPINDLE STOP AFTER DWELL .(p).
0: Single-block stop
• Dwell
E: 2-step feedrate (lst step: E, 2nd step: F) o Single-block stop
Q Speed switching point (incremental)
W: New initial, point (absolutefincremental) W New initial point (absolute/incremental)

Note: The return to the R point or initial point


after reaching the 2; pain.t is made by rapid feed.

89
2.9. 25A. 7 IMPROVED COMMAND PROCEDURE FOR Note! The return to the R point or initial point
THE TAPPING CYCLE (Cont'd) after reaching the Z point is made by rapid feed.

G89 Boring
G182 2-step spot facing
G89 X ... Yoo. Zoo. Roo. Poo. Loo. Foo. Eoo.
GJ82 X ... Yoo. Zoo. Roo. Poo. Loo. Foo. Joo.
Woo.
Koo. Eoo. Qoo. Woo.

r<=\x.
O-~INITIAL
y)
V--r---r-- IN! TIAL POINT
,,
POINT
,
, ,
t- w POINT ,
l r---
'
w POINT

~ R POINT
9---9----R POINT
: ::::

F FEED E FEED t=:t...--J POINT

....--~---z POINT 9----+-.--K POINT


E FEED Q
f----+~
DWELL (p) F FEED
-~-~------z POINT
• Dwell
o Single-block stop
• Dwell
o Single-block stop
E Return cutting feedrate
W New initial point
J 2-step hole rapid feed start point (absolute!
incremental)
GJ8J 2-step drilling K 2-step hole cutting feed start point (absolute/
incremental)
GJ8J X ... Yoo. Zoo. Roo. Loo. Foo. Joo. Koo. E 2-step feedrate (1st step: E, 2nd step! F)
Eoo. Qoo. Woo. Q: Speed switching point (incremental)
W: New initial point (absolute/incremental)

Note: The return to the R point or initial point


r<1(x.y) after reaching the Z point is made by rapid feed.
~--~INITIAL POINT
, ,
I t--w POINT
GJ85

~R
G185 X ... Yoo. Zoo. Roo. Loo. Foo. Joo. Koo.
E FEED POINT Eoo. Woo.
F FEED : Q
19 (X.Y)

:
: J POINT
,,, ~-~INITIAL POINT

9----!--.--K POINT ~ W POINT

tt=
Q
E FEED R POINT
F FEED
-.L----'--------z POINT , J POINT

0: Single-block stop F FEED I r:\E: FEED:


POINT
J : 2-step hole rapid feed start point (absolute I
incremental)
K: 2-step hole cutting feed start point (absolute! POINT
incremental)
E : 2-step feedrate Ost step: E. 2nd step: F) o Single-block stop
Q: Speed switching point (incremental)
W: New initial point {absolute/incremental}

90
J 2-step hole rapid feed start point (return:
cutting feed start point) (absolute I
incremental)
K 2-step hole cutting feed start point (return: INITIAL POINT

E
rapid feed start'point) (absolute/incremental)
Return' feedrate ,,
W New initial point (absolutelincremental)
•,, W POINT
R POINT
Note: The return to the R point or initial point
after reaching the Z point is accomplished by
switching the cutting feed and rapid feed at points
F FEED I
J POINT
J and K.
E FEED I E F EED

G 186 2-step boring


K POINT
Gl86 X ••• Y ••• Z ••• R ••• L ••• F ••• J •.• K •••
E ••• Q ••• W•••
F FEED I
DWELL (p) Z POINT
r9
V----:---r---
(X.y)
.: Dwell
INITIAL POINT 0: Single-block stop
, P -,: Z point dwell
1>----W POINT J 2-step hole rapid feed start point (return:
6--&-~--R POINT
cutting feed start point) (absolute/incremental)
K 2-step hole cutting feed start point (return:
Q
E FEED rapid feed start point) (absolute/incremental)
F FEED ~---,c....JL- E Feedrate between J and K. and return cutting
feedrate
~~~----J POINT
W New initial point (absolute/incremental)

Note: The return to the R point or initial point


b--~--- K POINT after reaching the Z point is accomplished by
switching the cutting feed and rapid feed at points
Q
J and K.
E FEED ~_LJL­
F FEED
J.--L__- Z POINT G 189 2-step boring
GI89 X ••• Y ••• Z ••• R ••• P ••• L ••• F ••• E •••
SPINDLE STOP
J ••• K ••• w...
0: Single-block stop

E:
Q:
2-step feedrate (1st step: E. 2nd step: F)
Speed switching point (incremental)
r=! (X,Y)
V - - - - : - - y - i N I T l A L POINT
J: 2-step hole rapid feed start point {absolute}
incremental) , ,
K: 2-step hole cutting feed start point (absolute I
incremental)
: y>----- w POINT

W: New initial point (absolute/incremental) R POINT

Note: The return to the R point or initial point


after reaching the Z point is made by rapid feed.

':t±=:
I J POINT
F FEEDI : I tE FEED
G 187 2-step boring
GI87 X ••• Y ••• Z ••• R ••• L ••• F ••• P •.• J ••• POINT
K ••• E ••• W•••

o
Dwell
Single-block
stop POINT
DWELL (P)·
E Return cutting feedrate
J 2-step hole rapid feed start point (return:
cutting feed start point) (absolute/incremental)
K Z':"'step hole cutting feed start point (return:
rapid feed start point) (absolutelincremental)
Note: The return to the R point or initial point
after reaching the Z point is accomplished by
switching the cutting feed and rapid feed at points
J and K.
91
2.9.26 ABSOLUTEIINCREMENTAL PROGRAMMING 2.9.27 PROGRAMMING OF ABSOLUTE ZERO
(G90. G91) POINT (G92)

These G codes are for designating whether the It is necessary to program the absolute zero point
movement data following the axis address are in ·before programming movement command. When an
absolute value or incremental value. absolute zero point is programmed, one absolute
coordinate system is determined, and all absolute
G90 Absolute designation movement commands programmed thereafter will
move the tool on the programmed coordinate.
In the block including G 90 and in the subse-
quent blocks. the movement data which follow G92 X .. · y ... Z ... (at ... p ... ) ;
addresses X. Y. Z, (at (1) are regarded as
absolute values. With this command, the current position of the
tool is programmed in the control as absolute
G 90 GOO X··· y... Z .. · coordinate point (X, Y ,Z, at /3). That is, pro-
Absolute designation gram the distance (with sign) from the desired
absolute coordinate zero position (0, 0, 0, ot)
G9l Incremental designation to the current position. In other words, G92
command is for designating the position of the
In the block including G 91 and in the subse- "absolute zero point. If
quent blocks. said data area is regarded as
incremental values. EXAMPLE
G9l GOI X ... y ... Z··. G92 XSOO. Y300. Z400.
Incremental designation

+y

+Y 300
.//
_~ __ '" // I
// ,,/' I
/ - 1
f - - - ~-_+_-,~'-=Sc.::O..:.O,-.__ +X

Y3
Y6
/ _ _ _ _ _ _ ...Y
1
1
1/
/
/

'{2
Ys
/ +z
400.

'--v---'
llY4 /
II' X4 Xs X6
+X
G91: Incrementa 1 Xl Fig. 2.77
G90: Absolute f X,
l X3 G92 is a G code of non-modal group which is
valid only in the programmed block. It is not
possible to program other Geodes, F, M, 5,
T, B t codes in the same block.
Fig. 2.76
Notes:
G 90. G 91 are modal G codes of 03 group. In principle, program G92 in the state where
all tool offset modes are cancelled.
If both G90 and 091 are programmed in the When the power is turned on. the current posi-
same block, the G code which was programmed tion of the tool is set as' absolute zero point (0,
last is valid. O,o,ot). Make sure to reprogram absolute co-
ordinate by G92 before executing the automa-
Note- : tic operation.
The initial state of these G codes when the pow-
er is turned on can be designated by parameter The programmed absolute zero point is not af-
#600SnO' fected by reset operation. Perform any of the
following operations for resetting the absolute
Parameter( #6005DO) Initial state zero point.
110 11 G90 1. Usc ORG key (see 4.1.9).

If 111 G9! 2. Write G92 XO YO ZO at. 0 PO in MDI mode,


and then execute.
3. Turn the power off and on again.

92
2.9.28 TOOL LIFE CONTROL (G122. G123) (2) Tool life control data dispaly
2.9.28.1 TOOL LIFE CONTROL Page 3 and subsequent pages of the tool life
control dispaly are the tool life control data
The tools are classified into groups and tool display. Each tool group composes a 2-page
life (usage time. total usages or usage distance) data display screen. Using "group search" will
is set for each group. This if? a function to give be convenient to display the desired page.
commands for tool groups from the part program
and to select the next tool in the same group, < Operating sequence of 11 group search II >
which has been sequentially arranged J when the
fixed life expires.
(a) Press the
control display.
m key and page to the tool life

(1) Maximum number of tools to be controlled ••• (b) Press the lfb,GE! key and page to the tool
.. 256 Of the tool numbers from TOI to T9998. 256 life control data display.
can be registered as tools for too] life control.
If T code commands are given with two digits J (c) Key-in the numerical value of the object group.
tool numbers from TOI to T99 only can be used. (d) Press the !CURSOR! key. Data display of
(l) Number of groups that can be registered the object group will then appear.
and the number of tools that can be registered
per group. GROUP NO. LIFE CLASSIFICATION
Maximum number of groups •••..•• 128
Maximum number of tools per group •••..• 16 TOOL LIFE CO TROL 01234 N1234
The maximum controllable number of tools. however, GROUP MINUTES
is 256. T-NO H-NO D-NO LIFE USED STS
Note: Different number of tools can be set for TOOOI 001 002 300 302 OVR
each group such as 12 in group I, 8 in group 2. TOOll 011 012 400 400 OVR
T0024 100 101 500 153 SKP
(3) Setting and displaying tool life control data: T9001 212 214 25
The tool numbers used in each tool group and TOO05 023 022 00
the tool compensation number. life. total usages. Tl278 • • 0
etc. of each tool can be entered directly from T0054 0
the operator's panel or can be input from the
part program. The tool life control data can also

UNREGISTERED
be displayed with the Qrn function. MARK

TOOL LENGTH TOOL LIFE TOOL LIFE


COMPENSATION OVR-LIFE EXPIRED
NO. SKP-SKIPPED TOOL
TOOL LIFE CONTROL 01134 N1234

001 002 003 004 005 007 009 010 2.9.28.3 TOOL LIFE CONTROL DATA SETTlNG
012 014 015 017 018 022 025 030 (1) Setting by key input
031 032 033 034 035 042 043 048
Writing and correcting of tool life control data
051 066 067 068 069 070 072 073
074 075 077 078 079 080 081 082 can be performed from the operator's panel.
084 084 085 086 087 088 089 090 (a) Sequence of operation
091 092 093 085 099 100 101 10l
(i) Press the fIDl key and page to the tool life
103 104 105 111 122 128 • • control display.
REGISTERED GROUP NO.
(ii) Use the r.lp"A"G=E"! key or group search and
ROY search the group to be rewritten.
(iii) Since the cursor will be at the first T-NO.
move the cursor to the .T-NO by pressing the
2.9.28.2 TOOL LIFE CONTROL DATA DISPLAY I CURSOR I key. (The cursor moves horizontally.)
(iv) Key-in the numerical value.
With the function set to Ift ,. tool life control
(v) Press the IWR r key. The data at the cursor
data as shown below will be possible by pressing
position will then be rewritten.
[()f?$l once again. The" l1W!{] key is a two stage
switch for offset display and tool life control (b) Write of T-NO
display.
If the cursor is placed under a registered T-NO
(1) List of tool life 'control group registrations and a new T-NO is entered, the other data will
Pages 1 and 2 of the tool life control display be initialized and LIFE; 9999. H-NO and D-NO
shows a list of registered tool groups. Check will be unregistered (* mark). and USED ~ 0
the information on these pages for any group STS will be blank. Key-in a numerical value
you desire to index. between 0 - 9998 for the T;NO.

93
2.9.28.3 TOOL LIFE CONTROL DATA SETTING (f) Writing life classification
(CONT'D)
(i) Press the /PAGEI key to move the cursor
(c) Writing H-NO and D-NO to the initial T-NO position and press lCURsoRt I
The cursor will move to the life classification
0) When a command such as H999 or D999 is given position.
from the part program, the corrected numbers
(ii) Key-in[Q]and [WRI and life classification will
stored here will be searched.
change to MINUTES.
Oi) As long as nothing in particular is written Key-inITJandlWRland life classification will change
in H-NO and D-NO, they will be considered to COUNTS. Key-inl1] and IWRI and life classifica- '
unregistered (* mark). tion will change to METERS or FEET.
(iii) Unregistered and H-NO = 0 are different. Key-in mIWR/ to change the life classification to
Although H-NO = 0 and D-NO = a are corrections
cancelled. if H (D) 999 is executed in unregistered drilling count (HOLES).
state. an error will occur. (iii) Writing of life classification is effective
(iv) Key-in numerical values from 0 to 299 for for the group written. Although one group has
H-NO and D-NO. two pages, both pages display the same in life
classification so either page can be written.
(d) Writing LIFE
(iv) For life classification, key-in the numerical
0) The numerical value 9999 will be automatically values 110 11 to 1t3. n
written when T-NO is written.
Cg) Data erasure
(H) Key-in LIFE with a numerical value between
I and 9999. Data can be erased by using the I ORG I key.
A list of data erasure methods is shown in the
(e) Writing USED table below.
(i) When T-NO is written as the value of USED,
the numerical value 0 will also be automatically
written .
.(ii) In general, start USED from O.

Table 2.32 Data Erasure Method

Erasure Type Page Cursor Position Key-in Data

Erasure of all All pages Possible at any [QII 1919191911 0RG I


groups place.

Erasure of All pages Possible at any [Q]~IORGI


one group place.
Group number to
be erased.

Erasure of Page 3 and T-No with II] IORGI


T-NO subsequent data.
pages

Erasure of Page 3 and STS with data. [§] IORGI


STS subsequent
pages

(h) Notes: (2) Setting with the part program


0) There are mutual relations in data modification Tool life control data can be set by executing
of LIFE, USED and STS. a program with the format shown in the table
below.
When LIFE S; USED, OVR is generally lit. If STS
is cleared, USED will also become "0. II (a) Tool regeistration G codes (G122/GI23)
commands are given in the following form.
(ti) Data correction is possible by key operation
only when the edit lock is lIopen II and not in G 122; ........ , Starts tool registration
automatic operation.
G123; Ends tool registration
(iii) If one group or all groups are erased, th~
Give commands 'on tool information to be set in
life classification of the groups concerned will be
the section of G l22; ........ G 123; .
initialized to MINUTES.

94
(b) Data commanding format (vii) Commands G122 and G123 can be used in
independent blocks.
Table 2.33 Tool Life Control Data Format
Tape Format Meaning (viii) Do not enter commands (such as a shift
command) other than tool information in the G 122;
G 122; Tool registration start. . .. G 123; section. (Alarm will result if such a
P []UI.I I L'>. ; Commands group No. after P. command is entered.)
Commands life classihcatlOn after 1.
T 1I1111H OO':j 0[10 Specifies too! No. after T.
Ox) Do not switch over the mode to execute a
Specifies tool length compensation manual MDI command while executing Gi22;. (Alarm
No. after H. will result if this is attempted.)
TlIlIlIHOOOD[[) Specifies tool radiUS compensation
Lx x x; No. alter D. (x) If I is omitted, the life classification originally
Specifies tool life{ 1- 9999) after L.
specified in that group will remain unchanged.
PODOlL'>.; A cleared group will generally be in the "minutes I!
T lI.1I6H OOODOD 5cts new group data. state.

Tool registration end. 2.9.28.4 EXECUTION OF TOOL LIFE CONTROL


(1) Commands with the part program
(c) G code (G 124) for clearing tool registration
The tool life control data can be cleared by enter- Tool life control can be performed with commands
ing the G124; command. If a command for P is from the part program by using the T and H
given in the same block as G124. one 'group only codes shown in the table below.
will be erased. (P :::: 1 to 128)
Table 2.34 Tool Life Control by Part Program
In other words. by entering the command
G 124P •.. ;. it will be possible to erase only the Tape Format Meaning
group specified by P.
T 10001; Tool life control ON mode will be set with
NOTES: the M06 command of "tool group number +
10000."
(i) All previously registered data will be cancelled
by executing G 124;. If command G 122 is entered (j)M06; The tool will be mounted on the main shaft
with the M06 command and time and distance
without executing G124. the following will r.esult.
: count will normally start thereaftc! .
(a) If tool numbers have already been registered
H999; The H-NQ registered on the tools will be
previous data will be erased and replaced with
selected with the H999 command.
new data. If Hand D are omitted in the block
in which T exists. T will change to unregistered D~99; The D-NO registered on the tools will be
(* mark). selected with the H999 command.

(b) If tool numbers are unregistered. new data DO; Cancel D


will be registered in simple form. If Hand D
are omitted in the block in which T exists, T H~; Cancel H
will change to unregistered (* mark). If L is
T6666; Returns to normal T command
omitted, L9999 will be stored.
(U) Settings are possible in which tiregistration ®M06; The tool on which life control is being carried
out with the MOb command will be removed
will start after cancelling all previously registered main shaft and counting of time and
data if command G 122; is executed H • : from the
distance will end.
(iii) The Hand D codes can be omitted when not M30 Machining ends.
being used.
(iv) Tool life L will be modal between G122 and Notes:
G123 so these commands can be omitted when· 1. The T code command of the numerical value
setting to the same tool life. of "tool life group number + 10000 11 with T 10001
(v) The following life classifications can be set by to TI0128 controls tool life and outputs the
T codes registered in that group.
specifying 1.
10 •.•. Controlling by time (1 to 9999 minutes) 2. The Hand D codes of the tool being selected
will be selected by commands H 999 and D 999
11 .... Controlling by counts (1 to 9999 times) with the tool life control function.
12 •.•• Controlling by distance (1 to 9999 inches (2) Tool life count
1 to 9999 feet)
(a) One of the following can be selected with
13 •••• Controlling. by the drilling count (1 to parameter #6020 on the tool on which life count
9999 counts) . is to be performed.
(vi) Each of the addresses T. H, D, L, P, I Counting of a tool in the latest T command
has the following commandable range. Any other group of the M06 command.
command values will result in an error.
0;:;;T;:;;9998. O;:;;H. D;:;;299. 01OL;:;;9999. I;:;;P"; Counting of a tool in the T command group
128. 0";1";2 just prior to the M06 command.

95
2.9.28.4 EXECUTION OF TOOL LIFE CONTROL ( 2) Parameters
(CONT'D)
#6020 D7
(b) Tool life count will not be performed by time, Specifies group nu.mber for tool change skipping
distance or counts when the II tool life count dis- (TLSKP)
regard input IT is in ON state.
0: Currently specified group
(c) When tool life is set by time
I: External signal (TLI to TL64)
The control will count every second in which the
tool is actually used in the section between CD and
#6020 D6
e.g) of the table in para. (1) and, in the cutting
mode. Life count will be increased by 1 each Selection of a T command group during an M06
time one minute is exceeded. However. the time command.
required for single block stop, feed hold, fast 0: Latest T command
feed and dual operation will not be counted.
1: Immediately Prior T command
(d) When tool life is set by distance
The cutting distance is calculated by the interval #6020 D5
(every second) outlined in para. (c) and life count Group number command for tool change reset
will be increased by III n each time the distance (TLRST)
exceeds 1 inch or 1 foot. 0: Setting #6204 I: External input (TLI to TL64)
(e) When tool life is set by count
#60l0 D4
The count will increase by IILII when the command T 1M selection when tool life control is by count
T9999L.c..c..c.j in the section between CD and@of
0: Counts with T9999L 666
the table in section (1) is executed. 1£ L is
omitted, L I will be equivalent. 1: Counts with M02/M30

(f) When the tool life is set by the drilling count 2.9.28.6 ALARM CODE DETAILS ON TOOL
LIFE CONTROL
The repeat count "LII of the drilling command
(canned cycle <G73, G74, G76, G77 and G81 to (1) Format errors of alarm 125: G122/G123/G124
G89>, drilling pattern cycle <G70, G71, G72»
counts the life, within the commanded tool life count (a) A different address command was made in
range. 1£ no ilL" is specified, one drilling is the G122 or G123 block.
counted, when nUt ;;; 0, 0 drilling is counted. (b) P command was neglected and T command
The life count is performed in the look-ahead was made in G 122.
process. Therefore, if the life ends during (c) A numerical value other than 1-;; P ~ 128, 0 ~
execution of a single block, the life will be over 1:"'2, OST:"'9998, 0;;;L;;;9999, 0;;;HS299, and
before executing that block. O~D$299 was commanded in G122.

(g) The count can be increased by 11 1'1 only (d) Intervened in. GI22 with a manual MDI.
during the M02/M30 command. However, the (2) Alarm Il6:
count cannot be increased by incorporating
T9999L.c...c...c. and M02/M30 in the same program. This is an error when there is an overflow during
Selection of whether to count with T9999L.c..c.6 or execution of a life control data command.
M02/M3Q must be made with parameter #6020. (a) A command was entered for 257 or more tools.
(h) The maximum value for USED is 9999 so the (b) A command was entered for 17 or more tools
count will not go above 9999. in one group.
2.9.28.5 PARAMETERS AND SETTINGS FOR TOOL (3) Alarm 127:
LIFE CONTROL This is an error in a T5' digit command and a
(I) Settings T9999 command function
#6004 (D6) (a) when a T5 digit command was executed, the
object group was not registered.
Clears life data registered prior to the G122;
command (b) The T9999L 6.c..c.command was executed
0: Does not clear 1: Clears although the parameter was for a count with
M021M30.
#6204
(c) The T9999L 666 command was executed althougl
Specifies group' number when resetting for tool it was not a life control classification count.
change. However, this is only effective when
#6020 D5 is "O.IT Setting 1 to 128 (4) Alarm Il8:
This is an error in the T 5 digit command and
the H(D) 999 command fuction.
(a) All of the groups were in SKP status when
the T 5 digit command was executed.

96
(b) Tool numbers H-NO and D-NO were found (4) Note:
unregistered (* mark) when executing command
H (D) 999. (a) If a and b are omitted, the position where
the command of G68 was made becomes the center
Notes: of rotation. Omission of R is not permitted.
(1) Do not rewrite the life control data when (b) Blocks of G68 a·····b ••••• R •• ··.: and G69:
executing life control. must be commanded by a single block. Be sure
to use G68········ ·G69 in pairs for the rotation
(2) Even if MOb is executed in manual MDI, life of coordinates.
control will not be executed. Do not execute
commands TIOOOI through TI0128 in manual MDI. (c) Position display shows the position where the
rotation of coordinates was commanded.
(3) If the'part program memory capacity is 150m
or 320 m, use 13 m as the t"ool life control data. (d) When using together with scaling functions,
This will then reduce the part program memory the rotation of the coordinate system is made after
turning-on scaling, and thus the command should
capacity by that amount.
be made in the following order:
(4) If OVR and SKP occur at the same time, T- NO
G51····.; (Scaling on)
will display SKP on a priority basis.
G68··· •• ; (Coordinate rotation on)
2.9.29 ROTATION OF COORDINATES (G68. G69)

(I) {G17}
GI8 G68 a·····b·····R·····j
G 19

Where, G69;.· ••• (Coordinate rotation off)


a, b: Values of coordinates of the center of
rotation G50:····· (Scaling off)
R: Angle of rotation (+ for counterclockwise (e) G68. G69 are modal G codes of group 18.
direction, and absolute value is to he used for
(£) G69 is automatically selected during power
command)
turn-on or reset operation.
(g) Commanding the rotation of coordinates (G68)
By commanding with the above, the commands is not possible during tool radius compensation C.
thereafter are rotated by the value of the angle It activates an alarm.
assigned by R around the center commanded by
(h) The following G codes cannot be commanded
point a, b. The angle of rotation must be com-
during the rotation of coordinates: They activate
manded in 0.001 degree units.
alarms.
G29, G31, G36, G37, G38. G53 and Gn
(i) The rotation of coordinates turns on during
the approach of ordinary machining and turns off
upon completion of machining. It should be noted
that no proper machining shape is obtained if the
rotation of coordinates is turned on during
machining.
If the rotation of coordinates (G6S) Is commanded
during the canned cycles, the canned cycle mode
is canceled.
(j) Alarm codes related to the rotation of coor-
(a, b) dinates are as follows:

(2) Plane of rotation is determined by the Alarm No. Contents


plane (G17, Gl8, G19) that has been selected.
150 G code not to be used In G68
(But the 4th mode has been commanded.
G17· •• XY plane or X4 Plane} G68 Is commanded agaln when
axis is limited
G 18· •• ZX plane or Z4 plane a G68 command 15 executed.
to straight
GI9· •• YZ plane or Y4 plane line axis.)
(3) G69: 151 Format ofG68. 069 command
blocks 15 not correct.
When this is commanded. the coordinate rotation
mode is cancelled.

97
2.9.30 SETTING OF LOCAL COORDINATE 2.9.31 AUTO MODE HANDLE OFFSET
SYSTEM (G52) t
This is the function of synchronizing the movement
(I) G52 Q2 X·····Y·····Z·····a·····a·····; by manual pulse generator with the movement by
(0. and B respectively sho~s the 4th and 5th
Auto operation during auto operation (tape opera-
axes. ) tion, MDI operation, memory operation).
Deviation due to the mounting of work can be off-
When the above command is issued. a coor- set by this function.
dinate system shifted by the corresponding
commanded value from the work coordinate system (1) Operating procedures are as follows:
is set.
(a) Turn on the auto mode handle offset switch.
This coordinate system is called the local coor-
dinate system, and thereafter the tool moves on (b) Select an axis to be moved by means of the
this assigned local coordinate system. handls axis select switch. However, if nthe man-
ual pulse generator of simultaneously controllable
Programming Example axes of three-axis con troll! has been added, the
Nl G90 GOI XIOO Y200 FIOO; movement woth simultaneous 3 axes can be
N2 G54; performed.
N3 XIOO Y300;
(c) Select the distance traveled per graduation of
N4 G52 Q2 X300 Y200;
handle by means of manual pulse multiply switch.
N5 X200 YIOO; The distance traveled per graduation can be
N6 G52 Q2 XO YO; switched to 1, 10 or 100 pulses.
N7 XO YO;
N8 G52; (d) If the handle is turned during the auto
N9 XO YO; operation of interpolation block, the distance
traveled by handle is synchronized with the
Work Coordinate System Shift Amount (200, 100) distance traveled by auto operation on the axis
selected by Step (b).
y
Clockwise direction: To positive direction
Counterclockwise direction:
To negative direction
N3,N4 N\
400
N6 LOCAL COORDINATE HANDLE t HAI'DLE
3DC

~
SYSTEM AXIS MANUAL
Z PULSE MULTIPLY

N7.NS WORK COORDINATE xYqJ' X 100


XIO~XIOOO
Al'TO ,\IODE
HANDLE

N,
SYSTEM
BASIC COORDINATE
X 1.J 4:} lX 10000
OFf SET
<&
laC 200 300 400 500 600 70C X X 100 000
SYSTEM OFF

(2) G52 Q2 XO YO ZO (aO ao); (c) Turn off the auto mode handle offset switch.
When this command is issued. the local coordinate (0 After that the rnovement is made with the
system is cancelled and return to the work coor- shift corresponding to the offset made by the
dinate S'ystem occurs. handle. However, for the setup command (such
as G92) of coordinate system thereafter. the offset
(3) G52; portion by the handle is not added, and the setup
By this single block command, the return to only by the commanded values is performed.
reference coordinate systel? occurs.
(2) Remarks
(4) Remarks (a) Movement of auto mode handle offset is effec-
(a) G52 Q2 command is effective only when the tive only during interpolation in auto operation.
work coordinate system has been set. Alarm 1I043 H It is invalid during rapid traverse or single stop.
is triggered if the command is made if the work (b) Under an alarm state, movement by the auto
coordinate, system has not been set. ' mode handle offset is not possible.
(b) Setting of coordinate system by G92 command (c) When the axis interlock input (IT) is on,
or ORG key is not permitted under the state of movement by auto mode handle offset is not pos-
setting work coordinate system and local coordinate sible.
system.
(d) By means of parameter setting. it is possible
(c) Precautions with the setting functions of work to invalidate the movement by auto mode handle
coordinate system are also applicable here. offset of each axis.
(d) It should be noted that G52 performs the
operation of cancelling the work coordinate system
(G54 to G59) if the above option has not been
added.

98
2.10.2 MESSAGE DISPLAY BY CONTROL-OUT
Parameter AND CONTROL-IN
Axis Effective/Invalid
No. Setting
.6010 (1) Programming and Display by Control-Out and
1 Effective Control- In
X-axis (Change)
(HOFSX) 0 Invalid
The user can program any message between the
#6010 1 Effective
Y-axis information enclosed with control-in and control-
(HOFSX)
0 Invalid out in the part program in order to display the
#6010 1 Effective message on the CRT screen. The enclosed in-
Z-axis formation is assumed to be insignificant.
(HOFSZ)
0 Invalid
#6011 1 Effective (2) How to Edit Control-Out And Control-In
4th-axis
(HOFS4)
0 Invalid
The control-in and control-out part may be edited
#6011 1 Effective by the usual edit operation.
5th-axis (HOFS5)
0 Invalid
a. Depress [§] key andlSHIFTlkey, and char-
acter 11 (II may be entered.
(e) The auto mode handle offset switch is #13207
(HOFS) •
b. Depress [5] key andlSHIFTI key, and char-
(f) For the function stated above, manual ab- acter II) II may be entered.
solute function is invalid.
Notes:
(g) For unmoved axis, handle offset is in valid.
1. The characters which are indicated in the
thick-lettered keys shown below may be enclosed
in control-out and control-in.
2.10 USER MESSAGE DISPLA Y t
2. The number of characters that may be en-
closed in control-out and control-in less than
32.
2.10.1 ALARM MESSAGE DISPLAY BY #8000
COMMAND 3. Nesting of the control-out and control-in is
not allowed.
The user can display any alarm message on the
CRT screen. By specifying the following com-
mand in the part program, 3-digit alarm number
n and the alarm message (less than 32 characters)
may be designated:
#8000 = n «alarm message'» ;
The alarm number should be 3 digits and
one that is not used by the can trol. For the
alarm message, alphanumeric characters may be
used. When this #8000 command is executed,
the alarm message is displayed and I'ALM" flashes
at the bottom of the CRT screen. Fig. 2.79

Characters Enclosed
ALARM 00010 N0107 in Control-Out and
Control-In (Thick-
Lettered Keys) for
9" CRT

USERS MESSAGE

lZ3: USER ALARM

ALM

Fig. 2.78 Sample Display of


Alarm Message by #8000 Command
Note: If a command with a wrong alarm message
is specified. a format error will be caused.

99
2.10.2 MESSAGE DISPLAY BY CONTROL-OUT Main Progr am User Macro Body
AND CONTROL-IN (CONT'D)

II
-0901 ;

) to

G65 P900I [ Variable


Operation Command
~
(Argument
(TEST PROGRAM) Program Control Command
Designation) ;

I~
Example
GSI XIOO YlOO
Z-50 R-25 L3 ) I
V - M99 ,
(DRILL END)

Main Program Subprogram

01234

M98 P 1234
Message Display by
Control-out and Control-in
M99

PROGRAM (MEM) 01234 NOOl8


However. unlike a subprogram. a user macro
allows:
(1) Use of variables.

(TEST PROGRAM) (2) Computation between variable or between


constants.
G81 XIOO YIOO
2-50 R-25 L3 (3) Use of c::mtrol commands such as conditional
branch.
(DRILL END)
These features enable the user macro body
to provide a generalized program that requires
complicated computations and decisions.
The nargument designation Tl in calling a user
macro body from the main program makes it
possible to assign the real numbers to the vari-
ables in the body. This enables this user macro
2. II USER MACRO (G65 AND G66) to run as a series of specific program that pro-
vide tool movements.
Special programs written by the machine builder In this manual, the user macro body is sometimes
or user by the use of a group of instructions are referred to as ltmacro program 11 or, simply.
registered in the part program memory. These Hmacro. H
programs can be called by the use of G65 or G66
command to execute them.
2.11.1 USER MACRO CALL COMMANDS
These special programs are referred to as the
user macro body, which can be written and stored A user macro body may be called in the following
in the same format as a subprogram. five manners:

No, Type of Call Code Remarks

I Simple call G65


2 Modal call G66 G67: For cancel.
3 Call by arbitrary Gxx
G code
4 Call by M code Mxx
5 Call by T code Txxxx 4 digits max.

100
(1) Simple Call (C65) #6130 .,. Sets M code which calls the macro of
program number 09001. "
G65 p ... L'" (argument designation)
#6131 .,. Sets M code which calls the macro of
program number 09002.
The macro program whose program number waS
specified by P is called and is executed L times. #6132 .. , Sets M code which calls the macro of
The default value of L is 1. When the designation program number 09003.
of an argument to the user macro is desired.
#6133 .,. Sets M code which calls the macro of
specify it in (argument designation). II.Argument
program number 09004.
designation Ti is the assignment of real numbers to
the: !!local variables t1 used in the user macro. For For macro call by arbltary M code macro,
details. see I. 3 ARGUMENT DESIGNATION. argument designation Is available.
#6073 04 I: Argument designation applicable
0: Argument designation not applicable
(2) Modal Call (G66 and G67)

G66 p ... L··· (argument designation) Meade


#6580 Program No. 09005 macro calling M code
This command provides the mode to call the macro
program of the program number specified by P. #6581 Program No. 09006 macro calling M code
Each time a move command is executed, the spec-
#6582 PrograIT.l No. 09007 macro calling M code
ified macro is run L times.
#6583 Program No. 09008 macro calling M code
G67 #6584 Program No. 09009 macro calling M code
#6585 Program No. 09020 macro calling M code
This command cancels the modal call mode.
#6586 Program No. 09021 macro calling M code
#6587 Program No. 09022 macro calling M code
(3) Macro Call by Arbitary G Code
#6588 Program No. 09023 macro calling M code
Gxx (argument designation) ; #6589 Program No. 09024 macro calling M code

This provides the command which is equivalent to #6590 Program No. 09025 macro calling M code
G65 p ... (argument designation) ;. For Gxx. #6591 Program No. 09026 macro calling M code
ten sets of G codes of GOl through G199 except
for those designated by NC maker may be set for #6592 Program No. 09027 macro calling M code
the parameter. The macro program numbers which #6593 Program No. 09028 macro calling M code
correspond to these G codes are as follows:
#6594 Program No. 09029 macro calling M code
#6120 .. , Sets G code which calls th'e macro of #6595 Program No. 09030 macro calling M code
program number 09010.
#6596 Program No. 09031 macro calling M code
#6121 .. , Sets G code which calls the macro of
program number 09011. #6597 Program No. 09032 macro calling M code
#6598 Program No. 09033 macro calling M code
to
#6599 Program No. 09034 macro calling M code
#6129 .. , Sets G code which calls the macro of
program number 09019. Notes:
1. The current M code macro specifications and the
NOTE: Macro call by arbitrary G code permits M code macro specification that allows argument
only single nesting. Namely. the macrO which designation can also be switched by parameter
was called by the macro call using arbitrary G ""s~tting •
code or the macro call with Meade br T code does
not permit another macro. call by arbitrary Geode. 2. No argument designation can be made to the M
code in the M code macro. If commanded, error 104
[PROG ERROR (DOUBLE ADD) J will occur.
(4) Macro Call by M code "3. When arguments can be specified, addresses X.
Y, Z, A, B, C, U, V and Ware also regarded as
G·",· X'" y.,. Mxx; arguments.

This command may call macros. In this case. NOTE THAT THE MACRO CALL BY M CODE
the macro is executed after the execution of the DOES NOT PERMIT ARGUMENT DESIGNATION.
move command in the same block. MF and M
codes are not transmitted. For Mxx. four sets When these M codes are specified in the
of M codes of except for MOO, MOl, M02, M30.M90 macros called by the macro call using arbitrary
through M99 may be set for the parameter. G code or by the macro call using M code or T
code. the macro call is not executed but is
handled as a usual M code.
101
2.11.1 USER MACRO CALL COMMANDS (CONT'D) Program example
(5) Macro Call by T Code 061 ; 062;
All the T code commands provide a macro call com- DOl; 001 ;
mand.
D02 ; M98P63 ;
G'" X··· y ... Txxxx M98P62; - I GOT020;

With this command. the macro of program num- GOTOIO; ENOl;


ber 09000 is executed after the move command END2 ; N20M99 ;
in the same block is executed:
ENDl;
Transmission of T code and TF signal is not per-
formed. Whether a T code is to be used as a NlOM30;
macro call command may be specified by the fol-
M98 or ICbS can be specified at the above 11-1. It
lowing parameter:

Parameter No. Besides quadruple nesting is permitted for


subprogram. Multiple call is disabled for the rnacr
#6134 call by arbitrary G code. or M code or T code.
o T code designation is handled as a T code.
B. Multiple Call by G66 Modal Call
1 T code designation is handled as a macro
call command to call the macro of program In modal call each time a move command is ex-
J

number 09000. ecuted, the designated macro is run. This is


also valid for the move command in the macro
When a T code is specified as a macro call called by multiple call. The macros are sequen-
command, the value designated by T !1 XXXX U (up tially executed from the one designated latest.
to decimal 4 digits) becomes the argument of
common variable #149. NOTE THAT THE ARGU-
Sample Program
MENT DESIGNATION OTHER THAN THIS IS NOT
PERMITTED. When a T code is designated in the
macro called by the macro call by arbitrary G Gbb P9400 ;
code or by the macro call by M code or T code, GOO X 10. ,
the macro call is not executed but is handled as G66 P9500 ,
a usual T code. GOO 220. Main Program
G67
Priority of G.M. T codes specified in the same block Gb7
is: GOO z30.
G>M.>T. 09400 ;
Example) GOO X40.
ED ] Macro
If specified as G**M**T**, only G** is valid and GOO Y50.
M and T are ignored. M99 ;
(In this case, no alarm.) 09500 ;

"~,,
T**M**G** results in the same. That is, specifying GOO X60.
order does not make matter; only G** is valid. GOO Y70. I ] Macro

M"
(6) Multiple Call
The above sample program is executed in the
A. G65 Simple Call And G66 Modal Call following order:

As a subprogram is called from another subpro- ® --@--@ --@--®--@--@ --@--@ --@--@


gram, a user macro may be called from another user
macro. Quadruple nesting is permitted for simple
call and modal call combined. 2.11.2 ARGUMENT DESIGNATION

Argument is the real value to be assigned to a


variable used in the user macro body. Argument
designation. therefore, is the act of assigning
real values to variables. Argument designation is
of type I and type 11, which can be selected as re-
quired.

102
(1) Argument Designation I Table 2.36 Argument Designation IT

Argument may be designated in any address ex- Address of Variables in


cept for G. L, N. O. and P. The relationships Argument Designation n User Macro Body
between the argument designation addresses and
the variables are as shown below.
A #1
B #2
Table 2.35 Argument Designation I C #3
Il #4
Address of Variable in Jl #5
Argument Designation I User Macro Body KI #6
12 #7
A #1 J2 #S
B #2 K2 #9
C #3 I3 #10
D #7 J3 #13
E #S K3 #12
F #9 14 #13
H #11 J4 #14
I #4 K4 #15
J #5 15 #16
K #6 J5 #17
M #13 K5 #IS
Q #17 16 #19
R #IS J6 #20
S #19 K6 #21
T #20 17 #22
U #21 J7 #23
V #22 K7 #24
W #23 IS #25
X #24 JS #26
y #25 KS #27
Z #26 19 #2S
J9 #29
K9 #30
For the address in which no argument need be
IlO #31
designated. the command may be omitted. JlO #32
KIO #33
Sample Program
#1 #2 #24 #26
The suffixes 1 through 10 to I, J and K are de-
termined by the order of the designated I, J and
K combination.
G65 P9100 L3 A30' B60 X34.S Z50.2 For the address in which ·no argument need
I be designated, the command may be omitted.
Argument Designation
Part

{2} Argument Designation II

A, Band C arguments and 10 sets of I, J and K


arguments may be designated. I, J and K must be
designated in this order. The relationships
between the argument designation "addresses and
the variables are as shown in Table 2.36.

103
2.11.2 ARGUMENT DESIGNATION (CONT'D) (e) M cannot be used for the argument designation
. address when using 24 pairs, or alarm win occur.
SamEle Program
H4 H5 #6 #7
, , , , , #9
2.11.3 OVERVIEW OF USER MACRO BODY

G65P9005A.·· B··· C· .. I· J ... K·· . I· .. K·· . A user macro body is programmed using the com-
bination of the following commands.
Argument Designation Part
(1) Variables
A. Local variable (#1 through #33)
(3) position of Decimal point Argument
B, Common variable (#100 through #559)
An argument may generally be designated with.a C. System variable (#1000 through #5104)
sign and decimal point. For the designation with-
out decimal point, the .position of decimal point is (2l Operation Commands
as shown on the next page.
/, ... )
Table 2.37 Position of Decimal Point Argument
A. Arithmetical operations (+, - *
B. Functional operations (SIN, COS, ROUND.···)
Address in Metric Inch
Argument Designation Input Input
(3) Control Commands
A, C 3 (2) 3 (2)
B (Without B 3-digit
3 (2) 3 (2)
A. Branch command (IF <
qualification)
option) GO TO n)

B (With B 3-digit
0 0
B. Repeat command (WHILE <
qualification)
option) DO m)
D, H 0 0 Using these commands, a program which re-
E, F 0 (1) 1 (2) quires complicated operations and conditional
judgements may be written in the general format.
I, J, K 3 (2) 4 (3)
Hence. the feature of user macro is to enable the
M 0 0 programming of a wide :range of NC functions
from a simple machining cycle which is rather a
5, T 0 0
. subprogram to a special, complicated canned cycle.
Q, R 3 (2) 4 (3) and the storing of these cycles in the machine.
U, V, W Described below are details of the commands
3 (2) 4 (3)
mentioned above.
X, Y, Z 3 (2) 4 (3)

2.11. 4 VARI ABLES


The value shows the position of decimal point
as counted from the least significant digit. The
Instead of directly assigning a value to an add-
value in parentheses indicates the number of
ress in a user macro body, the address may be
digits that follows decimal point as designated by
designated by a variable. When this variable is
parameter #602000 ::: 1, D 2 = 1 for addresses E
called during execution. the corresponding value
and F. and parameter #6006D 5 ::: 1 for the other
is searched from the variable area to provide the
addresses.
address value.
There are three types of variables: local
(4) Considerations in Argument Designation variable. common variable. and system variable.
Each is identifiable by a variable number.
A. Argument designation types I and n may be
To the local variables, real numbers can be
used concurrently. If the same variable has been
assigned using the argument designation part of
duplicated, the last one is validated.
maCro call command by G65 or G66.

B. For both types I and n, addresses I, J. and


K should be designated in this order. The other (1) Local Variables (#1 through #33)
addresses may be designated in any order.
A local variable is the one that is used for each
C. In the argument designation part. negative macro locally, That is, when the local variable
sign and decimal point may be used regardless is used, the variable area (#1 through #33) is
of the address. independently allocated for each macro call.
certain values are stored by argument designa-
D. in G65 and G66 blocks, G65 and G66 should tion. and the results of operations in macro are
always be specified before each argument desig- retained.
nation. This holds true with the macro call by
G code.

104
Main Pr.ogram Single-level Macro Double-level Macro

09201 09205

#1, #Z, #3
#1
G65 P9Z01 #Z
A··· B··· C··· G65 P9205
#3
A··· B··· C ...

#1 = #1 =
ilz = #Z =
#3 = #3 =

Local variable area Local variable area


for single-level macro for duplicate-level macro

Hence, the variables #1, #2. #3 •... of the Common Variable Area
same macro assume different values each time it
is called. Each local variable is reset for each #100 #500
macro call and is registered by argument desig-
nation. The variable not designated becomes to to
"blank." Each local variable is set to "blank!! #149 #559
at the time of power-on and reset operations.

The local variables can also be used in the main


program J as in macro of other levels.
oy OK

Single-nest Double-nest
OK

Tripple-nest Quadruple-
Example Macro Macro Macro nest Macro

01000; 08000;
Common variables are divided into the following
M98P8000: # I ~ I two types depending on clear conditions:

T # 1; # 2 ~ 2;

T # 2.; A. #100 through #149: These common variables


are cleared at the time of power-on and reset
operatio~s and are set to "blank. II They are not
cleared by reset operation in some controls if
M99;
parameter #6008 D I is set to 11 1. 11
M30;
B. #500 through 559 These common variables
are not cleared at the time of power-on and reset
(2) Common Variables (#100 through #lQ9, #500
operations.
through #559)
The common variables are available to the
A common variable may be shared by all macros
.. user without restrictions . They cannot be
. and through all macros of all nesting levels. That
designated by arguments. Indirectly. however.
is. the common variable enables a macro to refer
they can be designated as follows:
to the results obtained by another macro.

G65 P9008 A· .. ; 09008


.1 #100 = #1
tArgument Designation of #1
105
2.11.4 VARIABLES (CONT'D) YASNAC

(3) System Variables


2' UfO 0
A system variable is the one whose use is unique
to the system. There are following types of sys- 2' Ull 0
tem variables:
2' UI2 0
A. Interface input signals ... #1000 through
#1015, #1032t 2' U!3 0

B. Interface output signals ... #1100 through 2' UI4 0


#11l5, #1132t
2' UI5 0
C. Tool offset amount and work coordinate-
system shift amount ... #2001 through #2099
(or #2299!), #2500 through #2906!
2' 0 UI6 0

2' UI7 0
D. Alarm message display ... #3000
2' UI8 0
E. Clock ... #3001, #3002
2' UI9 0
F. Single-block stop and auxiliary-function
completion wait control ... #3003 2" UIlO 0

G. Feed-hold, feedrate-override, and exact- 2" UIll 0


stop control ... #3004
212 UIl2 0
H. RS232C data output ... #3100 (print out
feature) . 2 13 UIl3 0

1. Modal information ... #4001 through #4120 2" UIl4 0

J. Position information ... #5001 through #5105 2 15 UIl5 0


+24V
Note: The interface input and output signals of
Each read variable is 1. 0 or O. 0 w hen the asso-
(A) and (B) may not be installed. Follow the
ciated contact is llclosed ll or 11 open 11 respectively.
specifications of the machine tool builder.
regardless of the unit system of the machine.
The following paragraphs describe the de-
b. When system variable #1032 is designated,
tails of the variable!'; mentioned above.
the input signals (UIO through UIl5) that consist
of 16 points (16 bits) are collectively read as a
decimal positive value.
A. Interface Input Signals (#1000 Through
#1015, #1032) t 15

a. When one of system variables #1000 through


#1032 l: # [1000 +
i ::-0
iJ + 2i

#1015 is specified to the right-hand of an opera-


tional expression. the on loff state of each of Sample Program
user-macro-dedicated 16-point input signals is
read. The relationships between the input signals IF [ #1015 EO OJ GO TO 100 ;
and the system variables are as shown below.
Bit 215 (UIl5) is read and. if it is 1'0,1' a
branch is made to sequence number NIOO.
1/100) 1/1006 111005 111004 111003 111002 111001 111000
#130 = #1032 AND 255
OI) UI6 UI5 OI4 U13 UI2 Ull UIO
Bits 20 through 27 (UIO through UI7) are
2' 2' 2' 2' 2' 2' 2' 2°
collectively read to be stored in common
111015 111014 111013 111012 111011 111010 111009 111008 variable #130 as a decimal positive value.
UI15 UI14 UI13 OI12 UIll Ull0 Ul19 UI18
2
15 2111
2 13 2'2 2" 2 10 2' 28 Note: System variables #1000 through #1032 can-
not be placed to the left-hand of operational ex-
pressions.
Variable
Value 1I1put Signal

1 Contact Closed
o Contact Open

106
B. Interface Output Signals (#1I00 Through b. When system variable #1132 is specified, the
#1115, #1I32)t output signals (von through VOIS) that consist
of 16 points (16 bits) are collectively output.
a. When one of system variables #1100 through At this time. the decimal positive value substituted
#1115 is specified to the left-hand of an operation- in #1132 is output in the form of binary 16-bit
al expression. an on or off signal can be sent to value.
each of user-macro-dedicated 16-point output
signals. The relationships between the output
signals and the system variables are as shown
below:
#1132 =
i
~5 # [1100
=0
+ iJ * 2i
#1107 #1106 1/1105 1/1104 111103 111102 111101 111100
c. With system variables #1100 through #1132,
U07 U06 U05 U04 U03 U02 UOI UOO
the value sent last is retained. Hence. when one
27 2' 2' 2' 2 3
2' 21 2' of them is written to the right-hand of an opera-
1/1115 111114 111113 111112 1/1111 111110 111109 111108 tional expression, its value is read.

U15 U14 U13 U12 Ull Ul0 U09 U08


1 2" 2 13 212 2" 2 10 2' 2' d. Considerations
2 '
When any values other than 1.0 or 0.0 are s ub-
stituted into one of #1100 through #1115, the
Variable Value Output Signal values are handled:as follows:
1 Contact Closed II Blank II is assumed to be II O. II

o Contact Open
Values other than Ifblank" and a are assumed to
he !II. II
Sample Program
YASNAC
#1107 = #10 ; (#10 = I. 5)
--0
2' UOO The output signal of bit 2? (UO?) is output
in the contact (closed) state.
21 UOI
#1132 = (#1132 AND 240) OR (#8 AND 15;)
2' U02
The output signal of bits 24 through 27 (U04
2' U03 through VO?) are output without change and
the contents of local variable #8 are output
2' U04
to the output signals of bits 2 0 through 23
UOS (DOO through V03).
2'
(Decimal 240) = 11110000
2' U06 (Decimal 15) = 00001111

2' U07 C. Tool Offset Amount And Work Coordinate


System Shift Amount (1/2001 Through #2299, #2500
2' UOS Through #2906)

2' U09 a. When one of system variables #2001 through


2 10 UOIO #2299 is specified to the right-hand of an opera-
tional expression. the tool offset amount can be
2" UOl! read.

212 UOl2 b. When one of system variables #2500 through


#2906 is specified to the right-hand of an opera-
2" UOB tional expression. the work coordinate system
shift amount (and the external work coordinate
214 UOH system correction amount) can be read.

2 15 UOIS

When 1.0 or 0.0 are substituted in any of #1100


through #1115. the associated output contact is
output in the "closed!! or "openUstate.

107
2.11.4 VARIABLES (CONT'D) Table 2.39 System Variables and Work
Coordinate System Shift Amount
c. The relationships between the tool offset
System Work Coordinate
numbers and the system variables are as shown Variable System Shift Amount Spindle
below:
#2500 External work coordinate
system correction am0unt
Table 2.38 System Variables #2501
and Tool Offset No. G54 (J I)
X
System Tool
Variable Offset No. #2506 G59 (J I)
#2001 01 #2600 External work coordinate
#2002 02 system correction amount
#2601
G54 (JI)
Y

#2606 G59 (Jl)

#2700 External work coordinate


system correction amount
#2701
G54 (J 1)
Z

#2706 G59 (jI)


#2800 External work coordinate
#2801 system correction amount

#2098 98 G54 (Jl)


#2099 99 "
#noo 100 #2806 G59 (J I)

#«900 External work coordinate


~2901
system correction amount
G54(JI) /3

#2299 299
~2906 G59(JI)

Note: When I1work coordinate system setting B "


feature is provided. System variables listed in
the table on page 102 can be applied.

(d) When one of the above system variables is


specified to the left-hand of an operational ex-
pression, its value can be changed.

Sample Programs

a. #!16 0 #2016 ;
The contents of tool offset number 16 are
substituted for common variable #116.

b. #2506 0 #4;
The work coordinate system shift amount of
G59 X-axis is erased and the contents of
local variable #4 are set.

108
System Work coordinate D. Alarm Message Display (#3000)
Variables System Shift Axis
Amount When a condition to be alarmed occurs in a user
macro program. system variable #3000 may be
# 2511 G54 J2 specified to put the machine in the alarm state.
.
X
#3000 = n «alarm meassage>);
# 2516 G59 J2
# 2611 G54 J2 Using this command. specify the alarm message
. Y
(less than 32 characters) enclosed by 3-digit
alarm number n and control-in and control-out .
# 2616 G59 J2 The alarm number should be three digits and be
the one that is not used by the machine.
# 2711 G54 J2
Z When this #3000 command is executed, n ALM"
# 2716 G59 J2 or IIA/BTI is displayed on the bottom of CRT
screen regardless of the mode and function.
# 2521 G54 J3 Its message can be seen by the following opera-
X tion:

# 2526 G59 J3 a. Press ALM fuz:ction key.


# 2621 G54 J3 The alarm number and message are displayed
Y on the bottom of CRT screen.

# 2626 G59 J3
ALARM 09100 N0054
# 2721 G54 J3
Z
# 2726 G59 J3
# 2531 G54 J4
X
# 2536 G59 J4
# 2631 G54 J4
USERS MESSAGE
Y
- I
# 2636 G59 J4 1 550 : MACRO ERROR: DATA OVERFLOW I
- I
# 2731 G54 J4
Z IIALMll

# 2736 G59 J4
# 2541 G54 J5
Message display area and
X sample display
# 2546 G59 J5
# 2641 ·G54 J5
Y
# 2646 G59 J5
# 2741 G54 J5
Z
# 2746 G59 J5

109
2.11.4 VARIABLES (CONT'D) F. Single Block Stop and Auxiliary Function
Completion Wait Control (#3003)
h. When RESET key is pressed after removal of
the cause of alarm. the message display and the When the value listed in the following table is
alarm state can be cleared. substituted in system variable #3003, the single
block switch can be disabled or the next block
may be entered without waiting fOl" the checking
Sample Program
of the finish signal (FIN) of the auxiliary [unc-.
tion (MST).
#3000 0 550 (MACRO ERROR, DATA OVER-
FLOW) When the finish signal is not waited for, the
distribution end signal (DEN) is not transmitted.
In this case, the FIN is waited for in the block
E. Clock (#3001, #3002) with the check skip cleared. Hence, when the
FIN is not waited for. don't specify the next
When system variable #3001 or #3002 for auxiliary function.
clock is specified. the clock can be read.
#3003 Sinffile FIN Signal
System At Count Block witch
Type Unit Power-On Condition
Variable 0 Valid Waited
11
#3001 Clock I 1 ms Reset to "0 Always I Invalid Waited
#3002 pock 2 1 s Same as When STL 2 Valid Not waited
power-off signal "is on 3 Invalid Not waited
time

To preset the clock, substitute the value G. Feed-Hold, Feedrate-Override, And Exact
with this system variable put at the left-hand of -Stop Control (#3004)
the expression.
When the value listed in the following table is
substituted in system variable #3004, feed hold,
Sample Program feedrate override, and exact stop can be made
valid or invalid.
#3001 = 0 ; ... The clock is preset to value IT O. II
Feedrate
Restrictions #3004 Feed Hold Exact Stop
Override
0 Valid Valid Valid
a. The.accuracy of clock 1 is 8 ms. When
4294968000 msec has been reached, an overflow I Invalid Valid Valid
occurs, setting 'the clock to TID. 11
2 Valid Invalid Valid
b. The accuracy of clock 2 is 8 ms. When 3 Invalid Invalid Valid
429496800 sec has been reached, an overflow oc-
4 Valid Valid Invalid
curs, setting the clock. to "0. II
5 Invalid Valid Invalid
Sample Program 6 Valid Invalid Invalid
=-==='---=-'-''-'''=~___ A r g ume n t desi g nat ion
Main Program 7 Invalid In valid In valid
of variable #1

G65 P9351 A5. Macro to wait for


5 seconds

Macro Program

09351 ;
#3002 0 0
WHILE [#3002 NE #1] DOl
END I
M99 ;

110
Sample Program variable at the right-hand is output via RS232C
interface as sign and decimal 9-digit data (4
Tapping Cycle (for Incremental Command) after and 5 before decimal point).
The value is rounded out to the fifth digit after
Main Program the decimal point. When the value is of b digits
or more before the decimal point. the asterisk
G91 ; is output.

G65 P9601 L··· R .. · z .. · ;


c. The above output is performed when system
variable #3100 is executed in the macro program.
Argument designation. It is required, therefore. to previously attach
of *26
the external equipment such as a printer via
Argument designation of #18 RS232C interface and preset the parameters that
use the interface.
Macro Program
Sample Program
09601 ; #3100 = ); Carriage return /line feed
*3003 =I ;- r--- Single block switch #3100 (TOOL OFFSET 01 AND 02) :
invalidated
GOO HI8 ;
#3004 =7 Feed hold invalidated
#3100 = #2501 ; 10.000 mm

GOI Z*26 ;
Feedrate override invalidated #3100 = #2502 = -35.524 mm
Exact stop invalidated
M05 ; #3100 =( );
M04 ; Printout Data
#3004 =0 ;

GOO Z-#18 TOOL OFFSET 01 AND 02


M05 ; uu 10.000uU- 35.524
M03 ;
*3003 =0
M99 ;
Two spaces precede signed decimal.
H. RS 232C Data Output (#3100)

When system variable #3100 is specified, messages 1. Modal Information (#4001 Through #4120)
and NC internal data can be output to external
equipment via RS232C data input/output inter- When one of system variables #4001 through
face. If the external equipment is a printer, 4#4120 is specified, the modal commands that are
the above information is printed. specified up to the immediately preceding block
can be known. These modal commands are some-
a. Output of Messages times called the current values of modal informa-
tion commands.
#3100 = «Message»
When this command is specified, thp. message System Variable Modal Information
enclosed by control-in and control-out is output.
via RS232C interface. #4001 G code (group 01)

Each output message is follQwed by CR ILF to to


(Carriage Return/Line Feed). Hence, when
#3100 = (. ) is specified, only CR/LF is output, #4021 Geode (group 21)
which is useful in tabulating the punched data. #4102 B code
To output message, enclose it by control-in and
control-out. #4107 D code
#4109 F code
b. Output of Data #4111 H code
#3100 = <variable > #4113 M code
When this command is specified. the value of #4114 Sequence number
the local variable, common variable, or system #4l!5 Program number
#4l!9 S code
#4120 T code

111
2.11.4 VARIABLES (CONT'D) System Read During
Variable Posi tional Information
Move
/14001 through /14120 connot be placed to the
left-hand of the operation expression. #5021 X -axis current position Enabled
(ABSMT)
Sample Program
#5022 Y-axis current position
(ABSMT)
Main Program
#5023 Z-axis current position
(ABSMT)
CbS P9602 <Argument Designation)
#5024 4th current position
(ABSMT)
#5025 5th current position
Macro Program (ABSMT)
#5041 X-axis current position Enabled*
09602 ; (ABSOT)
#1 = #4001 - - - - - + - - G codes (GOO through #5042 Y-axis current position
G03) of 01 group are (ABSOT)
GOO x· .. y ...
retained. #5043 Z-axis current position
GOI z·· . F·· . (ABSOT)
G03 x··· y ... R·· .
#5044 4th current position
GOO z·· . (ABSOT)
G#1 - - - - - - - - j f - G codes of 01 group #5045 5th current position
are restored. (ABSOT)
M99
#5061 X-axis skip signal Enabled*
position (ABSKP)

J. Positional Information (#5001 Through #5105) #5062 Y -axis skip signal


position (ABSKP)
When system variables #5001 through #5104 #5063 Z-axis skip signal
are specified. various positional information can position (ABSKP)
be obtained. #5064 4th skip signal posi-
The unit of the information is millimeters or inch- tion (ABSKP)
es.
#5065 5th skip signal
position (ABSKP)
Unit
#5083 Tool length correction Enabled
Metric input O. 001 millimeter amount

Inch input 0.0001 inch #5101 X-axis servo position


Enabled*
deflection amount
Deg inputt 0.001 degree #5102 Y-axis servo position
deflection amount
In the user macro body. the Itinput unit x 10" #5103 Z-axis serve position
feature is invalid. deflection amount
#5104 4th servo position
System Positional Information Read During deflection amount
Variable Move
#5105 5th servo position
#5001 X-axis block end Enabled deflection amount
position (ABSlO)
#5002 Y-axis block end • Reading of #5021 to #5025. #5041 to #5045,
position (ABSlO) and #5101 to «5105, when commanded during move-
ment, will be performed after completion of the
#5003 Z-axis block end movement of the preceding block. Therefore radiu
position (ABSlO) compensation is not performed.
#5004 4th block end position
(ABSIO)
#5005 5th block en.d position
(ABSlO)

112
Macro Program
Abbre- ABSMT ABSOT ABSKP
ABSIO
viation

Meaning End po- Command Command Position 09603 ;


sition of current current at which #1 ; #5001
block im- position position skip sig-
mediately (same as (same as na1 did #2 ; #5002
before. POSITION POSITION not go on
MACHINE UNIVER- in G31 #3 ; #5003
display) • SAL dis- block.
play) • G91 ;

Coordi- Work co- Machine Work co- Work co- GOO X [#24-#5021] Y [#25-#5022}
nate ordinate coordi- ordinate ordinate
System nate system system GOO 2 [#26-#5023J;
system
system M#13 ;
Tool Not Included Included GOO 2#3
Position. included
Tool GOO X#1 Y#2
length,
Tool - M99 ;
radius
compen-
sation
Amount
List of Variables
Notes: Variable
No. Meaning
1. When the skip signal is not turned on in C31
block, the skip signal position is at the end of
G31 block. #1 to #33 Local variables.
#100 to Common variables (rese1'·to ll blank ll at
2. The "input unit x 1011 feature is valid up to #149 power-off) .
the macro call block (the argument designation
part by Cb5 or G66) but is invalid in the user #500 to Common variables (retained at power-
macro body. #559 qff) .
#1000 to Interface input signals (each signal
3. System variables #5001 through #5105 may not #1015 for each bit).
be placed to the left-hand of operational expres- 15
sion. #1032 Interface input signal (L # [1000 +
i;O • 2i).
iJ
Sample Program
#1100 to Interface output signals (each signal
The tool is positioned to the specified location #1115 for each bit) .
(X, Y, Z) on machine coordinate system, per- 15
forms the specified M feature, and returns to #1l32 Interface output signal (L #[1100 + iJ
the start point. i=O *2i).
Main Program #2001 to Tool offset amount.
#2299
G65 P9603 X··· y ... 2··· M··· ; #2500 to Work coordinate system shift amount,
#2906 external work coordinate system
#13 correction amount.
#3000 Alarm message display.
#26
#3001 Clock 1 (in units of 1 ms) .
#25 #3002 Clock 2 (in units of 1 s).

#24 #3003 Single block stop. auxiliary function


complete wait control.
#3004 Feed-hold, feedrate-override, and ex-
act-stop control.
#3100 RS232C data output (print out feature).
#4001 to Current value of modal information
#4120 command.

113
2.11.4 VARIABLES (CONT'D) b. When the Fl-digit command option is provided,
the F2-digit comman0 and decimal point command a
regarded as linear commands.
Variable
No. Meaning
Program Example System
#5001 to End position of immediately preceding GOIXIOO.Y20.Fl: Fl-digit command
#5005 block (for each axis). GOIXIOO. Y20.Fl.O; Direct command
GOIXIOO. Y20.Fl; Direct command
#5021 to Current position of machine coordinate GOIXIOO. nO.FOI; Direct command
GOIXI00. Y20.FlIl;
#5025 system (for each axis). (F5.0 specification)
411 = 0.001 to 0.499 No lower digit error
#5041 to Current position of POS. UNIVERSAL 411 = 1.0 to 9.0 Integers. Lower I-digit command
(2.0, 3.0, 4.0 ... )
#5045 {for each axis) .
'I = 0.50 to 9.499
(Digits below decimal point
Lower I-digit command
#5061 to Position at which G31 skip signal is
are rounded off)
#5065 turned on (for each axis). 'I = 9.500 or more Direct command
(F5.1 specification)
#5083 Valid tool length compensation amount. 'I = 0.001 to 0.499 No lower digit error
tl = 0.1 to 0.9 Lower I-digit command
#5101 to Servo position deflection amount (for (0.2, 0.3, 0.4 ... )
#5105 each axis) tl = 0.050 to 0.949 Lower I-digit command
(Digits of 0.01 or below
are rounded off)
'I = 0.950 or more Direct command

K. Variable Reprentation Notes;


(1) Address I. 0 and N may not refer to
Each variable is represented in a variable number variables.
that follows #.
Sample 1#8, N#IOO .,. Error,
a. How to designate a number directly:
(2) A variable number may not be replaced with
#i (i = 1,2,3,4, .,,) a variable.
Sample #10 Sample ##20 Error.
#130 # [#20] ... Correct.
#2000
(3) When a variable is used as address data,
h. How to designate an expression as a variable the values below the least significant
number: digit arc rounded.

# [<expression>] Sample
(i) When #1 = 45.2346
# [#lOOJ X#1 ... = X45. 235 mm (for mm input)
# [#500 + IJ
# [#2012J (ii) . When #2 = 350,85
F#2 ... F351 (mm/min)
In the following description, variable #i may be
replaced with variable # [< expression>]. (iii) When #3 = 5.37672
G04 P#3 .,' = G04 P5. 377 ,(scc)
(iv) When #4 = 2.7236
L. Variable Reference
M#4 .. ·=M03
a. The value that follows an address may be G#4 ... = G03
replaced by a variable.
(4) Value for each address should not exceed
When( address) #i or (address) -#i is specified,
the maximum programmable value·,
the value of the variable or its negative value
(complement, more exactly) is made the specified
value of the address. (5) The value that follows an address may be
replaced with <expression) ,
#30 1. 0
#101 = 100 (6) The constant without decimal point enclosed
#102 = 200 in brackets [ J is assumed to have a decimal point
#103 300 at its end,
#140 = 250
G#30 X#101 Y#102 Z-#103 F#140
The above specification is equivalent to the M. Undefined Variable
specification below:
The value of an undefined variable is assumed to
G01 XI00. Y200. Z-300. F250 be 'I blank, 'I An undefined variable occurs in the
following situations:

114
a. The local variable for which argument desig- 2.11.5 OPERATION COMMANDS
nation was not performed in macro call command.
Various operations can be performed between
b. Common variables #100 through #149 at the variables and between variables and constants.
time of power-on and reset operations. The operation expression is represented in the
form of #i ::: (expression> ' in which <expression)
c. The local variables and common variables is a general arithmetic operational expression pro-
for which the values were not written from MDI duced by combining variables and constants with
panel. operators and functions. The 'available opeara-
tors and functions are as follows. Instead of
Designation and function of <blank> is classified #j and #k, constants may be used.
in the following two versions A and B. The con-
trol is .set for either version. Versions A and B Note: <expression> must be commanded at the
cannot be changed. right-hand side of the equation.

~ Item Meaning of (Blank)


(1) Variable Definition and Replacement
1 Concept of "'0" '0 defined as variables
of <blank>
Commanding *0 at the #i #j Definition. replacement.
left-hand side of the
equation causes alarm.
#i #[ #j + #k J ••• Indirect specification
2 Variable <blank> Where '2 is <blank> (2) Add- Type: Operations
is commanded in command '3=.2; means
the replacement .3= <blank>.
equation. iii II] • #k Sum .
3 (1) Variable <blank> Where '2 is <blank>
is commanded in command GOO x fl. i, iii II] #k Difference.
the part program equivalent to GOO
(2) On F commands (Address is Ignored.) iii II] OR #k Logical sum (for each of
only F figure 1. F figure 2; 32 bits) .
commands
Numeral 1 and numeral 2 iii II] XOR #k· .. Exclusive logical sum
include indirect commands. (for each of 32 bits).
'I 12
Blank Full
Blank Blank
-- Blank
Numeral 2
Full
Full
Blank
Full
-- Numeral 1
Numeral 2 ... Note
(3) Multiply-Type Operations

4 Variable <blank>
is commanded in
Where .2 is <blank> t3 is
(j) Condition "IF '3 NE '2"
° iii = #j , #k Product.

the condition of is not established. iii II] / #k Quotient.


EQ and NE. al Condition "IF '3 EQ iii II] AND #k ... Logical product
'2 is established.
(for each of 32 bits) .
S Others '3-1[ '0+10] •••• 3 is blank.
.3=12 * '0;
.3=.0 + '0;
.3=.0,,0:
.3=5*'0;
} In these com-
mands, 13=0,
Note: In OR, XOR, or AND operation, the
variable value (or constant) is converted into
.3=2-.0: means .3=2 the binary 32-bit equivalent and the operation
• 3=5,*0; causes alarm • is performed on each bit.
Blank in the replacement
other than described above
is treated as "0."
Condition IFt3 GEI2 is ( 4) Functions
Blanks in
conditions
established when '2 and
are <blank>, or '2 is
and '3 is <blank>.
° *' #i = SIN [11]] Sine (in degrees) .
except EQ and
NE are treated
as O.
Condition IF '3LT '2 is
not established when 12 and
'3 are <blank>, or '2 is
iii COS [II] J
Cosine (in degrees).
<blank>, and '3=0. #i TAN [#j] Tangent (in degrees).
Note; Parameter setting can be made to select whether to iii = ATAN [#jJ / [#kJ
cause double address error or to enable numeral 2, when both Arctangent
numeral I and numeral 2 are full.
Setting parameter ,6073 D3 I ~ Numeral 2 is effective
0: Double address error
#i SQRT [#j] Square roOt.
#i = ABS [ #j ] Absolute value.
#i BIN [#j ] Convert from BCD.
#i - BCD [ #j] Convert into BCD.
iii = ROUND [Hi] Produce integer by rounding.
#i = FIX [Hi ] Truncate the fractions.
iii FUP [ Hi] Raise the fractions to a unit.

115
2.11.5 OPERATION COMMAMDS (CONT'D) Sample (b)
When ROUND is used as follows, the program re-
(5) Combinations of Operations turns to the start point correctly:

The above operations and functions may be used CD #10 12.3758


START! #10. 0 #11.
POINT _
'?J
in combinations. A functional operation is per-
formed first. Then. a multiply-type operation is @ #11 13.1236 'RETRACTION
performed. An add-type operation is performed ® G91 GOO X#10
last.
@ GOI X#l1 F··· ;
#i = #j + #k • SIN [#~J (5) GOO X- [ROUND [#10J + ROUND [#l1J ] ;

\ ®
\ @LfJ
I
This is because the data of #10 and #11 in G)
and ®blocks are substantially rounded before
being executed.
If ® block is
(6) Change of Operational Order by [ @ GOO X- [#10 + #11 J
Priority may be given to an operation by enclos- then, the movement is made by the following
ing it in brackets [ ]. Up to quintuple (five- amount:
hold) nesting of brackets is permitted including
those of functional operations.
X- [ #10 + #11 J= X - [12.3758 + 13.1236 J
= X - [25. 4991.J
Sample #i = SIN [ [ [#j + #k J •H + #m J * #n] = X - [25.499J
CD On the other hand, block movement of
G)+@is
X#IO + X#ll 0 X12.376 + X13.124
= X25. 500
Hence, the program of ® is not correct.

(8) Operational Errors


(7) Considerations for Operational Commands The data format and the operational errors in the
user macros are as follows:
A. The constant without decimal point used in
(expression> is assumed to have a decimal point A. Data Format
at its end.
The numeric data handled in user macros are of
B. When used in conditional expression IF or the floating point format.
WHILE. function ROUND truncates the fractions.

C. When used in address data, function ROUND


1M' 2E
rounds the part below the least significant where, M is sign + data 52-bit binary,
digit. E is sign + data lO-bit binary.

Sample La) B. Operational Errors


#10 = 12.3758
Each time an operation is performed. the follow-
When the least sIgnificant dIgit of address ing error is caused and is accumulated. The num-
X is 0.001 mm, the following command ber of significant digits is 15 to 16, which com-
GOO X [ROUND [#10]]; pensates the error sufficiently.
means
GOO X12. 376 ;
because 8 of 12.3758 is rounded.
This command is also equivalent to

GOO X#10 ;
Usually, ROUND is not used as mentioned above:
it is used as shown below:

116
2.11. 6 CONTROL COMMANDS Conditional expressions are EQ. NE. GT. LT. GE.
and LE. They are represented as follows:
The commands which control the flow of micro-
program are of the following two types:
Conditional Expression Meaning
A. Branch Command ... IF [<conditional
expression)] GO TO n

B. Repeat Command WHITE [<conditional


#i
#i
EQ
NE
#j
#j
(#i
(#i ,
0 #j)
#j)
#i GT #j (#i > #j)
expression)] DO m ;
#i LT #j (#i < #j)
#i GE #j (#i ~ #j)
(1) Branch Command
#i LE #j (#i s #j)
A. IF [< conditional expression) ] GO TO n

<
If conditional expression)of this command is A constant and (expression) may be used to #i
and #j. A variabJe and (expression) may be
established, a branch is made to the block of
sequence number n within the same progl'am. used for n.
When a variable or an expression is used for n,
the branch destination may be changed. If the Notes:
condition is not satisfied. the program proceeds 1. The sequen'ce number of the destination of
to the next block. the branch by a branch command must be located
at the head of that block. Otherwise. the data
prior to the sequence number is ignored as shown
below:
,..--:::J=iF [< conditional>] GO TO n;

'"d
v
""
m

~
0:
]

""
.~
:0
"m
~

~
::>
_.
expressIOn

(Next Block)
("'"":".~·:::·!7:-:,: ( Executed with
'" '--!-Nn this data ignored.

2. The reverse branch on the program takes


longer execution time than the forward branch.

<
IF [ conditional expression>] may be omitted to
provide a simple branch command as shown below:

GO TO n

Nn·· .

117
2.11.6 CONTROL COMMANDS (CONT'D) Notes:
1. DO m should be specified before END m.
(2) Repeat Command
2. m of DO m and END m should have the same
A. WHILE [<conditional expression> J DO m; value. However, only I, 2, or 3 may be specifi-
(m ; 1. 2 and 3) ed in m.

DO ] The value of m, I, 2, or 3
END m ; is called the identification
number, which is used by
While <conditional expression> is satisfied, the DO and END to call each
END 1
blocks between DO m and END m are repeated. other.
When it is unsatisfied, the processing branches
to the block next to END m.
DO 22J
END

]r -' WHILE ~conditional


expression)]
DO m ; - - 3. The same identification number may be used
repeatedly except where repeat ranges overlap.

j.
00
.~

:D 4. GO TO n enables to get out of DO loop but


'"
~
00 it does not enable to get into DO loop as shown
'" END m; below:

Block next to END m)

DO I ; GOTO 100
'U 'U
OJ GOTO 100 ~ DO 1
:Dro .D
c
OJ
END 1 '"
00 NIOO
When the specification is made omitting WHILE 0 END 1
N 100 ;
L<conditional expression>], the blocks between
DO m and END m are repeated infinitely. Gen-
erally, this is used in the format shown below.
5. Triple DO-loop nesting is permitted for each
micro program.
C-
, C-

"'
00

'"
.g DO m
t;

o0.0
~
"

"o "..
g
1l.!:;:::1
c~

u
- - IF [< Conditional GO TO n
OO 1
DO 2;
DO 3 ;
G65·· . ABC ;
V DO I ;
DO 2;
DO 3 ;
G65·· . XYZ ;

~
. . expression>]
~'B END 3 ; END 3 ;
.. OJ END 2 ; END 2 ;
.D u END I ;
END 1 ;
oo~
..... 0 END m
o.~

o "OJ
"" E
'---Nn" . Enabled Enabled

118
6. The codings shown below cause an error: (v) DO 1
?
DO 1 ;

The return destination N7000·· .


DO 1; of END I is unknown.
D a loop may not
be entered from
END 1 outside.
END 1

Oi) DO 1

END 1 ;J ?
One END 1 is missing. IF· .. GO TO 7000

2.11.7 REGISTRATION OF USER MACROS

END 1 ;-~ (1) How To Make Registration of User Macros


?
(iii) DO 1 ; DO 1 ; The registratioJ). and edit of user macro bodies
(macro programs) are performed in the same
Overlap of DO
ranges is not DO 2;] manner as usual part programs and subprograms.
Hence, there is no program size restriction that

DO 2 l permitted.
Rewrite as
shown right.
END 2 .
applies to the user macro body only. Part pro-
grams, subprograms, and macro programs may be
stored together in the part program memory to
its full capacity.

END 1 ;J END 1

(2) Classification of Program Numbers

The program numbers are classified into the


following:
END 2
Program No. C I as sifica tion
(iv) DO
01 to 07999 These programs may be register-
ed, erased, or edited without
DO 2 restrictions.
08000 to When D 4 of #6004 is set to 1, the
DO 3 08999 registration, erase, and edit of

DO 1 ; J Quadruple nesting.
Max. nexting permit-
ted is triple.
programs are disabled.

END 1 ; 09000 to When D7 of #6021 is set to 1, the


09999 registration, erase, and edit of
programs are disabled.
END 3

END 2

END 1

119
2.11.8 DISPLAY AND WRITE OF LOCAL VARIA- (2) Write Operations
BLES AND COMMON VARIABLES
A. Write of Values to Variables
Local variables (#1 through #33) and common var-
iables (#100 through #149, #500 through #559) a. Press SET function key. Mode select position
can be displayed and written by the following may be provided anywhere.
operations:
b. Key-in the variable number to the written.

(1) Display Operations Press [CU~SOR I key or ICURtSOR 1 key. How-


ever, # need not be keyed-in. The keyed-in
A. Display of Variables variable number is specified and the cursor is
positioned to it.
a. Press SET function key. Mode select position
may be provided anywhere. c. Key-in the value to be written. Press WR

b. .
KeY-In the variable number and press I
CUSOR!
-}
key. The keyed-in value is stored as the data
of the variable number with the cursor positioned

key or Icu~sORI key. However, # need not be


d. press! CUR{-SORI key or I CURtSORI key or
keyed-in. Ten sets of variable numbers includ-
ing the specified variable number and their data I~
T ! key or I PAGE
-I- I key to move the cursor.
dye displayed. The data is displayed in the
signed 8-digit intege"r part and the 8-digit frac-
tion part. e. Repeat operations in c. and d. to write the
values to the desired variables.
,----Macro nesting level
(0: Macro not in execution) B. Remarks

a. Common variables can always be Changed.


SETTING MACRO 01234 N0035
-LEVEL 0 b. Local variables may not be written at any
time other than when a macro is in execution.
#0100 -12345678. 12345678 Any attempt to do so is invalidated. However,
#0101 O. 00000001 rewriting of local variables during macro execu-
#0102 3. 00000000 tion may cause an unexpected failure. Before
attempting the rewriting, stop the machine oper-
ation by single stop function and check to see if
it is safe to rewrite variables.

#0109 c. The written local variables and common vari-


ables #100 through #149 are reset to "blankll by
the reset operation or the power-on operation.
ROY
2.11.9 CONSIDERATIONS AND REMARKS FOR
USER MACROS
Sample Display of Common Variables
(1) Summary of Restrictions
c. Press IpAGEI
{. key or I
~ t I key, and the
A. Available Variables
display may be scrolled up or down.
#1 through #33 Local variables.
B. Remarks #100 through #149ycommon variables.

a. Common variables may always be displayed #500 through #559


for review. System variables

b. For local variables, those of the macro cur-


rently executed are displayed. Consequently,
when a macro of a nesting level is in execution,
the local variables of the macros of the other
nesting levels cannot be seen. The local varia-
bles after completion of execution are all rest to
"blank. 11

120
B. Available VariaJ:;>le Values (3) Relationship with MD I Operation

Maximum value .!lO+30a A. MDl writing permits the macro call and the
:t10- 30a execution of the called macro.
Minimum value
B. MDl writing does not permit or execute macro
C. Constant Values Usable in <Expression)
body commands such as operational commands and
control commands .
.!(8 digits above decimal point). (7 digits below
decimal points).
C. When a macro program being executed is
stopped by the single block stop function. any
Sample Maximum value ~99999999. 9999999
MDI writing command not related to the macro
Minimum value ~O.OOOOOOI may be specified and executed.

D. Operational Accuracy
(4) Relationship with Address Search
Decimal 15 digits significant.
The address search function is not permitted to
E. Macro Call Maximum Nesting Level search for the sequence numbers in the user
macro body.
Quadruple (four-hold).

F. Maximum Nesting Level of Repeat Command (5) Relationship with Single Block Switch

Triple (three-hold) for each macro. A. The operational command and control com-
mand blocks do not single-block stop if the
G. Repeat Command (DO) Identifier m single block switch is turned on. This switch
is enabled for the other macro program blocks.
m :::. 1, 2. and 3.
B. However. when setting number #600401 = 1,
H. Maximum Nesting Level of Brackets the single block switch is enabled for the opera-
tional command and control command.
Quintuple (five-hold).
C. System variable #3003 (for the control of
single block stop, see para.2.11.4, F on page 103)
(2) . Differences Between User Macro and and setting #6004 Dl mentioned above operate
Subprogram as shown below:

A. User macros G 65 and e66 allow argument Setting System Vari- When Single Block
designation but the subprogram (M98) does not. #6004 able #3003 Switch is on
Operational command,
01 = 0 :::. 1 or 3
B. The user macro directly branches to the control command. and
user macro body without executing any command general commands do
that was specified in G65 or e66 block and has not stop.
no relationship with the m~cro. With the sub- 01 0 o or 2 Operational command and
program. however. a branch is performed after control command do not
the execution of the command (if any) other than stop. General commands
p and L in M98 block. stop.
C. The maximum nesting level of user macro is 01 = 1 = 10r 3 Operational command,
quadruple including G65 and G66 calls. That of
control command. and
subprograms is also quadruple but separately.
general commands do
not stop.
D. If user macros are specified via the MDI
during automatic operation, the maximum nest- 01 = 1 = o or 2 Operational command.
ing level is restricted to quadruple. With sub- control command, and
programs. up t<? four levels of nesting are per- general commands stop.
mitted in tape mode or memory mode, or separately
in MDI mode.

121
2.11. 9 CONSIDERATIONS AND REMARKS FOR (9) SpeCial Codes Usable in User Macro Body
USER MACROS (CONT'D)
A. The special codes listed below may be used
(6) Relationship wi~,h Operatio!,)al Block'Skip in the user macro body:

The slash II /11 character used in the right-hand


ETA Code ISO Code
of an operational expression or in brackets Code Use
is assumed to be the operator for quotient. 876540 3 2 I 876540321
It does not mean the optional skip.
SP For comment 0 0 0

(7) setting and Parameter of program Number


Classification
, (
For alarm
message 0 0

comment
A. Disabling of Program Registration. Erase, , ) 0 0 0 0
And Edit + Add 0 0
0
The following setting is permitted to protect the - Subtract 0 0 p
registered user macros and subprograms from , For comment 0 0
inadvertent destruction:
Setting
I Divide 0 0 0
P
Number
, ,
# Variable
arame er
desi nation
0
p
Multiply 0 0 0

#6004 , ~
Equal 0 0 0 p
D4 = 1 '" The programs of program numbers , [ Bracket(open 0 0 0
p
#8000 through #8999 are disabled for registra-
tion, erase, and edit. , ] Bracket
(close)
0 0 0
p
$ For comment 0
0
D4 = 0 ... Registration, erase, and edit are 0

enabled. @ 0 00 0

~ 0 0 ::J
Parameter De.cimal
Number pOInt 0 0 0

#6021 Notes:
1. For the hole pattern of EIA code of the char-
D7 = 1 ... The programs of program numbers acter attached with an asterisk. the pattern
#9000 through #9999 are disabled for registra- shown above is standard. However, other pat-
tion, erase, and edit. terns may be specified by using the following
parameters:
D7 = 0 ... Registration, erase, and edit are
enabled. #6110 [
#6111 ]
(8) Effects of Reset Operation #6112 ... * Hole pattern
#6113 setting parameter
A. A reset operation resets all local variables
(#1 through #33) and part of common variables #6114
(#100 through #149) to "blank." #6115
B. A reset operation resets the user-macro Read the desired hole pattern in the binary
niultiple call state and the multiple DO loop state. value. convert it into the decimal equivalent.
making the program pointer return to the pro- and set the parameter. For example,
gram head. the hole pattern shown below is set as 11152 11 :

1~17161~1~1~1312111
When the value of the parameter is 11 0. 11 the
hole pattern listed in the above table is pro-
vided.

122
2. When the codes. shown below are output from
the NC unit for punch-out or other purposes,
the upper code (UC) or lower code (LC) is out- Code Cause
put immediately before.
114 MACRO ERROR (DO FORMAT)
a. Codes preceded by UC ... #, +, $, ?
DO and END are not paired.
b. Code preceded by LC ... @. - ---------------
115 MACRO ERROR ([ ] UNMATCH)
c. Codes preceded by UC only at parameter
designation ... (,), *, = The format of <expression) has an error.

116 MACRO ERROR (DO - END NO.)


2.11.10 ALARM NUMBER OF USER MACROS
DO m is not in the range of 15m ~ 3.
Shown below are the user-macro-associated alarms
and their causes.
117
Code Cause
105 MACRO ERROR (CONSTANT)
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- lIS MAGRO ERROR (GO TO N)
The number of constants is in excess of
GO TO n is not in the range of 0 ..:5. n ~
the specified range.
9999.

106 MACRO ERROR


--- - -- - ----- - - - - - - - - - - - - - - - - ---- 2.11.11 EXERCISES OF USER MACRO
There are too many G67 cancel codes.
(1) Canned-Cycle Ga2
107 MACRO ERROR (FORMAT)
---- - - - - - - - - --- - - - - - - - - - - - ---- T (Teacher): We have discussed many complicated
rules you have to understand to
A format other than expression has an
write user macros. Now, let's
error.
create some user macros as exer-
cises. Let's take G82 spot Facing
IDS MACRO ERROR (UNDEFIN #NO) Cycle of canned cycles for ex-
---- ---------------------------- ample, because it is a simple oper-
The value not defined as a variable num- tion.
ber is designated.
S (Student): Where shall we start?
109 MACRO ERROR (#NO NOT LEFT)
- -- ------------------------~
T: An example of usual G82 command takes the
following format:
The variable of assignment statement is
the one that is disabled for assignment.
G91 ; ( ... Incremental Designation)
110 MACRO ERROR ( [ ] 5 LIMIT)
- --- -------- ----- - - - - - - ------- GS2 XI00. Y50. R-SO. Z-40. P3.0 F250
The bracket .nesting level is in excess of
the upper limit (5) .
This command is divided into the following
and executed within the NC unit:
111 MACRO ERROR (MOVE G66 - M99)
-- - -- - - - - - - - - - - - - - - - - - - - - - - - - r -_ _ _ _ _ _ _ _ _~(~P~2)+Z CD
A move command is specified in the macro
end co';mand M99 called by G66.
CD
G91 :
GOO XI00. Y50
C>---,?
@:
I 1 I
I
112 MACRO ERROR ( 5) @ GOO X-SO. I
I

---- -------------~ - - - - - - -- - - -- :~
The macro call nesting level is in excess Q) GOI Z-40 F250 I
I
of the upper limit (4) . ®G04 P3. : (Dwell) I
I
I
@GOO Z-«-SO) + (-40))
113 -- L
--- - -- - - - - - -- - -- - - - -- - - --
DWELL
®

123
2.11.11 EXERCISES OF USER MACRO (CONT'D) T, Yes. Write as follows after the above, and
we have a complete user macro body.
First, these moving distances may all be
converted into variables.
® M99
S: They are local variables #1 through #33,
aren't they? But which type of local variable?
$: Thatls easy.
T: Type 1 for small number of variables. This
type allows the use of X, Y and Z and there- Then, using G65, create this macro call and
fore makes the argument designation easier to the user macro body in the complete formats.
understand.
s: Let me try it.
s: OK. When type 1 is used, we have the follow-
ing variables. The macro call command is as follows:

-.- -.- --.- -.- -.- -.-


Xl00. Y50. R-SO. 2-40. P3.0 F250

#24 #25 #IS #26 ? #9


(p 3)
G 91

G65 P90S2 Xl00. Y50. R-SO. Z-40.


U3.0F250. ;
(P6)

Address P of dwell time cannot be used for


argument designation. can it? The llser macro body is as follows:
(P7)
T: No. Use some other address. Then, write
the address U instead of p. 09082 ;

-.-
GOO X#24 Y #25
P3.0 - U3.0 (P3' ) GOOZ#!8;

#21 GOI 2#26 F#9


G04 p#21 ;
Using these variables, rewrite the former
GOO 2- [ROUND [#ISJ + ROUND [#261J
program (P2).
M99 ;
S, OK.
(N) Program number "0908211 of the user macro
G91 #24, #25 is arbitrary.
0----4 ~
CD GOO X#24 Y#25 I T, That looks OK.
@ GOO 2#IS ; #IS I I
I I
I 1 **********
Q) GOI 2#26 F#9
@ G04 P#21 ;
~ : s, I think something is wrong. With this pro-
#26LJ gram. I have to specify points Rand Z
!2) GOO 2- [#IS + #26J every time!
DWELL TIME
Is this all right? T, That's true. With a usual canned cycle, whe
#20
points Rand Z have been specified once,
T: Sorry, it isnrt right. You have forgotten to their values are retained.
specify something in Gj. havn't you?
s, Do you have any trick to overcome this in
covenience?
S: Oh. I should have specified II ROUND. II

(P5) T: 1 do. In such a case, common variables help.


Using common variables, write the macro to
CD GOO 2- [ ROUND [#18] + ROUND [#26J;
designate the position of points Rand Z. U
and F may also be used for the same purpose.
Is this good?

124
s: live got it! Now, I divide the macro body T: Yes. Then. using IIIF ... GO TO ", I! com-
into two parts as follows: mand. change the specification of the tool
(P8) return destination.
There is one more point to be improved.
09000 ; Write the program so that the group nOl ll G
#100 0 #18 codes before execution may be retained after
the execution of this macro. Group "0111 G
#101 #26 codes include GOO through G03.
#102 = #21
s: It looks difficult ...
#103 = #9 ; What would you say to the following program?
M99 ;
T: Well done!
(P9) (PIll

09082 ; Macro Call Program


GOO X#24 Y#25
G91 G99;
GOO Z#IOO ;
G65 P9000 R-80. Z-40. U3.0 F250;
GOI Z#IOI FI03 G65 P9082 XI00. Y50.;
G04 P#102 G65 P9082 x ... Y ... :
GOI z- [ROUND [#IOOJ + ROUND [#101]]
M99

G98:
and I write macro call as follows:
G65 P9082 x ... Y ... ;
(p 10)
G91
User Macro Body (PI2)
G65 P9000 R-80. Z-40. U3.0 F2S0.
G65 P9082 XIOO. YSO. ; 09000;

G6SP9082 X .. · Y"'; NI00 = U8;


NI0l 0 ~26;

n02 0 #21;
'103 = N9;
#104 = 0
T: Very good.
09082:
**********
NI04 = #104 + I

s: Wait a minute! This canned cycle always re- In = '4001; .,. GO to G3


turns to the initial point. #2 = N4010; ••• G98/G99
GOO X#24 Y#2S;
T: I also' overlooked it. A program would be
useless if it is not able to designate the IF[ #104 NEll GO TO 1;
initial point return (G98) and point-R return IF[ #2 EQ991 GO TO 2;
(G99). To solve this problem, use the system GOO HIOO;
variable called !! current value. of modal in-
formation command!! to know which state, G98 NI GOI zunI FNI03;
or G99, is provid~d, and change the specifi- G04 P #102;
cation of the tool return destination. IF( '2 EQ 981 GO TO Z;
GOO 7-[ #1011
S: G98 and G99 belong to group 1I10.1! So, I
GO TO 3;
have to use system variable #4010. Is it
right? N2 GOO Z-[ ROUND [iHOOI + ROUND [#1011 I;
N3G#1: .. , Restore GCode
M99;

125
2.11.11 EXERCISES OF USER MACRO (CONTOD) (2) pocket Mill

~_'(X' A A. The cycle for the pocket machining shown


below is created by user macros as follow:
y)
(STOCK REMOVAL ALLOWA.'\CE)
I - K t-
~
~

POINT R 'r".--"J.Y E .. G ° '"


..
.
I
+y
V::o c;-\
~ /C:S<
L +X b
• ' ,I\.
' t CUT WIDTH
Kt>:
J

POINT Z K
STAR';Y I
POI NT R
09000 (G82 INITIAL SET)
+, j ~
A *I~
1/100 - #18 ...POINT R ~0(D[PTH.OF O~E
#101 ~ #26 ...POINT Z Cl'T)
(STOCK
RrnOVA L
#102 ~ #21 ...U (DWELL) I ALLOW ANCE)
#103 ~ #9 ...F CUTTING )' K 0
#104 ~ 0 I 1 1
I
FINISH ALLO\,!A:-lCE
DESIGNATED POCKET
09082
[CANNED CYCLES BY G82 I
I B. Macro Call Command
G CODE READING SET G65 P9061 X··· y ... Z .. · R .. · I .. · J ... K .. ·
*104 - #104 + 1
#1 ~ #4001 ............. GO - G3 T .. · Q ... D··· F··· E··· ;
#2 ~ #4010 ••.•.•.•..... G981G99
I where,
POSITIONNING TO X J Y: The absolute coordinate values of the
B, C, '" C n start point (the lower left position of
GOO X #24 Y #25 the pocket) .
Z: The absolute position of the bottom of
Yes the pocket.
#104", I R: The absolute position of rapid traverse
tool return.
No
I. J: X-axis and Y:"'axis lengths of the pocket
rPOSITIONING TO POINT CI (unsigned) .
I GOO Z #100 I K: Finish allowance (left-over allowance, un-
signed). Default value is O.
CUTTING, DWELL AT
T: Cut width rate (designated in %).
POINT C +D
Cut width = tool radius x T 1100
GOI Z#IOI F#103
G04 P#102 Q: Z-axis cut depth for each time

~""
(unsigned) .
D: Tool offset number.
G98/G99
G99 ~
POSITIONING
F:
E:
Feedrate on XY plane.
Feedrate at Z-axis cut.
POSITIONING TO POINT AO (Tool is fed 4 times as fast as E up to the
TO POINT E GOO Z point 1 mm to the preceding cut bottom.)
GOO Z - ( #101) [ROUND (#100)
+ ROUND (#101) I
I
I RESTORE OF G CODE I
I G #1 I

I
I I JUMP TO THE MAIN PROGRAM I
II M99 I
I

126
Nl GOI Z#,32 F#8

~
Ii
Ii
Q
/
E
_{'4,"
I mm
x

' / / / / '//.
E
GOI X#30 F#9 ;
#33 = I ;
WHILE [#33 LE#14] DO 2 ; ~
IF [#33 EQ#14] GO TO 2 '; I
l F#9 ; ~a
/
GO] Y [#28 + #33 • #13'J cut
GO TO 3 ; I
The stock removal allowance (1 mm) inside the oop
finish allowance is all cut by a single operation N2 GO] Y [#25 + #5 - #11] ;
in the final process as shown below. Then. the N 3 IF [#33 AND ] EQ 0] GOTO 4
tool returns to the start point. completing the
cycle. GO] X#27 ;
GO TO 5 ;
~
N4 GO] X#30
~ ~ N 5 #33 = #33 J
t~ - LEFT-OVER
+

END 2 ; - - - - - - - - - - - - '
CONVEX ,GOO Z #18
~ 1\ (' IF [#32 LE#29] GO TO 6
~ GOO X#27 Y#28 ;
START POINT GOI Z[#32 + l.0] F [4' #8J;
STOCK REMOVAL ALLO\-..TANCE
END] ;
(1 mm HIDE)
N 6 #1 J = #11 - I. 0
#27 = #27 - 1.0
C. User Macro Body
#28 = #28 - l. 0
09061 ; #30 = #30 + l. 0
#10 = # [2000 + #7]; Tool radius #31 = #25 + #5 - #11 Stock
removal
#11 = #6 + 1.0 + #10 ; GOO X #27 Y #28 ; cycle
#12 = #5 - 2 • #11 ; GOI Z#32 F#8 ;
#13 = 2 * #10 X #201100 ; ... Cut width GOI X#30 F#9 ;
#14::; FUP [#12/#13]; •.. X-axis cut count:-l
Y #31
#27 = #24 + #11 } X. Y coordinates of X#27
#28 ;;; #25 + #11 machining start point
Y#28
#29 = #26 + #6 ; '" Z-axis coordinates of
GOO Z#18 ;
cut bottom
GOO X#24 Y#25 ; ..• Return to start point
#30 = #24 + #4 - #11 ;
G#15 ; '" Restore of G90/G91
#15 = #4003 ; ... Read of G90/G91
M99 ;,
G90 ; ... Absolute command
GOO X#27 Y#28
GOO Z#18 ;
#32 ::; #18 ; ... #32: Cut bottom in execution
DO I ;
#32 = #32 - #17 ;
IF [#32 GT#29] GO TO
#32 = #29 ;

127
2.12 SOLID TAP FUNCTION t 2.12.2.2 SOLID TAP CYCLE COMMAND

Solid tap functions can be optionally added to The solid tap can be made by specifying as below
YASNAC MX3. after G93 specifica tion.
These functions are performed bY' completely syn- G84/74 X_ Y_ Z_ R_ (P-.J F_ (S-.J (L-.J ;
chronizing the spindle revolution ann Z-axis feed ..,.. ..,.. ---.-,. -,- TIT
for tapping. They eliminate the need for a float- I I I I I I '------, '-----., ' - - N'-'Obe
I I I z I Rt...., L.----,?~ tch Spindle repea
ing chuck and ensure tapping operation at high I I ~t pomt rMell speed
speed and high accuracy. I I
Conventional tapping can also be specified by the Tap Peverse Tapping
program. tap PJs~tion

The format and contents other than F are the


same as conventional tap. Solid tap is specified
2.12.1 CONDITIONS FOR ADDING SOLID TAP by pitch of Z-axis per spindle revolution
FUNCTIONS (mm/rev., inch/rev.).

The following conditions are required for adding Program Unit and Programmable Range of F
solid tap functions to YASNAC MX3.
Input (mm) 1=0.0001 mm/rev.
(l) 55-digit analog output is provided as an op- Range 0.0001 to 200.0000 mm/rev.
tion for Y ASNAC MX3.
Input (in.) 1=0.000001 inch/rev.
(2) Yaskawa VS-626MTIli is used for spindle Range 0.000001 to 7.874015 inch/rev
drives.
Programmable Range of S
(3) PG is provided to the spindle or spindle
motor and the gear ratio used for solid tap has
1=1 rev.
been fixed (best performance is ensured if the
Range I to 4500 rev.
spindle and motor are directly connected).

2.12.2 DESCRIPTION ON PROGRAMMING NOTE: FxS cannot specify a program exceeding


24000.0 mm/min., 944.8 inch/min.
2.12.2.1 G CODE TO SPECIFY SOLID TAP MODE

The following G codes are specified to classify 2.12.2.3 OPERATION


tapping by solid tap function or conventional
tapping. (I) G93 Command
If G93 command is executed, the spindle stops,
(J) G93-So1id Tap Mode
the position control loop is formed to the spindle
The tap cycle (GS4/G74 commands), as mentioned and the solid tap mode is selected.
below, performs the solid tap. It is fed by The solid tap mode is also selected by another
command for feedrate per revolution. This mode way, namely, by spindle indexing and positioning
is on ly for solid tap. to the home position, after spindle stop by
parameter (#6055 Dl). However. the spindle can
(2) G94-Solid Tap Mode Cancel be indexed only at the time when feedback pulse
for one spindle revolution is 4096 pulses (#6061 *
This cancels the solid tap mode and changes to
#6449=4096).
the conventional mode.
This mode is reset by G94.
The following tap cycle performs conventional
tapping. It is fed by command for feedrate per (2) G84/74 Command
minute.
a. G84

!
CD Positioning to the position specified by X and
.' NOTE: G93/G94 is modal with G code of 05 Y.
group. G94 is selected at the time of power @ Positioning to R point.
application Iresetting.
e]) Spindle runs forward and is fed to Z point.
At the start of this block., it checks that
error pulse of spindle and Z-axis enters
within specification-Error Detect ON.
@) Spindle stops; deviation pulse of spindle and
Z-axis is checked here.
® Dwell. if there is P command.
(§) Spindle runs reverse and is fed to R point.
(j) Spindle stops.
® Positioning to the initial point (in case of
G98) .
128
---------.., ,,(X, y) Specifiable G Codes
CD .",'1
0 I® GOO, 01, 04, 70, 71, 72, 74, 80, 84, 90, 91,
I 1 98, 99
I I
(j) R poi nt In case of GOI, however, although G code can
I I be specified, movement command cannot be
I I specified.
CDI I ®
I I ® Once G93 mode is specified, the spindle does
@I I Z point not run (as a result of processing machine
CD sequence). even by cancelling the mode by
G94, unless M03 and M04 are specified again.
S command is left. Since gear selection
Linear form acceleration/deceleration i.s automat- signal is not output during G93 mode, specify
ically applied to the spindle mOVf>mcnt (the con- S command again at the time of M03 and M04
stant set by #6291). specification.

b. C74
@ If there is more than one gear, select the
gear to be used for solid tap before specify-
The same operation as G84 except for the ing G93 and, then, execute G93.
fonowing points: .
(2) G84/G74 and G94 for Solid Tap
Q) in ~84 makes spindle reverse running, and ®
in G84 makes spindle forward running in case of cD Precautions fol" conventional tap program are
C74. all applicable to the precautions on specifying
R point and Z point commands, G98/G99, G901
(3) C94 Command G91 and number of repeats, L.
If GCJ4 c(,rr.lT'and is executed, the solid tap mode in
G93 is cancelled. This mode selects the conven-
o Output voltage of spindle forward run and
reverse run by G84/G74 takes a different
tional tap operation if specifying G84/G74. sign dependin g on the parameter.
At #6006 D6=0. "+11 is output by forward run
2.12.2.4 PROGRAMMING EXAMPLE and at D6=I, "_" is output by forward run.
The spindle is automatically reversed at the
controller side without using SINV input.
(}) Be sure to cancel the canned cycle with GaO
at the time of specifying G94 after completing
G93; --- Solid tap mode solid tap.
G84XlOO. YIOO. Z-50. R-20.· RJ. S3000;
--- Solid tap to position (I 00., 100.)
® When G94 is specified after completing solid
tap, F command changes to O. After
X200. Y200.; --- Solid tap to position (200., 200.)
specifying G94, be sure to specify F so as to
XJO. YIO.; --- Solid tap to position (10., 10.) specify the cutting feed program.
GSO; --- Canned cycle cancel
G94; --- Solid tap mode cancel
(3) Solid Tap and Its Relation to Various
Operations
CD Dry Run
G93 becomes invalid even by executing G93
2.12.2.5 PRECAUTIONS with Dry Run SW ON, and G84/G74 command
for solid tap mode are handled as conventional
(1) G93 type G84/G74. But, feedrate in G84/G74 is
determined by Jog SW in feed rate per minute.
cD The codes that can be specified to G93 block
Once solid tap' mode is selected by Dry Run
are G93 J S. F and N codes only. If the SW ON, Dry Run SW is handled as ON in
another code is specified. it c~uses an alarm
connection with G84/G74 tap feed. even if
(090).
Dry Run SW is changed over' before
IIi Specify G code in OJ group at GOO or GOI completion.
status to specify G93. If it is specified by a' At, G93 block. Dry Run is designated if ON at
mode other than above, it c;:auses an alarm the time of reading code of G93. Normally, it
(090). is designated during execution of block at a
front of G93 block.
CIY In G93 mode (solid tap mode), S code is Accordingly. to actuate G93 with Dry Run ON
regarded as S command' for solid tap.
for program check, keep Dry Run SW ON
® In G93 mode, the G codes other than below from the first and do not reset it before
cannot be specified, or it causes an alarm completion.
(090).

129
2.12.2.5 PRECAUTIONS (Cont'd) (2) Error Detect in Solid Tap
Rapid traverse command in solid tap (X. Y
@ Auxiliary Function Lock positioning. Z-axis positioning) can be made to
Error Detect OFF mode by setting parameter #6065
G93 becomes invalid even by executing G93
DO to I.
with Auxiliary Function Lock SW ON and
Cycle time can be shortened by turning this
G84/G74 command for solid tap is handled as
parameter ON. Be careful of the program. since
the one which changed only the feed to feed
it proceeds to Z-axis block just after completing
per revolution. The spindle position is not
pulse distribution for positioning X and Y.
controlled.
At G93 block, it is designated if auxiliary
(3) Alarm Code
function lock is ON or not at the time of
reading code of G93. The following alarm codes are added.
Accordingly, for check of program by
Auxiliary Function Lock SW ON. keep Dry
CD Alarm 090 (PROG ERROR (G93»
(Contents) There is a command other than
Run SW ON from the first and do not reset it
G93, S, F and N in G93 block.
before completion.
G code at 01 group is other
CI> Machine Lock, Z-Axis Neglect than 00 or 01 when G93 is
specified ..
If solid tap is executed with Machine Lock or
G code that should not be
Z-Axis Neglect ON, the spindle revolves, but
specified was specified in G93
Z-axis is actuated only for display.
mode.
® Override, Spindle Override Pitch F of solid tap is beyond
the allowable range
Feedr~te override during solid tap is fixed (200 mm/rev.).
completely. But, rapid traverse rate override
is valid. @ Alarm 091 (TAP ERROR)
Validation/invalidation of spindle override
(Contents) When solid tap is executed.
input during solid tap mode is selectable by
posi tion control loop is not
parameter #6007 D2 as in tapping of
formed to the spindle.
conventional type.
SLPC turned OFF before com-
~ Feed Hold pleting index at the time of
indexing with G93.
Feed hold during cutting is invalid with
G84/G74 for solid tap. Q) Higher return speed function upon solid tap
® Mode Change The return solid tap cutting feedrate (cutting
Mode change during cutting is invalid with from Z point - R point) can be controlled at
G84/G74 for solid tap. n times (0.1 ~ n ~ 25.5) the forward speed
(cutting from R point Z point). by setting
.'2) Program Restart parameter #6470.
G93 cannot be executed for program restart Note that the commanded S x magnificatior
to the block during solid tap mode. G93 has of the spindle speed is clamped at the maximun
to be modified by MOl and be executed. solid tap speed of #6471.
When #6470 = O. it is regarded as n = 1.
2.12.3 SOLID TAP RELATED FUNCTION
#6470 Specification range 0 to 255
Unit 1 = 0.1 times
The following functions are added or modified by
the optional addition of solid tap function. When 0 is specified, the magnification is 1
time.
(1) Servo Positioning Error Display
In the solid tap mode, servo positioning error of 2.12.4 SOLID TAP 1/0 AND ITS RELATION WITH
the spindle is displayed at X -axis and the number SPINDLE CONTROL 1/0
of synchronous error pulses of the spindle and
Z-axis is displayed at Y-axis. respectively, of
servo positioning error display screen. (Z-axis
(I) 1/0 Used for Solid Tap
displays servo positioning error of Z-axis.)
However, pulse display at Y-axis is not precise in a. OUT Signal
continuous mode (single block OFF).
If parameter #6065 Dl is 1, peak value of CD G93M Output (#12070): G93 Solid Tap Mode
Output Signal
synchronous error pulses can be displayed at
The signal is output when G93 is specified.
X-axis and Z-axis.
The machine side receives this signal. turns,
(X-axis: Plus peak value.
ON the spindle forward signal and "returns
Z-axis: Minus peak value)
SLPC (spindle loop command input signal)
after confirming the spindle zero speed.

130
NOTE (3) Connection to Spindle Pulse Generator

1. ~ancel the soft start function at the In the solid tap, the spindle revolution is
same time SLPC turns ON. if the spindle controlled by using the spindle pulse generator
is equipped with soft start circuit (50 (hereinafter called "spindle PGI1). Consequently,
that NC unit can control acceleration! both revolving direction of spindle motor and
deceleration) • feedback signal direction from spindle PG have to
be synchronized.
2. Turn OFF the spindle reverse input For this purpose, if the spindle PG is not
(SINV). gear shifting input (GRO) and mounted to the motor and revolving direction of
spindle orientation input (80R). spindle motor" and spindle PG are different,
o SLPS Output (#12071): Spindle Loop Status
Output Signal
change the connection to phase A and phase B as
shown in the Connecting Manual.
If both revolving directions are the same, connect
The signal is output at the time when NC uni" them as shown in the Connecting Manual.
forms position control loop to the spindle for
solid tap. G93 block ends at the time this
2.12.5 SOLID TAP-RELATED PARAMETER
signal is output.

b. IN Signal 11*., mark below shows the need for power ON/OFF
after setting parameter.
SLPC Input (#13133): Spindle Loop Command
Input Signal • (1) Spindle Override in G84
The signal is to form the spindle position
control signal to the NC unit.
#6007 D2 0: Valid
1: Invalid (completely fixed)
The NC unit returns SLPS by forming the
position control loop to the spindle after
ensuring the spindle stop (following the
NOTE
number of revolutions at #6473) when this
Override is valid at the time of reading
input turns ON.
G84/G74 and it cannot be changed over
c. Time Chart during tapping.
Solid tllp IICde
• (2) Operation at G93
NCprogrill'\ G93 block G94 blc.ck. i #6055 DI 0: Spindle not indexing
--,
~-~==~
~
1: Spindle indexing
G93M
(3) GOO Error Detect in Solid Tap
spindle
~ CONard IWI
""• #6065 DO 0: Error Detect ON
1: Error Detect OFF
i
~
5U'C

Ie internal *(4) Display of Simultaneous Error Peak


~indlel
processing'
1f:x- , in Solid Tap
Sl1>S #6065 DI 0: Not display the peak of simul-
taneous error for spindle and
Additional EXElanation Z-axis
1: Display the peak of simul-
(!) G93M turns ON when G93 block is
taneous error for spindle and
executed with Dry Run OFF and Auxiliary
Z-axis
Function Lock OFF.
0 G93M turns OFF when G94 block is During solid tap, plus (+) peak of simul-
executed or reset. taneous error is displayed to X-axis error
Q) G93 block completes as SLPS turns ON pulse display area and minus (-) peak of
and j~b proceeds to next block. simultaneous error is displayed to Z-axis
® G94 block completes as SLPS turns OFF e.rror pulse display area.
and job proceeds to next block.
• (5) Spindle PG Mounting Position
(2) Solid Tap and Its Relation with Spindle I/O
#6065 D7 0: Spindle side
D~ring solid tap mode, previous output of gear 1: Motor side
select output and SF output is" held. Gear select
Note: This parameter is used when a gear
input, gear shifting input and spindle orientation
ratio exists between the spindle and motor.
input are disregarded.
If the ratio is I: I, set 0 even if it is at the
Moreover, if there is more than one gear, specify
motor side.
and execute G93 after selecting the gear to be
used for solid tap.

131
2.12.5 SOLID TAP-RELATED PARAMETER * (7) Spindle Feedback Pulse Multiplication
(CONT'O)
#6061
*(6) Gear Ratio between Spindle and Spindle Mato]
When Using Solid Tap Multiplica-
D3 D2 D1 DO
tion
#6198 Range 0 to 127
Number of teeth at spindle side 0 0 0 I XI
n unit 1
0 0 1 0 X2
#6199 Range 0 to 127
Number of teeth at motor side 0 I 0 0 X4
m unit 1
I 0 0 0 X8
Notes:
Standard setting: X4
1. It can be set with #6169 or #6197 at the time
of using intermediate gear. Set 0 to #6196 and
#6197 for the machine not using an inter- * (8) Number of Feedback Pulses per Revolution of
mediate gear (Fig. 1 shows setting example). Spindle PG
#6196 Range 0 to 127 #6449 Range 1 to 32767
Number of teeth at spindle side Unit: Pulse/rev.
#6197 Range 0 to 127 Standard setting: 1024
Number of intermediate gear teeth
at spindle side NOTE
#6198 Range 0 to 127
Number of intermediate gear teeth Set the value before applying multiplication
at motor side for this parameter.
#6199 Range 0 to 127
Number of teeth at motor side
(9) Spindle Speed to Command 10 V at Solid Tap
Using Gear
2. It sets the gear tooth ratio if there is a gear
between the spindle and motor. If spindle: #6472 Range I to 32767
motor=n:m, set the value of nand rn to #6198 Unit I = 1 rpm
and #6199. If i·t is I: 1, set 0 both to #6198 Standard setting: 6000
and #6199 (it can be as 1, 1).
(IO) Maximum Spindle Speed at Solid Tap
Intermediate #6471 Range I to 32767
Spindle Motor
gear Unit I = 1 rpm

Ft1 'Fh
#6197 #6198 Standard setting: 4500
( 41) (79 ) (79) (36)
Set up carefully to maximum spindle motor
speed at solid tap.

(I I) Spindle Command Unit Position Loop Gain


(34) (34)
#6411 Range I to 32767
Unit I = O.OIS-1
Standard setting: 2500
High gear
(12) Spindle Acceleration JDeceleration Cons tan t
#6291 Range 1 to 32767
Unit 1 = 1 ms
Intermediate Standard setting: 2000
Spindle Motor
gear
It sets the acceleration time from the stop
#6198
status to number revolutions specified by

P1-1
(79) (79 ) (36)
#647l.
It is determined by motor torque and load.
Refer to Adjustment Procedure for Solid Tal
#6196 #6197
(34) (34)
Function for YASNAC MX3 (OE8410207) for
(86)
setting.

Low gear

132
(13) Magnification of Spindle Position Error Area (9) Creep Speed Command for Spindle Indexing
#6155 Range 1 to 200 #6463 Range 1 to 32767
Unit 1 = 1% Unit 1 = 500 pulses IS
Standard setting: 120 Standard setting: 10
It sets the area to detect excessive error of However, #6472, maximum spindle speed at
the spindle at solid tap mode by the rate of the gear using solid tap, is upper limit (to
load to maximum spindle speed (#6471) at the be clamped).
time of solid tap. When the load correspond-
ing to 1.2 times maximum spindle speed is (20) Spindle Stop Confirmation Timer for
applied at #6155=120. it causes alarm 346 Spindle Indexing
SERVO ERROR(S).
#6464 Range 0 to 255
(14) Spindle Error Detect ON Area Unit 1 :;; 8 ms
Standard setting: 1
#6161 Area 0 to 255
Unit 1 :;; 1 pulse (21) Original Position for Spindle Indexing
Standard setting: 50
#6465 Range 0 to 4095
It specifies the error detect area at R point Unit 1 = 1 pulse
and error detect area at hole bottom (Z Standard setting: 0
point) at the start of solid tapping.
(22) Revolving Speed to Confirm Spindle Stop
(15) Z-axis Pull-in Area
#6473 Range 0 to 30
#6476 Area 0 to 65535 Unit 1 = 1 rpm
Unit 1 :;; 1 pulse Standard setting: 30
Standard setting: 1000
It sets the revolving speed to confirm
It specifies pull-in area of air cut area near spindle stop at the time of forming position
R point after solid tapping. After complet- loop of spindle with G93. Position loop of
ing distribution, when residual movement of spindle is formed after G93 is specified and
Z-axis enters into this area, it cancels si- the spindle speed decreases to a value lower
multaneous feed of the spindle and Z-axis than this parameter. Set the value lower
and pulls Z-axis into R point. than the parameter to confirm zero speed at
the spindle drive side.
(16) Fine Adjustment of Spindle!Z-axis Simulta-
neous Compensation Parameter (K I ) (23) Return speed in solid tap
#6468 Range -32768 to 32767 #6470 Range 0 to 255
Standard setting: 0 Unit 1 :;; 0.1 times

This is the parameter for compensating for When 0 is specified, the magnification is 1
the simultaneous operation of the spindle and time.
Z-axis at the steady-state cutting feed.
Refer to Adjustment Procedure for Solid Tap Items (8) to (22) cover the parameter about
Function for Y ASNAC MX3 (DE8410207) for spindle indexing at the time of specifying G93.
adjustment.
SLPC input~
(17) Spindle/Z-axis Simulta~eous Compensation
Parameter (K2) #6465
#6469 ----, I
Range 0 to 32767
Standard: 2000
Spindle speed
command
l
I 1 #6462
This is the parameter for compensating for o L...J #6463
the simultaneous operation of the spindle and
Z-axis at the time of acceleration! deceleration n C phase
feed. #6464 --' L-
Refer to Adjustmen t Procedure for Solid Tap
Function for YASNAC MX3 (DE8410207) for Spindle indexing and parameter
adjustment.
Note:
(18) Revolving Speed Command for Spindle
Indexing In case of setting original position 0, it stops on
#6462 Range 1 to 32767 C phase after one turn at creep speed after
Unit 1 = 500 pulses I S detecting C phase.
Standard setting: 20
However, #6472, maximum spindle speed at
the gear using solid tap, is the upper limit
(to be clamped).

133
2.13 AUTOMATIC CORNER OVERRIDE CUTTING MARGIN

The load at the corner increases when machining


the inner surface.
In conventional machines, the cutting speed
was reduced by the override switch. or the speed
was commanded by dividing the corner rounding
block in several blocks.
Corner override is a function where the
override automatically changes in a single-block
command. o A C D
* POINT A AND POINT B
ARE THE SAME
(1) Command format
(a) Non-modal G code G 106 is used. Fig. 2.81
GI06 GOI X ••• Y ••• I. •• (or J ••• )
(i) The tool moves in sequence of 0 -+ A (B) -+ C -+
F ••• ; D.
GI06 Non-modal G code (ii) The speed between 0 -+ A is as commanded (F
I Cutting margin (X-axis direction) command * override)

J Cutting margin {Y-axis direction} A ... C is the variable speed zone.


C ... D is the clamped speed zone (n % the
commanded speed).
CUTTING MARGI N
(iii) Speed variation curve

F (SPEED)

Foe-----------------~
F,

F'~--------------~----~---------

(b) Override command L---------------~--~--------~ __ L


A (8) C o (MOVE
#6216 Fl: 1st step F feedrate override % DISTANCE
(I to 100)
Fig. 2.82
#6217 F2: 2nd step F feedrate override %
(I to 100)
When the cutting margin is larger than the tool
FO (Commanded feedrate) * (Override %)
radius, #6216 is always calculated as 100%. FI FO
(Refer to the Note.) F2 FO * (#6217) ••• (given as n% of FO)
(2) Operation Note: The operator no longer needs to compare th
This function automatically calculates the position in sizes of the tool radius and the cutting margin. II
the corner where the load on the tool starts to this case, the override of Fl is regarded as 100%,
change, from the tool radius and cutting margin. regardless of the setting in #6216.
The position where the load is applied differs
according to the size of the tool radius and cutting
margin. This is why the following be considered.
(a) When the cutting margin is larger than the tool
radius
(b) When the tool radius is larger than or equal to
the cutting margin
(c) When the tool radius is larger than the cutting
margin

134
(iv) Speed change posi~ions (i) The tool moves in sequence of 0 .... A .... B .... C
(D) •
(ii) The speed between 0 .... A is as commanded (F
command * override)
A .... C is the variable speed zone.
(iii) Speed variation curve

F (SPEED)

Fo
:-.........

F,
%ii
~ L -_ _ _ _ _ _ _ _ _ _ _ _ _ _ ~~ __ ~~._ L

~ A B) C (HOVE DISTANCE)

~
I
fi& POINT C
Fig. 2.85
: ~(When the center FO = (Commanded feedrate) * (Override %)
: ~Of circle comes
i ~to on the dotted Fl = FO • (#6216) ••• (given as n% of Fo)
--:~"7({,i::i""W,i::i-;C-~:-;:t~""'~::-:=i7Ji"':'~~~~~":::~:-;:-~""~=;:#dffiline. ) F2 = FO • (#6217) •.• (given as n% of Fo)

(iv) Speed change positions


t

Fig. 2.83

(b) When the tool radius is larger than or equal to


the cutting margin

CUTTING MARGIN

o A B C{D)

Fig. 2.84
l:,jjj'-----POINT C (D)

Fig. 2.86
135,
2.13 AUTOMATIC CORNER OVERRIDE (CONT'D) So the linear interpolation with linear accelel
ation (GI98) and linear interpolation with linear
(3) Notes deceleration (G199) are developed and added to tl
preparatory functions. This limits the acceleratio
(a) Corner override can be calculated to a single in case the speed variation is too radical since it
position. If corner override is commanded in a may shock the machine.
Z-axis simultaneous command, the override
automatically changes to the I or J direction at the G 198 is also the start and G 199 the end of
commanded position. form compensation.
(b) Command the G codes of group 01 when the Circular projection compensation
GlOb command is giv.en. If not, alarm (029: GI06)
occurs. Another problem is the projection remaInIng in
circular cutting, at the point where the quadrant
(e) Commanding I and J simultaneously by the GI06 switched.
command causes an alarm (039: GI06 X, Y. It J).
This projection can be made smaller by using
(d) When the tool radius is larger than the cutting the circular projection compensation function.
margin, and a mistake in setting is made to be FO
!ii Fl ;$ F2. the speed is clamped at the value The above two functions are called high-spe€
immediately before (Fl against F2). For example, contouring functions.
if Fl is set at 80% and F2 at 90% by mistake,
calculation is made with F2 as 80%. There will thus NOTE:
be no automatic corner override between A and B, When using form compensation, set nOn in all the
and the speed is clamped at Fl. exponential accel/decel parameters (#6418 to #6420
Otherwise, correct movement cannot be guarantee(
F (SPEED)

2.14.2 FORM COMPENSATION FUNCTION

Programming
FJ = 1-'2 I-----------""~------
The form compensation mode turns on by com-
manding Gl98 in the GOI mode. This mode
compensates for the delay of the servo system, an
performs interpolation. This mode turns off by
commanding G 199 in the single-block, feed hold or
L GOl modes.
(HOVE DISTANCE)
(a) Command format
Fig. 2.87
(i) GOI G198 X ... Y ... Z ... :
(Start form compensation mod
(e) Set #6216. #6217 between 1 and 100. (Do not
set nO.II) Command Gl98 under the GOI mode after position-
ing, to turn on the form compensation mode. The
([) Commanding GlOb in a canned cycle causes perform linear acceleration to the currently
alarm (029: G 106). commanded cutting speed in the block. The move
(g) Alarm (039: G10bX, Y, I, J) occurs when no command must be large enough for acceleration.
I or J command is found against the move axis in (ii) GOI G199 X ... Y ... Z ... :
the GI06 block. (End form compensation mod
(h) No override is performed by the GlOb command, Command G 199 under the GO 1 mode in the form
if the tool radius is 1/2 or less the cutting margin. compensation mode, to perform linear deceleration
and position at the commanded point. The form
compensation mode turns off after positioning.
2.14 HIGH· SPEED CONTOURING FUNCTION'
The move command must be large enough for
deceleration.
2.14.1 OVERVIEW
(b) Program example
Form compensation function
(i) How to command linear accell decel in a block
Generally, when contour cutting is commanded, the with discontinuous command speed
orbit shifts (sagging or shrinking arc radius at the
corner) because 'of the time delay of the exponential
function accelldecel, or by the influence of the
servo follow-up delay.

136
EXAMPLE (CIRCULAR CUT WITH FORM COMP.) (d) The override cannot be c~anged while executing
the block commanded with G199.
GOI G9l FIOOOO;
(e) When interpolating a line shorter than the
N I Y25. G198; accell decel distance, divide the line into two equal
parts, arid command Gl98 and G199. Smooth
N 2 G02 125; accell de eel cannot be gained unless this division is
N 3 GO! Y25. G199; precise.
M30 ; ({) GI98/GI99 are non-modal group G codes. Do
ORBIT SPEED VARIATION not use two or more G codes of the same group in

V,l n an single block.

V,
I--71\: /:\::
, V-

V
(3) How to set the acceleration for linear accel/
decel
Set the maximum acceleration of a single axis in the
parameter.

(ii) When commanding a form with angle t div;ide


Setting: "I" = 1/64 (m/s2) = 60/64 [(m/min)/s)

each line before and after the angle in two, and Setting example How to accelerate to FIOOOa within
command accel/decel before and after the angle. 0.1 s
10/0.1 = 100 [(m/min) Is)
EXAMPLE (SQUARE CUT WITH FORM COMP.) ; 100/(60164) =
106.7
Set 107 as the maximum acceleration parameter.
GO] G91 F6000;
N] XZ5. GI98; (4) How to set the form compensation parameter
Set the servo follow-up coefficient Kx, Ky ... KS
N 2 X25. G199; under the form compensation mode, by the
N 3 Y25. G198; parameter. The larger this coefficient, the better
the servo follow-up characteristics, and the better
N 4 YZ5. G199; the form precision. But, too large a setting can
N5 X-Z5.GI98; cause overshoot. The following value can be
considered as guidance upon setting.
N6 X-Z5.GI99; Exponential accel/decel time constant: Te (ms)
Servo follow-up coefficient: kx
N7 Y-25.GI98;
N8 Y-25. G199; kx = ( I 8 -I) * 8192
1- exp (- Te )
M30;

"F" :"',:",
ORBIT
Set the above value to gain orbit preCIsIon equiv-
alent to the precision" when zero is set as the
N6 N5

i:t }:
exponential accel/ decel time constant. However, the
servo delay and machine system delay cannot
, I I t completely be disregarded by this value, and the
,
,I ,
, ,
kx must be adjus"ted while measuring the form
,, , precision by using orbit measuring devices if the
form precision is still to be improved.
V,+_L....l.'_+-J'-
(5) Parameters related to the form compensation
function
(2) Notes Single-axis maximum -#6488 (J to 32767)
acceleration
(a) The movement has no delay against the inter- Servo follow-up
polation command, under the form compensation coefficient kx (X-axis) -#6580 (0 to 65535)
mode. Thus, if disconnected speed is commanded, Servo follow-up
it can shock the machine, or cause servo error. coefficient ky (Y-axis) -#6581 (0 to 65535)
Servo follow-up
(b) Giving commands other than the interpolation coefficient kz (Z-axis) -#6582 (0 to 65535)
command under the form compet:lsation mode can Servo follow-up
shock the machine. or cause servo error. coefficient k4 (4th axis) -#6583 (0 to 65535)
(c) Pe~forrning single-block or feed hold under the Servo follow-up
form compensation mode causes the form compen- coefficient kS (5th axis) -#6584 (0 to 65535)
sation mode to turn off. The form compensation
mode will not turn on until G 198 is commanded
under modes other than the single-block mode.

137
2.14.3 CIRCULAR PROJECTION COMPENSATION (Symbol) (Param No.) (Description) (Setting rang") (Unit)
H,X '6077 (X-.. "is 1st hdghtl o to 2"~ I " 500 (pps]
( 1) Overview H,Y '6078 (Y-axis I., h"ightl o to 2"~ I " 500 [pps]
H" '607~ (Z-;ox,s lst h,,'ght) o to 2"~ I " 500 (pps]
H,X '6080 (X-;o.xis 2nd height) o to 255 1 " SOO [pps]
When a circle is cut by the machining center. a
H,y .6081 (Y-axis 2nd he,ght) o to 255 I = 500 [pps)
convex projection can be left at the switch point of .6082 (Z-",,'s 2nd h",ghtl
H" o to l~5 1 ~ SOD [pps]
the quadrants. (X-axis compo si;o.r!
ToX 16083 o to 2">5 = 2 ems)
walt tlme)
This projection occurs because the lost motion (Y-axis compo star!
ToY '6084 o to 2">'"
affects the machine to disturb immediate movement walt time) J '" 2 ems]

when the move direction changed. To' '60SS


(Z-.. xis compo sart
o to 2S~ I " 2 [msl
wait IlIne)
The servo speed loop gain can be increased to T,X 16086 (X-.. xis 1st WIdth) o to 255 I = 2 [ms]
prevent the projection to some· degree. However, T,y ,6087 (Y-utis 1st WIdth) o to 255 I = 2 ems]
increasing vibration and other causes will not allow T,Z 16088 {j':-axis 1st width} o 10 255 I = 2 [ms]
T,X 16089 (X- .."is 2nd width) o to 25'" 1 = 2 [ms]
the speed loop gain to be increased.
T,y '60~O (Y-;o.xis 2nd width) o to 25~ I '" 2 [ms}
This function is to automatically output the T,Z 16091 (Z-axis 2nd width) o to 2">5 I " 2 ems]
speed impulse preset as the parameter, when the Notes;
move direction of the machine changes. so that the I. Any change mad" in p .. ram"ters '6056 to 16057 be~om"s "ff"c!;v" only .. flu
projection can be "hammered down. n turning th" pow"r OFF .. nd th"n ON again. D6 of .6056 to '6058 must
.. Iways b" s,,1 O.
2. Any ch .. nge m.. de in p .. ram"l"rs 16077 to '60~1 becomes "ff"ct;ve by Ne
(2) Parameters related to the circular projection RE.SET.
compensation function
(3) Adjustment
(a) Circular projection compensation ON IOFF
The following parameters must be set for each axis. The following are standard setting and adjustment
procedures.
X axis: #6056 D7 D6
Y axis: #6057 D7 D6
Z axis: *6058 D7 D6
o 0: Circular projection compensation off
1 0: Circular projection compensation on
Always turn off the NC power one time when
START POINT pH,) I I
change is made in this parameter. t .
To T,
(b) Offset amount and timing
EXAMPLE
--- ~
G92 XO YO ZO
G9l GOl F3000

,-~
GOI G198 Y25.
H,
G03 J-25.
H
GOI G199 Y25.
P
I--L.. GOO Y-50.
T, M30
To T,
(a) Adjustment procedure
(i) The start point P is fixed at the position wher~
P Start point of the circular projection the sign of the (segment) changes.
compensation
(Actually when the sign of the command is (ii) The delay time To is calculated as follows.
reversed. ) To = l/kp x 0.7 [sl
HI Height of the 1st offset amount
H2 Height of the 2nd offset amount (Half of the above value is set in the
TO Wait time from the start point to the first parameter, as 1 = 2 Ins.)
offset
Tl Width of the 1st offset (iii) Increase the height H 1 from the temporary
T2 Width of the 2nd offset setting HI = 20 hy 5 (T, = 10 when H2 = 0, T2 =
0). and observe the effect.
(iv) Feed H 1 while checking the effect by actual
cutting, orbit analyzer, plan, DBB, etc.

(b) Notes
(i) Set the soft hammer parameter after setting th,
form compensation parameter.
(ii) If normal adjustment is not effective enough,
try adjustment by changing To, H 2 and T 2.

138
3. PART PROGRAM TAPE CODING

3e 1 TAPE CODE For punching tapes, the code must be selected by


the setting of #6000D7'
3.1.1 TAPE CODE
When nOli is set with #6000D7 EIA code
With this control, both the ErA and the ISO codes When 11111 is set with #6000n? ISO code
can be used.
EIA code: EIA RS- 244- A
3.2 PROGRAMMING
ISO code: ISO 84
Table 3. I. I shows the EIA and ISO punched tape 3.2.1 PROCESS SHEET
formats.
Programs are first drafted on process sheets.
Before starting to program any machining oper-
ation, a decision must be made as to the code to Process sheets should be easy to read and to
be used. make corrections, and should be designed and
prepared by the user in conformity with the
specifications of the NC.
3.1.2 EIA 1150 AUTO-SELECT

Before starting to use part program tapes. the


control must be switched to the same code as the
tapes. inaccordance with the procedure for writ-
ing-setting under 4.3.6, .. DISPLAY AND WRITING
OF SETTING DATA:'
Despite the content of #6001D7, the control
is automatically adap·ted to the code used for the
part program tape. The control recognizes the
code used when it reads the first EOB code· in the
label skip mode, and all the subsequent data will
be read automatically in that code.

LABEL PROGRAM NO.

I I EOR EOslo I
I J K
X Y Z
N G R Q L F

P Q
• • T ' }:ltD S : M

Fig. 3.1 Example of Process Sheet

139
3.2.1 PROCESS SHEET (CONT'D)

Table 3.1 Tape Code

ElA CODE ISO CODE


CHARACTERS
8 7 6 5 4 0 3 2 I 8 7 6 5 4 - 3 2 I
0 0 0 0 0 0
0 0 I 0 0 0 0 0
0 0 2 0 0 0 0 0
0 0 0 0 3 0 0 c 0 0
c 0 4 0 0 0 c 0
0 c 0 0 5 0 0 c 0 0
0 c 0 0 6 0 0 0 0 0
c 0 0 0 7 0 0 0 0 0 0 0
0 c 8 0 0 0 0 0

0 0 0 0 9 0 0 0 0 0
0 0 c
c
0 • A 0 c 0
0 0 0 b B 0 0 0
0 0 0 0 0 0 , C 0 0 0 0 0
0 0 0 0 d D 0 c 0
0 0 0 0 0 0 , E 0 0 0 0 0
0 0 0 0 0 0 f F 0 0 0 0 0
0 0 c· 0 0 0 « G 0 0 0 0 0
0 0 0 0 h H 0 0 0

0 0 0 0 0 0 , I 0 0 0 0 0
0 0 0 0 ; J 0 0 0 0 0
0 0 c 0 k K 0 0 0 0 0
0 ., 0 0 I L 0 0 0 0 0
-
0 0 0 0 m M 0 0 0 0 0
0 0 0 0
,"
N . 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 p p 0 0 0

0 0 0 c q Q 0 0 0 0 0
0 0 0 0 , R 0 0 0 c 0
0 0 0 0 , --
S 0 0 0 0 0
0 0 0 0 0 T 0 0 0 0 0
0 0 0 0 , U 0 0 0 0 0
,
0
0
0 0
c 0
c 0
0
0 ..
. v
W
x -
0
0 0
0
0
0

0
0
0
0
0 0
0 0 o j.'2 1--' 0 0 0 0 0

0 0 0 0 y y 0 0 0 0 0
0 0 0 0 , Z 0 0 0 0 0
c Blank NUL 0

0 0 0 0 BS 0 0 c Notes:
0 0 0 c 0 0 Tab HT 0 0 0
Q - CR LF/NL 0 0 1. For characters from # to ?,
" 0
EIA codes have not been
CR 0 0 0 0 0
0 0 SP 0 0 0 agreed upon. In the
0 c 0 0 ER % 0 0 0 0 0 present system. for the time
0 0 0 0 0 0 UC being, the above provisional
0 0 0 0 0 0 LC - codes are used.
-
,
r
0
0
0
0
0
0

0 0 2. EIA code of character # can


0 o 0 0 + 0 0 0 0 0 be designated by the param-
0 eter #6017. .
C- ~
0
-
0 0 0 0
0 0 0 0 0 O 0 0 0 0
0 0 c 0 / 0 0 0 0 0 0 0
0 0 0 0 c 0 0 0 Del DEL o 0 0 0 0 0 0 0 0
0 0 0 0 0 o 000 All Mark - Q 0 0 0 0 0 0
See Note 2:=~-"-
_ _ _ _ _ _ _

#
c

0
!Cl
0
0

0 0 0
0 00 0 0 0 0 0
0 0 0 0
.- *- 0 0 0 0
0

0 0 0
0 00 0 [ 0 0 0 0 0 0 0
0 0 0 0 J 0 0 0 0 0 0 0
0 0 0 0 $ 0 0 0
0 0 0 0 0 0 @ 0 0 0

0 0 0 c 0 0 ? 0 0 0 0 0 0 0
o 0 0 0 0 0 0 0 0 00

140
3.2.2 GENERAL PART PROGRAM FORM

Part programs are generally written on tapes in


the following formats.

(EIA code)

I LABELl ER CR 10 PROGRAM No.1 _ part program _ M30 CR ER

(ISO code)

I LABELl % LF INL 10 PROGRAM No.l- part program - M30 LF INL %

,, , I
I I
,
I I
'-EOB code. orl1 en d of blockll code
I
L ___ or M02
I
I .
_. EOR code. or 1t rew ind stop'l code

Fig. 3.2

To facilitate classification and handling of tapes. Do not use any characters other than the ad-
any identifying labels may be written at the lead- dress characters and the function code char-
ing end of all part program tapes. Since all data acters specified in 2.1.2 ADDRESS AND FUNC-
appearing before the first EOB code are skipped TION CHARACTERS.
by the NC reading these tapes using the label
skip function. even addresses and hmction codes The maximum number of characters that can be
not specified may he written here. and also out- written in a block is 128, the parameter can also
of-parity codes may be written. be switched to allow setting of a maximum of 256
characters, but not counting disregard
The EOR (rewind stop) code following the label characters such as BS, Tab, SP, ~C, LC and
is the stopping point of rewinding motion which Del.
is initiated by a rewind command.

When programs on a part program tape is trans-


ferred into the memory, the data between the
) N0058 G03 X··· z. ··H··· M··· F···

first EOB code, following label skip, and the


next EOR code is transferred.
Therefore. the EOR code at the end should not
L 128 characters max. Iblock

be omitted.
(b) Maximum number of effective characters
that can be written in a block
3.2.3 CAUTIONS IN PROGRAMMING

One block ends with an EOB code. Fig. 3.3


The EOB code is CR in ErA. and LF INL in ISO.
However, in the example programs in this man-
ual. 11; n is used to represent EOB codes to
make recognition easy.

One part program ends with a block containing


M02 (end of program)
. ,
or M30 (end of tape).

When an M02 or M30 code is read, the NC re-


sets itself or rewind the tape (or the memory).
depending on the design.of the machine
control. For this, refer to the manual prepared
by the machine tool builder.

141
3.3 PART PROGRAM TAPE PUNCHING 3.4 PART PROGRAM TAPE HANDLING

3.3.1 PAPER T APE SELECT 3.4.1 SPLICING NC TAPE

For part program tapes, eight-channel paper tapes


To join part program tapes, the two ends should
for computers conforming to JIS C6243 (width:
be placed end to end without overlapping and
25.4 .:to.OS mm, thickness: 0.108 mm) are used.
without a space, and a proper length of splice
tape should be pasted on one side. (approx.
The color should be black or gray. 0.08 mm in thickness) Tape splices are available
Tapes with high transparency tend to cause read- in the funy perforated type and in the type with
ing errors, and should not be used. which only the feed holes are punched, but the
former is more convenient. After splicing, the
tape should be checked for correct alignment of
3.3.2 NC TAPE PUNCH the feed holes before use. Do not use rigid in-
dustrial adhesive, and do not make the joint too
Part programs written on process sheets are thick. as these conditions are conductive to jam-
punched in EIA or ISO codes in paper tape with ming troubles.
a tape puncher.
A part program tape should be provided with a
proper len gth of feed holes at the leading 000000000000
00000000000
and the trailing ends. For a tape reader using 00000000000
00000000000000000 000
6" reels, the feed hole length should be at least 00000000000
00 000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
70 em. and for a tape reader using 8 T1 reels. it 00000000000
00000000000 xam?,e
should be at least 1m. 000000000000
NBC SPLICE TAPE

3.3.3 NC TAPE CHECK


APPROX.
30 MM
SPLICE
TAPE
[i
8-CHANNEL
ruLLy PERFORATED
SILVER

NC TAPE
Punched part program tapes can be checked by
an NC with the following functions.
Machine lock Fig. 3.4 Splicing Part Program Tape
M function lock
Dry run
3.4.2 KEEPI NG NC TAPE
Single block operation
Part program tapes should be stored in a clean
area. free of contaminants and humidity. Do not
handle part program tapes wearing gloves con-
taminated with oil or cutting fluid.
Generally. properly maintained part program
tapes can last at least 300 cycles. wit~ o~e cycle
consisting of one reading and one rewIndmg pass.

142
4. NC OPERATOR'S STATION WITH 9" CRT CHARACTER DISPLAY

4.1 PUSH BUTTONS, LAMPS AND KEYS

Fig. 4.1 shows an overall view of NC operator's For operation of NC operator's panel with 1411
panel with 9!1 CRT display. The names and func- CRT display, see the instruction manual for NC
tions of operator devices are as
follows. Operator's Station with 14" CRT Character Display
(TOE-C843-8.31)

~ ..- • $

;---- ,"UNCTION
c::J:EJc:==Jc::J:EJc=:::::J _M DATA

I POWER I
~ ON
E1 I"MOO-ISlE! El~~ Ell
t§j C§'"'")r===Jc::::J:CI~ .aIT

0 -
f2)
88~8 888
0][~tfIDj[@][@]~ mmrn
I
I6lIOFF

0 ~[IDlGJ]ml0~mm[[iID]
[hlB][IDJ[@]8[@J]rnrnm
~
~[@m[IDJ~~~~[8
(,::;z,c" »
0mmS 888
+ + -$- +
Fig. 4.1 Standard NC Operator's Station with 9 11 CRT Character Display
(Keyboard on Right Side of CRT)

143
4.1.1 POWER ON IOFF PUSHBUTTONS Indicating characters:

POWER ON pus hb utton Numerals - []j] through I]] G.D


To turn on the power for the control: Depress Alphabetic characters - [AI through ~
the ~ushbutton once to turn on the control
power and depress it again to turn on the servo Special code - . [J (EOB). m (slash). etc.
power. Push this button to recover the servo
power after an emergency stop.
32 CHARACTERS
I
POWER OFF pushbutton
To turn off the power for the control: Depress
POWER OFF pushbutton to turn off both the
servo and control powers.
J
w
z
~


I POWE~ I

0
~ ON

<6jloFF
'l L -____________________

Fig. 4.3 Braun Tube


~

(0 4.1.3 FUNCTION KEYS

The key selects one of eight hlll.ctions for the


operation of the display and MDI. Pushing a
Fig. 4.2 key makes it effective and light up .

4.1.2 CRT CHARACTER DISPLAY

According to each operation. this display indi-


cates the alpha-numerical data in a regular size
(lxl)and, triple-size (3x3) of the regular size.
Braun tube size: 9 inches
Maximum number of characters:
32 characters x 16 lines =
512 characters (at regular size)

Fig. 4.4

tALM t (Alarm) key:

Select this key for display of alarm and status


codes. The function becomes effective when
the power is turned on or an alarm ace urs.

144
IDGN I (Diagnosis) key: 4.1.5 DATA KEYS

Select this key for display of input/output


These keys consist of 15 keys in total. such as
signal status.
[]] through [1}. El (minus) 0 ICAN IlsHIFl1
~ • and can be used for writing-in of such
I PRM I (Parameter) key:
all numeral values as tool offset value setting
Select this key for display or writing-in of data. parameter data, and so on, in addition to
parameters. command val ue.

ISET I (Setting) key:


Select this key for display or writing-in of
setting data.

lCOMI (Command) key:


Select this key for display or writing-in (MDl)
of the command data for automatic operation.

IPROGI (Program) key:

Select this key for display or writing-in of a


part program.
Note:
Ipos I (Position) key:
Eiil to @key
r:=](minus) key : For input of numerical data
Select this key for display of various current
positions.
E](decimal point) key: For input of decimal poit
[QI§] (Offset) key: ICAN i (cancellation) key:
Select this key for display or writing-in of For cancellation of the numeric value or address
tool offset values. data erroneously keyed.
IWRI (write) key:
For storing address data by address keys and
4.1.4 ADDRESS KEYS data keys into buffer storage.

These keys are to designate an address charac-


ISHIFTI (shift) key:
ter when writing in various data. ~ressing SHIFT key after depressing [[} to
L.2J. EJor 0
key makes the display turn into
~ to m, tJ, Flwhich are written on the
upper left corner ~the keys. These special
characters are used in user macro.

Fig. 4.6

q. 1. 6 NEXT KEY

The NEXT key is used for special purpose and


expanding function in display or writing data.
Writing of optional in EDIT mode.

Fig. 4.5 For other special purpose and expanding func-


tion.

Note: Special characters


ill (Slash) key: For an optional block skip
command.
I EOBI (EOB) key: For the block end command.
On the CRT display. II. II is displayed instead of
uEOB. !1

Fig. 4.7

145
ij.l.7 PAGE KEYS ij.l.l0 EOIT KEYS

The PAGE key is used to display the next page These keys are for editing a stored part program.
or the previous page when CRT display is re-
garded as pa ge . ERASE key: Used for erasure of data in storage.
For example. when a group of tool offset values
INSRT key: Used for insertion of data in memory.
are displayed by OFS key. this key is pushed to
display the next group of tool offset values. ALTER key: Used for alteration of data in
which just looks like opening the pages of a book. memory.

Depressing IPAtGEI key displays the next page.

I key displays the previous


TKIN
~~ MEMOATA
.Depressing IPAtCE
page. 1[8]~ E][8]~ B
1~c:e:::::J EDIT
Keeping the PAGE key depressed makes the
page step automatically forward or backward. 18[8 888
AOORE.. DATA I
ij.l.8 CURSOR KEYS r""'IIr,;;lIlr,;;lIl~l 1r-l1l~1Ir>;;l1

The CURSOR control key is used to move the Fig. 4.9


cursor. For example. when a page of parameter
data are displayed by PRM key.
.
Depressmg ICURSOR
+ I key moves the cursor
ij.1.11 MEM DATA (MEMORY DATA) KEYS

forward. TAPE KEYs are to start the tape operation except


in the automatic operation mode. They are effec-
!
Depressing C U~SOR! key moves the cursor
bve only in the EDT mode.
forward.' .
OUT key

Keeping the curSor control key depressed This key is to start· outputting various data in
makes the cursor move automatically forward memory through data 110 interface.
or backward.
IN key
This key is to start storing various data into
memory through tape reader or data 1/0 inter-
face.

VER key
This key is to start verifying between memory
data and punched tape data.

ij.l.12 RESET KEY

This key resets the can trol.

Fig. 4.8 OATA

ij.l.9 ORG (ORIGIN) KEY ~~B


DOT

The ORG key is used to set the current position


of the machine tool as the origin of the reference ~8
coordinate system.
The origin setting can be made for each axis.
The reference coordinate system means the coor-
dinate system which is set by G92 command or
the automatic coordinate system setting. Fig. 4.10

ORG key is used for the following operation.


Reset of current position (UNIVERSAL, EXTER-
NAL)
Reset of tool offset values
Reset of operation time
146
Operations to be executed by this RESET key are: POWER ON POWER ON
Move command cancel
Buffer re gister clear
Alarm code release if the cause is eliminated
J I

I
APPROX.
2 SECONDS
I
I
CONTROL POWER

Tool offset cancel NRD (NC READY)


Auxiliary function cancel
SERVO POWER
Label skip function ON
Memory poin ter rewind NRD (NC READY)
Sequence number reset
MACHINE POWER
RST signal transmission
G code of A group MRD (MACHINE READY)
Refer to 2.9.1. " LIST OF G CODES AND GROUPS."
READY LAMP
The following will not be affected by operating the I I
RESET key. I I
I I
I
Current position values of each axis. ALARM CODE "310" tt280'1 BLANK
F commands
Fig. 4.11 Sequence of Turning on Operation
S. T and B commands
Tool offset values, setting data, parameter data
4.2.2 TURNING OFF POWER
NOTE: Depressing the RESET key or the re-
mote reset pushbutton is defined as tlReset op- Depressin g the POWER OFF pushbutton causes
eration tI in this manual. both the servo and control powers to be turned
off simultaneously. However, for more stable
4.2 POWER ON/OFF OPERATION operation, use the following procedure.

4.2.1 TURNING ON POWER First depress the EMERGENCY STOP push-


button to cut off the servo power. The NRD
Check the machine before turning on po~er. r.~­ . ,eNC READY) signal is interrupted, which
ferring to the machine tool builder's manual for .<, .'4sually results in turning the machine power.
details. Operations after completion of preinspec- too."
tions are as follows. .
Depress the POWER OFF pushbutton to cut off
Depress the POWER ON pushbutton· to ·turn on t~e control power.
the control power. The i~ternal ~imer will be EMERGENCY
read in about two seconds. Then' the servo STOP POWER OFF
power is ready for turning on. which is shown
I
by alarm code 11 310. n

Depress the POWER ON push~uttot:l .. again to,


..-~.CONTROLPOWER
'!..:. ,. ":"-.
I
turn on the servo po:-ver. The N1;tD' "(NC REA-D:. '."::
Y) signal is sent out when the NC 'power is
. .' .~;:.;,( ' .. ;-
.
normally supplied. .~ ..~.~~~.•. ,'.' .'.', , I
I
,.. • ...... k .

When the NRD signal turns on th'e lTJ'achine


' •• ', •

......:>
,sliRvo POwER i'.. I
I
power. and the MRD (MACHINE READY) sig-
NRD (NC READY)
I

'"
nal returns back to the control, the READY I
I
lamp will be lit. I I I
MACHINE POWER I

MRD (MACHINE READY)


I
I "l I
I
I
I
READY LAMP I

ALARM CODE BLANK "33C"

Fig. 4.12 Sequence of Turning off Operation

147
4.2.3 REMOTE POWER ON IOFF PUSHB UTTONS 4.3 DISPLAY AND WRITING OPERATION

Connect the power ON JOFF pushbuttons to EON. 4.3.1 CONSTANT DISPLAY


EOF and COM terminals on the control panel as
shown below. Then the remote turning ON JOFF The following display is made on both the top
operation can be made exactly the same as with and bottom on the CRT, irrespective of the
the POWER ON IOFF pushbuttons. FUNCTION key currently selected.

Function message
YASNAC MACHINE
Any of the following eight function messages
corresponding to the function key is displayed
at the top of CRT display.
EON I ..J... REMOTE ALARM PROGRAM
=:....,t'------<l 0 - - OFF BUTTON DIAGNOSIS POSITION
(TUOI-Z4) PARAMETER OFFSET
SETTING
Eor REMOTE COMMAND
(TUOl::._"'Z-S"7)t'-----.,;I1O--1 0N BUTTON

COM
(TUOI-Z6)

Fig. 4.13 Connections of Remote


ON/OFF Pushbuttons

FUNCTlON MESSAGE
ALARM
COMMAND ]
DIAGNOSIS
[
[MOl) NUMBER

LIGHT ERROR
ALARM DlSPLAY
INPUT ERROR]
ALREADY IN
[

FLICKERING

READY STATE DISPLAYED


I/O OR WHEN SYSTEM IS READY
KEYING IN DATA
EDITING SKIP RDY
DISPLAY DISPLAY
(FLICKERING) [ BUF ] ALARM DISPLAY

[;:,]
OUT
LSK

MST-FW DWELL, FEED


ALARM OR BATTERY FAILURE IS
DISPLAYED (FLICKERING)
AS
ALT
DISPLAY (FLICKERING)
[M, S, T. F AND P )
Df,J'ELL
[~~J
A/B

Fig. 4.14

148
Program No. !1BATti indicates battery alarm occuring
o and 4 digits of the program No. under execu- !lA/B" indicates both of alarm and
tion is constantly' displayed at. the' fop of CRT battery alarm occuring
.irrespectiv~ of function key.
Display of ready state
Sequence No.
"RDyll indicates the system is normal
Nand 4 digits of program No. under execution and the control is operable
is .coristantly displayed at th~ top of CRT
. irrespective of function key.· . Display of simple errors (flashing)
Display of keying data The messages shown below indicate simple er-
rors which occur in keying or searching op-
Up to 32 character.s of keye'd in data can be eratiqn. Differing from the alarm codes. these
displayed a.t·one time. The data is processed error messages are cleared by depressin g
by using ERASE key, INSRT key, ALTER key, some key. (Generally CAN key)
etc··.· . . .
I1INPUT ERROR! II ... Format error of keyed-in
Display of I/O "nd editing (flashing) data
Th'e foliowing :messages are flashing on the dis- IIALREADY IN! II ••• The same number of part
play during loading of punched tape. address program has been stored
search or editing. already.
IIEDIT LOCK ON! II •• Editing operation is made
'IIN Ii loadin g tape with Edit Lock on.
liVER I' verifying tape IIMEMOR Y OVER!" ... Part program to be stored
!lOUT!! punching tape out is beyond memory capacity.
nASi! searching address I1PROGRAM OVER! II
... Registered number of part
IIALT" altering data in EDIT mode program is beyond 99
liINS" insearting data in EDIT mode (basic) or 199 (option).
IIER5 1i
erasing data in EDIT mode TiNOT FOUND! II ... Desired data has not been
located.
Display of MST-FIN signal waiting. dwelling "BREAK POINT! II ••• Break point occurs
and' feeding
IIM I ' waiting FIN signal of M command
115 11
waiting FIN signal of 5 command
4.3.2 COMMAND DATA DISPLAY
II Til waiting FIN signal of T command
!lFIi feeding 1. Depress COM key.
"R II is displayed at rapid traverse Anyone of the following three digits appears.
liP!! loading tape A.·;,Command data (COMMAND)
IIDWELL IO • dwe1ling B.'":.Repetition number of subprogram
M. S. T. F and P are displayed independently '.' .. :"(SUB PROG. NESTING)
of each other. .-,." '. C.'State of tool offset (COMMAND [OFFSE'lj)
Display of the state of buffer ;-'fuJi and ~lahel 2.• ': The above ·display steps forward or back-
skip
II BUFII
,c·.:.,.·"·
displayed at completion -of .. .w~~~"-b-; depr~~~i~g IPA.GE Ior I PA~E I key
advanced reading '~'. <
.on.e~by one.

"LSK II displayed at label ~kip o!1


'.;.-
Display of alarm (blinking)
Alarm continues to blink until the cause is
removed and reset operation is. mad~.
IIALMII ... indicates alarm state occuring

149
4.3.2.1 COMMAND DATA DISPLAY

The display shows the block data under exec u-


tian or just before execution in which compensation
calculations have been completed. The conditions
of the data to be displayed is as follows.
1. The data shows the contents of the active
register during an automatic operation or a
feed hold.

2. While the control is stopped at a block end.


the contents of the buffer register are dis-
played. If the buffer register blank (B UF is
not displayed). the contents of the just exe-
cuted block are displayed.

3. In the MDI operation. the current block data


are displayed after cycle is indicated.

Display of non-modal G code


4.3.2.2 DISPLAY OF REMAINING NUMBER OF ~T);"nl,v of G code under execution
REPETITIONS OF SUBPROGRAM
(SUB PROG. NESTING)

The remaining number of repetitions of a sub-


program is displayed.
Subprogram
/r------------------------~--~---------------------- __,
Main
Program 1st level 2nd level 3rd level

0001 ... ;

PIOOO L3 M98

N070 M30 ;
---
~
01000

P2000 L5 M98

N150 M99 ;
--------
~
02000

P3000 LIO M98

N260 M99 ;
~

------
03000 ;

Executing block

N 340 M99 ;

The subprogram has executed the 3rd level twice and entered into the execution of 3rd time
of the 3rd level.

- ]<e,maIn,m g number of repetitions


Sequence number of subprogram start
Subprogram level (up to 4)
Fig. 4.15 Example of SUB PROG. NESTING

150
4.3.2.3 DISPLAY OF TOOL OFFSET STATE:
COMMAND (OFFSET)

The current state of tool offset is displayed as


shown below.

COMMAND (QFFSET) 00001 N0315

-"- OFFS£1-1
y
2
'""
"
OFFSET-2 043 Z 213.01313 H23

CUT.CMp. 040
" 000 Refered as lithe data which has just
been entered. It
BUF ROY
Enter@l].rn.I].I]J.G.{].@J.El.IEOBI in
thIS order.

Value of tool position offset Note: The depression of the EOB key appears
n. n
Value of tool length offset and H code
of tool radius compensation and D code Fig. 4.17

B. Editing MDl data


Note: Function COM is exclusively used for
display. Data cannot be written under function
The ICU~SOR I. rIC-U-R7tS-O-R-1 • ERASE.
COM. Select function PROG. to write block INSRT. and ALTER keys permit editing
data. multi-block data written in. Address (word)
pOintjd to by Te cursor will be edited.
Fig. 4.16 Example of display of
tool offset state The
CURSOR
. + t
and CURSOR keys
I I
move the cursor forward and backward.

ij.3.3 WRITING IN BLOCKS AND DISPLAYING (1) ERASE key: . When this key has been de-
CONTENTS BY MOl pressed. the whole word designated is
erased.
In MOl. EDIT. and MEM modes. it is possible to
write data into blocks by MDI and perform oper- (2) INSRT key: . This key inserts.the data· ..
:~ :Jwhich··has just be'en entered to .the·loca~ ... "~· ....
ation. (MEM mode permits displaying only.)
i. . : t~o.n whi~h is next to .the word the c.~so~.~'.;·:>
The following operations are possible when func-
tion PROG. is selected. ;::. ~~.~?ts:.~~~:,.~,: ... ' .. ". '".,' :.'. '.:.: .:"'-;:.::{::: ...: ::::?. .
(3) ALTER key·::;.:This key·replaces .. the word·. " ..
1. In MDI mode which the'.c~sor· points'to hy:'Uie data .' '.,,,'.'."
'"which'has filst b~en ~~te~e,d.:·:· '. .
(4i WR keY:Thlsk~Y ap~~ndsth~dita which
A. Writing. and displaying data
Data entered· through the keyboard will has:just be~n~'entered at the' end.of the
appear on the bottom line of the CRT screen, program ·displayed. In MDl' m"ode. it is
from left to right. Up to 32 characters may possible to edit only the current page.
be entered at a time. Note: Editing is possible in MDl mode
and EDIT mode.
Depress the WR key, then the data moves
to the middle 'of the CRT and the bottom
line becomes blan k.
In MOl mode. data of up to 10 lines may be
collected on the CRT screen.

151
4.3.3 WRITING IN BLOCKS ANO DISPLAYING 1. Depress the POS key. Any of the following
CONTENTS BY MDI (CONT'D) screens will appear.

c. o~e~atio~·.,in ~D~'_m~~~ . A. Current posi tion displa y- universal (POSI-


-·.Depre~s the Cy~'le':'St~rt p,ut'ton" to let the
TION (UNIVERSAL) )
progr.am of blocks displayed on the CRT to B. Current position display-external (POSI-
.run a"utomatical.ly. TION (EXTERNAL) )
At the end o~ opt:ration. the ~~lti"':bloc'k pro- C. Current position display:-increment (POSI-
gram. c;li.splay~~ is cleared' fI:"om the C::;R T. TION (INCREMENT) ) ..
Currentposltiondisp1ay-ali· (POSITION)
.. ~

2.. In ·EDIT )Ilode


.Servo pos.itioni!lg error display (POSI-
TION [ERROR)) .
.5ee·4.6· EDITING OPERATlQN OF PART
.PROGRAMS.
.. .!PAGE!~. ~
P~o'granis' \1fr:itteJ;l" by MOl can be execute~ 2. ~~~ress the. '. ~. :", ox:.~ key J and one
repeatedly byM99.·.
> '. , ~
,screen will cI:.ange. to. tl~e·next.··

3. In MEM mode 4.3.4. 1


CURRENT POSn;ION DISPLAY·
(UNIVERSAL): . .
This mode permits the display of .the program
which is running by memory operation. The POSITION·(UNrVERSAL)
cursor points to the top of the block which
is currently being executed, and it moves to The current tool position which is the sum of the
the next block as execution proceeds. parameters of move commands will be displayed.
Up to 10 lines may be displayed at a time. Depending on the value of parameter #6005D5
When execution of the ninth has been com- (G92 display preset), either of the following will
pleted. the next page appears with the appear.
tenth line of the last screen appearing at the
top. When parameter #6005D5 ::; 1 (Position in the
reference coordinate system)

1. The tool position displayed is based on the


coordinate system set up with G92.

2. To reset this screen, depress the ORG key


after designating an axis with the ADDRESS
key. The current position will be reset to
"0. I' This is possible only during a manual
operation mode (RAPID, JOG, STEP, or
HANDLE). The depression of the ORG key
is ineffective during normal operation and
in the I1buffer full" state.

3. The coordinate system which is employed for


this screen is called the I1 re ference coordinate
system. 11 A work coordinate system (option)
will be set up in reference to the reference
coordinate system.

Fig. 4.18

4.3.4 DISPLAYING AND RESETTING CURRENT


POSITION

It is possible to observe the current position in


any mode. Operate as follows.

152
The data displayed in this mode are the same
as those displayed on the u3-axis/4-axis exter-
nal position display" (option). You may con-
POSlTlDN(UNIVERSALl 01234 NBB13 sider that the coordinate data of POSITION
(EXTERNAL) are transmitted to the outside
X-12345 .. 678 as they are unchanged.

Y 10.000
Z 9.999
ROY
POSITIONCUNIVERSRL> Ol~3--l 'H)Ol:::

X 12345.678
I
Fig. 4.19 Currerit" Position "Display
(Universal) -Example Y-99999. 999
When parameter #600505 = 0 (Position obtained
by simple summation)
z-
100.000
1. G 92. even if issued, does not affect the dis- A i . 234
play. Move commands will be added and
displayed.

2. To reset this screen depress the ORG key


J

after designating an axis with the ADDRESS


key. The current position along the desig-
nated axis will be reset- to. "0. 11 Fig. 4.20 Current Position Display
This is possible in any modes and eyen during (External)-Example (with 4-axis control)
operation.

4.3.4.3 CURRENT POSITION DISPLAY (IN-


4.3.4.2 CURRENT POSITION DISPLAY (EXTER- CREMENT): POSITION [INCREMENT]
NAL): POSITION (EXTERNAL)
Displayed in this mode are:
Move commands will be summed and displayed.
G92, if issued. does not affect the display. ]n automatic mode, distance to the end point of
the block at every moment
To reset this screen', 'depress the ORC key
after designa~ing·an axis wi.th th.e ADDRESS In manual mode. distance to the position where
key. ".The current position along the designated man ual operation is to start.
'a'xis will-be reset ·iO··~IIO. n:... This·,is'.,possiqle in
The increment display in manual mode will be
any m~des and .eyen,d:ul-ing.operati<:m: '
cancelled in automatic mode. (Fig. 4.21)
These' displ~y'i~g~ ~h<i-;r~s~ttin·g.ope~~tion~·. ~~e
the same as with the case of
PO'SITION(UNIVER-
SAL) #600505 = 0 (Position obtained by simple 4.3.4.4 CURRENT POSITION DISPLAY (ALL):
summation). But the resetting operation is POSITION
effective only to the displayed screen since
there are independent position registers. All position data will be displayed.
< MACHINE> coordinates indicate the current
position in the coordinate system whose origin
is the reference point set up by resetting.
Data for I1 s tored stroke limittn and !1 p itch error
compensation tit functions are defined in this
coordinate system. (Fig. 4.22)

153
4.3.4.4 CURRENT POSITION DISPLAY (ALL):
POSITION (Cont'd)

POS IT ION 01234 N0013


POSITlOHCIHCREMEHT) 01234 HOOle
(UN I VERSAL) (EXTERNAL)

x 345.678 X 12346.678
Y_99997.999
::
A
97.0013
1. 234
X 12345.678
Y-99997.999
Z-
A
97.10010
1. 234

y .123 (MACH INE)


(INCREMENT)
x . 200 X 12284.046

z- 9.000 y
Z
A
. 300
0
II
Y-99998.238
Z-
A
277.372
1. 234

BUF RDY
aUF RDY

Fig. 4.21 Current Position Display Fig. 4.22 Current Position Display
(Increment) - Example (All) - Example

4.3.4.5 SERVO POSITIONING ERROR DISPLAY:


ERROR PULSE

This mode will be normally used during


main tenance.

1._
OFFSET 01234 N001e
Servo positioning error means the difference
between the command position and the current POSCUNIV)
tool position. Error will be displayed in units H<D)00
HCD)01 100.000 X
of pulse. H<DH12 1. 000
H<D)03 0 Y 10.000
HCO)B4 0
Q.3.5 DISPLAYING AND WRITING TOOL OFFSET HCO)85 95.446 Z- 85.446
HCDHJ6 0
AND WORK OFFSET HCDH!7 2.00B
HCD)08 3.000
4.3.5.1 DISPLAYING AND WRITING TOOL HCDHI9 4.01110
OFFSET DATA
RDY
Tool offset data are stored in the memory of the
control. These data may be displayed and re-
written in any mode and even during automatic
operation.
Fig. 4.23 (a)

I o rIe I
. Displaying tool offset data.
3. Depress the ICURSOR
.. t
URSOR key to
1. Select the OFS function key.
move to a smaller or larger tool offset number.
If you move the cursor beyond the first or
2. Enter numerals. like 1 and O. then depress
the /CUR;OR I I
or cu;sORI key. Then ten
last tool offset number displayed in the cur-
rent screen, the neighboring ten sets of tool
offset number and tool offset will appear auto-
pairs of tool offset number and tool offset,
including the designated pair, will be dis- matically.
played and the cursor positioned at the
designated tool offset number.

154
4. The preceding or following page may be dis- .(c) Write the offset data of other axes in the same
. the r
played by depressIng ~ t l or IPAGEI
..
manner.
(d) Select G54JI to J5, through G59JI to J5, by
key. The cursor will be positioned at the
first tool offset number displayed on that
page. the Irnjl key or I@I key.

5. Tool offset will be displayed in units of O. 001


mm (or (0.0001") and up to 999.999 mm (or
99.9999").

Writing tool offset data

To rewrite a tool offset data, specify an incre-


ment which is to add arithmetically to a tool
offset data held in memory.

1. Position the cursor at the tool offset numper


whose offset data is to be changed.

2. Enter the increment which is to be added to


the tool offset.
Fig. 4.23 (b) Example of Work Offset
3. Depress the WR key. Then the specified in- Display Screen
crement will be added to the old too] offset. c=::O
4.3.6 DISPLAY IN THE Gill (SETTING)
Notes:
FUNCTION

A new tool offset itself may be input instead of 4.3.6.1 DISPLAYING AND WRITING SETTING
an increment. For this purpose. depress the DATA
ORG key first. The tool offset number pointed
by the cursor will be reset to "0. n Then enter In this system, varying setting data are held in
a new tool offset. 'the internal memory and permit to specify mirror
image axes, TV check on/off. etc. For details.
Tool offset data held in the memory of the con- see Appendix I, ., LIST OF SETTING NUMBERS."
trol are preserved even after power is turned
off. It is possible to display and write setting data
at any time even during automatic operation.
It is possible to rewrite tool offset data in any
mode. even during automatic operation.
1. Types of setting
Tool offsets modified during automatic opera-
tion become effective when the system starts Setting is made in binary mode or decimal
to read commands for a new block. The old mode.
tool offsets remain effective for the current
block and the blocks whose data are already
read in the buffer for advance reading.
.... -'.
,':. '';

4.3.5.2 DISPLAYING AND WRITING WORK


OFFSET'
.:.' .

(l) Work offset display


•.. ;...,'. .'.~' J. '
(a) Selection the
=
I-I function key.,

(b) Depress the I.-TI key until the screen shown

in Fig. 4.23 (b) appears.

(2) Writing the work offset

(a) Depress the ~ key. Then enter the lIwork


offset amount."

(b) Depress the B key to write t~e X-axis work


offset data.

155
4.3.6.1 DISPLAYING AND WRITING SETTING 2. Displaying setting data
DATA (Cont'd)
Enter a setting number then depress the
A. Binary mode
fURSOR I

I
CURSOR
t I key. (" #" need not be
Setting numbers #6000-#6004 are associated entered.) Up to 10 groups of setting number
with setting data of binary mode. that is, and data will be displayed at a time.
8-bit information (D7-DO). Each bit in-
dicates the on loff state of the associated Depress the CURSOR keys to change a set-
function. The decimal value. C!f each line
ting number and the PAGE keys to change
is given at the rightmost cqlumn. a screen.

3. Writing setting data

A. In binary mode

(1) Designate a desired setting number.

(2) Depress the INSR T key. The cursor


7-DO moves to the bit data from a setting num-
ber. Designate the data of D7.

(3) Depress the ICU,\SOR I key. Each time


the key is depressed, the cursor moves
one bit toward DO. Locate the cursor at a
desired bit position.

(4) Depress the WR key. The designated bit


data reverses (0 to 1 or 1 to 0). If you
depress the WR key again. the bit data
will reverse again. Normally, n 111 desig-
nates ON state and "Oil off state.
I
DECIMAL VALUE
(5) To write data in decimal mode, locate the
Fig. 4.24 Setting (Decimal model) - Example cursor at the rightmost column (decimal
data) .

B. Decimal mode EXAMPLE: Writing in decimal mode

Setting numbers of #6200-#6219 and #6500-


#6599 are associated with setting data of Entered data 7 6 5 4 3 2 0
decimal mode.
[Q] IWRI 0 0 0 0 0 0 0 0 0

I1J III [i] IWi1 1 I 1 I 1 1 I 1 255

(6) Repeat steps (2) through (5) to write de-


sired data. If you keep the. CUR,SORI
T
I
.
or

kUR~ORI key depressed, the cursor will


move column by column in the screen auto-
matically.

(7) When data has been written, depress the


INSRT key. Normally. this sequence of
operations begins and ends both with the
depression of the INSRT key.

B. In decimal mode

(1) Designate a desired setting number.


Fig. 4.25 (a) Setting (Decimal mode)-Example
(2) Enter a data and depress the WR key. The
data will be assigned to the setting number
which the cursor points to.

156
(3) Depress the \
CURSOR]

\ t
CURSOR' J'
IpAGEI
• •
I < REMARKS>

or Ip;GEI key to change a setting number System No. setting (#6219)


or the screen. Set system No. at n 111 to write parameter num-
ber. System number can be set by setting the
4.3.6.2 DISPLAY AND WRITING IN THE Fl-DIGIT value of #6219 through the operator's panel.
DATA INPUT SCREEN'
Setting of #6219
(I) Display of the Fl-digit data
1I0H: SYSTEM
(a) When the FI-digit option is provided. display
the screen shown in Fig. 4.25 (b) as follows. For normal operation. Writing parameters is pre-

(b) Select the


=
S function key.
vented.

"1" : PARAMETER

(c) Depress the 1""1 key, and lhe screen appears. To write parameters. At this position, Cycle
start is prevented.
(2) Writing the FI-digit data
Notes:
(a) Move the cursor in the Fl-digit data input
screen to where the data is to be written. 1. Setting values other than those described
above will prevent correct, operation.
(b) Enter the desired numeral.
2. Setting can be effective only when the system
(c) Depress the
now written.
8l key. The entered numeral is number switch provided on the upper part of
the unit is set at 110."

Alarm Display of System No. Setting (#6219)


.;, ,, ., -".I I -1,1,:'[ , "lll "",.1'''J When setting #6219 is set at "2 11 or "4," Cycle
>EEl- Start is prohibited or self-diagnostics are over
\ ~J. l:1M Mj"
looked, causing unexpected errors.
~. II 1 1.c~·1'" ':'8 tl,;.,:,~,

C' ~~ '>:.
Il':c'~ To prevent this, alarm status is displayed if
, ".:
f-",:'
"
1 ?~',;,;,
D
:I.: r

11'':-S~
J
.;

#6219 is set at a value other than "0. 11


f'p" ';':;)]£1 11':''5':
.- [;': }[JJf_' Il'~':.'~
~[k (116':.-:'
;::I)~ 1165;~

:"'5' ce· ALARM 01234 N0003

SYSTEM NO. SETTING (#6219): [lJ


Fig. 4.25 (b) Example of FI-Digit Data Input
MESSAGE
Display Screen

. :,;.:<.:>. : . / .
Sysiem number fl:6219·should'be set at "0" except
for writing.parameters; ,: ,. .

.' '~j~~~~?,~~~~·~;:~~~X: ~~so ~~ :set by ·t~~ '"'~otary


switch:"on the main printed circuit board~ For
'details, refer to Maintenance Ma~ual.

157
q. 3. 7 DISPLAYING AND WRITING PARAMETERS 3. Writing parameters

In this system. varyin g parameters are stored in The parameter values are preset according
the memory and they determine operating condi- to the performance of the machine and pUr-
tions such as tape code and feed rate. For de- poses. Therefore. you should consult the
tails, see Appendix 2. " LIST OF PARAMETER machine tool builder if you want to change
NUMBERS." The parameters may be displayed at parameter settings.
any time even during automatic operation.
The parameter are protected with a system
No. switch provided on the top of control
1. Kinds of par'ameters
unit main package so that they should not
be destroyed by wrong operation. Normally
Parameters are displayed either in decimal system No. 0 is selected and. at this
mode in binary mode. time, the parameters cannot be rewritten
by any operation.

A. The operation of writing parameters is the


PARAMETER. 01234 N0017 same as of writing setting data but the
parameters are protected. See 4.3.6, " DIS-
b 5 4 3 ~
7
0 0 0 0 0
1
" PLAYING AND WRITING SETTING DATA"

"" "" "" "" "" " " ""


1;1613113 1 1 on page 136.
noel1
1;16012 1 1 1 "
l~
B. Parameters cannot be rewritten unless the
h6013
"" " "" "" "" " " ""
0 I]
"6014 1 1 to system No. switch is set at 111.11
U6015
1;161316 "" "" "" "" " "
1
1
1
1
1 1 39
36 After rewriting parameters, be sure to re-
"61317
n6B18 "" "" " "" "" " "" ""
1
1 4
32
set the system No. switch at 1'0. 11
~6019
"",OFF
""" " " " 1
1: ON
4
C. If the following parameters have been changeu
be sure to turn off power then turn it on
RD' again. Otherwise the system might fail to
operate properly.

Fig. 4.26 Parameters (in binary


model-Example #6050 to #6055 (Servo control)
#6056 to #6061 (PG multiplication factor)
Parameter numbers #6005- #6045 are assigned #6062 (Skip)
to binary mode. Those of #6050 and up are
assigned to decimal mode. #6063 (Skip)
#6156 to 116161 (Error detect area)
#6280 to #6284 (Rapid traverse rate)
#6286 to *6290 (2-stage accelldecel switch speed)
#6292 to #6296 (2-stage accel!decel switch speed)
#6298 to #6302 (Linear accelldecel time)
#6400 to #6404 (Backlash compensation amount)
.6406 to #6411 (Move amount! motor rotation)
*6444 to #6448 (Minimum move amount)
#6450 to #6454 (Servo input gain)
#6456 to #6411 (Kp)

• After reading-in of parameter tape

Fig. 4.27 Parameters (in decimal


mode) - Example

2. Displaying parameters

Operation is the same as in displaying setting


data except t.hat PRM should be depressed in-
stead of SET. See 4.3.6. " DISPLAYING AND
WRITING SETTING DATA" on page 136.

158
ij. 3. 8 INTERNAL TOGGLE SWITCHES ij. 3. 9 OPERATION TIME DISPLAY

The following switches may be easily turned on The system counts the duration of automatic op-
and off on the NC operator' 5 station even ~hen they eration and it may be displayed. This function
cannot be operated on the machine control sta- permits the display of the time it has been taken
tion. Setting numbers and their contents are as for a piece of work or the total operational time
follows. of the system.

11}1I::: On, tlon = Off I. Procedure of display

Depress the ALM key. then select a screen


#6001 I
of runnin g time with the IPAiGE key as
shown below.
Three kinds of operation time will be dis-
played in hours. minutes, and seconds.
Manual absolute
Top: Total operating time after POWER ON
Z-axis common cancel Middle: Total operating time of CYCLE
START
Bottom: Total operating time of FEED
7 6 5 4 3 2 o
#6002 2. Resetting display

Single Each operation time display may be reset


block independently by the following procedure.

Start lock When opera tin g times are displayed:

Display lock A. I!ll! 'IORG IT POWER ON time at the top


Optional block skip win be reset.

Dry run B. !1Z" nORG'I CYCLE START time in the


Optional stop middle will be reset.

Machine lock FEED time at the bottom


Auxiliary function lock will be reset

The timers of operation time preserve data unless


they are reset. even after power is turned off.
If the machine control station is provided with
the switches that turn on and off the above
machine functions, the state of a switch on the
machine's control station is ORed with that of
the NC operator's panel will determine the ma-
chine condition.

Setting data Machine's switch Result on/off


uon ; OFF OFF OFF

lion ; OFF ON ON

n 1 If ; ON OFF ON

n 111 ; ON ON ON

The {unctions of the internal toggle switches


work only when parameter #6006D3 = 1 (internal Fig. 4.28
toggle switch function on). If it is off. only the
switches of the machine control station work.

159
ij.3.10 ADDRESS SEARCH Commands encountered during search will
be ignored even if they are modal command~
Search continues until a data (character string)
held in the memory which coincides with the On Cycle Start after search, the data of a
data (character string) entered through the NC block which the cursor points to will be
operator's panel is found. The contents of the read and executed.
part program memory will be searched in MEM
or EDIT mode. Address search cannot be made in TAPE rna

1. Opera tion 4. Search of program number

A. Select MEM. or EDIT mode. The address search function also permits the
search of a part program which is stored in
B. Depress the PROG function key. the memory.

C. Depress the RESET key. 11 LSK 01 appears A. Select MEM or EDIT mode.
and the cursor returns to the top of the B. Depress the PROG function key.
program n umber in MEM mode.
C. Depress the RESET key.
D. Enter the data (string of not more than 10
character.s headed by address) to be search- D. Enter the program number ITcDODD. II
ed.
E. Depress the
ICURSOR
+ I key.
E. Depress the. CUR,SORI
'I' .
key. Search
I The designated program number will be
starts. 'lAS" blinks during search. searched. The result of search is as de-
scribed in 2. In MEM mode, you may depress
2. End of seare h the CYCLE START button immediately after
completion of search to start automatic oper-
A. 11 AS II disappears w hen search is completed. ation from the beginning of the program.

4.3.11 SEQUENCE NO. COLLATION STOP FUNCT


( 1) The pointer of the part program memory
points to the top of the data found . It 1S possible to suspend operation at the end of
(pointed by the cursor). In an cases, a block by designating a sequence number in
only search will be performed but neither set function. Location is 6200 and 6201.
BUF display nor advance reading will be
performed. 1. If the current sequence number is found to
r-- MEMORY POINTER
be equal to a sequence number designated as
setting data during automatic operation, op-
eration will stop after execution of the block

5 2.
like in single block operation.

The designated sequence number is called a


I DATA FOUND breakpoint and up to two breakpoints may be
designated.
B. "AS" disappears and "NOT FOUND! II appears
on the CRT if the desired data is not found. 3. Setting numbers are as follows for designat-
This message will disappear when you de- in g breakpoin ts.
press a key (<;:AN normally) of the control
station. Settin g Setting data
number
3. Remarks, #6200 [][IJ[][1] Break point

When 16022 06 = 0, the "r~~ding zero" cannot


be omitted. and the search)s performe'd "in
#6201
rO Break point 2

charactet<'string units. Searching NS outputs


. NSI NS? INS?? I.NS??? (? .. represents· decimal L"o" mea ns that no break-
point is desi gnated.
point or' 'numeral of 1 to 9). ,The data. input
from the'. key" and the' part program memory
- 'Sequence number (of up to
data are verified.
4 digits) without address N.
When #6022 06 = 1, "reading zero l1 can be (Leading zeros may be omitted.)
omitted, to search in address units.
Searching NS outputs NS/ NOS/ NOOS/ NOOOS. 4. IIBREAKPOINT!" appears blinking when'op-
When #6022 06 = 1, the same search can be eration has stopped at a breakpoint. To
performed 'as when #6022 D6 ;; 0 by depress- restart, depress the CYCLE START button.
ing the NEXT key. The "reading zero ll can
be omitted in registered "program number" Note: If the breakpoint function is not used, set
search, regardless of the setting in #6022 D6. the contents of #6200 and #6201 to "0. II
160
4.3.12 ALARM CODE DISPLAY 4.4 TAPE INPUT/OUTPUT OPERATIONS OF Ne DATA

If an alarm status has happened, ALM!I or "A/Bit


Such NC data as tool offsets, setting data, and
(on battery alarm) blinks on the bottom line of
parameter data may be read from and written
the screen regardless of working mode and func-
onto tape. A tape reader wil1 work to read data
tion. If this happens. the detailed information of
from tape. To write data onto tape, a data in-
the alarm status may be displayed by the follow-
put /output in terface (opt ion) is needed.
ing operation.
Here we assume that this option is incorporated.
1. Depress the ALM key.
See Pars. 4.7.2 and 4.7.3 for how to set the
Then up to four pairs of alarm code and mes- type of input/output device (setting #6003) and
sage will be displayed. with more serious one baud rate (parameter #6026).
on a higher line.
'.
Note: The alarm screen will appear during an
alarm state Td. threfore, it is not necessary DIAGNOSIS 000Hl N001S
PAGE
operate the. + key. ? 6 S 4 3 2 1 0
U1000 0 0 1 0 0 0 0 0 20
"1001 0 0 0 0 0 0 0 0 00
U10e2 0 1 0 0 0 0 0 0 40
~1003 0 0 0 1 1 0 0 0 18
Ul004 0 0 0 0 0 0 0 1 01
It 1005 1 1 0 1 0 0 0 1 01
U1006 o 0 0 1 0 ;1 1 0 16
1t1007 o 0 0 1 0 0 0 1 11
~1008 o 1 a 1 o ,1 0 0 54
~10a9 a a 1 0 o '0 e 0 20
a:OPEN I:CLOSE

aUF ROY

.....
notation

Fig. 4.30 State of I/O Signals


Displayed-Example

4.4.1 INPUTTING TOOL OFFSETS FROM TAPE


Fig. 4.29 Alarm Codes and Message
Displayed-Example Though tool offsets are normally input by MDI
operation, they may also be entered by means
of p'aper tape.
To reset the alarm status and screen. remove the
cause of alarm then depress the RESET key. I. The tape format of tool offsets is as follows.
For the detail of alarm codes, see Appendix 5,
"LIST OF ALARM CODES"on page 240. ILabeI/ %
HOI X 1.000
4.3.13 DISPLAYI NG ON /OFF INPUT /OUTPUT H02 X 2.000
SIGNALS
D03 X·ID.089 Note:
Depress the DGN function key. and the state of Either H or D may
every input /output signal win be displayed on be used for address.
the CRT. This is possible at any time even dur-
ing automatic operation.
%
For more detail of this operation. see B.6.3. " DIAG-
'NOSTICS OF INPUT /OUTPUT SIGNALS" on page
198.
2. The input operation is as follows.
The state of the input /output signal is also
given in the hexadecimal notation at the right- A. Select EDIT mode.
most column for the ease of maintenance work.
B. Depress the RESET key.
C. Depress the OFS key.
D. Set the tool offset data tape onto the tape
reader.

161
q.q.l INPUTTING TOOL OFFSETS FROM TAPE Q.Q.3 OUTPUTTING TOOL OFFSETS TO PAPER
(Cont'd) TAPE

E. Depress the IN key. The tool offset data set in the system may be
The tape reader starts to read the tape. output to paper tape.
!'INfI blinks on the CRT while the data are
read. 1. The output operation is as follows.

F. The tape reader stops when it has read "%11 A. Select EDIT mode"
(or ER). "IN It disappears from the CRT. B. Depress the RESET key.
Now the tool offset data have been read
in to memory. C. Depress the OFS key.
D. Check that the punch is ready for opera-
tion.
q.q.2 INPUTTING SETTING DATA AND PARAM-
ETER DATA E. Depress tne OUT key.
The paper tape punch punches the tool
Thol..ighsetting data and parameter qata are"norma- offset data onto paper tap'e and stops auto
lly .. inp·ut. by "MDI opera.uan. ~hey may also h.e matically when all contents of the tool off-
entered by means of paper tape. 'Setting' data set memory have been output.
and parameter d~ta may be input from a single
tape. F. To suspend "the operation. depress the
RESET key' ..
1. The tape format is as follows. At ihis time, the output operation carinot
be resum"ed. Restart from the beginning.

Label % ; 2. The tape format is the same as that describ-


N6000 XI28 Note: ed in 4.4.1. "INPUTTING TOOL OFFSETS
II %t1 is used in FROM TAPE' on page 143.
N6001 X 5 , the ISO code and
N6002 X 0 HER" in the EIA
code. q.q.q OUTPUTTING SETTING DATA AND
PARAMETER DAT A TO PAPER TAPE

1. The output operation is as follows.


%
A. Select EDIT mode.
B. Depress the RESET key.
C. Depress the PRM key.
2. The input operation is as follows. D. Check that the punch is ready for opera-
tion.
A. Select EDIT mode.
E. Depress the OUT key.
B. Depress the RESET key.
The paper tape punch punches the settin~
C. Deprss the PRM key. parameter data onto poper tape continuoU!
D. Set the setting/parameter data tape onto ly.
the tape reader. F. To suspend the operation. depress the
E. Depress IN key. RESET key.

The tape reader starts to read the tape. At this time, the output operation cannot
IIINI! blinks on the CRT while the data are be resumed. Restart from the beginning.
read.
F. The tape reader stops when it has read "%" 2. The tape format is the same as that describE
(or "ER"). "IN" disappears from the CRT. in 4.4.2. "INPUTTING SETTING DATA AND
Now the setting/parameter data have been PARAMETER DATA."
read in to memory.
Turn on power again because the control is in
the HOLD state (key inoperative) at completion
of input.

162
4.4.5 OUTPUTTI NG PART PROGRAM TO j. To discontinue the punch out operation.
PAPER TAPE depress the RESET key. However. the
discontinued operation cannot be resumed.
(1) The part program of the designated program Go back to f. and repeat the operations all
number is punched out by the following over again.
operations:

a. Connect the external equipment such as Note: When RESET, OUT are operated without
the tape puncher to the NC via the data keying in the program number, the part program
input loutput interface. of the" currently displayed program number is
outputted.
h. Make the external equipment relay for
operation. (2) Punch out of all part programs

c. Power on the NC. All registered part programs may be output


to the external equipment by the above
d. Select the EDIT mode. operations except that 0 - 9 9 9 9 must be
keyed in the operation of h.
e. Depress the PROG function key. All part programs stored in the memory are
output (punched out, etc.) consecutively.
f. Check to see if the external equipment is
ready. Note: The contents of program number 00000
are output only when #6231D = 1.
3
g. Depress the RESET key.

h. Depress "0" key and key in program number.

i. Depress the OUT key.


The part program of the keyed-in program
number is output to the external equip-
ment. If it is a tape puncher, tape punch
is performed. When the output of the part
program is completed, the tape puncher
stops automatically. During the output of
data, !lOUTH is flashing.

3 FEET J FEET
FEED HOLES FEED HOLES

- - - - - - - -- Xi - - - HOIX - TOOL OFFSET DATA ;2 --------


(SETTING AND/OR PARAMETER DATA)
Note:
3 Feet ..
360 characters
------- %:01234:G92XO - - PART PROGRAM MJO;% -----_._-

1
0 1' I KEY (TO PUNCH OUT ALL PART PROGRAMS)

3 FEET 3 FEET
FEED HOLES FEET 1 FEET
EED HOLES
r- ~SPACE "SP" CODE '--
PUNCHED " ----
" - - - --
I
%;0100; M02; SP 0200; M.JO; SP 0500 M30;% - - -

,
---. .- .

DEPRESS THE CAN KEY. AND THE PAPER DEPRESS THE CAN KEY, AND THE PAPER
TAPE PUNCH IMMEDIATELY BEGINS TO TAPE PUNCH STOPS TO PUNCH SPROCKET
PUNCH SIGNIFICANT DATA WHICH PERF(1RATIOIi.
BEGIN WITH "%;. _."

Fig. 4.3] Data and Program Formats on Paper Tape


163
4.5 LOADING PART PROGRAMS INTO MEMORY g. When the tape reader has read "M02 ;, "
I'M30·;." or IlM99 ;, 'I it stops and "IN" dis-
4.5.1 LOAOI NG PART PROGRAM T APE INTO appears from the CRT. Now the part pro-
MEMORY gram has been stored in memory.

(1) Loading a part program which has a pro- Note's:


gram number.
1. Program number "00000" is always in the
a. Select EDIT mode. registered state, so it cannot be erased.
This program number should not be used.
b. Depress the PROG key.
2. The tape which has no program number may
c. Load the NC tape to the tape reader or an
be stored as described before. However,
equivalent external device.
write a program number to the head of the
tape, in principle. The operation of 1I0 XXXX
IN" described before causes only program
\O""%OI234:G92: XOY{, _ _ _ _ _ __
M30.% ..... \ number registration. It does not cause the
storing of information of 1100000 11 into the
PROGRAM NUMBER I
HOLD HERE
part program memory. Only the program
number on tape is stored into the memory.
Assume that a tape having no program num-
d. Depress the RESET key. ber is stored and then all part programs are
punched out by depressing "0, II 11_, II "9. 11
e. Depress the IN key. 119,11 119,11 119,11 and IIQUTI! keys. Since this
Then the system starts to read the tape and tape contains programs with no program num-
enlists the program number punched on the ber, the correct restoring of all part pro-
tape as the first record. T he system checks grams may not be performed by depressing
110," II_,ll 119," 119,11 119,11 119,·11 and IIINII keys.
for a duplicate of the program number as in 1.
Operation ends with error if the designated
program number is not found on the tape. 3. Consequently. when a tape having no pro-
When the tape reader has read "M02 ;, II gram number has been stored, write the
IIM03 ; ,II or !iM99 ;," it stops and !lIN" dis- program number to the head of part program
appears from the CRT. Now the part pro- by the EDIT operation.
gram has been stored in memory.
EXAMPLE:

(2) Loading a part program which has no pro- ill G92 XO 20


gram number.
When this is in the first block, position the
a. Select EDIT mode. cursor to N and key in as follows (in EDIT
and PROG modes):
b. Depress the PROG keys.
Oxxxx ; N 1 ALTER
c. Load the NC tape to the tape reader or an
equivalent external device.
(3) Storing a program ·with program numbers
changed I
...... \:NIG92XO
To register a program with a program num-
ber different from the one punched on tape,
The tape stops at this perform the following operations:
location when loading
is completed. a. Select the EDIT mode.
d. Depress the RESET key.
b. Depress the PROG key.
e. Depress the address 0 key then enter the
program number. c. Set the NC tape to the tape reader or the
external equivalent equipment.
f. Depress the IN key.
The system starts to read the tape. If the
keyed-in program number coincides with the
registered program number, "ALREADY IN"
blinks on the CR T screen. I f this happens,
delete the program number, then repeat steps
a. through f. while the tape is being read,
IlINli blinks on the CRT.

164
The tape reader stops each time it has read
lIM02 ;,11 lIM30 ;,11 or "M99 ;,11

PROGRAM NUMBER I
HOLD HERE
f, Depress the IN key again.
The tape reader resumes to read the tape.
Repeat this operation until all programs
are loaded,

(5) Storing a program with program numbers


changed n
d. Depress the RESET key.
When nOn key is depressed and program
e. Key in non and PROGRAM NUMBER.
number is keyed in before depressing IN key
as described in (4) above. the keyed in pro-
f. Depress the IN key. gram number h;; registered in preference to
The program number entered from the key the program number punched on the NC tape.
is registered in preference to the program
number punched on the tape. At this time, (6) Loading programs continuously
the program number on the tape is written
to the part program memory simply as a Programs existing on a tape as shown in (4)
label. may be loaded continuously without inter-
M02 ;. M30 ; or M99 ; is read and the stor- ruption. For this purpose, depress nO, 11
ing operation is completed. It_,ll 119,11 "9," 119,11 and 119" before the first

depression of the IN key. The tape reader


Note: stops at the position of 11 %. \I
1. If a program is stored with a changed pro-
gram number as described above, the pro-
gram number punched on the tape is stored 4.5.2 MAKING ADDITION TO A PART PROGRAM
in the part program. memory without change.
Consequently. to avoid the confusion in the Perform the following operation to add data to a
later handling, replace the progra~ number part program which is already loaded,
in the part program memory with changed
program number by the EDIT operation. a. Select EDIT mode.

b. Depress the P ROG key


( 4) Loading part programs from a tape
c. Depress the 0 key then
a. Select EDIT mode.
gram number and depress the
b. Depress the PROG key. key.
The system searches the designated program.
c. Load the NC tape to the tape reader or an
equivalent external device. d. Load the tape of adding data to the tape
reader.

······"0)00: N02:0200; M30:0500; M99."··· .. ·


%;. Adding data M30 %... )

The tape "stops The tape stops The tape stops '.'

to travel here. to travel here. to trav~l here." .e. D~p~esst~e RESET key.

f. ; }?'iip~~s"s ihe "NEXT and IN keys in tWs


order."·" .
The data will be read from the tape ~nto the
memory.
d. Depress the RESET key.
Note: You ca~riot add data ~o . a program from
e. Depress the IN key. the middle of it. If necessary, delete the last
Then the system starts to read the tape part of the program by editing operation and
and enlists the program number punched perform this adding,
on the tape as the first rec.ord, The sys-
tem checks for duplication of program num-
ber as described in (2).

165
4.5.3 LOADING PART PROGRAMS BY MOl 4.5.4 DISPLAY OF REGISTERED PROGRAM
NUMBER
Part programs may be loaded not through the
tape reader but by MDI operation. Perform the This screen displays all registered program num-
following. bers and the number of remaining characters in
the part program memory.
a. Select EDIT mode.
(1) The number of program numbers that can
b. Depress the PROG key be registered depends on options.

c. Depress the RESET key.


Max. Number Program No.
No. Type
d. Depress the 0 key then enter the part pro- of Programs Table
gram number and depress the WR key.
I 99 Basic 01 to 02
The designated program number will be reg-
istered. If this number already exists, 2 199 Option I 01 to 04
IIALREADY IN " blinks and, in this case, it
is required to delete the registered program 3 999 Option 2 01 to 19
number.

e. Write the part program by operating the ( 2) All program numbers alreadi regiSjered are
address key and the data key. As shown
in the figure below. the keyed in data is · I aye.
d lSP d B y d epresslng
. PAGE+ or
displayed on the bottom line from left to
right sequentially. The maximum number
IP :GE I key. the page shown below may be
of characters that can be written at a time obtained.
is 32. Within this limit, data may be keyed
in over multiple words or blocks. However,
when the 10th character is keyed in, the
normal display shown to the right of the
line is blanked.

f. Depress the INSRT key.


The keyed in data is stored in the part pro-
gram memory.

g. Repeat the operations of e. and f. above to


write. the part program. The program edit
operation is enabled by the use of ERASE.
INSRT. and ALTER keys during this pro-
gram storing operation.

REMAINING NUMBER OF CHARACTERS


IN PART PROGRAM MEMORY

The remaining number of characters in part


program memory is d~splayed in the lower
left corner of the screen.

Fig. 4.33

Note: This screen displays only the register-


ed program numbers. A program number is
registered by depressing the PROG function
key in EDIT mode.

Fig. 4.32

h. Key in M02 ;. M30 ;. or M99 ; and depress


INSRT key. This ~ompletes the storing of
the part program.

166
Notes: Operation of PAGE and CURSOR key
1. This screen displays the registered program
1. Page keys ill and [f] respectively advances
numbers or permits program number deletion.
and returns by one page.
A program number is registered by
depressing the PROG function key in EXIT
mode. 2. CURSOR keys m
and ill
respectively moves
the CURSOR after and before a word.
2. When program number is increased by speci-
fying options 1 and 2. part program area will
be reduced. Operation in the MEM mode
199 program numbers: 800 characters
decreased Searc hin g can be performed in the MEM mode.
999 program numbers: 7200 characters However. page and cursor cannot be moved by
decreased PAGE and CURSOR keys.
3. Program number will also be displayed with
macro-interlock.
Q.6.2 DELETING PART PROGRAM BLOCK

Part programs can be deleted using PROG keys


4.6 EDIT in the EDIT mode.

Q.6.1 PART PROGRAM DISPLAY Deletion of Words


Move the CURSOR to the word to be deleted and
Stored program contents can be displayed. and depress the ERASE key. The CURSOR-indicated
checked by the operator.
word will be deleted.
Part Program Call
Before Deletion
1. . Select the EDIT mode.

2.. Depress the RESET and PROG keys.

3. Input the program number .with ADDRESS 0


.. '
+. .
.' ICURSORI
and depress the key.

The specified program number will be searth-


.edand the data of 10 lines from :the begining
. of p.rogram.will be displayed· on .the CRT ..
I~' the progra~ n:umber is n9t found by· search-
ing. '"NOT 'FOUND" will.flicker.· The display
. Will be reset by depressing . the" C;AN key.
, .;v
.After Deletion

Fig. 4.34

167
q.6.2 DELETING PART PROGRAM BLOCK Words less than 32 characters can replace one
(CONT'D) word specified.

Program No. Modification


Deletion of Program No.
Specify the program number of the program head
Enter the program No. with address 0 and
with the CURSOR, key in the new number, and
depress the ERASE key. The specified program depress the ALTER key. The new number will
No. and its part program will be deleted. replace the CURSOR-indicated number and upper
right number. When this function is used, set
Deletion of All the program n urn bers parameter #6005 D5 to n 1. n
Input 0 -. 9. 9, 9, 9 and depress the ERASE
key. All the registered program numbers will
Q.6.Q ADDING PART PROGRAM (lNSRT KEY)
be deleted. Program No. nOli is registered newly
in the form of EOB.
Programs will be inserted using PROG key in the
Note: Specified program No. or all the program
EDIT mode.
numbers can be deleted on the program number
directory display by using ALM function key. Insertion of words
Specify the word before the word to he added
Q.6.3 MODIFYING PART PROGRAM BLOCK using CURSOR, key in the data to be added, and
depress the INSRT key. The new data will be
Program modification is made using PROG key in inserted immediately after the word specified by
the EDIT mode. the CURSOR.

Word Modification Before Insertion

Specify the word to be altered with the CURSOR


key in the new word. and depress the ALTER
key. The new word will replace the CURSOR-
indicated word.
Before Modification

After Insertion

Fig. 4.37

After insertion. CURSOR indicates the last word·


keyed in words less than 32 characters can be
inserted as one group.
Fig. 4.36
168
How to Edit Control-Out And Control-In Q.7.1 TYPES AND FUNCTIONS OF INTERFACE

The control-in and control-out part may be edited Table 4.1


by the usual edit operation.
CD @
a. Depress ~ key and ISHIFTI key. and char-
Name of interface RS232C RS232C
acter "(II may be entered. Interface Interface
No. 1 No. 2
h. Depress ~ key and ISHIFTI key, and char-
Type of interface Serial' Voltage
acter ") n may be entered. Interface

Parameter
setting
Notes: Data transmission
speed
Input: '6026 Input: '6027
1. The characters which are indicated in the Output: '6028 Output: '6029
thick-lettered keys shown below may be enclosed
Connector (Note) DB-25S
in control-out and control-in.
Max cable length 15 m
2. The number of characters that may be en-
closed in control-out and control-in less than External Equipment having RSZ32C
32. equipment interface

Functions . Storing NC data into NC memory


3. Nesting of the control-out and control-in is or collating them.
not allowed.
'Outputting NC data to external
equipment (punch out).

El 8~88 BEE El
. Automatic operation in the
Tape mode.

I S8S8888
[Q)(ID[~J"@[6]©
rnrnJCID
Note: The types of the connector on the NC side.
For the mating connectors to this connector, use
the following: MR-20F. DB-25P, DB-37P.

I !M)lIDITlI£J[Q)[8)GIW8
OOI1J[ZJ(W(YJIWlr!J[§J[§J
rnQJ[EJ[f)[Q][B)m~(ID

[§J [g[gJIZIG BEJEl


Fig. 4.38

Characters Enclosed +
in Control-Out and
Control-In (Thick-
Lettered Keys) for
9" CRT

4.7 SUPPLEMENT TO DATA INPUT / OUTPUT


INTERFACE
~
L---<"\l):')l RS2)2C INTERFACE
The external equipment having the designated (OB-255)
input/output interface may be attached to the
NC to input/output the following lij'C information: . Fig. 4.39 Data I/O Interface Receptacles
in Control Cabinet
(1) Part Programs.
(2) Tool Offset Amount.
(3) Setting and. Parameters.

169
q. 7. 2 SETTING OF DATA INPUT IOUTPUT a. Setting of Baud rate
INTERFACE TO BE USED

To use data input/output interface, it is neces- Input #6026D3 #6026D2 #6026D 1 #6026DO
sary to set which interface is to be used. Make Output #6028D3 #6028D2 #6028D1 #6028DO
this setting as follows:
50 0 0 0 0
(1) Setting of pata Input Interface to Be Used
100 0 0 0 1
no 0 0 1 0
INVCE1 IDVCEO Data Input Inter- 150 0 0 1 1
(#6003,D1) (#6003,DO) face to be used ~
~ 200 0 1 0 0
0 1 RS232C Interface No.1 '"
<:<: 300 0 1 0 1
"0
0 . RS232C Interface No.2 ~ 600 0 1 1 0
1
'"
<0
1200 0 1 1 1
Note: PTR interface is for the standard tape 2400 1 0 0 0
reader. Usually, this interface is set.
4800 1 0 0 1
(2) Setting of Data Output Interface to Be Used 9600 1 0 I 0

ODVCE1 ODVCEO
(#6003,D5) (#6003,D4) Name of Interface
b. Setting of stop bit length
0 1 RS232C Interface No.1

1 0 RS232C Interface No.2 Input #6026D4 = 1: Stop bit as


2 bits
~ 0: Stop bit as
Output #6028D4 1 bit
q. 7. 3 SETTING OF BAUD RATE AND OTHERS
OF SERIAL INTERFACE

To use serial interface (RS232C), it is nec-


essary to set the baud rate, stop hit length, c. Setting of control code transmission designa-
and control code transmission specification to tion
parameters.

(1) Current Loop or RS232C Interface Input #6026D5 = 1: Does not send out
control code
As shown below. the data is set for input and = 0: Sends out control
Output #6028D5 code
output combined or separately.
#6028 D6
o Data is set for input and output
d. Setting of Baud Rate
combined.
1 Data is set for input and output
Input #6027D3 #602702 #6027Dl #6027DO
separately.
Output #6029D3 #6029D2 #6029Dl #6029DO
50 0 0 0 0
100 0 0 0 1
110 0 0 1 0
150 0 0 1 1
~
~
200 0 1 0 0
'"
<:<:
300 0 1 0 I
"0
~
600 0 1 1 0
'"
<0
1200 0 1 1 1
2400 1 0 0 0
4800 1 0 0 1
9600 1 0 1 0

170
e. Setting Stop Bit Table 4.2 RS232C Interface
Connecting Cable (A)

Input External
#6027D4 = 1: Stop bit as 2 bits NC (OB-25P) Equipment
Connections
Signal Pin Pin
Symbol
Output #6029D4 = 0: Stop bit as I bit Name No. No. Symbol
Frame
FG grounding 1 )-( FG
Sending
f. Setting Control Code Sending SO data 2 QyO SO
Receiving
RO data 3
Y'--O RO

Input
-------j-----/
#6027DS
= 1: Does not send con-
trol code
RS
Request
sending
4
iCh 0 RS

Output #6029DS = 0: Sends control code CS


Capable of
sending 5 blLQ CS

Not used 4 -C OR
Signal
Notes:
SG grounding 7
0- rC SG

1. Set the baud rate and stop bit length accord- r ,8 K 10 BUSY
ing to the specifications of the input/output
equipment to be used. Not used L 25
La ER (OR
IO
ALARM)
2. The start and stop signals to be sent from
the NC to the input/output equipment after Note: When the external equipment does not
pressing IN, VER, or OUT key are called control the CS (Capable of Sending) signal given
"control codes." 1£ the specifications of the to NC. short-circuit pins RS and CS on both
input/output equipment do not allow the ends of the cable as shown in Table 4.3.
acceptance of the control codes, set the
parameter for control code transmission des-
ignation to "l" (not send). In this case, it Table 4.3 RS 232C Interface
is necessary to press IN, VER, or OUT key Connecting Cable (B)
on the NC side then start/stop the input/ External
output equipment manually. NC (DB-2SP) Equipment
Connections
Signal Pin Pin
Symbol Symbol
Name No. No.
4.7.4 CABLE CONNECTOR SPECIFICATIONS Frame
FG
o:rounding
Sending
1
0-0 FG
The sepecifications of the cable connectors for
data input/output interface ~re as shown in
SD
data
2
0\/--0 SD
R<ceiving
Tables 4.2 and 4.3. These specifications depend
on the external equipment to be used and are
RD
data
3 (Jl\--Q RD
therefore listed in this publication for reference Request
purpose only. Refer to the manual of the external
RS sending
4
~rO RS
equipment. CS ~e01
sen g
5 (Y.l() CS

Not used .6
rO DR

SG "'gnal
grounding
7 0- fO SG

8
ER (OR
I
to. 10 ALA RM)
Not used 25

171
q.7.S OPERATIONS USING DATA INPUT/OUTPUT Q.8.2 TOOL OFFSET VALUE TAPE VERIFYING
INTERFACE
1. Set the MODE SELECT switch to the EDIT.
The use of data input/output interface allows the
following operations and runs: 2. Depress OFS function key.

3. Depress RESET key.


(1) The input/output operations of tool offset
amounts, setting data, and parameter data and 4. Load the source tape via tape reader.
the output operations (punch out) of part pro-
grams. For details, see 4.4. "TAPE INPUT I 5. Depress VER key
OUTPUT OPERATIONS OF NC DATA"onpage 137.
Tape starts, and the contents of tape and
the contents of tool offset values are verifi-
(2) The storing of part programs into memory.
For details, see 4.5, "LOADING PART PROGRAMS ed. If disagreement with the tape data is
INTO MEMORY"on page 140. detected, 1IlNPUT ERROR" blinks on the
CRT.
(3) Tape-verification of part programs, tool off-
set amount, setting data, and parameter data. 6. A fter completion of verifyin g without dis-
For details, see 4.8. "TAPE VERIFYING"on page agreement, tape reader stops and IIVER "
147. disappears.

4.8.3 VERIFYING PART PROGRAM TAPE


4.8 TAPE VERIFYING
(1) Verifying a part program tape having pro-
The punched tape of the data shown below may gram number
be compared to the contents of the NC internal
memory to check if they rna tch. a. Select the EDIT mode.
Part program
b. Depress the PROG function key.
Tool offset data
Setting data and parameter c. Set the part program tape to the tape reader.

The punched tape is entered through the NC d. Depress the RESET key.
tape reader or the data input loutput interface
(option). For the methods of setting the input! e. Depress the V ER key.
output equipment (setting #6003) and the baud
rate (parameters #6026 through #6029), refer to The tape is started to compare the con-
4~."DATA INPUT/OUTPUT INTERFACE." The tents of the part program memory to the
following description is made assuming that this contents of the part program tape. During
t his operation. ;1 VER· 1 blinks. If
option is installed.
a mismatch is found. l1INPUT ERROR 11
blinks on the CRT.
Q.8.1 SETTING AND PARAMETER TAPE VERIFY- When a match is found and this operation is.
ING completed, the tape reader stops, upon
which "VER" display i.s erased.
1. Select 111" of system No. switch.
Note: By the operation of I. RESET, V ER, 11
2. Set the MODE SELECT switch to the EDIT. the verifying feature verifies the data from
the tape head to % code.
3. Depress PRM function key.
(2) Verifying a part program tape having no
4. Depress RESET key.
program number
5. Load the NC tape via tape reader.
a. Select the EDIT mode.
6. Depress VER key.
b. Depress the PROG function key.
Tape starts, and the contents of tape and
the contents of setting Iparameier are veri- c. Set the part progI'am to the tape reader.
fied. nVERIT blinks on the CRT.
If disagreement with the tape data is detect- d. Depress the RESET key.
ed, ITINPUT ERROR:' blinks on the CRT.
e. Depress the "0" key and key in program
7. After completion of verifying without dis- number.
agreement, tape reader stops and "VERII dis-
appears.

172
4.8.3 VERIFYING PART PROGRAM TAPE ( 3) Verifying a tape containing multiple part
(CONT'D) programs

Depress V ER key. Multiple part programs punched in a single


f.
tape are continuously verified by the follow-
The tape starts to compare the con- ing operations:
tents of the part program memory to the con-
tents of the part program tape. During
a. Select the EDIT mode.
this operation. ltVER n keeps blinking. If
a mismatch is found. II INPUT ERROR II blinks
b. Depress the PROG function key.
on the CRT. When a match is found and
this operation is completed. the tape reader
c. Set the part program tape to the tape read-
stops. upon which "VERn display is erased.
er.
If the keyed in program number i.s not found
in the memory. IINOT FOUND! II blinks.
d. Depress the RESET key.
In this case. depress the CAN key and start
with the operation of d. e. Depress the VER key.
When M02, M30, or M99 is read, the tape
Notes:
reader does not stop but all the part pro-
1. The operations for verification with a pro- grams are continuously verified up to %
gram number different from the program num- code. When the verification is completed.
ber punched on the tape are the same as those the tape reader stops at the position of %
of (2) above. The keyed-in ·program number code.
is processed in preference to the punched
program number.
2. Verification by the operation of nOxxxx VER n
regards the punched information as the in-
formation on the keyed-in program number.
Hence. when verifying a tape containing
program numbers, no program. number should
be keyed in.

173
q.B.q SUMMARY OF EDITING OPERATION

Operation

panel
~~;~ ':'::~ IMode Ft~~~- Procedure

Sto~ing [rom NC
1/ ~ cRf'bec
JRSOR
~
1 1
1 Data
'2
2" 1
•E Storing from tape (Note 4) (Note 6)
PRM
RESET ~ IN
• Punch out (Note 3) IEDn I RESET ~ @iIjJ
"•
0-
with tape (Note 4) IRESET ~ ~
Storing from NC operator's panel
keyboard V I~~:~ng~n~
~
I I
00
Storing from tape 1 ~I ~ 'ill
'B• Punch out IEDIT
SET
I I RESET 1 ~ ~
if>

Match;, with tape IRESETI + ~


~to,:,ng (rom NC panel
I
-, / 1 ~~~:et :uBill
+ 1 ,I

~ I Storing [rom tape 1 RESETI ~ }ill


• I EDlT OFS
~
~: ~
c:! I Punch out
a ,h"
I" with tape
I Cle., o[ all o[£se"
/ @] -9999 +
~
Storing from NC operator's panel OFF ~p;a.t Program number
of edit opeation tI
~,~
keyboard
of address data"
Tape with
One part a OFF I RESET I + ~
program
~~
Tape without + Program
~:::ing number 0
OFF
number +

tape IAIl part" v,. • on tape OFF RESE' +


~ + 9999 ~[iEJ
to
-." part
OFF I RESET I + I NEXTI ~~

Punch Designated part program II RESET' +.~ Program


out I EDIT PROG number ~ !IT]
:AII part v,' " I RESE-rj + [-".l ~ -9999 ~ ~

Ma~ch-
One part
Tape with number
a I RESETI ~ IVERI
program

II
ing
E
• with ~~~~e";:i\i'(~tote 1)
\~_
Program

a"
00 tape
I
number +~
I All part • on tape l
""- Modify of address data ~~et to address data to
t OFF
• (Note Z) :>e
~I
-+ Address data
0-
I
Add of address data
(Note 2)
OFF I j~s' beor~~~d~ ~~t~
Edit dres; d~;a-
~

Delete of one address data OFF I


be <~se: tt data to

II " (Set to data at


Delete of one block
(Note 5) OFF I~ o[block to be deleted) ~
I
Address data to be searched .
Address search
~~~T ,n, ICURSORI
or @] ~ ~~ber to be
Designated part program OFF lED IT
Clear ALM + I
All part • on tape 10FF @] + -9999 ~ I ERASE 1

Notes:
1. Stormg of a part program having a program 4. If the tape contains setting mformatlOn.
number different from program number 0 It is also stored and matched at the same
on tape is performed by the same operation time.
as for "tape without program number 0."
,. When the cursor to the address data in
2. Wlthm the limit of 32 characters, addition the middle of a block and EOB and ERASE
of multiple address data and the change to keys are depressed, the data followmg
one address data are permitted. the cursor pOSitIOn IS deleted.
3. Setting is punched out at the same time. 6. When data has been stored from a param-
eter tape, turn the power on and off.

174
s. MACHINE CONTROL STATION
5.1 SWITCHING UNITS ON THE CONTROL STATION HANDLEt: Allows the tool to feed by operating
the manual pulse generatort.
Fig. 5. 1 shows the layout of switching unit on TAPE: Automatically controls the system from
the control station. For details. refer to the ma- NC tape.
c hine tool bui Ider 15 man ual.
MDI: Allows the operator to insert up to 10
blocks of data through the DATA keyboard and
5.' ., MODE SELECT SWITCH control the system automatically with the data.
This switch gives the operator a choice among MEM: Automatically controls the system with the
the following eight modes of operation (RAPID. stored part program.
JOG. STEP. HANDLE. TAPE. MDI. MEM. EDT).
RAPID. JOG, and HANDLE modes are called EDT: Stores the part program into memory and
manual operation mode, and TAPE, MDI, and edit the part program.
MEM, automatic-operation mode in this manual.

MODE SELECT
CYCLE ~ I- Ell
RAPID: Allows the tool to traverse rapidly or
:.TI\RT lloLD
return to reference zero by man ual operation.
a a MDWJQ:pTAPE
HANDLE"
JOG: Allows the tool to feed continuously by
manual operation. Feedratc is set by JOG
FEEDRATE switch.
DJO MEM

EDT
"
STEP
JOG
RAPID

STEP: Al10ws the tool to feed manually by step Fig. 5.2


each time JOG pushbutton is depressed.

OP-
op-TIONAL DIS- Z-AXIS
MODE SELECT SINGLE TIONAL BLOCK DRY PLAY OFF NE- FUNCTION
CYCLE FEED
BLOCK SlOP LOCK~MACHINE GLECT LOCK
START HOLD SKIP
MDI~NDLE' ® ®
RUN
® ® LOCK ® ®
0
[J]
0

D MEM 0

STEP
JOG
OFF OFF OFF OFF

OFF OFF
EDT PID
MIRROR IMAGE
MANUAL
ABSOLUTE x AXIS
Y
OVERRIDE
CANCEL
START EDIT
LOCK t LOCK!
® ® ® ® ® ®
OFF OFF OFF OFF OFF

MANUAL
HANDLE PULSE RAPID TRAVERSE FEEDRATE SPINDLE-SPEED
HANDLEt
AXlS·~ RATE OVERRIDE
MULTIP"tY OVERRIDE OVERRIDEt
z XIOO 50 90

xrqJ4
~1?:L ~120/;
XI~'OOO 25~'00
Xl {J XIO,OOO o r.
. 50.
XIOO,OOO

EMERGENCY .IOG REFERENCE POINT t TOOL. LENGTH


STOP I JOG FEEDRATE X Y Z , MEASUREMENT~
.J( +y +z .... ..p o o 0 00
DDDDD ·1.
REFERENCE POINT
I rlEASURE- WRITE &
a HENT RETRACT
lDJDlDJDD
RETURN

@ g[J
OFF

Fig. 5.1 Machine Control Station

175
5.1.2 CYCLE START PUSHBUTTON AND LAMP 5.1.5 HANDLE DIALt (MANUAL PULSE
GENERATOR)
Depress this pushbutton to start the system in
The dial is used as a manual pulse generator to
the automatic operation mode (TAPE. MDl and
feed the tool manually with the MODE SELECT
MEM). The CYCLE START indicating lamp lights
switch set to the HANDLE. HANDLE operation
when automatic operation starts. Depress it again
is effective for an axis. Procedure of HANDLE
to start the operation after temporary stop by
operation is as follows:
pressing FEED HOLD pushbutton or MODE SE-
LECT switch.
1. Set the MODE SELECT switch to the HANDLE.

2. Select the axis to be operated with HANDLE


5.1.3 FEED HOLD PUSHBUTTON AND LAMP
AXIS select switch.
When the FEED HOLD pushbutton is depressed
3. Set the move amount per graduation of the
during automatic operation the feedrate fs de-
J
dial by setting MANUAL PULSE MULTIPLY
creased immediately and machine motion is stop-
switch.
ped. Feedhold is not active during tapping by
G84, however it functions during positioning
J

before tapping. Depressing the FEED HOLD


4. Rotate the dial to move the selected axis.
pushbutton during dwell by G04 works on com- Turning it clockwise causes the axis to move
pletion of the current block. in the plus direction. The axis moves in the
minus direction by turning it counterclock-
If it is depressed while M-, S-. T or B +-func- wise.
tion without move command is being executed.
the FEED HOLD lamp will light, but these func- HANDLE HANDLE MANUAL
tions will be continued until finished. On com- AXIS PULEE MULTIPLY
pletion of the function. the lamp goes off and Z X100
machine opf';!ration is" stopped. Depress the CY-

x~
XlOOO
cLE STAR T pushbutton to resume the operation X10lill
after temporary stop by operating FEED HOLD xl X10000
pushbutton.
• X100000
FEED HOLD lamp is automatically illuminated when
the machine stops temporarily during canned cy-
cles if SINGLE BLOCK switch is set on.
Fig. 5.4
5.1.q EMERGENCY STOP PUSHBUTTON

Depress this pushbutton to immediately stop all 5.1.6 HANDLE AXIS SELECT SWITCH t
machine movement in an emergency. The servo
power is turned off and the machine is stopped This switch is used to select and axis to be oper-
immediately by dynamic brake. The NC ALARM ated. For operation of the switch. see Paragraph
lamp lights and alarm code II 330lland "310 Il are displayed. 5. 1. 5 Handle Dialt.
To recover the system from an emergency stop
after the cause has been removed. take the fol-
lowing procedure.
5.1.7 MANUAL PULSE MULTIPLY SELECT
1. Turn the EMERGENCY STOP pushbutton SWITCHt
clockwise to release the locking.
This switch is used to:
11
2. Depress the RESET key. Alarm code II 330
Select the value from Table 6.1. correspond-
is deleted from page.
ing to a single graduation of the HANDLE dial
3. Turn on the servo power again by depress- in the HANOLE mode.
ing POWER ON pushbutton. NC ALARM
LAMP is extinguished and READY lamp lights Pulses xIOO can be multiplied by any rnultiplicatio
up. factor using parameter #6383.
EMERGENCY 5 TOP
Select the move amount (I step) from Table
5.2 corresponding to each depression of JOG
pushbutton in the STEP mode.

Note: Handle coasting can be prevented by #667'1


Fig. 5.3 (handle stock pulse scrap capacity). Wi"th this
parameter installed, when handle is turned quickl-
there will be a gap between quality of handle
turning and that of movement.

176
Table 5.1 Selection of Move Amount
in the HANDLE Modet

~ Metric Inch Rotating Angle"l"

x 1 0.001 mm! 0.0001 inch! 0.001 deg!


graduation graduation graduation
O.Olmm! 0.001 inch! 0.01 deg!
x 10 graduation graduation graduation
x 100 O. I mm! O. 01 inch/ 0.1 deg/
x 1000
x 10000 graduation graduation graduation
x 100000

Table 5.2 Selection of Move Amount in the STEP Mode

-------- Metric Inch Rotating Angle+


x I 0.001 mm/~tep 0.0001 inch/step O. 001 deg/step
x 10 0.01 mm/step 0.001 inch/step 0.01 deg/step
x 100 O. I mm /step O. 01 inch/step O. I deg /step
x 1000 1.0 mm /step 0.1 inch/step I. a deg /step
x 10000 10.0 mm/sh'p 1. 0 inch/step 10.0 deg!step
x 100000 100.0 mm/step 10.0 inch/step 100.0 deg/step

5.1.8 HANDLE DIALS FOR SIMULTANEOUS ,,, Zo' kd


CONTROL OF UP TO THREE AXESt HANDLE HANDLE HANDLE
AXIS AXIS AXIS

When a manual pulse generator is connected for Z Z Z


each axis, the tool can be manually moved along
selected three of the five axes (X. Y.2. a and fJ)
sim ultaneously.
X~fJ X~{J X~fi
1. The tool move distance per graduation of the
HANDLE dial for the manual pulse generator
is determined by the MANUAL PULSE MUL-
TIPLY switch (Table 5.1). This switch is
effective on all the three axes.
2. Set the mode select switch to HANDLE, and
turn the HANDLE dials for the desired axf'S
in the positive or negative direction. X-AXIS Y-AXIS Z-AXIS

5.1.9 JOG PUSHBUTTONS MANUAL


PULSE MULTIPLY
This pushbutton is used to feed the tool man ually. XIOO
XlO~lOOO
With any of pushbuttons +X, -X, +Y, -Y. +2,
or -z (+a.-a.+!3.-!3)t held in the RAPID mode,
xl J 0 tXIOOOO
XIOOOOO
the axis can be moved rapidly until the button
is released.
These pushbuttons move the tool at the speed Fig. 5.5
set by JOG FEED RATE switch in the JOG mode.
JOG
Each time the pushbutton is depressed in the
STEP mode. the tool is moveq by the value equal
to step set by MANUAL PULSE MULTIPLY select
switch. Maximum feedrate per step is clder-
mined by parameter # "6222. n .

Note: JOG pushbuttons work on all axes.


Fig. 5.6

177
5.1.10 JOG FEED RATE SWITCH 5.1. 11.1 RAPID FEED OVERRIDE SELECTION
SWITCH 2
The JOG FEED RATE switch is used to select the
jog feedrate in the JOG mode. Up to 32 steps of
feedrate can be specified. Jog feedrate depends (1) In the conventional function, override of the
on the machine tool. For definite values. refer four steps of 11100%. 50%. 25%, and FOt! can be
to the mac hine tool builder 1 s man ual. See Table commanded against the rapid feedrate.
6.7. The JOG feedrate can be preset by para- This function is now expanded to allow override of
meters #6233 to 6264. the six steps of n 100%. 50%, 25%, FO. Fl, and F2. I'

(2) The Fl and F2 feedrates are the feedrates


RAPID TRAVERSE given by the parameter (#6466, #6467).
JOG FEEDRATE RATE OVERRIDE
5.1.12A FEEDRATE OVERRIDE SWITCH
50 In the automatic operation mode (TAPE, MEM,
25 y;:;"JOO
j~ % MDI). this switch is used to adjust the feedrate
o 'W' by 10% from 0 to 200% of the programmed feedrate
specified with an F function at whatever position
MM/MIN the switch may be set. Feed during tapping by
G74 follows F command. Where OVERRIDE
Fig. 5.7 CANCEL switch is set on J the tool will be moved
at the programmed feedrate by F code regardless
of switch setting.
5.1.11 RAPID TRAVERSE RATE OVERRIDE
SWITCH

This switch is used to adjust the traverse rate


by Fa. 25. 50 and 100%. 100% Rate is the rapid
traverse rate set by parameter #6280 to 6283.
The switch is effective both in automatic opera:-
tion including GOO command and in manual opera-
tion (RAPID mode). FO is set by parameter
#6231.

Table 5.3 Jog Feedrate

Step Parameter No. mm/min Step Parameter No. mm/min

0 #6233 0 16 N6249 100

1 #6234 1 17 jf6250 120

2 jf6235 2 18 t6251 150

3 li>236 4 19 #6252 200


4 116237 6 20 li>253 250

5 li>238 8 21 *6254 300

6 li>239 10 22 li>255 400


7 *6240 12 23 li>256 500
8 16241 15 24 1*6257 600

9 16242 20 25 li>258 800


10 #6243 25 26 16259 1000

11 #6244 30 27 1/:6260 1200

12 #6245 40 28 #6261 1500

13 16246 50 29 #6262 2000

14 *6247 60 30 #6263 2500

15 #6248 80 31 H6264 3000

Notes:
1. Jog feedrate depends on the machine tool.
For definite values. refer to the machine tool builder's manual.
2. Feedrate of the fourth and fifth axes t , if providt!d, is shown by deg/min.
178
Table 5.4 Feedrate Override 2. During the tapping cycle by G84 and G74.
the spindle speed may selectively be made
STEP % STEP % independent of this switch, remaining at the
speed set by an S code. This selection is
0 0 II 110
made with the parameter #6007D2'
I 10 12 120
2 20 13 130
3 30 14 140 SPINDLE-SPEED
4 40 15 150 OVERRIDET
5 50 16 160
17 170 90 Fig. 5.9
6 60
7
8
9
10
70
80
90
100
18
19
21
-
180
190
200
-
1r
SO

120 %

OVERRIDE 5.1.14.J SPINDLE SPEED OVERRIDE SWITCH 2


CANCEL
(l) Overview
@ The conventional function that allows 50% to 120%
override against the S command is expanded to
FEJDRATE allow override of 10% to 200%.
OVERRIDE Fig. 5.8

(5)
o 200%
5. 1. IS MANUAL REFERENCE POINT RETURN
SWITCHt
This switch is for bringing the tool back to the
reference poin t man ually.
5.1.12B JOG FEED RATE OVERRIDE SWITCHt For its operation method, refer to 6.2.1, "MAN-
uAL RETURN TO REFERENCE POINT .. ·
1. This option permits overrides in 21 steps of
10% per step within a range of 0 to 200% in relation
to the jog feedrate.
5.1.16 REFERENCE POINT LAM PSt
2. This switch also serves as the JlFEEDRATE
OVERRIDE!! switch. When the JOG mode is selected. These lamps indicate that the tool is positioned
the Feedrate Override switch becomes the Jog on the reference point. They light when the tool
Feedrate Override switch. is brought to the reference point through the
JOG PEEDRA TE manual or automatic return to reference point
OVERRIDE (G28) , or by the reference point return check

f£EORATE (G27) • and goes out as the tool moves away from
OVERRIDE the reference point by a subsequent operation.
100

~'"
3. Use this function as follows.
REFERENCE POINT'
X .Y Z a fi

Although the Jog 'Feedrate switch can be switched


o 0 0 00
over in a maximum of 32 steps. this is limited to'
the three steps of LOW - MEDIUM - HIGH and the
REF~RENbE POINT
RETURN
SINGLE
BLOCK
intermediate speeds are compensated for with the
"JOG FEEDRATE OVERRIDE" function. @) ®
OFF
OFF
5.1.13 FEED RATE OVERRIDE CANCEL SWITCH
Turning on the OVERRIDE CANCEL switch pre- Fig. 5.10
vents the function of FEED RATE OVERRIDE switch.

5.1.14 SPINDLE SPEED OVERRIDE SWITCHt 5. 1.17. SINGLE BLOCK SWITCH

1. With this switch, the current spindle speed Turning on this switch permits individual block-
can be changed to an override speed which by-block operation. Turning on this switch after
is set at 10% intervals between 50 and 120% finishing the current block in the automatic oper-
of the current spindle speed. ation mode, the machine stops. A block of data
is executed each time the CYCLE START push-
button is activated.

179
5.1.18 OPTIONAL STOP SWITCH Notes:

This switch is to execute MOl command in auto- Switching the DRY RUN switch during auto-
matic operation mode (TAPE, MEM or MDI). matic operation becomes effective on the current
block. Switching it in mmlrev mode+ or during
When the switch is on. the program stops on tapping becomes effective on the next block.
completion of the block including MOl command,
while CYCLE START pushbutton remains illu- Rapid traverse rate override is kept effective
minated. When the .crmtrol catches FIN signal, during dry run operation.
the light is extinguished. To restart the pro- During tapping, the set speed when tapping
gram, depress the CYCLE START button. When starts will be kept. It cannot be changed by
the switch is off. MOl command is ignored. JOG operation during dry run operation.
Operation of the switch is not effective for the
block being executed. During the automatic op-
eration. the switch acts for the next block. DRY
RUN

5.1.19 OPTIONAL BLOCK SKIP SWITCH @ Fig. 5.11

This switch selects whether the data in blocks OFF


including a 11 JI! is disregarded or not.

1. While the switch is on, all the commands in


5.1.21 DISPLAY LOCK/MACHINE LOCK SWITCH
a block programmed after a II /11 are neglected.
However. block data appearing before the
This switch functions to stop updating the posi-
U In remains effective.
tion display. or to stop move command pulses to
the servos. This switch cannot be set unless the
machine is stopped at block end or temporarily
2. While this switch is off. blocks including a slopped by FEED HOLD pushbutton.
"In are executed along with other blocks.
This switch is ineffective on the block under
execution and blocks stored in the advance- LOCK MODE
reading buffer. Nhen this switch is turned OFF
Fig. 5.12

~
on during an automatic operation cycle. it
works on the block read after the switching DISPLAY MACHINE
on has occured. LOCK LOCK

Notes:
"OFF"
a. The two commands 11/11 and "/111 are equivalent.
Usual operation is made at 110FF lI position in both
b. With the control provided with the optional manual and automatic operation. The machine
block skip B function.f.. 8 independent blocks and the position display operate according to the
can be skipped with the switching of the command by automatic operation or manual opera-
switches corresponding to 11/2'1 through "/9. II tion.

"DISPLAY LOCK"
5.1.20 DRY RUN SWITCH
This position is used to exclude the axis move-
Turning on the DRY RUN switch in the TAPE, ment value from the position display. Current
MDl or MEM mode causes the tool to move at the position display is not updated. though the ma-
speed selected by the JOG FEEDRATE switch, c hine moves.
ignoring an programmed F-functions. F com-
mands can be displayed as they are programmed. t!MACHINE LOCK II
This switch may be used to check the program. Setting the switch at MACHINE LOCK inhibits
Rapid traverse (GOO) rate for dry run operation. axis movement including Zero Return. The po-
can be set by settin g parameter # II 6006D 2. " sition display is updated. M-, S-. and T-func-
tions are executed. This position is selected to
preset the display or to check the tape data.
Parameter Rapid Traverse at
# II 6006D 21t Dry Run Operation
tlO" Rapid traverse rate*
1\ lit Jog feedrate

* The tool moves at the traverse rate


set by RAPID TRAVERSE RATE
OVERRIDE switch if pr~~>vided.

180
5.1.22A Z-AXIS FEED NEGLECT SWITCH 5.1.22C 5TH AXIS NEGLECT INPUT

The switch is used for dr\, run operation or draw- ( I) When the POWER ON switch is pushed with
ing-check operation on the X-V plane. Turning a 5th axis neglect input on (contact is closed),
on the switch causes the Z-axis in MACHINE the system is equivalent to one without the 5th
LOCK condition. The Z-axis movement is in- axis control. If motion along the 5th axis is
hibited. though the position display is updated. commanded in this state, the machine remains
motionless along the 5th axis. but the position
Operate the switch when the machine is stopped. display indicates the supressed motion. (Machine
That is. the switch does not function except when lock state).
the machine is stopped at the block end by SIN-
GLE BLOCK switch or temporarily stopped by
FEED HOLD pushbutton.
\'ASl\AC

Df--+=-----l ~
5.1.22B 4TH AXIS NEGLECT INPUT 5NG 5TH AXIS
1 1'\EGLECT
(I) When the POWER ON switch is pushed with
a 4th axis neglect input on (contact is closed) I

the system is equivalent to one without the, 4th


axis ,control. If motion along the 4th axis is
commanded in this state. the machine remains (2) The ON /OFF switching of parameter #6024
motionless along the 4th axis. but the position D6 is equivalent to the ON IOFF switching of the
display indicates the supressed motion. (Machine 5th axis neglect input. The result of those two
lock state). is determined by their logical OR.

5NG Logical OR
Input
#6024 D6 (5G N C for 5th Axis Neglect)
YASNAC
ON ON (I) ON (Glosed)
4t\G ~ 4TI! AXIS
D-I----~I ' i :-':EGLECT ON OFF (0) ON ( Closed)
OFF ON (1) ON (Closed)
OFF OFF (0) OFF (Opened)

(2) The ON /OFF switching of parameter #6023 Note: When SNC input or #6024 D6 is switched
D6 is equivalent to the ON /OFF switching of the over. be sure to switch on the power supply again.
4th axis neglect input. The result of these two Otherwise, the switching is ineffective.
is determined by their logical OR.

4NG Logical OR
Input #6024 D6 (4GNC for 4th Axis Neglect)
ON ON (I) ON (Closed)
ON OFF (0) ON (Closed)
OFF ON (I) ON (Closed)
OFF OFF(O) OFF (Opened)

Note: When 4NC input or #6023 D6 is switched


over. be sure to switch on the power supply again.
Otherwise, the switching is ineffective.

181
5.1.23 M-FUNCTION LOCK SWITCH When MANUAL ABSOLUTE switch is off.
(AUXILIARY FUNCTION LOCK)
Aftet" the automatic operation is interrupted by
When the M-FUNCTION LOCK switch is on. it manual operation. the coordinate system is
ignores the M, S, T, and B+ commands. To shifted, and the tool performs the rest of the
check the tape data, the operation by the switch travel commands in parallel with programmed
is used in combination with MACHINE LOCK moves.
function.
ACT1JAL MOVEMENT
AUXILIARY COI1MA:-'"D
FUNCTION
LOCK GOO ~R GOI COMMAND
MA..'llJAL x
OPERATION} _ _ /
d"" \- ~ MANI "'1
OFF .... ' -
CIR\:ULAR ..... AR®C,OU.TF.
Fig. 5.13 / INTERPOLATION ......
O"""TEMPORARY STOP '0... __ _
The following M codes are executed even if the (FFED ROLO) -- (If-F
switch is set on.
MOO, MOl, M02, M30
Both its decoded signals and its BCD codes Fig. 5.15 Tool Movement with
are sent out to the machine. MANUAL ABSOLUTE Switch Off
M90 to M99
BCD code is not sent out. The parallel shift is reset by executing Refer-
ence Zero Return manually, automatically by
Turning on the M-FUNCTION LOCK switch G28, or operating the RESET key. The com-
during automatic operation becomes effective mand value is forced to change to the current
on the block after the next block of the current position. Thus the shift value is reset.
block.
Note: #6008 D3 can determine whether manual
absolute is ON or not in G91 mode; nOn --
5.1.24 MANUAL ABSOLUTE SWITCH effective, til n - - ineffective. If #6008 is set to
n I, t! and G9 I is ineffective. next G90 makes
When MANUAL ABSOLUTE SWITCH is on. manual absolute effective.

When automatic operation is restarted after in-


terrupted by manual operation, the tool per- 5.' .25 MIRROR IMAGE AXIS SELECTOR SWITCH
forms the rest of the command in the interrupted
block from the .end point of manual operation. MIRROR IMAGE AXIS switch selects the axis
The tool moves in parallel with the path speci- whose motion is reversed for programmed opera-
fied by the program. tions.

When the command of the next block is GOO or To select the mirror image axis with this switch
GOl, the tool moves automatically to the tar- as well as setting function, set the data of set-
get coordinate specified by the program. Then ting # TI6000DO_D3" to O.
the operation is performed according to block Turn on the MIRROR IMAGE AXIS switch of the
of data. axis to which Mirror Image function is assigned.
When the command of the next block is G02 or The motion of the selected mirror image axis is
G03 (circular interpolation), the interpolation set up at M95 command is given until M94 is
is performed in parallel with programmed com- commanded. For details, see 2.8.5.
mand. The tool automatically returns to the NOTE: During the M95 (Mirror Image ON) mode.
target coordinate when GOO or GOI is command- never operate the MIRROR IMAGE AXIS switch.
ed after the circular interpolation.

ACTUAL MOVEMENT

TRAVEL TO TARGET MIRROR IMAGE


MANUAL)£ COORDINATE SPECIFIED
OPERATION AXIS
/~'C- ....., BY PROGRAM COMMAND
GOO OR GOI COMMAND
X Y

/)(
.... " CIRCULAR ' ....
INTERPOLATION ® ®
cf" TEMPORARY OFF OFF
STOP
(FEED HOLD) Fig. 5.16
Fig. 5.14

182
5.1.26 TOOL LENGTH MEASUREMENT PUSH- 5.1.28 EDIT LOCK SWITCHt
BUTTON AND LAMPt
Turning on the EDIT LOCK switch prevents the
Use the WRITE button to automatically store function of ERS. INS ALT, and EOB keys, and
J

the amount of Z-axis move manually made storing from NC tape. When editing is made with
between "home-position nand flbase-position" EDIT LOCK switch turned on, "EDIT LOCK"
directly in the tool offset memory. For blinks on the CRT display.
operating procedure, reflr to 5.2.3 Automatic
Tool Length Measurement . .
5.1.29 AXIS INTERLOCK INPUT
TOOL LENGTH The control is provided with AXIS INTERLOCK
HEASUREMENTt
input for each axis to prevent axis motion.
Interlocking an axis in feed motion causes the
MEASURE- WRITE &
axis to slow down to a stop. When the interlock
MENT RETRACT is released, the axis motion finishes the inter-
a rupted block and proceeds to the next.

OJ Interlocking one of the two or three axes being


simultaneously interpolated disables the inter-
polation.
Fig. 5.17
YASNAC
ITX
5.1.27 START LOCK INPUT (OR SWITCHjt X
AXIS ITY AXIS
When the START LOCK is on. CYCLE START INTER- Y INTERLOCK
pushbutton does not function. Use the START LOCK
ITZ
LOCK input to prevent operating the ,machine in Z
abnormal condition during automatic operation.
The input may be used as on loff switch on con- IT.
trol station for machine.
• t
lTP
Pt

START
Fig. 5.19
YASNAC LOCK
START
LOCK
I-_-FS.:.T=LK,-,-~ r---1 START
LOCK 5.1.30 EXTERNAL DECELERATION INPUT
OFF SIGNALSt

In order to eliminate the danger of high speed


contact at speed end caused by erroneous motion
commands. limit switches for originating external
deceleration input signals may be installed at
Fig. 5.18 selected points.
1. During rapid traverse (bOO) and manual
operation
When the limit switch is tripped by the tool
movement. the traverse speed is decelerated
in the tripping direction to.a level set by
the parameter #6340. In the direction oppo-
site to the tripping direction. the original
_speed remains uncha~ged.

2. During mo~ion at feedrate (G94)


While the limit switch is being tripped, the
tool moves at a speed set by the parameter
#6341. If the feedrate set by the F command
is lower than the rate set by the parameter.
the original feedrate re1Jlains unchanged.

183
5.1.30 EXTERNAL DECELERATION INPUT (2) The parameters for setting prohibited areas
SIGNALSt (Cont'd) are as shown in the table below.
,

------
v
GOO~ _ _...;.i_____ ,
X Y Z
I ,
: \ SPEED SET BY PARAMETER Point A3 #6650 #6651 #6652
\ \ 16)40 3rd
F COMMAND I \ SPEED $[T BY PARAHETER
Point B3 #6653 #6654 #6655
'---4:' )-L 116341 Point A4 #6656 #6657 #6658
"~~-------<r--'-
I
4th
Point B4 #6659 #6660 #6661 Paramett
L _ _ _- 'I___________ t(x)

S TRAVERSE RATE CLAMP LIMIT S\,'ITCH 5th


Point A5
Point B5
#6662
#6665
#6663
#6666
#6664
#6667
RELEASED
j OPERATED

Fig. 5.20 Point A sets the boundary value on the positiv


(+) side of the machine coordinate system and
paint B sets the boundary value on the negative
YASNAC
(-) side.
+EDCX
+X (3) Setting of the inside or outside of the 3rd.
4th and 5th prohibited areas as the prohibiteC:
-EDCX
-x area is performed simultaneously by the following
parameters.
+EDCY
+Y
TRAVERSE
TRAVERSE -EDCY -Y RATE #6007 D 1 Meaning
RATE CLAMP II 011 Inside Prohibited
CLAMP +EDCZ
LIMIT +Z LIMIT II lit Outside prohibited
SWITCH
SWITCH
-EDCZ -Z
(4) The following external signals are used to
+EDCa turn on area check of either the 3rd or 4th
1--+----<l...Q--~+ " prohibited area.
Fig. 5.21
-EDC a

#1312
Meaning
DI DO
0 0 3rd to 5th prohibited area check OF
Notes: 0 1 3rd prohibited area check ON
i. The external deceleration function is ineffec- 1 0 4th prohibited area check ON
tive on feedrate specified in mm per revolu- 1 1 5th prohibited area check ON
tion of the spindle (mm frev) .
ii. It is also ineffective on the HANDLE feed. 0: Contact open 1: Contact closed

5.1.31 THIRD TO FIFTH STORED STROKEt


When this function is not used. set input
signal #1312 DO and D1 to 110. 11
By adding the stored stroke limit function (G22,
G23). it is possible to set the third, 4th and Note: Same as the notes for sec lion 2.9,12 "STORED
fifth prohibited areas simultaneously. However, STROKE LIMIT' on page 34.
selecting the ON IOFF state of this function must
be by means of an external signal.
(1) 3rd. 4th and 5th prohibited areas
The 3rd. 4th. and 5th prohibited areas can be
set by means of the parameters "Address Stroke
Limit -3. -4. -5 11

A3(X, Y .2)

PROHIBITED AREA B A4(X,Y,ZI

4TH PROHIBITED AREA B AS(X,Y,2,)

5TH PROHIBITED AREA

B3{X,Y,Z) B4()',Y.Z} BS{X. Y ,Z)

184
5.2 OPERATION PROCEDURE

5.2.1 MANUAL RETURN TO REFERENCE v


POINT

With this function. the tool is returned to the


reference point manually. The procedure is as
follows.
L-----______ -r__ ~----~~~--~SPEED SEQUENCE
1. Set the mode select switch to RAPID or JOG. @
------------~~~~-1~'----~--~DECEL
, , LS SIGNAL
2. Manually move the tool to a position some '---~'. ,
distance away from the reference point.
When the tool is within the range A shown
below. it can be brought back to the refer-
"
---~ZEROPOINT SIGNAL
ence point in the normal way, as described AREA A AREA B
below.
c
3. Turn on the REFERENCE POINT RETURN
switch.
CD RATIO TRA VERSE RATE @ APPROACH SPEED 2
(H280-·#6284) (#6316-#6320)
4. Keep the JOG button for the return direction ·:2) DECELERATION POINT ® TRA VERSE DISTANCE
depressed. The tool starts to move as in the (#6304-#6308)
(3) APPROACH SPEED \
normal manual control, but the speed is de-
celerated at the deceleration point. and the «6310-#6314) ® DOG WIDTH
motion stops automatically at the reference
point. Fig. 5.22

5. Then. the REFERENCE POINT lamp for the Notes:


relevan t axis lights.
a. As long as the power supply is turned on,
'either the manual or the automatic return to
reference point can be initiated. regardless
of the tool position. but the tool will not re-
turn to the reference point accurately if the
tool is started from a point in the area B. Be
sure to bring the tool into the area A before
initiating a manual or automatic return motion.

b. Once the tool is returned to the reference


~point. the point C is stored. and if the refer-
ence return motion is initiated from a point in
the area B, this is regarded as an error. Start
the reference return motion from a position in
the area A.

185
5.2.1 MANUAL RETURN TO REFERENCE (d) The 1st reference point return mode and the
POINT (Cont'd) 2nd reference point return mode cannot be used a'
the same time. If the two inputs are turned on a1
c. Once the tool is returned to the reference the same time, both modes will become invalid.
point, it can not be further moved in the same
(e) The -X (or -Y, -Z) input as well as the +X «
direction unless the REFERENCE POINT RE-
+Y, +2) input is effective as the 2nd reference
TURN switch is turned off.
point return input.
d. While the MACHINE LOCK switch is on. the
reference point return function is ineffective.
5.2.1.2 EASY REFERENCE POINT RETURN
e. Do not return the tool to the reference point When setting the machine reference point the
by the manual reference point return func- position where the C-phase pulse is actually outpu
tion, while the buffer is loaded with blocks to the dog position cannot be measured. Thus th(
read in advance of execution. because the dog position must be adjusted and tried several
stored motion data will be erased by the times to find the optimum position. This function
reference point return motion. eliminates the need of the uncertain dog adjustmen
the optimum reference point position can be set
JOG
rapidly and without failure, just by rewriting the
/r----------~~~--------~, REFERENCE POINTt internal data.
+X tY tZ +a +8 X Y Z a fi The new concept of the theoretical C-phase

DDDDD o 0 0 00
I
pulse is employed to embody this function. The
C-phase pulse position output for a single pulse p(

DDlDJDD REFERENCE POINT


RETURN

@)
OFF
motor rotation is mechanically fixed, and cannot bE
adjusted. Therefore, another theoretical C-phase
pulse that generates at an optional position of a
motor rotation is assumed. This theoretical C-pha:
pulse is represented by the shift distance from th(
Fig. 5.23 C-phase pulse.

5.2.1.1 2ND MANUAL REFERENCE POINT RETURN (I) Function


The reference point return operation in this
This function is used to automatically position the function is completely the same as the conventional
machine at the 2nd reference point under manual reference point return. The concept of a
mode. Positioning can be made without observing theoretical C-phase is used in this function to a11m
upon which side of the 2nd zero point the current the positional relation between the dog and the
position is located. C-phase pulse as well as the relation between the
dog and the reference point position to be changec·
( 1) Function can be accomplished just by rewriting the
(a) Command ZRN2 (2nd reference point return parameter, instead of adjusting the dog position.
request) and +X (or +Y. +Z) under JOG or RAPID Therefore, latch mistakes can be avoided, even
mode. to position the X-axis (or Y-axis, Z-axis) at when the C-phase pulse is near the dog switching
the 2nd reference point. The move speed for point. by increasing or decreasing the theoretical
positioning is the JOG or RAPID feedrate. C-phase shift distance. The distance from the do!
to the reference point can be kept constant, by
(b) If ZRN2 turns off (= 0) while moving to the adjusting the final run distance. In other words.
2nd reference point, the move will stop before the reference point position can be set at an
completion. If the 2RN2 is turned on (= 1) again, optional distance from the dog. regardless of the
the move will restart. C-phase pulse position.
(c) If +X (or +Y, +2) turns off (=0) while moving
to the 2nd reference point. the move will also stop. D O G - - - - , _ _- - - . J - - - - -
Turn on (= 1) +X (or +Y. +2) again, to restart the
move. C_PHASE----flL----'nL-----'nL--.....J~
(2) Notes
~~~~~~~ICAL::.....---+----!f'L--------'nL--------!nL------.....,~~,
(ci) Inputting the 2nd reference point return mode : RUN
when the 1st reference point is still not completed : DISTANCE:
is not permitted. SHIFT DISTANGE

(b) The -X (or -Y, -2) inputs are also valid in the REFERENCE POINl
2nd reference point return mode. Therefore. the Fig. 5.24
2nd reference point return will not stop before
completion by turning on the -X (or -Y. -2) input.
(c) If the mode is switched to modes other than the
JOG or RAPID modes during the 2nd reference
point return. the 2RN2 input is regarded to be
turned off.

186
(2) Related parameters (EXAMPLE) When the theoretical C-phase shift
#6010 DO to D4: Reference point return direction of distance is set too large that the
each axis distance from the deceleration limit
1: -/0: + switch to the theoretical C-phase pulse
#6016 DO to D4: Reference point return of each is larger than the motor pitch.
axis
I: Enabled/O: Disabled (EXAMPLE) When the setting value of the final run
#6304 to #6308: Run distance from the theoretical distance is negative and the distance
C-phase exceeded the distance from the deceler-
Setting range: -32768 to 32767 ation limit switch to the theoretical
#6310 to #6314: Reference point return approach C-phase pulse.
speed I
Setting range: 0 to 24000
5.2.2 AUTOMATIC COORDINATE SYSTEM
#6316 to #6320: Reference point return approach SETTINGt
speed 2
Setting range: 0 to 24000 With this function. a new coordinate system is
#6444 to #6448: Move distance per motor rotation set up automatically upon the return of the tool
Setting range: 1 to 65535 to the reference point by the manual reference
#6480 to #6484: Theoretical C-phase shift distance point return function. The coordinates of the
Setting range: -32768 to 32767 new origin are preset with the following param-
eters. The coordinate system set up by this
NOTE:
function is equivalent to the ones set up by G92.
Always turn off the power one time when change is
made to the above parameters. 1. Parameters for metric input system

(3) Adjustment Parameter Meaning


(a) When the deceleration limit switch of the
#6636 X coordinate
machine reference point is at an optional position
#6637 Y coordinate
0) Set the parameter. The temporary setting is #6638 Z coordinate
run distance (#6304 to #6308) 0, theoretical C-phase
shift distance (#6480 to #6484) 1000. #6639 4th coordinate
#6640 5th coordinate
(ii) Perform reference point return.
(iii) If it stopped before the machine zero point,
add the distance from that position to the machine
zero point to the theoretical C-phase shift distance. 2. Parameters for inch input system
If it stopped beyond the machine zero point,
subtract the distance from that position to the Parameter Meaning
machine zero point from the theoretical C-phase
shift distance. #6630 X coordinate
#6631 Y coordinate
(iv) Fine adjustment for the true machine zero point
can be made .by the theoI:'etical .C-phase shift #6632 Z coordinate
distance or by the run distance.' . .. '. #6633 4th coordinate
#6634 5th coordinate
(b) Wit'en t;he r.nachine ze'ro 'poirit an'd .the " .:.

<.'
deceleration limit switch·.'are~at 1/2 the- distance of
the l?all screw pitch .... ··:.: ~,"'.."',
3. Axis can be selected by parameter #6015 for
(i) ~djust: the rriachi~e ~~~o point assuming that the both metric and inch systems.
above. machine '!er?: point Jii!) :i~ at·.l/? th.e· ball
screw' pitch •. Fine. ct;djustment for' the' true machine
zero point" can be made ?y.:}he··,run.:distance •.

(4) Notes" , '


(a) Perform reference·.point" r'eturn"after "r.eturning
from the dece~eration :limit switch position':'~ If the
distance to go beyond t~e dec~leration limit ,switch
is too. short, alarms 321 ,to 2~5 occur.
(b) If the se'tting of the theoretical C-phase shift
distance (#6480 to #6484) and the run distance
(#6304 to #6308) are not appropriate, pull-back
occurs, to cause alarms 261 to 265. If this occurs,
set a larger value for the run distance, or make
any necessary parameter adjustments.

187
5.2.3 AUTOMATIC TOOL LENGTH MEA5URE-
MENTt

When a tool mounted on the spindle is manually


brought to a position where the tool tip makes +2
contact with the reference surface for Z-axis,
and the WRITE & RETRACT button is pushed. HOME POS I nON
the following operations are performed by the MOVE
control. MEAS-
URE-
a. The distance between the set Z-axis home MENT
position and the reference surface is stored (ML) TOOL TOUCH POSITION

T\
automatically in the memory having the cur-
rently specified correction number. --'_,_lLLLLLC+'l BASE POSITION (B)
The difference between tool touch position
and base position ,:an be set by parameter.
WORKPIECE T OL
LENGTH
h. Increase the correction number by I, in pre- MEASUREMENT
paration for the next writing. BLOCKGAGE SETTING 116507

c. Return the tool to the Z-axis home position.


Fig. 5.25
1. Measuring method (parameter #6039D4 = 110 11
)
Home position is the point where measure-
ment starts. Measurement is made with the
a. Mount a tool on the spindle. and move it to point temporarily determined as coordinate O.
a Z-axis position which is to be set as the
home position. Any position may be set as Note: To display this position as coordinate
the home position. but for facilitating tool O. reset the POSITION [UNIVERSAL] referring
changing process. the tool changing position to par. 4.3.4.1. However the proceeding can
may be set up as the home position. be made normally regardless of this reset.
~
h. Select the manual operation mode (RAPID. Return the function key [I I]'
OFS
JOG. HANDLE or STEP) using MODE SE-
LECT switch. f. Set the tool to the tool touch position by
~
c. Push the function key [I OFS II· controlling Z-axis manually. Tool touch po-
sition is the position specified arbitrarily
based on the base position (machine work-
The offset number specified previously and piece surface). The difference between tool
related data are displayed. touch position and base position is set in
advance in setting #6507 (n 1!1 ;;: input unit).
d. The page covering tool offset values speci- The difference is regarded as thickness of
fied the tool offset number keyed in will be block gage. Write it in plus value.
shown. The specified number is shown by

e. Push the MEASUREMENT button when the


motion stops. MEASUREMENT lamp lights
and the current position of Z-axis will be
set as home position.
(The button is effective only in the manual
~
operation mode and while the 11 !] key is
selected. OFS

TOOL LENGTH MEASUREMENTt

MEASURE- WRITE.
MENT RETRACT WRITE & RETRACT WHERE TOOL LENGTH
a PUSHBUTTON MEASUREMENT BIAS

D #6507=10.000 MM

Fig. 5.26
Fig. 5.24
The figure above shows the value in the
offset number 05.
188
g. Depress the WRITE & RETRACT button The bottom level which is used as a base of
.... The N~ equipment executes the calc~lating remaining distance can be set by
next operation settmg #6508 (bottom level setting, 1 ~ input
uni t). W.·i tin g opera tion is t he same as
i. The distance from home position to base described in step I.
posi tion. tha t is. move measure men t (M L)
is stored as the contents of offset no.
specified.

ii. The tool automatically returns in the z-


direction to the home position in rapid
,---"9-'-<;r-------~ IIml[ POSITION
traverse.
TOOL LENGTH
iii. The tool offset number is increased by
tlEIISUREHENT
one in preparation for next writing of BillS on 116507
offset value.
(When it is H99. HOI is designated.) .
-j_,_lLJ.LL'"-''-,_---'__+_ BIIS E POS I Tl ON
REMAINING BOTTml LEVEL
h. Exchange the tool with a next tool by manual IWRKPTf.CE SETTING (II)
DISTANCE
operation or by MDI operation. Even when #6508
the MDI mode is switched on. the MEASURE~ BOTTOH LEVEL
MENT lamp remains lighted. Return to the
MANUAL mode afterwards.

i. Repeat the processes f. through h. to store Fig. 5.27


all the required offset values.
3. Measurement by NC control station
j. Push the MEASUREMENT key.
The MEASURE~ENT lamp goes out, and the a. Without using MEASUREMENT button.
automatic writing function is turned off. the same measuring method as referring
The length measuring data also disappears to step 1 on page 188 can be performed
from the CRT. with NC control station.
b. Instead of the MEASUREMENT button,
Notes: execute as follows.
In this automatic writing mode, ,the mea-
sured values are stored in the absolute
values. i. Depress their p:s li and 11[;;111 keys
When the home position is different from to select the page of POSITION
the tool change position the new tool may
I [UNIVERSALl.
be brought to the reference surface di-
rectly without first returning to the home
position. Once the home posi tion has been
ii. Reset the display by depressing II z II
set up by the use of the MEASUREMENT andEJkeys. This means
key J repositioning to the home position is
not necessary. that home position is· set to non.
When the WRITE & RETRACT key is de- iii. Return the function mode to offset
pressed with HIOO designated, offset amount c::§:]
will not be changed. Execute TLM operation by depreSsingl! OFS I) key •
by moving the CURSOR AFTER HOI.
c. Instead of the WRITE & RETRACT
key, execute as follows.
2. Remaining distance measurement
(Pm. #6039D4 = tI}II) i. Depress thell Z Ijand II WR Ijkeys.
a. For the set of Pm. #6039D4= 11111, store .. 'This results in the automatic writing
the remaining distance RL instead of move of the same tool offset measured as
measurement ~IL to tool offset memory. written in step 1. '
The Z-axis, however. will not return
to home position.

d. In this measurement operation. parameter


#6039D4 (move measurement value/remain-
ing distance switching) is effective.
Storing either one of the values is deter-
mined by parameter.

189
5.2.ij PROGRAM RESTARTt (5) Set the head of the part program as follows:

Machining may be restarted from the block that Set memory mode, key-in the program number
follows the one for which the sequence number (Oxxxx) to be restarted, and press
was specified. This restart is useful when re- ICUR~SORI key.
placing the broken tool or taking over the ma~
chining operation from the last work shift.
TOOL RETRACTED POSITION
(OPERATION FOR PROGRAM
(6) Key-inP, sequence number, and ICU~SORI
RESTART WILL BE MADE in this order. The sequence number is the one
HERE) that was taken note of in step (4).

',-------1
While making the setups for program restart, the
' RETRAC- control searches for the block of the specified
:TION sequence number. If the same sequence number
,
~
appears repeatedly, the nth sequence number may
1 MANUAL be specified.

BLO~
SEARCHING
FOR PROGRAM
RESTART
tRESTART
-
\
OPERATION
X---0

MACHINING INTERkuPTED
POINT (FEED HOLD, etc)
L'
p00040123

L~OW-ORDER 4 DIGITS,
SEQUENCE NO.

HIGH-ORDER 4 DIGITS:
NO. OF TIMES

For example, the nth sequence number may be


Program restart is of either type P or type Q,
called in a subprogram for which L times of ex-
depending on whether the change of the coor-
ecution is specified. For the sequence number
dinate system before or after the restart is per-
that appears first, the high-order 4 digits may
mitted. be omitted. In this case, the leading zero of the
sequence number may also be omitted.
5.2.4.1 PROGRAM RESTART OF TYPE P
(7) When the search is completed, the CRT
In type p, the program is restarted assuming that screen automatically displays the program restart
the change of coordinate system before and after information.
the restart will not occur. Therefore. this type
is used after the replacement of the tool broken PROGRAM RETURN 00001 N012S
during operation, for example. (UNIVERSAL) M OJ JJ 10 06 45
X 100. 000 63 ** ** ** **
y- 200.000
Operation Procedure Z JOO. 000
A 45, 000
When the tool is broken during machining
operation, the automatic operation may be re- (INCREMENT) M COUNT (0006)
started in the following procedure: x- 258.774
Y 483.123 T 0015 0025
(1) Press FEED HOLD button to stop the oper- z- 182.347 S 0500
A 73.442 B 0000
ation and make the tool escape.

(2) Replace the broken tool and perform the PRN RDY
associated chores. Change the tool offset, if
required. Fig. 5.28 Display of Program
Restart Information
(3) Turn on PROGRAM RESTART switch on the
machine control station.

(4) Press PROG function key to display the


part program being executed. Take note of the
sequence number of the block immediately before
the block on which the feed-hold operation was
performed.

190
a. Position (UNIVERSAL) indicates the position (12) The macro program by the T or M code upon
of machining restart. Normally, this position is program restart can be selected to be executed or
the start point of the block on which the feed- prohibited, by the parameter. Among the macro
hold operation was performed. programs by the T or M code when restarting the
program, execution/prohibition of #6130 (M macro)
b. Position (INCREMENT) indicates the distance and #6134 (T macro) can be selected by parameter
from the current tool position to the machining setting (2 bits).
restart position.
Setting parameters
c. The M codes and the number of M codes #6073 DO
designated (M COUNT) from the head of the pro- ;; 1: Prohibit execution of the M code macro
gram to the block of the specified sequence num- ;; 0: Allow execution of the M code macro #6073 Dl
ber are displayed. However. if the number of #6073 D 1
designated M codes exceeds 35, the 35 M codes :;:; 1: Prohibit execution of the T code macro
as counted from the specified block are displayed. :;:; 0: Allow execution of the T code macro

d. The two last T codes specified up to the 5.2.4.2 PROGRAM RESTART OF TYPE Q
designated block are displayed.
If the coordinate system is changed by any of the
e .. The last S code specified up to the designated following operations performed after the inter-
block is displayed. ruption automatic operation, use the program
restart of type Q:
f. The last B code specified up to the designated
block is displayed. (1) The machine power was turned off.

Note: The M codes and T codes are displayed in (2) G92 is specified by MDI operation.
the order in which they were specified. The
code displayed last is nearest the designated (3) The setting of work coordinate system is
block. specified.

(8) Turn off PROGRAM RESTART switch on the (4) The automatic setting of work coordinate
machine control station. system was specified by reference-point return.

(9) Look at the displayed program restart infor- (5) ORG key was pressed.
mation and specify the M, T, S, or B code
necessary for the restart as shown below:
Operational Procedure
a. Set MDI mode.
The automatic operation interrupted by any of
b. Press PROG function key. the above operations may be resumed using the
following procedure:
c. Key-in the necessary M, T, S. or B code and
depress WR key. (1) When the machine power is turned on after
the interruption of machining, perform the nec-
d. Press CYCLE START button.· essary operations such as referen.ce-point return.

(2) Manually move the. tool to the start point (of


e. Press POS function key and check the dis-
play of program restart information. machining) of the part program. Change the
tool offset amount if necessary.

(10) Set the me~ory mode. (3) Turn on PROGRAM RESTART switch on the
machine control station.
(11) Depress CYCLE START button.
(4) Press PROG function key to display the part
The tool moves to the machining restart position. program (being executed). Record the sequence
axis by axis; that is, the 4th axis. 5th axis, X- number of the block immediately before the block
axis, Y-axis, and Z-axis. in this order. Then. to be .restarted.
the automatic operation restarts from the head of
the block (on which the feed-hold operation was (5) Set the head of the part progra":J as follows:
performed) that follows the block of the desig-
nated sequence number. Set memory mode. key-in the program number
(Oxxxx) to b e restarte d ,an d d epress. CUR+SORI.
I
key.

191
5.2.4.2 PROGRAM RESTART OF TYPE Q CONSIDERATIONS AND REMARKS
(Cont'd)
(1) Before depressing CYCLE START button to
restart the program execution, check to see if
(6) Key-in Q, sequence number, and. CUR.SORi. the axis-by-axis tool movement (the 4th axis,
i 5th axis,X-axis,Y-axis, and Z-axis, in this order)
in this order. The seq uenee number is the one interferes with the work or any part of the ma-
that was taken note of in step (4). chine. If the tool is found interfering, correct the
While making the setups for program restart. the tool position manually.
machine searches the block of the specified seq-
uence number. If the same sequence number (2) In both types P and Q, the tool which is
appears repeatedly the nth sequence number
J moving to the machining restart position axis-by-
may be specified. axis may be single-block-stopped after the com-
pletion of the movement for each axis. Even if
Q00040123 the incremental shift amount is 11 0,11 the singlc-

L
L~OW-ORDER
block stop is performed when SINGLE BLOCK
4 DIGITS: switch is on. When the single-block stop is per-
SEQUENCE NO. formed, however, the intervention of MDI oper-
ation is not allowed. Manual intervention is
HIGH-ORDER 4 DIGITS: possible. But, if a manual intervention is per-
NUMBER OF TIMES formed on the axis which has already returned,
it will not return to the machining restart posi-
tion again.
For example, the nth sequence number may be
called in a subprogram for which L times of exe-
cution was specified. For the sequence number (3) During the search operation for program
that appears first. the high-order 4 digits may restart, set the switches on the machine control
be omitted. In this case, the leading zero of station to the state before commanding program
the sequence number may also be omitted. restart. Otherwise, the former position cannot
be reached.
(7) When the search is completed, the CRT (4) When a feed-hold operation was performed
screen automatically displays the program restart during the search operation for program restart,
information. . or a reset operation was performed during or after
the search operation, perform the operations all
(8) Turn off PROGRAM RESTART switch. over again.

(9) Look at the displayed program restart infor- (5) When PROGRAM RESTART switch is on, the
mation and specify the M, T, S, or B code re- operation of CYCLE START button is ignored.
quired for the restart in MOl mode.
(6) Whether it is before or after machining, each
( 10) Set the memory mode. manual operation should be performed with MAN-
UAL ABSOLUTE switch on and MACHINE LOCK
(1) Depress CYCLE START button. switch off.
The tool moves to the machining restart position,
axis by axis; that is, the 4th axis, 5th axis, X- (7) In any of the following situations, the tool
axis, Y- axis, and Z-axis, in this order. Then, cannot return to the correct position:
the automatic operation restarts from the' head of
the block (on which the feed-hold operation was a. A manual operation was performed with MAN-
performed) that follows the block of the designated UAL ABSOLUTE switch off.
sequence number.
b. A manual operation was performed with MA-
(12) When the canned cycle count is specified (L CHINE LOCK switch on.
counts). it moves to the final machining cycle
position. c. The search operation for program restart was
performed with MACHINE LOCK switch on and
(13) The macro program by the T or M code upon then this switch was turned off.
program restart can be selected to be executed or
prohibited, by the parameter. Among the macro d. A manual intervention was performed during
programs by the T or M code when restarting the the axis shift to the return position.
program, execution/prohibition of #6130 (M macro)
and #6134 (T macro) can be selected by parameter (8) In type P, any of the following operations
setting (2 bits). performed in the time between the discontinuation
of machining and the search operation for pro-
Setting parameters gram restart will cause an error:
#6073 DO
::: 1: Prohibit execution of the M code macro a. The setting of coordinate system was speci-
::: 0: Allow execution of the M code macro
fied.
#6073 DI ERROR'" 121 PRTN ERROR (G92)
::: 1: Prohibit execution of the T code macro
::: 0: Allow execution of the T code macro
192
b. The setting of work coordinate system was (4) Register the new program number after
specified. address O. To register 01234, for example, key
ERROR··· 122 PRTN ERROR (G54 - G59) -in 0, 1, 2, 3, 4 and depress the WR key.
The numbers are displayed as they are keyed-in.
c. The coordinate system was modified by See Fig.
operation ORG key.
ERROR··· 123 PRTN ERROR (ORG) PROG(PLAYBACK) 00001 NOOIO
In type p. the correct program restart is made Q0001;
possible only for the blocks that follow the one NOOOI G92 X140 Y100 Z30;
for which the coordinate-system setting was per- N0002 GOO S1200 T0202 M03;
formed last before the discontinuation of machin- N0003 G41;
ing. N0004 XO Z500;
N0005 GOI ZO F20;
(9) If a specified block has not been found. it N0006 X2000;
will cause an error. N0007 Z-2000;
+ Error 120 PRTN ERROR (NOT FOUND) N0008 Y2000;
N0009 X3000 Y4000;
(10) After turning power on, operation for 'pro- POS Xl234, 567 Y2345, 678
gram restart without any returning to reference (UNIV) Z- 2345, 789
point will cause an error. LSK RDY
... Error - - ZR UNREADY
Fig. 5.29
(11) After search operation for program restart is
completed, if shaft is transferred by MDI before
moving shaft, it will cause an error .. PROG(PLAYBACK) 01234 NOOIO
+ Error 124 PRTN ERROR (MDIMOVE)
01234 ;
(12) In program restart operation during modifying
tool dia, MDI cannot instruct M. S. T or B. In this
case, use manual MDI operation (interruption into
actual buffer during modifying codes).

(13) IIPRNII blinks at the last line of CRT screen


between the times when program restart search is
instructed and when last axis-Z is completed to
return.

(14) In DNe operation or tape operation program


can not be restarted. GOOX1234, 567 LSK RDY

5.2.5 PLAYBACK FUNCTIONt EDIT BUFFER REGISTER

The current axis position during movement can Fig. 5.30


be stored as command value in the part program.
This function is permitted in the PLAYBACK
mode when PLAYBACK switch is turned on in (5) Move the axis to the p~sition which will be
manual operation mode. written as command.
To turn on PLAYBACK mode, activate the PLAY- (6) Depress the address key for the axis whose
BACK switch on the machine control station or position is written.
set #6000 D5 at II 1. 11 Procedure for storing pro-
gram in the PLAYBACK mode is as follows. (7) Depress the WR key.
The displayed current value is the command
0) Set the control in the manual operation mode
value of the selected .address. Key-in the
(RAPID, JOG. STEP, or HANDLE).
numerical data before depressing the WR key,
and the total amount of keyed-in value plus cur-
(2) Turn on the PLAYBACK switch. rent value will be the new command value.
(3) Depress the PROG key of function keys. NOTE: The current value in POSITION (UNI-
The CRT screen shows the contents of part pro- VERSAL) is displayed by depressing the PROG
gram number 0 plus 4 digits and the current key in the PLAYBACK mode. It is the same
value at the bottom. .
display as that shown in POSITION (UNIVERSAL)
by depressing the POS key.

(8) Write-in the value. except for axis. by a


block of data in the same way as writing in the
EDIT mode~ (See 4.6 EDIT.)

193
5.2.5 PLAYBACK FUNCTIONt (Cont'd) A. Procedure of changing current position
data using GOO when machine was moved from
(9) Depress the EOB key. point A to point B. Sequence No. for this data
block is NOOOI.
(10) Depress the WSRT key.
A block of data is stored in the part program. (1) Key-in N, O. O. O. 1.
Do not depress the WR key. If depressed,
(ll) Repeat steps (5) through (10) until the tllNPUT ERROR" will appear on the screen.
desired data is written.
(2) Key-in G. O. O.
(12) Key-in M02; or M30; at the end of the
part program. (3) Depress WR key after X.

Notes: (4) Depress the EOB key.


1. The part program stored in the PLAYBACK (5) Depress the INSRT key.
operation can be edited in both PLA YBACK and
EDIT modes. Position data stored in the Then, block of NOOOI GOO XO.700; will be
PLAYBACK operation can be edited (deletion. stored in the part program.
insertion. alteration).
B. Procedure for storing current position data
2. The current value in POSITION (UNIVERSAL) using Gal, F02 when machine was moved from
can be written-in using the WR key. point B to point C. Sequence No. for this
data block is N0002.
3. Part programs made by PLAYBACK operation
and the ones made by writing operation are the (1) Key-in N, 0, 0, O. 2.
same. Maximum capacity of part program is the
total of both programs. ( 2) Key-in G, O. I.
4. When the parameter #6006 D5 (ten times the ( 3) Depress the WR key after Z.
input) is "1,11 data written through the keyboard
will be multiplied by ten. (4) Key-in F. 2, O.
Ex. At the current position Xl. 000. keying-in ( 5) Depress the EOB key.
X. I. O. and depressin g the WR key will store
the value Xl. 1000. ( 6) Depress the INSRT key.

5. MDI operation cannot be intervened during Then block of N0002 GOI Z o. 600 F20; will be
compensation C in the PLAYBACK mode. If the stored in the part program.
Cycle Start pushbutton is depressed in the
PLAYBACK mode, message npLAYBACK LOCK,It C. Procedure for storing current position data
will be displayed. With PLAYBACK switch using GOO when machine was moved from point
turned off, MDI operation can function. C to point D. Sequence No. for this data block
is N0003.
0) Key-in N, 0, 0, 0, 3.
Writing Operation
( 2) Key-in G, 0, O.
y
( 3) Depress the WR key after Y.
( 4) Depress the EOB key.
( 5) Depress the ]NSRT key.

Then, block of N0003 GOO Y1.000; will be stored


in the part program.

D. Procedure of storing current position data


for three axes simultaneously when machine was
moved from point A to point D with linear inter
polation Sequence No. for the data block is
N0004. .

(1) Key-in N. O. 0, 0, 4.
z
(2) Key-in G, 0, 1.
Fig. 5.31
(3) Depress the WR key after X.
Data of positioning at point A is stored in the (4) Depress the WR key after Y.
part program. The block after point A is
stored in the PLAYBACK mode.

194
(5) Depress the WR key after Z.
PROG (PLA YBACK) OOOlONOOOO
(6) Key-in F, I, a, a.
00.0.1 a;
G91 G28 xa YO ZO;
(7) . Depress the EOB key.
G92 X9 yo. ZO;
G90 GOO XO.4 YO.2 ZOo 3;
(8) Depress the INSRT key. Nooai Goa XO.700;
Nooa2 Gal za.6aa F20;
Then block of Naaa4 Gal xa.7aa YI. 0.0.0. za.6aa Naaa3 Goa Yl.0ao;
FIOOj will be stored in the part program. Noa04 GOI XO.700 Y1.0ao ZO.600 FIOO!.
E. When the machine current position is at POS x .700 Y 1. 000
point D (70.0., 10.0.0., 60.0.) with start at A, follow (UNIV) Z .600
the procedure to store the current position data
using the position data of point D when the N0005 GOIXO.5 RDY
machine is moved from point A to point E (1200.
80.0., 60.0.).
Fig. 5.32
Key-in the incremental value for each axis when
BY DEPRESSING WR KEY,
machine moves from point D to point E.
POSITION X IS ADDED TO
Sequence No. for this data block is N0005.
THE KEYED-IN VALUE.
AFTER THAT, EACH TIME
THE KEY IS DEPRESSED,
POSITION X IS INCREASED
BY MULTIPLES (X2, X4,
X8 ... ).

PROG (PLA YBACK) OOOIONOOOO


00010;
G91 G28 XO YO ZO;
G92 XO YO ZO;
G90 GOO XO.4 YO.2 ZO.3;
NOOOI GOO XO.700;
N0002 GOI ZO.600 F20;
N0003 GOO YI. 000;
N0004 GOI XO.700 YI.OOO ZO.600 FIOO,-

POS x 700 Y 1. 000


(UNIV) Z 600

N0005 GOI Xl. 200 RDY

Fig. 5.33

(1) Key-in N. O. 0, 0, 5.

( 2) Key-in G. 0, ].

( 3) Depress the WR key after keying-in XO.5.

( 4) Depress the WR key after keying-in Y-0.2

>~ ,
( 5) Depress the WR key after keying-in Z.

( 6) Key-in F. I, 0, O.

( 7) Depress the EOB key.

( 8) Depress the INSRT key.

Then. block of N0005 GOI XL 200 YO.800 ZO.600


FO.600 fIOO; will be stored in the part program.

195
5.2.5.1 PLAYBACK FUNCTION 2 (f) Turn ON the external writing signal (#13094).
The current value of the axis specified in parame1
In addition to the conventional playback function, #6072 as well as the F, S, and T values are
the current value of each axis, as well as the compared with the old values; if any change is
cutting feedrate F t spindle speed S and tool observed, the new value is written • .
command T execution value can be written by the
external writing signal. (g) Repeat the above (e) and ({). to edit the
setting values.
(1) Writing by key operation * If th~ axis move is not completed when the
The operation procedure is as usual. Refer to the writing signal is input, tlINPUT ERROR!! flashes 0
Operator's manual (Par. 5.2.5.1, Playback the CRT, to disable any insertion until this error
function II) • canceled by the cancel key.
The cutting feedrateI: , spindle speed S and tool
command T are also written in the same way as the Note:
axis data. Note that if a numeral is typed on the The following are the command values of F. S, an,
keyboard before depressing the WR key, the T.
numeral becomes the command value. If no numeral
is input on the keyboard after typing F or S, over- F: Current command F x Override (%)
ridden values of the current cutting feedrate S: Current command S x Override (%)
command F or" spindle speed S become the command T: Current command tool
value.

(2) Writing .by the external writing signal 5.2.6 MANUAL SKIP FUNCTION

IExternal writing signal #130941 (l) Outline


The operation (feed) stops by turning ON the
When this signal is input, the current value of the tactile sensor under the manual skip mode.
axis specified by parameter #6072, as well as the The coordinate value where the tactile sensor
cutting feedrate F, spindle speed S and tool turned on can also be read.
command T values Can be written as the command
values. (2) Manual skip operation

Parameter----______________________________ ~
(a) Call up the manual mode.
(b) Call up the manual skip mode, by turning on
WSKANI (#l3356) and WSH (#l309I).
External writing is enabled only in the addresses
corresponding to the bits of parameter #6072 that - The work coordinate system shift amount
turned ON. setting screen is automatically selected.

- - The =I
Ion LED flashes.

(c) Contact the tactile sensor at an optional point


(Pl) on the datum plane, by manual handle
X-AXIS
operation.
L - Y-AXIS The X, Y and Z axes positions (POS_MACHINE)
L---Z-AXIS where the tactile sensor signal npST" turned on al
L - - - - 4 T H AXIS stored in #6844: Xl; #6845: Yl; and #6846: Z1.
L _ _ _ _ _ _ 5TH AXIS (d) Contact the tactile sensor at the second
L_________________ CUTTING.
FEEDRATE F
measurement point (P2).
L _ _ _ _ _ _ _ _ _ _ _ SPINDLE
The X, Y, Z axes positions (POS_MACHINE) whert:
SPEED S
L __________________________ TOOL the tactile sensor signal npSTu turned on are ston
COMMAND T in #6847: X2; #6848: Y2; and #6849: Z2.
(e) Contact the tactile sensor at the third meaSUrE
(3) Operation procedure ment point (P3).
(a) Select manual mode (RAPID. JOG. STEP. The X, Y. Z axes positions (POS_MACHINE) wher(
HANDLE). the tactile sensor signal uPSTI! turned on are storr
(b) Turn on the playback s,,:"itch. in #6850: X3; #6851: Y3; and #6852: Z3.
(c) Set the function key at PRG. (f) After measurement of the three points is
completed (turn WSKANI and WSH off). and exit
(d) Register the 0 number to be created. the manual skip mode.
(e) Move to the position where the command value
is to be written, according to the selected mode.

196
WSKAN1~ When the tactile sensor signal turns on, the tactile
1#13356) I sensor contact signal turns on after the position is

;;~~ 1)
fixed, and when the tactile sensor signal turns off,
1# I 8 MS OR MORE the tactile sensor contact signal turns off after 1
PST
(1113093)
___ ....In nL_....JnL____ second.
The tactile sensor contact signal (#6191) is nOn
X: #6844 X: #6847 x : '#6850 when off, and 111' when on.
Y: :;\:6845 Y: #6848 Y: #6851
(g) Tactile sensor contact direction monitor
z: #6846 Z: #6849 Z : #6852
When the tactile sensor contact signal (see above)
Notes: turns ON, it can be made determined which axis
contacted the sensor and from which direction.
1. It is also possible to exit the manual skip mode
after measuring the first point alone.
Tactile sensor contact direction monitor (#6196)
2. If a fourth point is measured. the result will be D7 D6 D5 D4 D3 02 Dl DO
overwritten on the first point.

(3) Remarks ~x+

(a) POS [MACHINE] is used for the manual skip L _ _ _ _ _ y+


x-
measurement. Do not forget the reference point
I~~E
return before the measurement. I
(b) If writing is done without completing the
reference point return, alarm occurs when the PST
signal turns on. (ZR UNREADY (X)). (h) Manual skip warning monitor
(c) The WSKANl, WSH signals selected before The following warnings appear when a measurement
selecting the manual mode are invalid. mistake is made while using manual skip. If this
<= warning appears J #6192 becomes 111.11 It becomes non
It enters the manual skip mode ( [3 LED flashes) by resetting the warning.

only when the WSKANl, WSH signals are selected (EXAMPLE) SET P3 (Point ERROR)
after selecting the manual mode. The PST signal is
also effective only when activated (turned on from (i) Manual skip measurement point monitor
off) under the writing mode.
Refer to parameter #6194 to find on which point the
(d) Always touch (SKIP signal ON) the datum plane measurement is made.
with the same axis.' The value changes as; O. 1. 2, 0, 1, 2.
It returns to the initial state if reset during the
(e) When the tactile sensor turns on, it must be
setting (SET P2 or SET P3).
pulled back for a certain amount (parameter 41:6578),
or it cannot be moved in the same direction again.
5.2.7 FEEDRATE. SPINDLE SPEED EDITING
TACTILE SENSOR FUNCTION
ON
(1) Outline
The execution values of the feedrate and spindle

"- speed during automatic operation are stored and


feed back to the NC part program to create the
optimized program.
The feedrate (F code) and spindle speed (S code)
will be called FS in the following description.

(2) I/O
PARAMETER #6578 1 1 PULSE"
(WITHOUT SIGN) (a) Input
(i) FSCM (#13134)
(f) Tactile sensor contact signal FS editing mode
The tactile sensor contact signal operates in the Close this signal during FS editing, to prepare
following timing, when the tactile sensor signal for FS storage and FS memory change.
turns on. (ii) FSMEM (#13135)
FS storage
Close this signal during automatic operation to
TACTILE SENSOR
SIGNAL #13093 store the operation feed rate and spindle
revolution data into the internal memory.
TACTI LE SENSOR
CONTACT SIGNAL #6191

AFTER THE POSITION


IN FIXED 1,

197
5.2.7 FEEDRATE, SPINDLE SPEED EDITING (3) Functions
FUNCTION (Cont'd)
The rough calculation of the FS is made in the NC
(iii) FSCH (#13136) part program to leave the optimization of the feed
FS memory change override and spindle override after the actual
Close this signal while the automatic operation cutting.
is held, to reflect the data stored during This optimization data and the position of the ach.
automatic operation in the NC part program. cutting on the program are stored in the NC
internal memory and reflected on the part progran
(iv) FSGLR (#13357)
by closing the FS memory change input.
FS data clear
Close this signal to clear all the stored FS (a) Operation procedure
data.
(i) Call up the operation mode.
(b) Output (ii) Search the program to be operated under the
memory mode.
(i) FSMD (#12090)
During FS editing mode (iii) Close the FSCM.
This signal indicates that the FSCM is closed
(iv) Check that FSMD is output, and start the
and it is ready for FS storage and FS memory
memory operation.
editing.
When this signal changes from closed-to open, (v) Change the feedrate or the spindle speed, for
the feedrate and spindle speed data are optimization.
canceled.
(vi) Close the FSMEM when the optimization is
Oi) FSGE (#12091) completed.
End of FS memory change
(vii) Repeat (v) and (vi) sequentially.
This signal closes when the FSCH closes and
the data are reflected in the NC part program. (viii) Hold the operation (label skip status).
It opens again when the SFCH opens again. (ix) Close FSCH . . . . Enter the execution value
(iii) FSCLRE (#12092) stored from F SM EM in the part program. (The
End of FS data clear cursor position does not change.)
This signal closes when the FSCLR closes and
(x) Open FSCH . . . . FSCE closes.
the stored FS data are cleared. This signal
closes again when the FSCLR opens. (xi) Open FSCM ••.. Data stored in (v), (vi) is
canceled.

(EXAMPLE)
( Before FS editing) (After FS editing)

0 2 3 o I 2 3;

G28 XIO. YIO. C28 XIO. YIO. ZIO.


ZlO. ;
C92 XIOO. YlOO. ZIOO.
G92 XIOO. YIOO. Z100.
GOO C90 FIOO. COO C90 FIOO.
M03 S3000
M03 S3000
GOI X",; GOI X," ;

y ... ; y ... F80.S3300 ;


_ FSHEM Closes when the override reaches 80%
and S override 110%.
Z .. · ; z··· ;
X .. · y ... ; X··· y ... ;
X··· y ... F60.S3000;
X .. • y ... ; ~ OVERRIDE 60%. 5 OVERRIDE 1007.
X .. · y ... ; X'" y ... ;

X," y ... ;
X· .. y ... ;
X," y ... F50.S2400 ;
X," y ... ; ~ OVERRIDE 50%, 5 OVERRIDE 807.
X .. · y ... ;
X'" y ... ;
X .. · y ... ;
X," y ... ;
Z·" ;
z· .. ;
GOO X'" y ... Z .. · ;
COO X'" y ... z· .. ;
M30 ;
M30 ;

198
(b) Conditions for the FS editing 5.2.8 MACHINING INTERRUPTION POINT RETURN
(Conditions to store the FS data into the NC
FUNCTION *
in ternal memory)
This function is used to recover the automatic mode
(i) The FSMD must be during output. operation interruption point, after interrupting the
automatic mode and moving the machine by manual
(ii) Must be during automatic operation (STL
operation for measuring the workpiece or removing
close) •
the chips.
(iii) The effective values of the feedrate and
spindle speed are stored upon rise of the FSMEM.
(iv) The data stored in the above (iii) are all
canceled upon fall of the FSCM.
(v) Storage can be made for a maximum of 128 times
(the times that FSMEM can be closed).

(Conditions to reflect the FS data on the part


program. )
(;) The FSMD must be during output. (l) Machining interruption point recovery
(ii) Must be during automatic operation (M02/M30) procedure.
Open to close the FSCH under the above conditions. (a) Interrupt the automatic mode operation as
and the F, S data are inserted into each block follows.
according to the stored data.
CD Turn on the single-block switch.
(4) Notes
@ Depress on the feed hold button.
(a) When the FSMEM is closed two or more times in
a single block, the later feedrate becomes effective. (b) CaJl up the manual mode.
However, the FSMEM count is not incremented.
(c) Move the machine under manual, mode to free
(b) When the FSMEM is closed in the subprogram, the tool.
the FS data are inserted in the subprogram itself.
This needs care. as the subprogram may also be (d) Measure the workpiece or remove the chips.
called up from another program.
NOTE:
(c) The cycle start button is disabled while the
FSCH is closed. The condition of the machine when the mode is
switched from automatic mode to manual mode may
(d) The FSMEM cannot effectively be closed during differ in some models.
the tapping cycle.
(e) Close the FSMEM during cutting, to insert the (e) Turn on the machining interrup~ion point
F, 5 data. switch.

(f) Close the FSMEM during rapid feed. to insert (f) Depress the manual feed selection button of the
the 5 data. machining interruption point (the point where it
changed from automatic mode to manual mode).
(g) When the FSMEM is closed 128 times or more. a
warning is output. to permit no further storage. (g) Turn off the machining interruption point
return switch.
(h) The following system variable can be used to
monitor the FSMEM. (h) Return to the automatic mode, and depress the
start button to restart the automC!-tic operation.
FSMEM count #6180 128 times or more, or just
128 times (2) Notes
Warning #6181 DO 128 or over
(a) The machining interruption return switch must
(i) The FSCM cannot be closed during automatic be turned off if manual jogging is to be done. if it
operation. is during machining interruption point return.
0) The cycle start cannot be enabled while the (b) If the NC is reset after changing the mode from
FSMEM is closed. automatic mode to manual mode, no later machining
(k) Warning occurs.if editing is attempted with the interruption point return can b¢ performed.
FSMD closed, after'the FS editing is completed. (c) When move is made from the automatic mode to
manual mode, then returned to the automatic mode.
and the move is performed again by switching the
automatic mode to manual mode, the machining
interruption point is the position where the mode is
switched from automatic mode to manual mode the
last time.

199
5.2.9 CURRENT VALUE NUMERICAL SETTING
FUNCTION

Numerical setting can be made in the same way as


depressing the 110RGn key in the current position
display tl un iversal 11 and l1external" screens to
display non.

(l) Call up the manual mode. X123.456

(2) Select the "universal ll or 1I external 1l screen.

(3) Input the axis to be set-up and the data by the


keys, and then input nORGII for display set-up.
(5) Move the X axis and place the sensor on the
(4) Set "axis designation/ORGII to divide the circumference of the circle. The feed stops when
current value by two. the sensor generates a signal, and the value store
in (4) is set up at that point.
5.2.10 FEED STOP FUNCTION BY SENSOR SIGNAL (6) Move the axis in the opposite direction, and
place the sensor on the circumference of the
Turn on the sensor stop switch, to receive the reverse side.
sensor input signal necessary for centering. groove The feed stops when the sensor generates a signal
width detection step difference designation. and and the center of the two points touched by the
then to stop. When the sensor input is on, sensor is set up.
operation is not made in the approaching direction.
but only in the leading direction. (7) Repeat (4) to (6) above also on the Y axis.
Therefore, centering. groove width detection etc.
can also be performed by using this function and (8) Turn off the sensor stop mode switch.
the numerical setting function.

NOTES: 5.2.12 SPINDLE INDEXING FUNCTION


(I) The axis that stopped by sensor input will not The spindle indexing function is a function that
move unless once returned in the opposite stops the spindle at an optional position (a positior
direction. with an optional rotary angle).
Set this axis return distance in parameter 36578.
Always set this parameter to prevent sensor
chattering. (I = I pulse) 5.2.12.1 ADDITIONAL CONDITIONS FOR THE
SPINDLE INDEXING FUNCTION
(2) The sensor stop function is cancelled when the
mode is changed to the automatic mode. For The spindle indexing function must be understood
safety, it is recommended to keep the sensor away well, and the conditions consolidated before use.
from the workpiece when changing the mode to
automatic mode. (a) The S5-digit analog output option must be
incorporated.
5.2.11 MANUAL CENTERING FUNCTION (b) Out VS-626 MTIII must be mounted on the
spindle drive.
(1) Call up the manual mode. (c) PG must be mounted on the spindle or spindle
motor. and the gear ratio to be used fixed at 1:
(2) Select the current screen. II Universal ,n 1. (The best performance is gained when the
External. n
II
spindle and the motor are direct-link type.)
(3) Turn on the sensor stop mode switch. (d) The feed back pulse per spindle rotation must
be 4096.
(4) Specify the centering axis. (e) The solid tap function option must be effective
11
If X "0" or X "123.456 WR or the like is then
specified, this value is temporarily stored. and 5.2.12.2 RELATED PARAMETERS
displayed as follows.
The following parameters must be preset to use th(
spindle indexing function. If any change is made
to the parameters. always turn off the power once

(I) Spindle PG mounting position


#6065 D7 1: Motor side
0: Spindle side

200
Note: (8) Spindle indexin g rotary speed command
This parameter is used to link the spindle and the #6462 Setting unit: 1 = 500 pulsels
motor with the gear. Set 110 11 to use the spindle Setting range: I to 32767
indexing function. Standard setting value: 20

(2) Gear ratio of spindle and spindle motor Note:


#6199 Spindle side gears The spindle indexing rotary speed cannot exceed
#6198 Motor side gears the maximum speed of the spindle (#6472).
Setting range: 1 to 127
(9) Spindle indexing creep speed command
Note:
#6463 Setting unit: I::: 500 pulsels
Set the gear ratio when linking the spindle and Setting range: 1 to 32767
spindle motor with the gear. Set non both #6198 Standard setting value: 10
and #6199 when using the spindle indexing
function. Note:

(3) Spindle feedback magnification The spindle indexing creep speed cannot exceed the
maximum speed of the spindle (#6472).
#6061 D3 to DO
(0) Spindle indexing spindle stop acknowledgment
timer
D2 Setting
D3 Dl DO #6464 Setting unit: I = 8 fiS
Magnification
Setting range: 1 to 255
0 0 0 I xl Standard setting value: 1
0 0 I 0 x2
(11) Spindle indexing reference point position
0 I 0 0 x4
#6465 Setting unit: I = I pulse
I 0 0 0 x8 Setting range: 0 to 4096
Standard setting value: 0
Standard setting magnification: x 4
(12) Spindle stop acknowledgment revolutions
(4,. Feedback pulses per spindle PG rotation #6473 Setting unit: I = r/mln
#6449 Setting unit: I = 1 pulse Setting range: 0 to 30
Standard setting value: 30
Setting range: I to 32767
Standard setting value: 1024
(13) Spindle revolutions upper limit for solid tap
Notes: #6471 Setting unit: I = I r/mln
1. Set the value before commanding the spindle Setting range: 1 to 32767
feedback pulse magnification, in this parameter. Standard setting value: 4500

2. When performing spindle indexing, set the


parameter so that the feedback pulses (#6061 x 5.2.12.3 I/O SIGNALS
#6449) per spindle rotation become 4096 pulses.
The 1/0 signals described here are used to transmit
(5) Spindle revolutions against command voltage the operation request and the ending between the
10 V in the spindle indexing execution gear NC unit and the sequencer.' Spindle indexing can
normally be performed by the miscellaneous function
#6472 Setting unit: 1 = I r/mln command, without considering these 1/0 signals.
Setting range: 1 to 32767
Standard setting value: 6000 0) ,Spindle indexing position command
(6) Spindle designation unit position loop gain #1341 D7 to DO
#1342 D3 to DO
#6486 ,Setting unit: 1::: 0.01 s-1 Note:
Setting range: I to 32767
Standard setting value; 2500 A binary 12-bit (0 to 4096) input that specifics the
spindle stop position. The sum of the data input to
(7) Spindle error detection ON area this external input signal and the data preset in
the parameter (#6465) is the spindle stop position.
#6174 Setting unit: 1::: 1 pulse
Setting range: 1 to 255
Standard setting value: 50

201
5.2.12.3 1/0 SIGNALS (Cont'd) 5.2.12.4 SPINDLE INDEXING TIMING CHART
[NC SIDE]
(2) Spindle indexing input
#1343 DO 1: Spindle indexing request ON
0: Spindle indexing request OFF L
SPINDLE INDEXING pos I TION
Note: DESIGNATION INPUT

If this input turns on while the spindle is rotating, SPINDLE INDEXING OPE
~~
REQUEST INPUT (#1)4) O> c-
the revolution command for the spindle indexing
SPINDLE INDEXING f.XE CUT~.
operation is output. The spindle indexing operation OUTPUT (#12072)
is performed when the spindle stops. The spindle
revolution command analog output is still the spindle END OF SPINDLE INDEX
'"
EXECUTION OUTPUT (#1 20)1) ~
T ~.
positioning command even after the spindle indexing
END OF JoIST FUNCTION
is completed. and continuous the spindle indexing INPUT (FIN)
operation until this input is turned off. SPINDLE ORIENTATION SIGNAL-t L--
(EXTERNAL SEQUENCE
PROCESSING)

' '1' J
(3) Spindle indexing position incremental command SPINDLE ROTATION COM

#1343 Dl 1: Spindle indexing incremental


ANALOG OUTPUT
f CREEP ROTATION
COMMAND
request ON o I /
0: Spindle indexing incremental INDLE iNDEXING START SPINDLE INDEXING
TATlO)l COMMAND
request OFF

Note:
5.2.12.5 SPINDLE INDEXING PROCEDURE
This input is to ·accept the spindle indexing position
command input prepared for multiple spindle Before using the spindle indexing function. it is
indexing to different positions, as the incremental important to consolidate the hardware resource. an
position command from the previous spindle indexing to control the 110 signals by the sequencer.
position. However, turning on this input for the The following is a general operation procedure.
first spindle indexing after rotating the spindle For details, refer to the instruction manual of the
with an operation other than the spindle indexing machine tool manufacturer.
operation, or the first spindle indexing operation
after the power is supplied, will not make an (I) Command the M code specified by the machine
incremental position command. tool manufacturer the position in the part program
to perform the spindle indexing.
(4) Spindle indexing restart input
(2) Execute the part program. The spindle
# 1343 D2 1: Spindle indexing restart request indexing completes by executing the spindle
ON indexing M code.
0: Spindle indexing restart request
OFF (3) Then continue to execute the part program.
Note: Note:
If this input is turned on while the spindle Spindle indexing cannot be performed under the
indexing operation execution output is on, the solid tap mode. Command spindle indexing after
spindle indexing operation is interrupted, and the canceling the solid tap mode.
spindle indexing operation execution output is
turned off.

(5) Spindle indexing execution output


#1207 D2 I: Spindle indexing execution
0: Not spindle indexing execution

(6) End of spindle indexing execution output


#1207 D3 1: End of spindle indexing
0: Spindle indexing not completed

Note:
The spindle indexing input signal must be turned
on and the spindle drive unit soft start cancel
input signal turned on by the sequencer, to
execute the spindle indexing function.

202
6. OPERATION PROCEDURE

6.1 INSPECTION BEfORE TURNING ON POWER Operation in JOG Mode

Make sure that the front and rear doors of the 1. Set MODE SELECT switch to JOG.
control are firmly closed. The control employs a
totally-enclosed dustproof enclosure to shut out
I 2. Adjust the feedrate to the desired setting
surroundin g air. If the door is open, lock it with JOG FEEDRATE switch (Up to 32 steps).
by turning two door lockers with a large screw-
driver. In addition, inspect the machine refer- 3. Push JOG button to select the axis and direc-
ring to the machine tool builder's manual. tion of movement. The machine moves at the
specified speed while the JOG button depressed.

Operation in STEP Mode


6.2 TURNING ON POWER
I. Set MODE SELECT switch to STEP.
1. Check to see that the main power is supplied
for the control.
2. Select the move amount per step using MAN-
UAL PULSE MULTIPLY switch.
2. Depress the POWER ON pushbutton on the op-
erator's panel, and the control power is sup- (Move amount setting range)
plied and then the cooling fans will start run-
Metric: 0.001 - 0.01 - 0.1 - 1.0 - 10.0-100.0
ning. Make sure that air blows out from
mm Istep
the exhaust ports of the upper side of the
cont rol. Inch: 0.0001 - 0.001 - 0.01 - 0.1 - 1.0-10.0
inch Istep
3. Depress the POWER ON pushbutton again to
tUrn on the servo power supply. When the 3. Depress JOG button to select the axis and
machine is ready to operate, READY lamp direction of movemen t. The machine moves
lights. by the move amount per step each time the
button is depressed.
4. If READY lamp does not light, detect and
eliminate the cause according to the alarm
Operation in HANDLE Mode t
code displayed. Refer to 4.3.12 DISPLAY-
ING ALARM CODE. The control with HANDLE dial+ can permit the
operation described below.

6.3 MANUAL OPERATION 1. Set MODE SELECT switch to HANDLE.

When the MODE SELECT switch on the machine 2. Select the axis with HANDLE AXIS switch.
control station is set to RAPID, JOG, STEP
or HANDLE position, the machine can be oper- 3. Select the move amount of the machine cor-
ated man ually. responding to one scale of HANDLE dial using
MANUAL PULSE MULTIPLY switch.
Operation in RAPID Mode
Metric: 0.001 - 0.01 - 0:1
(mm per graduation)
I. Set MODE SELECT switch to RAPID.
Inch: 0.0001 - 0.001 - 0.01
2. Select the speed using RAPID TRAVERSE (inch per graduation)
RATE OVERRIDE switch.
Note: nXIOOO" or nXIOOOO H is regarded as
Speed setting range: 100% - 50% - 25% - FO "XIOO. n

3. Push JOG button to select the axis and direc- 4. Rotate HANDLE dial.
tion of movement. The machine moves at the
Turni~g the dial clockwise:
specified spee? while the JOG button depressed.
The machine moves in the positive direction.
# Manual operation is defined ~s the operation Turning the dial counterclockwise:
in RAPID. JOG. STEP. or HANDLE. The machine moves in the negative direction.

203
6.4 PREPARATION FOR STORED LEADSCREW ERROR
COMPENSATION AND STORED STROKE LIMIT t x

Return to Reference Point


y
With an NC equipped with the stored leadscrew
error compensation or the stored stroke limit func-
tions. either of the following two reference point ~~---------------L---+x
return motions mllst be performed after switching
on the power supply and before starting automatic
ABSOLUTE ZERO POINT (0, 0)
operation.

a. Manual return to reference point (See 6.2.1)


Fig. 6.1
b. Execute G91 G28 XO YO ZO ; in the MDI
mode.
If I1G92 XO YO ZO ;11 setting is required,
This procedure is to teach the reference point the coordinate of each axis can be set to
to the control, since doing so is necessary be- IIOTI easily using ORG key.
cause both pitch error compensation and stored Refer to 4.1. 9 ORG KEY.
stroke check are performed with reference to
the reference point. EXAMPLE
Checking Parameter #6006Dl EOR;
When the control is equipped with the pitch error NI GOO X ... y ... Z ...
compensation function or the stored stroke limit
function. set this parameter to IT 1. 11 With the
parameter #6006D 1 set to 11 1,11 a return to the
reference point is required before starting cycles.
alarm codes (001 - 004 " re ference point return
incomplete") are displayed, if the CYCLE ST AR T
key is pushed without making a reference point
return immediately after turning on the power
supply. Be sure to perform the operation for Fig. 6.2
return to reference point.
2. When C92 is programmed in a tape or mem-
ory.

6.5 PREPARATION. FOR AUTOMATIC OPERATION When the program requires G92 to be execut-
ed at the reference zero, return the machine
The machine must be positioned properly accord- to the reference point by manual return to
ing to the part program prior to the start of auto- reference point to reference zero.
matic operation. After positioning the absolute
coordinate system for the machining must be set
properly by manual operation or programming.
EXAMPLE:

1. When G 92 is not programmed in a tape or


memory.
Return the machine manually to the refer-
I,m"
Nl G92 X ... y ... z ...

ence point.
(Refer to 6.2.1 MANUAL RETURN TO
REFERENCE POINT.) Fig. 6.3
3. When G28 and G92 are programmed.
The G92 command according to the part pro-
gram should be executed by MDr. When the program begins with G28 and with
G28 and G92. move the machine manually in-
G92 X··· y ... z··· to the area where return to reference point
can be performed.

204
EXAMPLE: 6.7 MANUAL OPERATION INTERRUPTING
AUTOMATIC OPERATION
EOR 1. Stop the automatic operation temporarily by
depressing FEED HOLD pushbutton or by
Nl G28 X··· y ... Z· .. ;
setting SINGLE BLOCK switch to ON position.
N2 G92 X··· y ... Z···;
2. Record the current positions of each axis on
a paper using the current position display
operation.

3. Set MODE SELECT switch to manual opera-


tion mode (HANDLE, JOG or RAPID), and
Fig. 6.4 the machine can be manually operated.
6.6 OPERATION IN TAPE AND MEMORY MODE 4. Return the machine manually to the recorded
positions.
1. Make sure that NC ALARM lamp is not illu-
minated. If illuminated. detect and eliminate 5. Set MODE SELECT switch to the interrupted
the cause by the indication of alarm code.' automatic-mode (TAPE, MDl or MEM).
Refer to4.3.12. "DISPLAYING ALARM CODE."
6. Depress CYCLE START pushbutton, and the
2. Check and correct the stored offset values, machine will resume the automatic operation.
and then put the machine in the correct start
point. Notes:
3. Set the switches on the control station of Where MODE SELECT switch is changed with-
machine to the proper positions. out depressing FEED HOLD pushbutton.
MODE SELECT switch a. When the automatic-mode (TAPE, MOl or
SINGLE BLOCK toggle switch MEM) is changed to the manual-mode (HAN-
OLE, JOG or RAPID), the machine rapidly
RAPID TRAVERSE RATE OVERRIDE slows down and stops.
switch
b. When the automatic-modes are changed the
MANUAL ABSOLUTE toggle switch machine is stopped at the block end.
OPTIONAL BLOCK SKIP toggle switch
Where the machine is restarted by depressing
OPTIONAL STOP (MOl) toggle switch CYCLE START button, the tool path shifted due
DR Y RUN toggle switch to manual operation will be changed by ON-OFF
operation of MANUAL ABSOLUTE switch.
FEED RATE OVERRIDE & JOG FEEDRATE Refer to 6.1.24." MANUAL ABSOLUTE SWITCH'"
switch
In manual operation mode. when the CYCLE
4. Set the punched tape onto the tape reader. ST AR T button is depressed after writing F J M J
In MEM mode, this opration is not required. S, T or B + code by use of the same procedure
as that of MDl operation. the command becomes
5. Depress RESET key on the control ~tation. effective and is executed as soon as written.
Then LABEL SKIP lamp will be illuminated This procedure is used,to .add new data to an
and the memory win be rewound. active buffer. However, MOO, MOl, M02, M30
and M 90 to M99 cannot be written.
6. Depress CYCLE START button to give a Cy-
cle Start to the system-,
6.8 AUTOMATIC OPERATION IN MDI MODE
7. When the Feed Hold is required for the ma-
chine during the system operation, depress' I. Set MODE SELECT switch to MDl position.
FEED HOLD button.
2. Write up to 10 blocks of data by MOl opera-
8. If the unexpected event occurs in the system, tion, and execute by pressing CYCLE START.
immediately depress EMERGENCY STOP push- Refer to 4.3.3 Writing in Blocks and Display-
button. ing Conte'nts by MDT on page 134.

3. Depress CYCLE START button, and automat-


ic ooeration can be executed in MDI mode.

205
6.9 MDI OPERATION INTERRUPTING AUTOMATIC Writing data by MDI should not be performed
OPERAnON in canned cycle modes (G73, G74, G76, G77,
G81 to G89). The machine may not operate
To modify the block data after interrupting op- properly.
eration in TAPE or MEM mode. the following op- Tape mode MDI Interrupting Is available only
eration should be done after in terruptin g the after completion of advance reading stop block
operation. operation.

1. Turn on SINGLE BLOCK switch, and the op- Tool radiUS compensation and canned cycle
eration is interrupted after the completion modes are not possible In MOl operation.
of the block being executed. At the same
time. the next blocks of data may be read in
advance. 6.10 PREPARATION FOR TURNING OFF POWER

2. Display the data on CRT DISPLAY according 1. Make sure that the machi:1e is at standby and
to 4.3.2 COMMAND DATA DISPLAY, and CYCLE START lamp is extinguished.
check it on page 132.
2. Check to see that NC ALARM is not indicated
3. Set MODE SELECT switch to MDl operation. on CRT. If alarm is displayed, detect the
causes of displayed alarm code and eliminate
4. Write the data referring to 4.3.3 Writing them. Refer to 4.3.12." DISPLAYING ALARM
in Blocks and Displaying Contents by MDI CODE" on page 142.
on page 134.
Execute the data by depressing the CYCLE 3. Inspect the machine referring to the machine
STAR T button. tool buHder' 5 man ual.

5. Set back MODE SELECT switch to the inter-


rupted automatic mode (TAPE or MEM) . 6.11 TURNING OFF POWER

6. Return SINGLE BLOCK switch to OFF posi- 1. Depress EMERGENCY STOP pushbutton to
tion. turn off the servo power supply.

7. Depress CYCLE START button, and TAPE 2. Depress POWER OFF pushbutton on the op-
or MEM operation can be continued. erator1s panel to turn off the control power
supply.
Notes:
3. Cut off the main power supply from the con-
Writing data by MOL cannot be executed in tool trol.
radius. campen sa tion modes (G4l, G42) because
two - four blocks are read ahead.

In manual operation mode. when the CYCLE


STAR T button is depressed after writing F, M,
S. T or B + code by use of the same procedure
as that of MDI operation. the command becomes
effective and is executed as soon as written.
This procedure is used to add a new data to an
active buffer. However, MOO. MOl, M02, M30
and M90 to M99 cannot be written.

206
Check of
PREPARATION closing of NC door
Inspection of
machine
o
SETTING OF MODE SELECT
APPLYING POWER-ON on
(Two time SWITCHES ON SINGLE BLOCK,
POWER SUPPLY MACHINE CO~TROL
depression) etc.
STATION
Check of READY lamp on
RESET on
CHECK OF RAPID
MANUAL CYCLE START on
JOG
OPERATION STEP
• HANDLE
~-------------, FEED HOLD or
r---~---,' :::~:!ion!
SINGLE BLOCK on
RETURN TO or G28 I
REFERENCE I INTERVENTION OF
ZERO I MANUAL OPERATION
I
Leadscrew J
(~ compensation, ~
stored stroke I CYCLE START on
limit ON/OFF I
r------------- J
SINGLE BLOCK on
PREPARATION . Positioning to
FOR AUTOMATIC starting position I
OPERATION
: ~ INTERVENTION OF
I
I
"'1 MDI
~ ~ NC tape setting
2.:.:;,,-_--.,..--..-- I CYCLE START on

STORING AND
EDITING NC
TAPE, PROGRAM
NO. ~EARCH

I M02/M30 Comp~e~ion
mach~n1ng
of

C?-- Check if NC ALARM is indicated.


I r-----~~-.
Check if
PREPARATION FOR CYCLE START off
CHECK OF POWER SUPPLY OFF
TOOL POSI- NC alarm off
TION OFFSET

EMERGE~CY STOP on
and then
POI"ER OFF on

Fig. 6.4 Operating Procedure

207
7. MAINTENANCE

7.1 ROUTINE INSPECTION SCHEDULE men is to be observed for maintenance according


to time in order to keep the equipment in opti-
The following table shows the minimum require- mUm condition for extended period.

Table 7.1.0 Inspection Schedule

~
~ ~

Items Frequency
~ 0
.c' .c
~ ,
0
Remarks
~ E ~ E
~ ~
.c~ .c~
~ m ~ m
.-
:< >- .- >-
m :< m
Cleaning of reading
head
Daily
0 Including light source part.

Tape Cleaning of tape


reader tumble box
Weekly
0
Luhrica tin g of tension
arm shaft end
As required
0
Tight closing the

Control
doors
Daily
0
panel Checking for loose fit
and gaps of side plate:: Monthly
and worn door gaskets 0
Feel by hand. and do the
Vibra tion and noise Daily
0 audible inspection.

Motor contamination
and breakage Daily or
as required
0 0 Inspect visua11y.

Clearance of ventila- Inspect mainly spindle DC


Servomotor
and DC
tion openin gs 0 0 motor.

moto~ for Burned spots. cracks.


Check the length of
spindle wear. and pressure
of brushes 0 brushes.

Every
Roughened commuta- Check dark bar. threading
tor surface
three months
0 and grooving of commutator.

Dirt in interior of
motor 0 Clean with compressed air.

Battery Daily
0 0 See if alarm for BATTERY
is displayed on CRT SCreen.

Except for those checks which can be made For this. turning off the power supply by
with the NC energized, such as checks for pushing the POWER OFF button on the NC oper-
external cleanliness for vibration and for noise. ator's panel is not sufficient. because after this
be sure to turn off the power supply to the button is pushed. several areas in the housing
NC before starting to undertake routine main- are energized. and are potentially dangerous.
tainance service.

208
Note: When trouble occurs in feeding or 2. Motor contamination and impairment.
winding tape with 8 inch diameter reels.
open the front door and brush away dust Check the motor exterior visually. If dirt
around the photo-coupler by using a blower or damage should he observed. inspect the
brush. motor by removing the machine cover. Re-
fer to the machine tool builder's rnanual.

7.1.1 CONTROL PANEL


3. Clearance of ventilation window blockage
The control panel is a dustproof. sheet-steel en- Check the ventilation window of DC spindle
closure with gasketed doors. motor. If it is clogged with dust or dirt. in-
spect DC spindle rnotor removing the machine
A. Front and rear doors of the control should cover. Refer to the machine tool builder 1 s
be shut tightly. even if the control is not manual.
operating.
Inspection of commutators and brushes is essen-
B. When inspecting the control with the door tial for maintaining the excel1ent performance of
open. upon cornpletion of inspection, lock the the control. Inspection work to be executed is
door by turning two door locks with the key described in the following three items.
attached to the control panel. Turning di-
rection of door locks is as follows. Quarterly Inspection of Commutators and
Brushes
OPEN POSITION
The carbon dust from brushes. accumulated
I ~CLOSED around the commutator, inside the motor, may

~~~i~~ON \~ @~;~~ii~ON
cause motor troubles such as the layer short of
armature and the flashover of commutator. In
the worst case. it rnay lead to fatal damage. To
CLOSED~ I avoid this. be sure to have an inspection on the
commutators and brushes at least every three
OPEN POSITION months.
Be sure to turn off the power supply to the
With the door Wi th the door NC before starting to check the brushes and
lock on right lock on left motor interior.
side of the side of the For this, turning the circuit breaker on the
door. door". power supply unit (DCP UNIT) for the servo con-
trol unit (CPCR-MR-K) off is not sufficient. To
prevent electric shocks and shorting. be sure
Fig. 7.1 to shut off the supply of power to the NC.

Note: If the optional door interlocking switch 4. Carbon brushes


is provided. opening the door shuts off the
main power supply and stops all operations. A. Under normal operating conditions. brush
wears by 2 to 4 mm per 1000 operating hours.
C. Check gaskets on the rims .of front and rear If wear is excessive. check to see if oil has
doors. contaminated commutator surface. or if ab-
normal overcurrent flQw through motor
D. See if the inside of enclosure is dusty. circuit .
Clean it. if necessary.
B. When brush length becomes shorter than
those shown below, replace the bru~h with
E. Check for' any opening in the door base with
a new one.
the doors shut tightly.
Minertia motor junior series: 6 mOl or below
DC motor for spindle: 17 mm or below
7.1.2 SERVOMOTOR AND DC MOTOR FOR
SPINDLE

1. Vibration and noise.

Vibration can be checked by resting the


hand on the motors. and for noise. using a
listening stick is recommended. If any ab-
normality is found. contact maintenance per-
sonnel immediately.

209
7.1.2 SERVOMOTOR AND DC MOTOR FOR 7.1.3 BATTERY
SPINDLE (Cont'd)
Make sure that tlBAT" or "AlB" on the right-low
C. If either of brush, or pigtail is broken, " position of CRT screen is not displayed. If it is
brush assembly must be replaced as a whole " displa yed. in form main tenance personnel. The
unit. battery must be replaced with a new one within a
month.
The control with a bubble memory board (optional)
does not require a battery.

PIGTAIL
7.2 BATTERY REPLACEMENT
Fig. 7.2
The battery is used as power source for memory
Note: When replacing the brush assembly. in order to prevent programming data stored in
consult the company. memory. such as parameter, tool offset and part
program from erasin g.
5. Commutator surface When the battery is discharged after a long period
of use, I1BAT'1 or 'IA/Blt is blinked on CRT screen
A. Visually check surface roughness of the to give warning for replacement. On such occa-
commutator through inspection window. sions. the battery must be replaced within 30
After 100 to 200 operating hours. the com- days. When replacin g. never remove t he old
mutator should take on a polished light battery with power off. otherwise the data stored
brown or chocolate color. The motor has in memory may be cleared.
developed an ideal commutator film and needs
no attention other than to he kept clean. Replacing Procedure

B. See if a blackened bar. threading (or groov- 1. Depress POWER OFF pushbutton on the opcr-
ing) is on the commutator. If any of the atorts station.
above is observed, investigate the cause of
trouble. "Z. Open the front door of the control. The bat-
tery of the memory(printed circuit) board can
Threading or grooving on the commutator
be seen on the CPU module which is mounted
surface may he due to too small motor load.
Blackened bar is a result of carbon dust in on rear of the fran t door.
commutator slots, or accidentally produced
sparkings. If the carbon dust is a cause 3. Depress POWER ON pushbutton. Where the
of blackened bar. wipe the commutator with control is equipped with a door interlock
a clean dry doth to smooth the surface. If switch. pull it out by hand. The power can
sparking occurs, contact the maintenance be turned on, with the door open.
representati ve.
4. Check to see if ILED on memory board is inu-
minated. Fig. 8.2.1 shows the arrangement
6. Motor inside (dirty)
of LED and the battery. If i11uminated, re-
place the battery.
A. Visually check the motor interior through
inspection window.
The dried carbon dust will not affect motor
running. but ~t is recommended that the
inner parts such as commutator, brush-
holders and brushes be cleaned with a dry
,, compressed air (air pressure: 2-4 kg/cmZ).

B. Where oily carbon dust exists inside the mo-


tor due to poor oil seal or defective enclo-
sure, contact Yaskawa.

7. Servomotor with oil seal

As the life expectancy of oil seal and brush


is 5000 hours (about five years), the inspec-
tion and maintenance by the company should
be done every 5 years. If possible, yearly
inspection taking less than 8 hours is recom-
mended.

210
(5) Verify if the LEDIl on the main board (MB20) 7.3.2 "+5 V. ±12 V" LEDs (RED) LIT
lights up or not. If the LEDIl lights up. the
replacement of battery uBR-2/3A I1 is necessary. (1) The red LED lights up when an overcurrent
Fig. 7.2.1 shows the arrangement of LEDs and due to the short-circuit of output from +5 V or
batteries. The above .is the procedure for ±12 V or an overvoltage of +5 V is detected.
checking defective batteries.
(2) If the trouble occurs due to overcurrent,
"BR-2/3A" ••••• YASKAWA .type: JZNC-GBAOI re-closing is possible by means of POWER
OFF+ON. Re-c1ose after removing the cause of
(6) While the power supply is on, disconnect the trouble.
old battery from connector and remove it from the
(3) If the trouble is caused by the over voltage of
battery holder.
+5 V, turn off the main breaker once, confirm
(7) Insert new battery into the battery holder that I1S0URCEn LED is out, and then re-c1ose the
and then plug it in to the connector. main breaker.
NOTE: The connector may be inserted even
upside down.
7.3.3 "+24 V" LED (RED) LIT
(8) Turn the power off.
(1) This red LED is lit when an overcurrent due
(9) Where there is a door interlock switch, to the short-circuit of output from +24 V is
depress the moving part. Then. the switch will detected.
return to its original position. "When the door is
(2) Re-c1osing by POWER OFF+ON is possible.
flopen 11, the power cannot be turned on.
Thus. re-close after removing the cause.
(10) Close the front door positively.
(ll) Turn the power on. 7.4 THERMAL OVERLOAD RELAY OF SERVO UNIT
(12) Confirm that the battery alarm display on
the CRT screen of NC operation panel has been The servo control unit has the function of de-
turned off. tecting the following alarm status.

Notes: Alarm No.


(1) Since the work is performed with the front 331(X) 332(Y) 333(Z)
Circuit protector trip
door open, it is necessary to work as quickly as 334(4) 335(5)
possible (to prevent contamination by oil mist,
dust, etc.). 351(X) 352(Y) 353(Z)
Overload
354(4) 355(5)
(2) Contamination by water oil, dirt. etc. to
printed boards, connectors, cables, etc. inside
Servo alarm 390 for all axes
the equipment must be avoided.

7.3 POWER SUPPLY 7.4.1 CIRCUIT PROTECTOR TRIP


(ALARM NO. 331 TO 335)
Various kinds of protective functions are provided
for compound power supply (CPS-lON). When the main circuit of the servo control unit is
However, in the event of a malfunction such as shorted or when the servo control unit itself be-
no power to NC, it is necessary to confirm the comes faulty. the circuit protector in the unit
items stated below, immediately alert maintenance will be tripped. and the following alarm Nos. will
personnel and then rectify the causes. be displayed on the CRT.

331 : FUSE(X) for X-axis


7.3.1 "SOURCE" LED (GREEN) UNLIT
332: FUSE(Y) for Y-axis
(1) Check if the main breaker of P9wer supply FUSE(Z) for Z-axis
333:
has tripped or has an open phase.
334: FUSE (4) for 4th axis
(2) Check if the compound control power supply
is properly operating. 335: FUSE(5) for 5th axis

When a circuit protector is tripped, and the alarm


No. 331 to 335 is displayed, do not attempt to
take measures, but the user should immediately
notify our service department.

211
7.4.2 OVERLOAD (ALARM NO. 351 to 355) Table 7. 2 Relation between Display Specifications
for LEOs and Output Signals
The servo control unit is provided with electronic
thermal relays respectively and independently for LED Name Indications (When Lit)
the X and Z axes, and they trip under the follow- Main circuit voltage (higher than
ing conditions. 200 VDC) in Servopack is normal.
Programs involving excessively heavy cuts Control power supply (+5 V) in
are executed. Servopack is normal.
Programs involving excessively frequent speed Speed command input (higher than
changes are executed. 60 mY) has been applied.
Frictions in the machine system become abnor-
mally large.
a-Segment LEDs (red)
When the electronic thermal relay trips, the
servo power supply is turned off. and the follow- Relation
ing alarm Nos. are displayed on the CRT. With
Display Indication" (When Lit)
Output
351: OL(X) x- axis overload Signals
352: OLeYl Y-axis overload
CJ Base breaking state
353: OL(Z) Z-axis overload (No current through
354: OL(4) 4Th axis overload
Q motor)

355: OL (5) 5th axis overload W Overcurrent detected


Circuit protector
When this is the case, take the following lLJ trip detected
measures. . Base of
Abnormal regeneration
[lJ detected
power
(1) Push the POWER OFF button to turn off circuit
the power supply, and then, stop the sup- IIJ Overvoltage detected in
ply of power to NC. Servo-
[IJ Overspeed detected
pack is
(2) Find the cause of the overloading. For Servo
Undervoltage inter-
example, the cause may be eliminated through CD detected rupted.
alarm
output
modifications of the part program, or by
the elimination of abnormally large load on
[[J Overload detected . Self-
hold is
the machine. Heat sink overheat
fL.l detected
made
until
(3) Supply power to the NC, and push the
POWER ON button to turn on the power lliJ A I D error detected reset.
supply and make the system ready for [E] Open phase detected
operation. However, since the servo motor Runaway prevention
requires approximately 30 minutes to cool @J activation detected
down after being overloaded to the extent
of tripping the electronic thermal relay, D Abnormal MPU (unlit)
wait at least 30 minutes before starting to
operate NC.

(4) If the electronic thermal relay trips, notify


our service department.

7.4.3 SERVO ALARM (ALARM NO. 391 TO 395)

The servo control unit can detect the following


alarm states.

0) Where "SERVO ALARM (SERVOPACK)" is


displayed on the CRT. open the door of NC unit,
confirm the LED display for each axis on the
servo control unit, and then immediately notify
your YASKAWA representative.
(2) Release the door interlock switch before
opening the door of NC unit.
(3) Read the accompanying Maintenance Manual
for details.

212
7.5 MOLDED-CASE CIRCUIT BREAKERS (MCCB) 7.6.2 ALARM CODES AND REMEDIES
Those special housing type controls, with which
Where uALM u or !IA/B u on CRT screen is blinking
all the power sequence control circuits are con-
and the machine stops. depress the ALM key.
verted to the NC area. are sometimes provided
Then alarm code and message will be displayed
with MeBs which can be turned on and off exter-
on CRT screen. Alarm codes 11800,11 11810,11 "820,11
nally.
11830 11 and II 840 11 are displayed as soon as the co-
Generally, when these MCCBs are turned off, rresponding error occurs.
the power supply to the NC is stopped. For de-
tails. refer to the manual of the machine tool For the remedies for trouble causes represented
by alarm codes, see APPENDIX 5. "LIST OF ALARM
builders.
CODES" on the last part of this man ual.

7 .• 6 TROUBLE CAUSES AND REMEDIES 7.6.3 INPUT/OUTPUT SIGNALS

7.6.1 ON-LINE DIAGNOSTICS To clear up the causes indicated by alarm


codes, check the input/output signals on
On-line diagnostics are implemented to locate the CRT screen.
trouble quickly arid' protect th~ machine again!?t
malfunctions. Shown below are the displaying Input loutput signals are divided into standard
functions .executed. by the control being on-line and custom-built ones, and displayed by specify-
and machining. ing the corresponding diagnostic number with
keys on the operator's station.
Display of three-digit alarm code including a
code ·showing an 'axis in error. Standard signals are included in every type of
Y ASNAC MX3. Custom-built signals are pro-
Display. of four-digit status code il1c1uding a vided for optional machine interface equipped
function code showing M, S, T, F J DWELL. with some type of Y ASNAC controls.
Inp~tlo~tput signal d~splay

These displays can be made at any time, while


the machine is in" automatic ~peration. or at stand-
by.

YASNAC MX3
r-----

Basic
I I
, Relay
I

k$tandard input sillnals I Panel


Logic
Processing r ,, on
Part Standard output signals
, Machine
Side

I
I
I
IL _____ _

YASNAC MX3

Basic
OPTION
I r-----
I Relay
Logic
Processing
< Standard in'
put Signals Optional
Machine "- fn~~?~i~U;l!
I
I I Panel
I on
Part ~~t~~~l~ut- :> Interface - ~~t~~f"~i~i\s
v
I Machine
I Side
L ____ _

I
Fig. 7.3

213
7.6.ij IMPORTANT ALARM CODES By depressing the cursor ICUi'SOR I key,
Alarm codes shown below are important ones for the cursor moves to the previous line.
the system configuration. If these alarms occur, When up to the most upper line, the pre-
immediately notify your YASKAWA representative. vious page is displayed.

"
By depressIng the page IpAGEI
+ key, the
(1) Alarms by self-diagnosis between CPUs
349: PC CPU ERROR •••• This occurs in the event next page appears on the screen.
of a PC CPU error.
By depressing the page IPAtGEI key, the
371: FG-SV SYNC ERROR •••• This occurs when
there is no synchronization between SERVO CPU previous page appears.
and FG.
372: FG NOT READy •••• This occurs when
READY from FG CPU has not been received.
381: AXIS ERROR (X) •••• This occurs when
READY from X-axis has not been received.

.,_ • " " "" " "" _'S


382: AXIS ERROR (Y) •••• This occurs when 01234
D I FlGNOSIS"
READY from Y-axis has not been received.
3 2 I
383: AXIS ERROR (Z) •••• This occurs when
READY from Z-axis has not been received.
? G 5 4
B I I I 1 " BA
il081 B
.'iJB2 B " 01 I ""
41
384: AXIS ERROR (4) •••• This occurs when
.,004
.1003 "" " " " " "" "
I " 1 I 0 IB

.,_
.,1105 " " "
READY from 4th axis has not been received. 0 0 I
II II
'"
........ ." •
I I 0 0 0 I DI
385: AXIS ERROR (5) •••. This occurs when
READY from 5th axis has not been received.
111_
1110117 e
I
••
"
e 1 II 0
II "
0
I I 0
0 0 I
56
11
e Ii! I 0 0 54
(2) Alarms that occur when the hardware related eel 0 o Bee 2"
0: OPEN I:CLOSE
to optional items is changed:
RDY
347: UNFINISHED PROM GEN •••• This occurs if
no initialization has been made after changing the
memory length of part program.
384: UNSUITABLE MM21. ••• This occurs when the Fig. 7.4 Example of Input/Output
memory length of part program does not match Signal Display
the parameter setting.
373: SR-20 UNSUITABLE .••• This occurs when
the added hardware does not match the parameter
7.6.5 BEFORE MAINTENANCE CALL
setting.
To display input /output signals, proceed as fol- If the cause of trouble cannot be found by using
lows. alarm codes or I/O signals (described in 7.6.1 to
7.6.3), or correct action for the trouble cannot
L Depress the DGN key. be taken, record the following items, and notify
the company as soon as possible.
A page containing the diagnostic number spec- Alarm codes and the accompanying data with
ified previously occurs on the CRT screen.
them.
The input/output signals are shown in Hl,H
11 011 and hexadecimal digit. The types and characteristics of the troubles.
lII H: contactclose The operational procedures just before the
110 11 : contact open trouble occured and number of applied tape.
Whether the trouble recurs each time, the op-
2. Key-in the diagnostic number to be displayed. eration is repeated after depressing the RESET
key.
3. Depress the cursor WorW key to page the
keyed-in diagnostic number on the screen. Date and time when the trouble occured.

By depressing the cursor I S0R


CUR4-- I key,
Name of the discoverer of the trouble and the
operator.
a cursor on the screen moves to the next
diagnostic number (line). When down to If trouble occurs. keep the control in the same
the last lower line, the next page is dis- condition until it can be checked by your Yaskawa
played on the screen. representative. If the situation permits. avoid
turning off control power. or depressing POWER
OFF button.

214
APPENDIX -1 LIST OF SETTING NUMBERS

,)1 I: Checks the 2nd prohibited area of storeo


Setting numbers are classified in the following stroke limit
three groups:
0: Does not check the 2nd prohibited area
of stored stroke limit
Table 1.1
DO I: Changes input units to inch inputs
Setting number Group 0: Changes input units to MM inputs

#6000 to 6004 Setting by bit


#6200 to 6219 Setting by word
#6002
#6500 to 6599 Setting by double words
D7 Auxiliary function lock switch
#6700 to 6771 Setting by double words I: ON
0: OFF
Appendix tab1e 1-2 lists setting numbers and D6 Machine lock switch
their functions. 1: ON
0: OFF
D5 Optional stop switch
I: ON
SETTING NUMBERS AND THEIR CONTENTS 0: OFF
D4 Dry run switch
I: ON
#6000
0: OFF
D7 I: Sets punch-out code to ISO D3 Optional block skipping switch
1: ON
0: Sets punch-out code to EIA 0: OFF
D5 I: Sets playback ON D2 Display lock switch
1: ON
0: Sets playback ON JOFF with an external 0: OFF
switch
D1 Start lock switch
D4, D3, D2, DI, DO I: ON
Selects whether to make the mirror image 0: OFF
of the 5 axis, 4 axis. Z axis, Y axis and DO Single block switch
X axis effective in successive order arto 1: ON
make them external switches. 0: OFF
1: Mirror image effective
0: External switch.

#6003

#6001 D7 Tape operation device designation


D7 1: Emits operating panel buzzer sound
0: PTR
1: Communication module
0: Does not emit operating panel buzzer D6 Communication module device designation
s<?und 0: RS-232C
1: RS-422
D4 Z axis cancelling ·switch
I: ON DS. D4: Selects the output device of the
data input ··interface
0: OFF
D3 When outputting EOB in ISO code;
D3 Manual absolute switch 0: Output with LF.
1: ON 1: Output with CRLF.
0: OFF
01, DO: Selects the input device of the
D2 Editing lock switch data input interface
1: ON
0: OFF

215
SETTING NUMBERS AND THEIR CONTENTS Specifies group number during tool
(Cont'd) change and reset.
Setting range 1 through 128.
Setting Input Output Parameter for
Code Device Device Setting Baud Rate #6207

o0 RS232C *6026 (*6029) Sets program number.


RS232C
o1 No.1 D3 to DO Specifies program number of tape when
inputting tape without a program number.
1 0 RS232C RS232C *6027 (*6028) Setting range 1 through 9999.
I I No.2 No.2 D3 to DO
Note: If 0 is set, input error may cause except
when the number on the upper right of CRT is 110.
#6004
#6210
D7 The group G02 G code upon reset is;
0: G17. Sets dwell time when executing
1: The G code commanded immediately G76 and G77.
before is retained. Setting "l II :;;: 1 ms
Setting range: 0 - 32767
D6 1: Cancels life data when executing
command G 122
#6211
0: Does not cancel life data when
executing command G 122 Sets amount of S when executing G73,
Setting "I" :;;: 0.001 mm
D5 The group G03 G code upon reset; "1" :;;: 0.0001 inch
0: Follows PM6005 DO. Setting range: 0 - 32767
1: The G code commanded immediately
before is retained.
#6212
D4 1: Programs of program numbers
8000 through 8999 cannot be Dwell time setting for G83
Setting: 11111:;;: 1 ms
registered. erased or edited.
Setting range: 0 to 32767
0: Normal registration, erasure
and editing can be performed. #6213
D3 1: Programs with program numbers
8000 through 8999 will not be Sets shift amount lIcS" when executing G83.
displayed. Setting: "III :;;: 0.001 mm
or 11111 :;;: 0.0001 inch
0: Programs with program numbers Setting range: 0 - 32767
8000 through 8999 will be dis-
played.
#6219
Dl 1: Single blocks become effective
System No. switch setting
in relation to an operation com-
Setting range: O. 1. 4
mand from the user program.
0: Single blocks become ineffective
#6500
in relation to operation commands
or control commands from the
user program. ·1 . #6501
DO 1: The next block will be executed
if there is no skip signal input Sets scaling multiple. Multiple = #6500/
until shifting of the G 31 block #6501
ends. Scale mUltiple = 1 when setting is flO.n

0: Causes alarm "087 11


#6506
Sets angle during execution of command&
#6200 Break point -1
G76 and G77.
Setting: 1IJ11 :;;: 0.001 deg
#6201 Break point -2
#6507
Sets break point sequence. Sets tool length measuring bias.
Setting range 1 through 9999. Will not Setting: "l n = Least input increment
stop at O.
#6508
#6204
Sets tool length measuring bottom level.
Setting: 11 1n = Least input increment

216
1 #6510 X-axis #6527
Rotary angle setting G55 (JI)
#6511 V_axis Setting: « 1" = 0.001 deg

#6528 X-axis
#6512 Z-ax i 5

Sets stored stroke limit of the X, Y #6529 Y-axis


and Z axes and the boundary value in
the positive direction of the 2nd pro-
hibited area. #6530 Z-axis
Setting range: 0 - ±99999999
Setting: 11 111 :: 1 pulse
#6531 4th axis
#6513 X-axis

#6532 5th axis


#6514 Y-axis
Work coordinate system setting G56 (JI)
Setting range: 0 - ±99999999
#6515 z- axis ~--~
Setting: "In = Least input increment

Sets stored stroke limit of the X, Y #6533


and Z axis in successive order and also Rotary angle setting G56 (Jl)
the negative direction boundary value Setting: lip = 0.001 deg
of the 2nd prohibited area.
Setting range: 0 - ±99999999
#6534 X -axis
Setting: 111" = 1 pulse

#6516 X-axis #6535 Y-axis


I
#6517 Y-axis #6536
L Z-axis

#6518 Z-axis #6537 4th axis

#6519 4th axis #6538 5th axis


Work coordin.ate system setting G57 (Jl)
#6520 5th axis Setting range: 0 - ±99999999
Setting: n 1 n = Least input increment
Work coordinate system setting G54 (Jl)
Setting range: 0 - ±99999999 #6539
Setting: II 1 II = Least input increment
Rotary angle setting G57 (JI)
#6521 Setting: Ill" = 0.001 de.g
r-------,
Rotary angle setting G54 (Jl) #6540 X-axis
Setting: "I" = O.OOI.deg

#6522
C X-axis *6541 Y-axis

#6523 Y-axis #6542 Z-axis

#6524 Z-axis #6543 4th axis

#6525 4th axis #6544 5th axis

Work coordinate system setting G58 (Jl)


#6526 5th axis Setting range: 0 - ±99999999
Setting: n 1" = Least input increment
Work coordinate system setting G55 (Jl)
Setting range: 0 - ±99999999 #6545
Setting: IT 1 n = Least input increment
Rotary angle setting G58 (JI)
Setting: 111" = 0.001 deg
217
SETTING NUMBERS AND THEIR CONTENTS
(Cont'd) #6570

Tool setter measurement longitudinal direction


#6546 X-axis
reference value
Setting: n 111 ;:: input unit
Setting range: ±99999999
#6547 Y-axis
#6571

#6548 Z-axis
#6572

Jf6549 4th axis Tool setter measurement diameter direction


reference value
Setting: nll1::: input unit
#6550 5th axis Setting range: ±99999999

Work coordinate system setting G59 (Jl) #6573 X-axis


Setting range: 0 - ±99999999
Setting: "111::: Least input increment Workpiece setter measuring probe radius
Setting: It 111 ;;: input unit
#6551 Setting range: +99999999
Rotary angle setting G59 (Jl) #6574 X-axis
Setting: 11111 =0.001 deg
Workpiece setter measuring probe radius
#6552 X axis Setting: 11 111 ;;: input unit
Setting range: -99999999
#6553 y axis
#6575 Y-axis
Workpiece setter measuring probe radius
#6554 Z axis Setting: 11 111 ;;: input unit
Setting range: +99999999
#6555 4th axis
#6576 Y-axis

5th axis Workpiece setter measuring probe radius


#6556
Setting: 111";;: input unit
Coordinate value at skip signal ON Setting range: -99999999
Setting range:, 0 - ±99999999
Setting: 11 111 ::: Least input increment #6577 Z-axis

#6561 Fl Workpiece setter measuring probe radius


Setting: " 1 n ;;: input unit
Setting range: -99999999
#6562 F2
*6578
#6563 F3
Workpiece setter measurable return amount
Setting: n 1 n ;;: input unit
F4 Setting r~nge: 99999999
*6564
#6579
#6565 F5
Workpiece setter measuring point pull away
amount
#6566 F6

#6567 F7

#6568 F8

#6569 F9
Fl-digit speed setting
Setting range: 0 - 240000 111'1::: 0.1 mm/min
Setting: IIln::: Least input increment

218
WORK COORDINATE SYSTEM SETTING
#6580 SPECIFICATION B

#6581 #6700 X-axis

#6582 #6701 Y-axis

#6583
#6702 Z-axis

Work coordinate system setting G54 (J2)


#6584 Setting range, 0 - ±99999999
1
Setting: n 111 :;; Least input increment

[ #6585 #6703 X-axis

#6586 #6704 Y-axis

#6587 Z-axis

Work coordinate system setting G55· (J2)


#6588 Setting range: 0 - ±99999999
Setting: HIn:: Least input increment
#6589 #6706 X-axis

#6590 #6707 Y-axis

#6591 #6708 Z-axis

Work coordinate system setting G56 (J2)


#6592 Setting range: 0 - ±99999999
Setting: "l" = Least input increment
#6593
#6709 X-axis

#6594
#6710 Y-axis

#6595 #6711 Z-axis


Work coordinate system setting G57 (J2)
#6596 Setting range: 0 - ±99999999
Setting: "1" = Least input increment
#6597 #6712 X-axis

#6598 #6713 Y-axis

#6599 -I #6714 Z-axis


Set the M cocles to call up the macro program. Work coordinate system setting GS8 (J2)
(Maximum 20 M codes) Setting range, 0 - ±99999999
Setting: n 111 :;; Least input increment

219
WORK COORDINATE SYSTEM SETTING
SPECIFICATION B (Cont'd) #6730 X-axis

116731 Y-axis
#6715 X-axis

#6732 Z-axis
#6716 Y-axis
Work coordinate system setting G58 (J3)
. Setting range: 0 - :t99999999
#6717 Z-axis Setting: 11 1 t! ;; Least input increment
Work coordinate system setting G59 (J2) x ~ axis
Setting range: 0 - ±99999999
Setting: 11111;; Least input increment
#6734 y ~ axis
#6718 X-axis

#6735 Z~ axis
#6719 Y-axis
Work coordinate system setting G59 (J3)
Setting range: 0 - ±99999999
#6720 Z-axis Setting: It 1 II : : Least input increment

Work coordinate system setting G54 (J3) #6736 X-axis


Setting range: 0 - ±99999999
Setting: "1";; Least input increment
#6737 Y-axis
#6711 x - axis
#6738 Z-axis
#6722 Y-axis
Work coordinate system setting G54 (J4)
Setting range: 0 - ±99999999
#6723 Z-axis Setting: 11 1 n ::c Least input increment
Work coordinate system setting G55 (J3) #6739 X-axis
Setting range: 0 - ±99999999
Setting: 11111;:: Least input increment
#6740 Y-axis
#6724 X-axis

#6741 Z-axis
#6725 Y-axis
Work coordinate system setting G55 (J4)
Setting range: 0 - ±99999999
#6726 Z-axis Setting: "1 11 ::c Least input increment
Work coordinate system setting G56 (J3)
Setting range: 0 - ±99999999 #6742 X-axis
Setting: ." 1 n ;;;: Least input increment
Y-axis
116727 X-axis

#6744 Z-axis
#6728 Y-axis
Work coordinate system setting G56 (J 4)
Setting range: 0 - ±99999999
'6729 Z-axis Setting: "111 = Least input increment
Work coordinate system setting G57 (J3)
Setting range: 0 - ±99999999
Setting: 11 1 u 0:: Least input increment

220
#6745 X-axis #6760 ~_________________x_-_a_Xl_'_s~
#6746 Y-axis #6761 Y-axis

#6747 Z-axis #6762 Z-axis

Work coordinate system setting G57 (J4) Work coordinate system setting G56 (J5)
Setting range: 0 - ±99999999 Setting range: 0 - ±99999999
Setting: "1 I, .:;: Least input increment Setting: lip;::; Least input increment

#6748 X-axis #6763 X-axis

#6749 Y-axis #6764 Y-axis

#6750 Z-axis .1 #6765 Z-axis


Work coordinate system setting GS8 (J4) Work coordinate system setting G57 (J5)
Setting range: 0 - ±99999999 Setting range: 0 - ±99999999
Setting: nIl!.:;: Least input increment Setting: 11111:;: Least input increment
#6751 X-axis
*6766 X-axis

#6752 Y-axis #6767 Y-axis

#6753 Z-axis
#6768 Z-axis
Work coordinate system setting G59 (J4) Work coordinate system setting G58 (J5)
Setting range: 0 - ±99999999 Setting range: 0 - ±99999999
Setting: II 1 n :;: Least input increment Setting: n 1 II ;; Least input increment
X-axis
#6769 X-axis

#6755 Y-axis
#6770 Y-axis

#6756 Z-axis
#6771 Z-axis
Work coordinate system setting G54 (J5)
Setting range: 0 - ±99999999 Work coordinate system setting G59 (J5)
Setting: " I" :;: Least input increment Setting range: 0 - ±99999999
Setting: It 111 ;; Least input increment
#6757 X-axis
Note: #6772 to #6899 is unused area. Do not use
this area.
#6758 Y-axis·

#6759 Z-axis

Work coordinate system setting G55 (J5)


Setting range: o - ±99999999
Setting: "111.:;: Least input increment

221
WORK COORDINATE SYSTEM SETTING
SPECIFICATION C #6717

Rotary angle setting G56 (J2)


Setting: up;; 0.001 deg
#6700 X-axis
#6718 X-axis
#6701 Y-axis
#6719 ] Y-axis
#6702 Z-axis
#6720 Z-axis
#6703 4th axis
#6721 4th axis
#6704 ] 5th axis
#6722 5th axis
Work coordinate system setting G54 (J2)
Setting: til" = Least input increment Work coordinate system setting G57 (J2)
Settinl2: range: ±99999999 Setting: "II';:: Least input increment
Setting range: ±99999999
#6705
#6723
Rotary angle setting G54 (J2)
Setting: 111'1;: 0.001 deg Rotary angle setting G57 (J2)
Setting: "1'1 = 0.001 deg
#6706 X-axis
#6724 X-axis

#6707 Y-axis
#6725 Y-axis

#6708 Z-axis
#6726 Z-axis

#6709 ] 4th axis


#6727 4th axis
#6710 5th axis
#6728 5th axis
Work coordinate system setting G55 (J2)
Setting: 11 1" ;:; Least input increment Work coordinate system setting G58 (J2)
Setting range: ±99999999 Setting: "111;: Least input increment
Setting range: ±99999999
#6711 ,----------------,
#6729
Rotary angle setting G55 (J2)
Setting: 111";:: 0.001 deg Rotary angle setting G58 (J2)
Setting: "1'1;:: 0.001 deg
#6712 X-axis
#6730 X-axis

#6713 Y-axis
#6731 Y-axis

#6714 Z-axis
#6732 Z-axis

#6715 I 4th axis


#6733 4th axis

#6716 ] 5th axis


#6734 5th axis
Work coordinate system setting G56 (J2)
Setting: nl n = Least- input increment Work coordinate system setting G59 (J2)
Setting range: ±99999999 Setting: 11111 = Least input increment
Setting range: ±99999999

222
#6135 #6753

Rotary angle setting G59 (J2) Rotary angle setting G56 (J3)
Setting: 11}1' = 0.001 deg Setting: 1111' = 0,001 deg

#6736 X-axis #6754 X-axis

#6737 Y-axis #6755 Y-axis

#6738 Z-axis #6756 Z-axis

#6739 4th axis #6757 4th axis

#6740 5th axis #6758 ·5th axis

Work coordinate system setting G54 (J3) Work coordinate system setting G57 (J3)
Setting: "1 n = Least input increment Setting: 11111 = Least input increment
Setting range: ±99999999 Setting range: ±99999999

#6741 #6759

Rotary angle setting G54 (J3) Rotary angle setting G57 (J3)
Setting: 11111 = 0.001 deg Setting: nil' = 0.001 deg

#6742 X-axis #6760 X-axis

#6743 Y-axis [ #6761 Y-axis

#6744 Z-axis #6762 Z-axis

#6745 4th axis #6763 4th axis

#6746 5th axis #6764 5th axis

Work coordinate system setting G55 (J3) Work coordinate system setting G58 (J3)
Setting: Ill":: Least input increment Setting: "1" = Least input increment
Setting range: ±99999999 Setting range: ±99999999

#6747 #6765

Rotary angle setting G55 (J3) Rotary angle setting GS8 (J3)
Setting: II l'1 ;:; 0.001 deg Setting: "P = 0.001 deg

#6748 X-axis #6766 X-axis

#6749 Y-axis #6767 Y-axis

#6750 Z-axis #6768 Z-axis

#6751 4th axis #6769 4th axis

#6752 5th axis #6770 5th axis

Work coordinate system setting G56 (J3) Work coordinate system setting G59 (J3)
Setting: "In = Least input increment Setting: "I" = Least input increment
Setting range: ±99999999 Setting range: ±99999999

223
WORK COORDINATE SYSTEM SETTING
SPECIFICATION C (Cont'd) #6784 X-axis

#6785 Y-axis
#6771

Rotary angle setting G59 (J3) #6786 Z-axis


Setting: I l l " ; . 0.001 deg

#6772 X-axis #6787 4th axis

#6773 Y-axis #6788 5th axis

Work coordinate system setting G56 (J4)


#6774 Z-axis Setting: II1H;; Least input increment
Setting range: ±99999999

#6775 4th axis #6789

#6776 Rotary angle setting G56 (J4)


5th axis Setting: tlllt;; 0.001 deg
Work coordinate system setting G54 (J4)
Setting: 111";:: Least input increment #6790 X-axis
Setting range: ±99999999
#6791 Y-axis
#6777

Rotary angle setting G54 (J4) #6792 Z-axis


Setting: "1";; 0.001 deg

#6778 X-axis #6793 4th axis

#6779 Y-axis #6794 5th axis


Work coordinate system setting G57 (J4)
#6780 Z-axis Setting: 11 1 n ;; L.east input increment
Setting range: ±99999999

#6781 4th axis


#6795

#6782 5th axis Rotary angle setting G57 (J4)


Setting: n P ;:: 0.001 deg
Work coordinate system setting G55 (J4)
Setting: 111";; Least input increment #6796 X-axis
Setting range: ±99999999
#6797 Y-axis
#6783

Rotary angle setting G55 (J4) #6798 Z-axis


Setting.: n P ;; 0.001 deg

#6799 4th axis

#6800 5th axis

Work coordinate system setting G58 (J4)


Setting: n 1 n ::; Least input increment
Setting range: ±99999999

#6801

Rotary angle setting G58 (J4)


Setting: II}"::; 0.001 deg

224
#6802 X-axis #6820 X-axis

#6803 Y-axis #6821 Y-axis

#6804 Z-axis #6822 Z-axis

#6805 4th axis #6823 4th axis

#6806 5th axis #6824 5th axis


Work coordinate system setting G59 (J4) Work coordinate system setting G56 (J5)
Setting: n 111 ;: Least input increment Setting: 111";::; Least input increment
Setting range: ±99999999 Setting range: ±99999999
#6807 #6825
Rotary angle setting G59 (J 4)
Setting: " 1 II = 0.001 deg Rotary angle setting G56 (J5)
Setting: lip = 0.001 deg
#6808 X-axis
#6826 X-axis

#6809 Y-axis
#6827 Y-axis

#6810 Z-axis
#6828 Z-axis

#6811 4th axis


#6829 4th axis

#6812 5th axis


#6830 5th axis
Work coordinate system setting G54 (J5)
Setting: n 111 ;:; Least input increment Work coordinate system setting G57 (J5)
Setting range: ±99999999 Setting: III II = Least input increment
Setting range: ±99999999
#6813
#6831
Rotary angle setting G54 (J5)
Setting: "111 = 0.001 deg Rotary angle setting G57 (J5)
Setting: n 11' = 0.001 deg
I #6814 X-axis
#6832 X-axis

I #6815 Y-axis
#6833 Y-axis

I #6816 Z-axis
#6834 Z-axis
#6817 4th axis
#6835 4th axis
#6818 5th axis
#6836 5th axis
Work coordinate system setting G55 (J5)
Setting: "l n = Least input increment Work coordinate system setting GS8 (J5)
Setting range: ±99999999 Setting: nln; Least input increment
Setting range: ±99999999
#6819
Rotary angle setting G55 (J5) #6837
Setting: 111" = 0.001 deg
Rotary angle setting G58 (J5)
Setting: nll1; 0.001 deg

225
WORK COORDINATE SYSTEM SETTING
SPECIFICATION C (Cont'd)·

#6838 X-axis

#6839 Y-axis

Z-axis

#6841 4th axis

#6842 5th axis

Work coordinate system setting G59 (J5)


Setting: It 111 = Least input increment
Setting range: ±99999999

#6843

Rotary angle setting G59 (J5)


Setting: lip = 0.001 deg

#6844 X-axis PI

#6845 Y-axis PI

#6846 Z-axis PI

Easy setter measurement point monitor


Tool setter measurement point monitor

#6847 X-axis P2

#6848 Y-axis P2

#6849 Z-axis P2

#6850 X-axis P3

#6851 Y-axis P3

#6852 Z-axis P3

Easy setter measurement point monitor

226
APPENDIX - 2 LIST OF PARAMETER NUMBERS

Parameter numbers are classified in the following


five groups:

Table 2. I
D , D3: Status of G codes at power un.
4
Parameter number Group D4 D3 Initial status

#6005 to #6099 Setting by bit I 0 Sets the G code in the 08 group to G44
on power application.
#6100 to #6199 Setting by byte
Sets the G code in the 08 group to G43
0 I
on power application.
#6220 to #6499 Setting by word
0 0 Sets the G code in the 08 group to G49
#6600 to #6699 Setting by double words on power application.

#7000 to #7099 Setting by byte for seq ueneer

DO 1: Sets the G code in the 05 group to G91


on power ·application.
0: Sets the G code in the 05 ~roup to G90
Optimum data of parameters have been set accord- on power application.
ing to machine performance and applications. For
any modification of parameter data. consult the
machine tool builder.
Data pertaining to parameters #6033 to #6049 must
#6006 I D71 D61 D5 1 D41 D3 1 D21 D1 1 DO I
not be modified. for they have been incorporated
as part of the system. D , D6 Signs of 55-digit analog (SDA) output
7

D7 06 Sign

I I Minus Minus (I)


PARAMETER NUMBERS AND THEIR CONTENTS
I 0 Plus Plus (I)

.., 0 I Minus Minus (2)


#6005 \ D6 \ D5 \ D4\ D3 \ \ DO \
0 0 Plus Plus (2)
D6 I; Stores the G code in the 01 group for SINV signal off SINV signal on
reset.
0: Sets the G cede in the 01 group to GOO
for reset. Note: The functions of (1) and (2) are the same.

05 I: Allows the current value display (universal) D5 1: Sets the least input increment xlO
to be preset by the coordinate system
setttng command G92. 0: Does not set the least input increment
to xlO
At Ihls time. the I ORG.I key Is capable of
coordinate system zero setup only In
manual mode. D4 1: Checks to see if the spin~lle speed match
signal (SAGR) is off upon transition
0: Keeps the current value display (universal) from a rapid traverse block "to a cutting
from being preset by the coordinate system feed block.
setting command G92.
At this time, the IORG I key Is Incapable of
coordtnatt' system zero setup. while
capable of zero clear In all modes.

227
PARAMETER NUMBERS AND THEIR CONTENTS D2 1: Makes the spindle override 100% during
(CONT'D) tapping by G84.

0: Provides no check on the spindle speed 0: Does not make the spindle override 100%
during tapping by G84.
match signal (SAGR).

D3 1: Enables the internal toggle switches. DO j: Establishes the prohibited area of the
3rd. 4th. and 5th stored stroke limit
0: Disables the internal toggle switches. outside the boundary.
See #6001, #6002 Establishes the prohibited area of the
0:
3rd. 4th. and 5th stored stroke limit
D2 1: Enables dry run in response to the inside the boundary.
rapid traverse command.
0: Disables dry run in response to t.he
rapid traverse command. #6008 I D71 D61 D5 I D41 D31 D2 I I I
Dl DO
Dj 1: Causes an alarm (11001-00411) upon cycle
start when reference point return is
D7 I: Rewinds at M30 command in Tape operat
not made after power application.
with Y ASNAC standard tape reader (No
0: Causes no alarm. RS-232C)
0: Does not rewind at M30 command in Tap
Note: Set 111'1 when pitch error compensa-
operation with YASNAC standard tape
tion or stored stroke limit is pro-
reader (No.2 RS-232C)
vided.
D6 I: Rewinds at M30 command in Tape oper-
When this parameter is set to n 1, n Cycle Start is ation with Yasnac standard tape reader.
not activated unless reference point return of all
the axes have not be completed. Setting it to 11 all 0: Does not rewind at M30 command in tape
determines whether reference point return is operation with Yasnac standard tape
required or not for each axis. reader.
Refer to parameters #6011 DO to D4.
D5 j: 0 is changeable with IAL T I operation.
DOl: Enables automatic coordinate system 0: 0 is not changeable with IAL TI operation.
setting
2: Disables automatic coordinate system D4 1: Feed hold block stop ineffective when
setting. tapping with GS4

Refer to #6630 to #6639. 0: Feed hold block stop effective when


tapping with GS4
D3 1: Manual absolute effective in the G91

#6007 I D71 D61 D5 I 041 D31 D21 Dl I I


DO
mode.
0: Manual absoulte ineffective in the G91
mode.
D7 1: Disables start interlock after edit. D2 1: Changes approach speed to jog speed
0: Enables start interlock after edit. when restarting program.
0: Changes approach speed to fast feed
D6 1: Employs the newly entered tool compen- when restarting program.
sation value in place of the old value.
Dl 1: Does not clear the common variables
0: Adds the newly entered tool compensa- of #100 through #149.
tion value to the soterd value to establish
another offset. 0: Clears the common variables of #100
through #149.
D5 1· Enables error detect ON mode at dwell.
. 0: Disables error detect On mode at dwell. DO 1: Requires Edit interlock for Manual Zero
Setup.
D4 1: Provides output during rewinding.
0: Does not require Edit interlock for
0: Provides no output during rewinding. Manual Zero Setup

1: Sets the least increment to 0.0001 in. Note: Some controls are not provided with
0: Sets the least increment to 0.001 mm. the parameter #600S.

228
#6009 #6010 I D71 D61 05 104 103 I 021 01 100 I
D7 1: Up to 256 characters can be set in 1 tape
read block. D7. D6. D5
Specify whether or not the automatic pulse is
0: Up to 128 characters can be set in 1 tape effective on the Z-. Y-. and X-axis, respec-
read block. tively.

06 1: Feed is provided when output from the I: Effective


NC.
0: Ineffective
0: Feed is not provided when output .from the (Automatic handle Offset)
NC.
D4. D3. DZ' Dj. DO
D5 1: Space code exists between programs at all
progr.m outputs (0 - 9999 OUT). Specify the direction of reference point re-
turn on th 4th-. 5th-. Z-. Y - and X -axes.
0: Space code does not exist between programs respectively.
.t all program outputs (0 - 9999 OUT). I: Minus direction

D4 1: RST is output when both RWD and EOP 0: Plus direction


are input in M02/M30, or when EOP alone
is input. NOTE: The specification is effective for an
axis with #6016 at til. tI
0: RST is not output when both RWD and
EOP are input in M02/M30, or when EOP Backlash is applied first when the tool is moved
alone is input. in the reverse direction of that specified by DO to
D4 after turning on power.
Note:

D3 1: G68 is effective by the coordinate rotation 1/6011 I 07 1 06 1 05 1 04 1 03 1 02 1 01 I DO I


command.

0: G54 is effective by the coordinate rotation D7 1: Convert the 11:" into ~on upon tape in/out.
command.
0: Do not convert the /I: n into "on upon tape
D2 1: FH LT lights and MST is stored when the in/out.
mode is changed from program execution
mode to manual mode. D6. D5
Specify whether or not the automatic pulse is
0: FH LT does not light and MST is forced to effective on the 5th, and 4th axes, respec-
FIN when the mode is changed from . tively.
program execution mode to manual mode.
I: Effective
Dl Select which handle is used for the lower

DO } I-digit speed correction function, where


there are three manual pulse generators.
0: Ineffective

D4. D3. D2. Dl. DO


DI DO Selected handle
Command. reference-point interlock for 5th,
0 0 None 4th. Z-. Y -. and X -axis respectively. before
0 I 1st handle cycle start.
I 0 2nd handle 1: Interlock enable
I 1 3rd handle 0: Interlock disable

Note: Effective when the optional parameter 36048


Note: The specification is effective when #6006
D4 is I. Dl is "0. 11

229
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'D) #6015 D41 D31 D2 DI I I
DO

#6012 I D4 I D1 I D21 Dl I DO
D4. D3. D2. D\. DO
Specify whether or not the automatic coor-
D4. D3. D2. D 1. DO dinate system setting is effective on the
4th-, 5th -. Z-, Y - and X -axes. respectively
Specify whether or not the plus-direction
external deceleration signal is effective on 1: Effective
the 4th- • 5th-. Z-. Y - and X -axes. respectively. 0: Ineffective
1: Makes the plus-direction external
deceleration signal effective. Natf? : The automatic coordinate system is
established with the following
0: Makes the plus-direction ('xternal parameters:
deceleration signal ineffective.
Metric system; #6636 - #6639
Inch system' #6630 - #6633
#6013 ID41DJ I D2\DI IDol

D4. D3. D2. D 1. DO


Specify whether or not the minus-direction
#6016 I04 IDJ I D21 01 I DO I
external deceleration signal is effective on
the 4th-. 5th-. Z-, Y- and X-axes, respectively.
D4. 03. D2. Dl. DO
1: Makes the minus direction external de- Specify whether or not reference point re-
celeration signal effective. turn is effective on the 4th-, 5th-. Z-. y-
0: Makes the minus direction external de- and X-ases. respectively.
celeration signal ineffective. 1: Makes reference point return effective.
0: Makes reference point return ineffective.

#6014 I D71 D61 D5 I D4 IDJ I D2 IDI I DO I #6017 I D71 D61 Dsl D41 D1 I D21 D1 DO

D7 1: PC CPU error is triggered.


0: PC CPU error is not triggered.
D7 - DO
D6 1: SV CPU error is triggered. Specify whethe!" or not a hole is to be made
0: SV CPU error is not triggered. on channels 8-1, respectively. in a code
corresponding to symbol n #11 (used with user
D5 1: ACGC2 SYNC ERROR or AMGC SYNC macro) in the EIA code.
ERROR occurred. I: Hole
0: ACGC2 SYNC ERROR or AMGC SYNC 0: No hole
ERROR did not occur. Example:
D7 - DO = 01001001
D4. D3. D2. Dl. DO
Specify the direction of the G60 unidirectional
approach upper limit on the 4th-, 5th~. z-. The code with holes on channels 7. 4 and 1
y- and X-axes, respectively. is considered equivalent to symbol II #" in the
EIA code. No code for use by the unit can
1: Minus direction be set.
0: Plus direction
Note: The specification of D7 - DO "'0000000
The approach upper limit is set with assumes that symbol 11 W' is not used
Note:
in the EIA code.
#6062 to #6065.

230
#6018 I I
D7 D6 105 I I
D4 D3 I I I
Dl DD
DO 1: Outputs the external operation signal
EF at the end of positioning by G81
(G81 being external operation function).

1: Provides dwell at hole bottom in the can- 0: Does not output the external operation
ned cycles of G76 and G77. signal EF at the end of positioning by
G81 (G81 being canned cycle).
0: Does not provide dwell at hole bottom in
the canned cycles of G76 and G77.
Notr: The dwell time is set with #6210. #6019

I: Establishes M03 for G74 and M04 for G84


a5 the M code for output at hole bottom D7 Stops the tape at the initial "%" during tape
in the canned cycles of G74 and G84. operation.
0: Reverses the M code in effect before the 1: Effective
canned cycles for output at hole bottom
in the canned cycle of G74 and G84. 0: Ineffective
06 1: When parameter outputs, only #7000 - #7999
Before Hole bottom is output.
canned c de
0: When parameter outputs. full range is
M03 M04
output.
M04 M03
04 I: Employs the feed rate set in parameter
#6232 for the skip function command
Note: This specification is effective when (G 31) .
04 = 0 in #6018.
0: Employs the F code command as the
feed rate for the skip function command
1: Rotates the spindle forward and in
(G3!) .
reverse. outputting MOS at hole bottom
in the canned cycles of G74 and G84. 03 1: Reset OFF at Emergency Stop
0: Rotates the spindle forward and in 0: Reset ON at Emergency Stop
reverse, not outputting MOS at hole
bottom in the canned cycles of G74 02. O!
and G84.
Specify the tool shift direction in the can-
Note: This specification is effective when ncd cycles of G 76 and G 77 (effectiv(! when
04 00 in #6018. #6019 ~ 0).

02 01 Shift direction
04 I: Outputs a read-only signal (SSP. SRV.
OSS) in the canned cycles. I I ~y

0: Outputs the M code in the canned cycles ! 0 .y

0 ! ~X
D3 1: Does not wait for P SET at GOO and GOI
to GOO commands. 0 0 ·X
0: Waits for P SET at GOO and GOI to GOO
commands.
1: Allows the tool shift direction in the
cannp.d cycles of G76 and G77 to bf'
l~ Outputs·the FMF signal twice in a can- specified in setting #6506 (specifiable
ned cycle. in the +X direction in increments of
0.001; the shift being' clltting feed).
0: Outputs the FMF signal onc(' in d can-
ned cycle.
0: Allows the tool shift direction in the
canned cycles of G76 and G77 to be
specified in D2 and D 1 of parameter
#6019 (specifiable only axially).

231
PARAMETER NUMBERS AND THEIR CONTENTS D6 1: Erases and stores the previous 0
(CONT'D) when loading a tape provided with
an O.
#6020 1071 06105 104 1031 021 01 100 1 0: ALREADY IN will be displayed if the
same 0 number exists when a tape
D7 1: Assigns selection of group specifica- with an 0 is loaded.
tion numbers to an external signal
when the tool change skip signal is D5 1: Executed ON/OFF control of RTS signal
during RS-232C operation until loading
ON during life control.
ends.
0: Assigns selection of group specifica- 0: Sets RTS signal to ON state during
tion numbers to the currently specified RS-232C operation until loading ends.
group when. the tool change skip signal
is ON during life control.
D4 1: Refers to DR (Data set ready) during
D6 1: Assigns selection of the T command RS 232C operation.
group to the T command immediately
prior during the M06 command in life 0: Does not refer to DR (Data set ready)
control. during RS 232C operation.
D: Assigns selection of the T command D3 I: Outputs 00 with 0 through 9999 OUT.
to the latest T command during the
M06 command in life control. 0: Does not output 00 with 0 through
9999 OUT.
D5 1: Assigns group number specififcation
to an external signal during tool change D2 1: Displays the 0 number when the power
supply is turned on and off.
reset in life control.
0: Displays 0 when power is turned on.
0: Assigns group number specification
to setting #6204 during tool change 1: Employs the value following address 0
reset in life control. or N as the program number (speciable
in one block).
D4 1: Counts with M02/M30 when count is
the type of life control. 0: Employs the value following address 0
as the program number.
0: Counts with T9999L666 when count
is the type of life control.
DO 1: Considers M02, M30 and M99 as the
D3 I: Sets FI4 (in/rev) for the feed per program end when machining data is
minute in the inch system. stored into memory.
0: Sets F13 (in/rev) for the feed per 0: Does not consider M02, M30 and M99
minute io the inch system. as the program end when machining
data is stored into memory.
D2 1: Sets F23 (mm/rev) for the feed per
minute in the metric system.

0: Sets F23 (mm/rev) for the feed per #6022 107106 105 104 103 102 101 100 1
minute in the metric system.
Dl I: Sets F 32 (mm /min.) for the feed pl'r 1: Sets input unit of parameter setting
D7
minute in the metric system. to 10 RPM when specifying the 55
0: Sets F31 (mm/min.) for the feed per digits.
minute in the inch system. 0: Sets input unit of parameter setting
to 1 RPM when specifying the 55
DO 1: Sets F51 (mm/min.) for the feed per digits.
minute in the metric sy~tem.
D6 1: Enables binary search of EDIT /MEM.
0: Sets F50 (mm/min.) for the feed per Character search is also possible if
minute in the metric system. the NEXT key is pressed.

#6021 1071 061 05 104 1031 021 01 100 1 0: Enables search of


only.
EDIT /MEM character

D7 1: Makes editing interlock 09000 through


09999 effective.
0: Makes editing interlock 09000 through
09999 ineffective.

232
D5 1: Makes editing display of 090000 through
09000 Interlock effective. #6024 I D4 1 D31 D2 I I
Dl DO 1
0: Makes editing display 09000 through 09999
Interlock ineffective. D7 \Vhen 5th axis is rotary axis. stored stroke
limit is
D4 1: Makes intermediate POT display effec-
tive. 1: Effccth-e
0: Makes intermediate POT display inef- 0: I neffecUve
fective.
Db Ignorance of additional axis (5NG)
D3 1: Makes tool POT word display effective.
0: Makes tool POT byte display effective. I: ON
D2 I: Enables writing word 0: OFF
0: Enables writing bytes in keep memory.
Note: When this parameter setting is changed,
DI 1: No parity bit when punching out an turn off the power. Setting the parameter except
ISO tape to "0," display shows additional axis is provided.
However, this additional axis cannot be effective
0: Parity bit exists when punching out without changing hardware (SR20-**).
an ISO tape
DO I: Enables read of ISO tape possible
D4-DO: Set address of pan-out and CRT display
even without parity.
on the additional axis.
0: Disables read of ISO tape without
parity. Address D4 D3 D2 Dl DO
A
#6023 I
07
1
D6 I I D4 D31 D21 Dl I DO 1 B
0
0
0
0
0
0
0
I
I
0

D7 When 4th axis is rotary axis. stored stroke C 0 0 0 1 1


limit is U 1 0 I 0 1

1: Effective
V 1 0 I I 0
0: I neff("ctlve W 1 0 1 1 1

Note: These parameters cannot be written when


D6 Ignorance of additional axis (4NG) parameter #6030-D7 is "0. IT
1: ON

0: OFF #6025

Note: When this parameter setting is changed, Parameter #6025 cannot be written at any time.
turn off the power. Setting the parameter except
to "0,11 display shows additional axis is provided.
However. this additional axis cannot be effective
without changing hardware (SR20-**). #6026 1 I I D5 D4 1 D31 D2 1 Dl I
DO 1

D4- D O #6027 1 I I
1 D5 D4 D31 D2 1 Dl I
DO 1
Set the address for pan-out and CRT dis-
play on the additional axis. #6026. #6027.:

D3 DZ DI DO D5 I: Does not allow the con trol code (DC 1 -


Address D4
DC 4) to be used on the I/O device.
A 0 '·0 0 0 I 0: Allows the control code (DCI - DC4) to
B 0 0 O· I 0 be used on the I/O device.
.
C 0 0 0 i I D4 f: Employs 2 stop bits on the I/O device.
U I 0 I 0 1 0: Employs stop bit on the I/O device.
V I 0 I I 0
D3 - DO
W I 0 I I I
Baud rate setting

233
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'O) #6050 1 07 I06 105 I 1
00
I
#6051
Baud rate D3 D2 DI DO I 07 1 06 105 I 100 I
50 0 0 0 0
100 0 0 0 I
#6052 1071061051 1 00 I
llO 0 0 I 0
ISO 0 0 I I
#6053 07 06
I 05 1 1
00
I
200 0 I 0 0
300 0 I 0 I
#6054 07
I 1
06 05
1 I
00

600 0 I I 0
#6055 ID71D61D51 1 D1 1 00 I
1200 0 I I I
2400 I 0 0 0 Shown in the order of X-axis Y-axis, Z-axis,
4th-axis, 5th-axis and spindle.
4800 I 0 0 I
D7, Db
Note: #6026 provides the setting on input device
1(510-1) and #6027 on input device 2(510-2). Be sure to set the assignment of servo control
form.

#6028 105104103102101 100 I CNTL 2: 0


CNTL 1: 0
#6029 Spindle only: O. 1

D5 1: No servo control is performed.


D5 1: Does not use control codes (DCI-DC4).
0: Uses control codes (DCI-DC4) 0: Servo control is performed.

D4 1: Sets stop bits as two bits in the D1 1: Perform spindle indexing when entering
output device. the solid tap mode by G93.

0: Sets stop bits as one bit 0: Do not perform spindle indexing when
entering the solid tap mode by G93.
D3 to DO Baud rate setting
DO 1: Operation confirmation of each unit is
Baud rate setting not performed during system operation.

Baud Rate D3 D2 Dl DO 0: Operation confirmation of each unit is


50 0 0 0 0 performed during system operation.

100 0 0 0 1 Note: Normal setting is "0. n

llO 0 0 1 0
Note: When these parameters are changed, be
150 0 0 I 1 sure to turn the power off and on.
200 0 1 0 0
300 0 1 0 1 #6056
bOO 0 1 I 0
1200 0 1 1 I X-axis, Y-axis, Z-axis, 4th axis, 5th axis, spindl
in this order.
2400 1 0 0 0
4800 1 0 0 1 D3 to DO

Set the magnification of the feedback pulse input


Note: 1. #6028 is for setting output device 1 the NC unit.
(510-1).
2. #6029 is for setting output device 2
(510-2) •

234
~
XI
D3
0
D2
0
DI
0
DO
I
#6058 I D31 D21 Dl 1 DO I
X2 0 0 I 0 X-axis, Y-axis, Z-axis, 4th axis, 5th axis. spindle,
X4 0 I 0 0 in this order.
X8 I 0 0 0 D3 to DO
Note: Always turn off the power once when change
Set the magnification of the feedback pulse input to
is made to the setting.
the NC unit.

D7, D6
~ D3 D2 Dl DO
X-axis Circular Projection Compensation XI 0 0 0 I
X2 0 0 I 0
D7 D6 Compensation
X4 0 1 0 0
0 0 None
X8 I 0 0 0
1 0 Provided
Note: Always turn off the power once when change
is made to the setting.

#6057 1D3 1D2 1Dl 1DO I D7, D6

X-axis, Y-axis, Z-axis, 4th axis, 5th axis, spindle,


Z-axis Circular Projection Compensation
in this order.
D7 D6 Compensation
D3 to DO 0 0 None
1 0 Provided
Set the magnification of the feedback pulse input to
the NC unit.

~ D3 D2 Dl DO
#6059 1 03 1 D21 DilDO I
Xl
1 D31 D21 Dl 1 DO I
0 0 0 I
#6060
X2 0 0 I 0
X4 0 I 0 0
X8 I 0 0 0 #6061 1 D31 D21 Dl 1 DO I
Note: Always turn off the power once when change Shown in the order of X-axis, Y-axis. Z-axis,
is made to the setting. 4th-axis, 5th-axis and spindle.

D7, D6 D3 to DO: They set the pulse scale factor of


feedback pulses to be input into NC
unit.
Y-axis Circular Projection Compensation

""
D7 D6 Compensation D3 D2 Dl DO
0 0 None
xl 0 0 0 0
1 0 Provided
x2 0 0 1 0
x4 0 1 0 0
x8 1 0 0 0

Note: Be sure to turn the power on and off


after changing the parameter.

235
PARAMETER NUMBERS AND THEIR CONTENTS
#6065
(CONT'O)

#6062 D7 1: Spindle PG is attached to the motor


(indicate the PG mount position).
D4: This sets the signal state of processing
0: The spindle PG is directly linked to the
start of tlskip" input for skip function.
spindle.

D5: This sets the signal state of processing Note: Always turn off the power once after setti
start of npINT" input for pint function. this parameter.

D2 1: The T number of the executed offset


+24 V register in the tool nose coordinate syst(
and the coordinate system offset memory
are compared and checked.
oV
0: The T number of the executed offset
register in the tool nose coordinate syst<
0: When this parameter is set to "0,11 the
processing starts at the time when the
and the coordinate system offset memory
.are not compared or checked.
change of 24V + OV occurs.
D1 1: The synchronous error peak value of thE
@: When this parameter is set to 111. n the spindle and the Z-axis during solid tap i
processing starts at the time when the displayed.
change of OV + 24V occurs.
0: The synchronous error peak value of thE
Note: Be sure to turn the power on and off spindle and the Z-axis during solid tap i
after changing the parameter. not displayed.

Note: Be sure to set "0" except in D4 and D5. (The plus peak value is displayed on the
X-axis pulse display section, and the minus
peak value is displayed on the Z-axis error
#6063 01 pulse display section.)

Dl: This determines the ENABLE/DISABLE of DO 1: Do not wait for PSET during the tapping
control circuit of nSKlpn input for skip function. cycle by the solid tap function.
D3: This determines the ENABLE/DISABLE of 0: Wait for PSET during the tapping cycle 1
control circuit of "PINTII input for pint function. the solid tap function.
Note: Be sure to set Ill" when using the skip
function and program interruption function. #6066 \ 07\ 06 \ 05\ 04\ 03\ 02
Note:· Be sure to turn the power on and off after
changing the parameter to set n On except in D 1 D7 1: JOG speed of 4 and 5 axis is 1/10 of 3
and D3. axis.
0: JOG speed of 4 and 5 axis is not 1/10
of 3 axis.
#6064 \ D4\ 03\ 02\ D1 \ DO \
D6 I: At power ON. M97.
D4, D3, D2, D1, DO 0: At power ON, N96.

Shown in the order of 5th-axis, 4th-axis, Z-axis, D5 1: HID changing 1491149 sets.
Y-axis and X-axis. 0: HID changing 99/199 sets.

1: Follow-up processing is performed during D4 1: With interference check function


servo-off input.
0: Without interference che<;k function
0: Follow-up processing is not performed during
servo-off input. D3 1: Cross point calculation automatic selectior
is performed

0: Cross point calculation automatic selectior


is not performed

236
D2 1: CMOS free area check function is invalid D6, D5 Parity Check Designation

0: CMOS free area check function is valid D6 D5 Check status


DO 1: Workpiece setter, tool setter, tactile sensor 0 0 No parity
input signal selection 0 1 Even parity
1: Tactile sensor signal hardware interruption I 0 Odd parity

0: Tactile sensor signal 1/0 D4 Character bit setting

I: 8 bits
#6067 1 D61 05 1 D41 D3 1 D21 D1 1 DO 1
0: 7 bits

Specify the format of the communication module D3 Stop bit setting


RS-232C.
1: 2 bits

D6, D5 Parity Check Designation 0: 2 bits

D6 D5 Check status D2, D1, DO Baud Rate Setting


0 0 No parity
Baud rate D2 DI DO
0 1 Even parity
1200 0 0 0
1 0 Odd parity
2400 0 0 1
D4 Character bit setting 4800 0 I 0
9600 0 I I
I: 8 bits
19200 I 0 0
0: 7 bits

D3 Stop bit setting #6069 1 D71 D61 D51 D41 D3 D21 DIlDO 1
1: 2 bits
Specify the D7. D6, D5 communication module
0: 1 bit protocol.

D2, Dl, DO Baud Rate Setting D7 D6 D5

Baud rate D2 Dl DO Protocol I 0 0 0

1200 0 0 0 Protocol 2 0 0 1
2400 0 0 1 Protocol 3 0 1 0

4800 0 1 0 Protocol 4 0 I 1

9600 0 1 1 D4 Control character transmission designation


19200 I 0 0
0: No transmission

1; Transmission
#6068 1 D61 D51 D41 D31 D21 D1 1 DO 1

Specify the format of the communication module


RS-422.

237
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'D) #6072 I 07 1 06 1 05 1 04 1 01 I 02 1 01 I DO I

D3, D2 DNe Operation Start When the expanded playback external writing sig)
Buffer Storage Amaun t is on

03 02 Buffer storage 0: Not written


0 1 128 bytes 1: Written
1 0 256 bytes
1 I 512 bytes 00 X-axis
0 0 2048 bytes DI Y-axis
D2 Z-axis
01 I: Triggers alarm also on the NC side when
alarm occurs in the ONC. D3 4th axis
D4 5th axis
0: Does not trigger alarm on the NC side
when alarm occurs in the DNe. D5 Cutting feedrate F
D6 Spindle speed S
02 I: Device designation judgment input
designation: setting (#60037) 07 Tool command T

0: Device designation judgment input


designation: . 110 (#13107)
#6071 I041031o2j[)1100
#6070 ~,c\\ AT~"EOL:j 02 01 DO D4 1: With M code macro call argument
designation
07 OAT binary data after the WAT command:
150 bytes (I5-segment) buffering function
0: Without M code macro ca1l argument
designation
designation
D3 When there are two numbers for the same
1: Performs buffering
address
0: Does not perform buffering
1: The latter number is effective
Note: Measurement to the MAKINO TMS operation
0: Triggers double-address error
machine.
D2 Tool position offset (G45 to G48) number
command
D6 TIMEOUT #6069 When 01 = 1

1: TIMEOUT error alone is not output. 1: H code. D code are effective

0: D code alone is effective


0: Normal
01 The TR
D2, Dl t DO
1: Prohibits
DNe high-speed cutting multi-segment designation
0: Performs
02 01 DO Segment
the M code macro call upon restarting the
0 0 0 8-ms mono-segment program
0 0 I 4-ms multi-segment
DO The TR
0 1 0 2-ms multi-segment
I-ms multi-segment 1: Prohibits
0 I I
Currently cannot be used)
0: Performs
I6-ms multi-segment
I 0 0 (Currently cannot be used) the M code macro call upon restarting the
program

#6077 to #6091 are circular projection compensatio


(soft hammer) parameters, used as byte paramete

238
#6077 1st X-axis speed command
I #6091 ·1L__~__L-~__-L__~__L-D_1L-D_O~
#6078 1st Y -axis speed command
J 01, DO

#6079 1st Z-axis speed command Internal Buffer Transmission Method


(IF -+ NC) Setting Parameter
#6080 2nd X-axis speed command
Dl DO Transmission byte
0 0 128 x 8
#6081 2nd Y-axis speed command
0 1 256 x 4
1 0 512 x 2
#6082 2nd Z-axis speed command
1 1 1024 x 1

Setting: "In = 500 pps


#6107
Setting range: o to 255
Specifies the number of manual pulse gener-
#6083 Ix-axis I
offset start waiting time ators.
Setting: Ill";:: 1
Setting range: a - 5
#6084 IY-axis offset start waiting time I
Note: When change is made to this parameter,

#6085 IZ-axis oHse.t start waiting time; I


always turn off the power once.

#6110
#6086 H IX effective time

#6111
#6087 HI Y effective time

#6112 *
#6088
I HIZ effective time

#6113
#6089
I H2X effective time

#6114
#6090
I H2Y effective time
#6115 ( ) )
#6091 H2Z effective time
~6110 to #6115:
Setting: n 1 IT 2 ms
Specify punches of the codes corresponding
Setting range: o to 255 to the symbols of EIA codes used in the user.
macro body.
1: Punched
#6092
0: Not p'unched

D7 1: Displays the macro call T code upon Setting range: 0 - 255


restarting the program

0: Does not display the macro call T code


upon restarting the program

239
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'D) #6133

#6116 #6130 to #6133:


Specify up to 4 M codes for calling user
macros.
#611 7
Setting range: 0 - 255
Note: MOO, MOl, M02, M30 and M90 - M99 cannot
#6118
be called by user macros.

#6119
#6134
Maximum 4 types of M codes to stop advance
reading.
Setting range: 0 - 255 1: Allows the T code to call a user macro.
0: Does not allow the T code to call a user
macro.
#6120

#6121 #6136 1st byte

#6122 #6137 2nd byte

#6l23 #6138 3rd byte

#6124 C-5/ DNe high-speed cutting data


Start character
#6125
#6139
#6126
DNe high-speed cutting data axis designation
Setting range: 0 to 2
#6127 C-8!
#6128 #6141

#6129 #6142

#6120 to #6129: #6143


Specify up to 10 G codes for calling user
macros. #6144
Setting range: 0 - 255
#6145

#6130 M-I /
#6146

#6131 M-2 /
#6147

#6132 M-3 I #6148

#6149

240
#6141 to #6149:
#6161
Specify the feedrate change for one incre-
ment on a manual pulse generator, for Fl to
F9. respectively. of Fl-digit designation. Spindle error detect ON area (for solid tap)
Setting: ttl" = 0.1 mm/min.
Setting: "I n ;:: I pulse
Setting range: 0 - 255 /pulse
Setting range: 0 to 255

#6150 Note: Always turn off the power once when change
is made in parameters #6150 to #6161.
#6151

#6162
#6152
#6163
#6153
#6164
#6154
#6165

Specifies magnification for the deviation pulse at the #6166


most rapid traverse time of the X -axis, in the alarm
zone in the successive order of X-axis, Y-axis,
Z-axis, 4-axis and 5-axis. #6167

Setting: "1":;: 1%
M codes to stop advance reading setting expanded
Setting range: 1 - 200 (stored setting:;; 120) area.

#6155 #6168 X-ax i s

#6169 Y-axi s
Set the magnification against the deviation pulse at
the maximum speed of the spindle in the spindle
alarm zone. #6170 Z-axis

Setting: "11!:;; 1% #6171 4th axis

Setting range: 1 to 200 #6172 5th axis

Note: The error when n01l is 'Set in #6150 to #6155


is n 120. II The parameter value is also rewritten to
120. Set pitch error compensation setting pulse
multiplication factor for X-. Y -, Z-, 4th-, and
5th-axis, respectively.
#6156 Setting: "I n ;:: 1 mUltiplication
Setting range: 0 - 3
#6157
#6174
#6158

#6159 Spindle error detect ON area (for spindle indexing)

Setting: "1 II = I pulse


#6160
Setting range: 0 to 255

Sets Error Defect ON area for X-, Y-, Z-, 4th and
5th-axis, respectively.
Setting: II 1 II ;:: 1 pulse #6180
Setting range: 0 - 255
Note: When this parameter setting is changed, FSMEM (FS storage) count
turn on the power.
Setting range: 0 to 128

241
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'D)
#6213

#6181 G83 8 amount


Setting: 11111 "" 0.001 mm/min or 0.0001 inch/min
Setting range: o - 32767
FSMEM (FS storage) warning Specify the feed rate change for one incre-
ment on a manual pulse generator, for Fl to
Setting range: 0 to 128 F9, respectively. of Fl-digit designation.
Setting: 11111 ;::: 0.1 mm/min.
#6196

#6217
Intermediate gear

Automatic corner override F2 (command feed n%)


#6197
Setting: 11111 = 1%

Spindle gear
#6218

#6198 Automatic corner override F3 (command feed n%)

Setting: It 1 T1 = 1%
Spindle and spindle motor gear ratio (motor side)

#6199 #6220

Spindle and spindle motor gear ratio (spindle side) Specifies the interval from the time. M. S.
T and B codes are transmitted until the
time MF. SF. TF and BF are transmitted.
#6210 Setting: 11111 "" 1 ms
Setting range: 0 - 32767
G76/G77 dwell timer
Setting: 111";::: 1 ms
Setting range: 0 - 32767 #6221

#6211
Specifies the interval from gear output
G73 8 amount (GRH, GRL) unit SF transmission when an
Setting: np;::: 0.001 mm/min or 0.0001 inch/min 55-digit designation is added.
Setting range: 0 - 32767 Setting: (11 11 :; 1 ms
Setting range: 0 - 32767

#6212
#6222
G73/83 default dwell

Setting: tlllI;::: 1 ros Specify the maximum handle feedrate, which


is common to the linear axes (X. Y. Z. U.
Setting range: 0 to 32767 v. W).
Setting: I1p = 1 mm/min. or 0.1 inch/min.

Setting range: 0 - 24000

Note: The settings for the rotary axes


(A. B. C) are made with #6348.

242
#6223 #6228

Specifies the tool shift speed for canned


Specifies the maximum feedrate for the rotary
cycles of G76 and Gn.
axes (A, B, C).
Settin g: II 1 n = 1 mm I min.
Setting: II}U = 1 mm/min. or 0.1 inch/min.
Setting range: 0 - 24000
Setting range: 0 - 24000
Note: This specification is effective when
#6019DO = 1. #6229
If #6019DO = 0, rapid traverse is
effective regardless of this para-
meter specification. Specifies the maximum feedrate for the
rotary axes (A, B, C).
Setting: "1'1;; 1 mm/min.
#6224
Setting range: 0 - 24000

Note: any feedrate greater than those set


Specifies the delay time for checking the in #6228 and #6229 are bunched into those
spindle speed reaching signal (SAGR). settings.
Setting: nIl! = 1 rns
Setting range: 0 - 32767 #6230

When a circular path is drawn in tool radius


# 6225 1_ 1- compensation outside a corner-approaching
~--------------~
180 0 • the movement follows on a very small
circular arc. In this, arc movement is con-
Specifies the feedrate for the rapid traverse
section in circle cutting (GI2, G13). sidered to affect the workpiece surface
machining. this parameter is used to set
Setting: "P = 1 mm/min. or 0.1 inch/min. the critical arc value.
Setting range: 0 - 24000
Setting: "1'1 = 0.001 mm (metric system)
"}" = O.OO} in. (inch system)
#6226
Setting range: 0 - 32767

#6227

#6266. #6277
Specify the maximum feedrate for F)-digit
designation.
Setting: "1" = 1 mm/min.
Setting range: 0 - 24000-

Note: The maximum feedrate for Fl-F4


commands is set in #6226 and that
for F5-F9 commands in #6227. Any
feedrates increased on manual pulse The corner arc setting is ignored when:
generators are bunched into these
6X ~ #6230
settings.
6Y ~ #6230
Standard setting 5

243
PARAMETER NUMBERS AND THEIR CONTENTS Typical settings
(CONT'D)
Table 3.3.6 Typical Settings mm/min

#6231 Continuous
Switch Parameter
manual feedrate
position
Specifies the F 0 speed for rapid traverse NumbL!r SdtJng #6250 0 0 #6265 0 10
override.
0 #6233 0 0 0
Setting: 11 111 mm/min. or 0.1 inch/min.
I #6234 I I 0.1
Setting range: 0 - 24000 2 #6235 2 2 0.2
3 #6236 4 4 0.4
#6232 4 #6237 6 6 0.6
5 #6238 8 8 0.8
Specifies the feedrate in the skip function 6 #6239 10 10 1.0
(G31) • 7 #6240 12 12 1.2
Setting: nI";;: mm/min. or 0.1 inch/mm. 8 #6241 15 15 1.5
Setting range: 0 - 24000 9 #6242 20 20 2.0
10 #6243 25 25 25
Note- : This setting is effective when parameter
#6019D = 1. II #6244 30 30 30
4 12 #6245 40 40 40
13 #6246 50 50 50
#6233 14 #6247 60 60 60
15 #6248 80 .. 80 . -SO
to to 16 #6249 100 100 100
17 #6250 120 120 120
#6264 18 #6251 ISO 150 150
19 #6252 200 200 200
#6233 to #6264 20 #6253 250 250 250
21 #6254 300 300 300
Specify the feedrate for the respective
22 #6255 400 400 400
positions on the Jog feedrate select switch.
23 #6256 500 500 500
Setting: "1":;::: 1 mm/min. or 0.1 inch/min. 24 #6257 600 600
600
Setting range: 0 - 24000 25 #6258 800 800 SOO
26 #6259 1000 1000 1000
27 #6260 1200 1200 1200
28 #6261 1500 1500 1500
29 #6262 2000 2000 2000
30 #6263 2500 2500 2500
31 #6264 3000 3000 3000

244
#6265 #6271

The manual fecdralcs set in parameters #6272


#6233 to #6264 can each be reduced to a
tenth of the original setting. This applies
to the settings on all switch positions lower #6273
than the value specified in this paramc.tcr
#6265.
-I #6274
Setting: 0 - 32 (switch position)

/16271 to /16274:
#6266
Specify the maximum speed of the spindle D I A
(10 V/409S), respectively, for gears 1, 2, 3 and
#6267 4 each selected by an input signal (specifiable in
S5-digit designation). Set the spindle speed
applicable when the speed command voltage is
#6268 10 V.
Setting: I1J1' = 1 r/mfnor II}" = 10 r/mtn
#6269 (For parameter #6022 D7)
Setting range: 1 - 32767

/16266 to #6269:
SPI)lt)L£ MOTOR
SPE£D COMI'tAKD
Specify the maximum spindle speed, respectively,
for gears 1 J 2, 3 and 4 (specifiable only in
S5-digit designation).
Setting: "111;;;; 1 r/mln or 11111 ::;; 10 r/mtn
Setting range: 0 - 32767

#6270

Specifies the speed command output value


to the spindle molor when a gear shift (GR 0)
input is entered (specifiable only in S5-digit
designation) •

Specifies No. of bits occupied in 32767 (16 bits) #6275


or 4095 (12 bits) directly.
Gear shift spindle motor speed Specifies the spindle motor speed in effect
Setting value: Spindle molor max speed when a spindle orientation (SOR) input is
(Command = 10 V) entered (specifiable in SS-qigit designation).
x 4095 --- 12-bit output Setting: "l II = 1 r/mln
(For parameter #6022 D7)
Gear shift. spindle motor speed Setting range: 1 - 32767
Spindle motor max speed
(Command = 10 V)
x 32767 --- Analog output
Setting range: 0 - 32767

245
PARAMETER NUMBERS AND THEIR CONTENTS Rapid traverse rate: Va ;;;: #6280 -+ Rate vIa
(CONT'D) recreated by the
calculations.

#6276 Acceleration & deceleration 1st-stage time


constant:
ta ~ #6286
#6277
"2nd-stage time constant switching rate:
vb ;;;: #6292 -+ Rate vIa recreated by
#6278 the calculations.

Acceleration & deceleration 2nd-stage time


#6279 constant: #6298
(a) Where 2nd-stage acceleration & deceleration
#6276 to #6279: are not used:
Condition: vb;;;: 0
Specify the maximum -speed of the 'spindle, tb ~ 0
respectively, for gears 1, 2, 3 and 4 each
selected by an input signal (specifiable in
55-digit designation). v'a tva * 100\ I ta
\7.5 MPj 8
Setting: "111 = 1 rpm or 111" = 10 rpm
Setting range: 0 - 32767 RATE

va--4----,r------------
#6280 X-axis I

#6281
I Y-axis I
--+--+-----~- TIME
#6282
I Z-axis I ta

#6283 4th axi s I (b) Where 2nd-stage acceleration &- deceleration


are used:
#6284 5th axi 5 I
v'b ~ ~va
7.5
* 100) /B.
MP 8

#6280 to #6284: v'a ~ vlb + (va-Vb/ 100)


7.5 MP
* tb
8
Specify the rapid traverse rate, respectively.
on the X-, Y-, Z-, 4th- and 5th-axes. RATE
Setting: II}'! = 1 mm/min, or "1" = 0.1
inch/min. va
Setting range:
Note:
0 - 24000
Be sure to turn the power on and off vb /
/
after changing" the parameter.
(Reference)
The following calculations are made between TIME
rapid traverse rate and acceleration and
deceleration for re-computing the rapid ta tb
traverse rate and second- stage time con-
stant switching rate. The example of
Note 1: Setting of 24,000 mm/min. may sometime
calculations shown below is made for the
becomes 23,999 mm/min. in rapid traverse rate.
parameters related to X-axis, but the same
can be applied also to Y-axis, Z-axis, Note 2: MP indicates #6450 and #6451.
4th-axis or 5th-axis.

246
#6286 X-axis I #6296 5th axis I
#6287 Y-axis I #6292 to #6296:
Specify the second-stage time constant
#6288 Z-axis I switchover speed in linear acceleration I
deceleration, respectively, on the X-, Y-,
Z-, 4th-. and 5th-axes.
#6289 4th axi 5 I Setting: "1":: 1 mm/min. or "l'1 :: 0.] inch/min.
Setting range: 0 - 24000
#6290 5th ax i s I Note: When this parameter is chan ged, turn off
and on power.
#6286 to #6290:
Specify the first-stage time constant in linear
acceleration I deceleration, respectively, on
the X-, Y-, Z-. 4th-, and 5th-axes.
#6298 X-axis I
Setting:
Setting range:
"I" = 1 rns
8 - 32767
#6299 Y-axi s I
FEEDRATE
#6300 Z-axis I
(RAPID TRAV-
ERSE RATE)
'6280
#6301 4th axi s I
'6283

------.------ *6298
#6302 5th axis I
~6301
(SWITCHOVER
SPEED) #6298 to #6302:
1:6286 Specify the second-stage time constant in
1-"6289
linear acceleration I deceleration, respective-
<---------------------------LT[~
ly, on the.X-, Y-, Z-, 4th-, and 5th-axes.
Setting: nIn:;;. 1 ms
#6291 Spindle \
Setting range: 8 - 32767
Note: Setting should be made by multiples (x8,
Sets linear lower limit speed constant x16, x24 ••. )
Setting: "I" = 1 ros
Setting range: 1 - 255 #6304 x-axis}

#6292 X-axis I #6305


I Y-axi s I
#6293 ~ Y-axi s I #6306
I Z-axi s !
#6294 Z-axi s I #6307 4th axi s I
#6295 4th axi s I #6308 5th axis I
#6304 to #6308:
Specify the traverse distance for reference
point return, respectively, on the X-, Y-,
Z-, 4th-, and 5th-axes.
Setting: "II' = 0.001 mm or nIl' :;;. 0.0001
inch/min.
Setting range: 0 - 32767

247
PARAMETER NUMBERS AND THEIR CONTENTS / DECELERATION POINT
(CONT'D)
RATIO TRAVERSE RATE
V .«6280-"6284) APPROACH SPEED 1
(#6310-#6314 )
#6310 X-axis APPROACHSPEED 2
#6316'-#6320)' .
TRAVERSE DISTANCE
(#6304-#6308)
#6311
I Y-axis
L-------~,~D~O~G~,-,~~~--SPEEDSEQUENCE

#6312 Z-axis
-------!~'V\~'~lD~T~H~:-'~-'---DECEL
! t I
LS SIGNAL
~
---~
t
ZERO POINT SIGN
#6313 4th axis
AREA A
... AREA B
C
#6314 5th axis
Reference point return direction:
#6310 to #6314: #6010 DO - D3
Specify the approach speed 1 for reference Reference point return enabled/disabled:
point return, respectively, on the X-, Y-, #601606 - D3
Z-, 4th-, and 5th-axes.
Setting: = 1 mm/min. or nl lt 0.1 inch/min.
1I}11

Setting range: 0 - 24000


::::

#6322 X-axis I
#6323 Y-aXisl
#6316 X-axis
#6324 z-axisl
#6317 Y-axis
#6325 4th aXisl
#6318 Z-axis
#6326 5th aXisl
#6319 4th axi 5
#6322 to #6326:
Specify the number of the start point for
#6320 5th axi s
pitch error compensation, respectively, on
the X-, Y-, Z-, 4th-, and 5th-axes.
#6316 to #6320: Setting: a- 511
Specify the approach speed 2 for reference
point return, respectively. on the X-, Y-.
Z-. 4th-. and 5th-axes.
#6328 x-axisl
Setting: Ill";; 1 mm/min. or nl" :;;: 0.1 inch!
min. #6329 Y-aXisl
Setting range: 0 - 24000
Note: The parameters associated with refer- #6330 z-axisl
ence point return operations are as follows.

#6331 4th aXisl

#6332 5th aXisl

#6328 to #6332:

Specify the number of the start point for


pitch error compensation, respectively, on
the X-, Y-, Z-, 4th-, and 5th-axes.
Setting: a- 511

248
#6334 X-axi s I Notr : Usually, these parameters are
automatically set from the machine tool side
through the external data input function.
#6335 Y-axis I
[ #6348
#6336 Z-axisl

Specifies the maximum speed for handle feed on


#6337 4th axis I the rotary axes (A, B, C).
Setting: lip = 1 mm/min. or "111 = 0.1 inch/min.
#6338 5th axis I Setting range: 0 - 24000

#6334 to #6338:
#6350 X-axis
Specify the reference point for pitch error
compensation. respectively. on the X-. y-.
z-. 4th-. and 5th-axes. #6351 Y-axis

Setting: 0- 511
#6352 Z-axis

#6340
#6353 4th axis
Specifies the external deceleration speed for
rapid traverse.
#6354 5th axis
Setting: "111 = 1 mm/min. or "1" = 0.1 inch/min.
(common to all axes) #6350 to #6354:
Setting range: 0 - 24000 Specify the rapid traverse accell decel constants
X-, Y-, Z-, and 4th-, and 5th-axis handle feed.
respectively.
#6341 Setting: lip = 1 msec
Setting range: 8 - 32767
Specifies the external deceleration speed for
cutting feed.
Setting: "111 = 1 mm/min. (common to all axp.:s) #6355
Setting range: 0 - 24000
#6356

#6342 X-ax'is I For tool pot indication

#6343 Y-axi s I #6355: Sets tool pot indica.tion start No.


#6356: Sets tool pot indication end No.

#6344 Z-axi s I #6357 I X-axis

#6345 4th axis I #6358 Y-axis

#6346 5th axis I #6359 Z-axis

#6342 to #6346: #6357 to #6359:


Specify the offset in external workpiece Specify the time between ESP and SVOF for X- ,
coordinate system shift, respectively, on the X -, Y- and Z-axis, respectively.
J

Y-, Z-, 4th-, and 5th-axes.


Setting: "111 = 8 msec
Setting: 1 = 0.001 mm
Setting range: 0 - 32767
Setting range: 0 - ±32767

249
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'Oj
#6406 X-axis

#6362 #6407 Y-axis

#6363 #6408 Z-axis

#6364 #6409 4th axis

#6362: Tool pot SP


#6363: Tool pot MG #6410 5th axis
#6364: Tool pot WT
#6411 Spindle

#6383
Command unit position loop gains are set in th(
order of X-axis, Y-axis, Z-axis, 4th-axis,
By the input of xIOO, the scale factor of handle
becomes effective. 5th-axis and spindle.
Setting: "l" = 0.01 sec- 1
#6384
Setting range: 0 - 32767
to to
#6391 #6412 x-axiS~
Title display code setting during power turn-on:
1st line #6411 Y-axis
I
#6392 #6414 Z-axis
I
to to
#0415 4th axis
#6399

Title display code setting during power turn-on: #6416 ')rh axis
2nd line
Acceleration and deceleration time constants for
control unit during ordinary cutting are set in
#6400 X-axis
the order of X -axis J Y-axis, Z-axis, 4th -axis <:
5th-axis.
#6401 Y-axis Setting: "1'1 = I ms
Setting range: 0 - 32767
#6402 Z-axis
#6418 X-axis

#6403 4th axis

#6419 Y-axis
#6404 5th axis
#6420 Z-axis
#6405 Spindle
#6421 4th axis
Backlash compensation values shown in the order
of X-axis, Y-axis, Z-axis, 4th-axis, 5th-axis and
spindle. #6422 5th axi 5

Setting: It 1 II = 1 pulse
Acceleration and deceleration bias for control u
Setting range: 0 to ±8191 during ordinary cutting is set in the order of
X-axis, Y-axis, Z-axis, 4th-axis and 5th-axis.
Note: Be sure to turn the power on and off
after changing the parameter. Setting: lip = 1 mm/min. or lip = 0.1 inch/min.
Setting range: 0 - 32767

250
#6424 X-axis #6447
I 4th axis

#6425 Y-axis #6448 [ 5th axis

Setting: lip = 0.001 rom/rev or 111" = 0.001


#6426 Z-axis inches/rev
Setting range: 1 - 65535
#6427 4th axis Note 1: Be sure to turn the power on and off
after changing the parameter.
#6428 5th axis Note 2: For input of 32768-65535, indication is
shown by minus.
Setting of acceleration and deceleration time
constants for control unit during screw /tap Example
cutting in the order of X-axis, Y-axis, Z-axis, Input Indication
4th-axis and 5th-axis. 32768 + -32768
32769 + -32767
Setting: "}I1;;;; 1 rns 65535 + -]

Setting range: 0 - 32767


#6449

#6430 X-axis Feedback pulse number for 1 rotation of spindle


PG.
#6411 Y-axis Setting: lip = 1 pulse/rev
Setting range: 1 - 32768
#6432 Z-axis
#6450 X-axis

#6413 4th axis


I #6451 Y-axis

#6434 5th axis


I #6452 Z-axis
Setting of acceleration and deceleration bias' for
control unit thread/tap cutting.
#6453 4th axis
Setting: l1}lI = 1 mm/min. or "1" = 0.1 inch/min.
Setting range: 0 - 32767
#6454 5th axi s

#6416 X-axis Minimum unit of travel in the order of X-axis


Y-axis, Z-axis, 4th-axis, and 5th-axis.

#6437 Setting: lip = 0.00001 mm or lip = 0.000001


Y-axis
. inches
Setting range: 100 is set.
#6438
I Z-axis
Note: Be sure to turn the power on and off
after changing the parameter.
#6439 4th axi s'
I #6456 X-axis
#6440 5th axis
I #6457 Y-axis
Overshoot during G60 in the order of X-axis,
Y-axis, Z-axis, 4th-:-a",:,is and 5th-axis.
Setting: n}" = 1 pulse #6458 Z-ax is

Setting range: 0 - 32767


#6459 4th axis
#6444 X-axi 5

#6460 5t h axis
#6445
Servo input in the order of X-axis, Y-axis,
Z-axis, 4th-axis, and 5th-axis.
#6446 Z-ax is Setting: 111'1 = 1 rpm/volt
Setting range: 250 is set.
251
PARAMETER NUMBERS AND THEIR CONTENTS'
(CONT'O) #6469

#6462 Syncr.ronization offset gain upon solid tap


accel/ decel feed
Spindle indexing speed rate.
Setting: 1111' = 1/256 times 0.0001 times
Setting: "l" = 500 pps
Setting range: 0 to 32767
Setting range: o- 32767

#6463 #6470

Spindle indexing creep rate. Solid tap R point return feedrate magnification
Setting: II I" = 500 pps
Setting: "111= 0.1 times
Setting range: o- 32767
Setting range: 0 to 32767

#6464
#6471
Spindle indexing &: spindle stop confirmation
timer.
Solid tap spindle revolutions upper limit
Setting: "1" = 8 ms
Setting: "111 = 1 r/min
Setting range: 0 - 255
Setting range: 0 to 32767

#6465
#6472

Spindle indexing and origin position.


Setting: 11111 = IP Spindle revolutions against the 10 V command of t1-
gear used on the solid tap
Setting range: 0 - 4095
Setting: 11111 = 1 r/mtn

#6466 Setting range: 0 to 32767

#6467 #6473

Rapid traverse override of Fl and F2 in the order Spindle stop acknowledgment revolutions in the G9
shown. spindle position loop
Setting: "I" = 1 mm/min. or 111" = 0.1 inch/min.
Setting: "1" = 1 r/mtn
Setting range: 0 to 24000
Setting range: 0 to 30

#6468
#6476

Synchronization offset gain upon solid tap


stationary cutting feed In-position 'width area upon solid tap R point
lead-in
Setting: III" = 1/256 times
Setting: 11111 = 1 spindle PG pulse
Setting range: -32768 to 32767
Setting range: 0 to 32767

252
#6480 X-axis #6495 Y-axis

#6481 Y-axis #6496 Z-axis

#6482 Z-axis #6497 4th axis

#6483 4th axis #6498


I 5th axis I
#6484 5th axis #6499 6th axis I
#6485 6th axis Feed forward gain

Projected C-phase shift distance #6580

Setting: "111:: 1 pulse


#6581
Setting range: -32768 to 32768
#6582
#6486
#6583
Spindle position loop gain (for spindle indexing)
#6584
Setting: 111" = 0.01 lIs

Setting range: 0 to 32767 #6585

#6487 #6586

#6488 #6587

Form compensation linear accell decel maximum #6588


acceleration

Setting: "1" = 1/64m/S 2 #6589


Setting range: 1 to 32768
#6590
#6489
#6591
#6490 .IL-________ ----l

#6592
CAL ERROR (DIVISION) area setting

#6491
#6593 I
.#6492
#6594 I
#6595
#6493
#6596
#6494 X-axis

#6597

253
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'O) #6612 X-axis I
#6613 Y-axis
#6598

#6614 Z-axis
#6599

#6615 4th axis


Set the M codes used to call up the macro program
(maximum of 20 M codes).
#6616 5th axis

#6600 X-axis I #6612 to #6616:


Specify the distance between the first and the
#6601 Y-axi 5 I second reference point, respectively, on the X-,
Y-, Z-, 4th-, and 5th-axes.

#6602 Z-axi 5 I Setting: n 1" = 1 pulse


Setting range: 0 - ±99999999
#6603 4th axi 5 I
#6618 X-axis
#6604 5th axi 5

#6619 Y-axis
#6600 to #6604:
Specify the plus direction boundary value
#6620 Z-axis
for stored stroke limit I, respectively, on
the X-, Y-, Z-, 4th- and 5th-axes.
Setting: n 1n = 1 pulse #6621 4th axis
Setting range: 0 - ±99999999
#6622 5th axis
#6606 X-axis
#6618 to #6622:
#6607 Y-axis I Specify the distance between the first and the
third reference point, respectively, on the X-I
#6608 Z-axi s I Y-, Z-, 4th-, and 5th-axes.
Setting: 111 n = 1 pulse
. #6609 4th axis Setting range: 0 - ±99999999

#6610 5th axis

4#6606 to #6610:
Specify the plus direction boundary value for
stored stroke limit 1, respectively, on the X - J
Y-, Z-, 4th- and 5th-axes.
Setting: "111:= 1 pulse
Setting range: 0 - ±99999999

254
#6636 to #6640:
#6624
I X-axis
Specify the value for automatic coordinate
#6625
I Y-axi 5 I system setting at the time of metric input,
respectively, on the X-, Y-, Z-,4th-, and 5th-
axes. A desired value should be set in
#6626
I Z-axis millimeters for the distance between the
first reference point and the reference point
of the coordinate system to be established.
#6627 4th axi 5
Setting: "In = 0.001 mm
Setting range: 0 - ±99999999
#6628 5th axi5
Note: Each setting is effective only for an axis
with parameter #6015 at "1."
#6624 to #6628:

Specify the distance between the first and the #6642 X-axis
fourth reference point," respectively, on th~ X-,
Y-, Z-, 4th-, and 5th-axes.
#6643 Y-axis
Setting: "1"::: 1 pulse
Setting range: 0 - ±99999999 #6644 Z-axis

#6645 4th axis


#6630 X-ax"j 5

#6646 5th axis


#6631 Y-axis

#6632 Z-axis #6642 to #6646:


Specify the compensation interval in pitch error
#6633 4th axis compensation, respectively, on the X-, V-, Z-,
4th-, and 5th-axes

#6634 5th axis Setting: II}II = } pulse


Setting range: 0 - ±99999999
#6630 to #6634
Specify the value for automatic coordinate
system setting at the time of inch input. #6650 X-axis
respectively. on the X-, Y-, Z-, and 4th.
and 5th-axes. A desired value should be
set in inches for the distance between the
first reference point and the reference
I #6651 Y-axis

point of the coordinate system to be es-


tablished. I #6652 Z-axis

Setting:' ~Il" ::: 0.0001 in.


Setting range: 0 - ±99999999 #6650 to #6652:
Specify stored stroke limit 3 for X-, Y-, and
#6636
Z-axis, respectively.
X-axis
Plus (+) boundary setting: "ill = } pulse
#6637 Y-axis Setting range: 0 - ±99999999

#6638 Z-axis

#6639 4th axi s

#6640 5th axis

255
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'D) #6665 X-axis

#6653 X-axis #6666 Y-axis

#6654 Y-axis I #6667 Z-axis

#6655 Z-axis I #6665 to #6667 (optional)"


Specify stored stroke limit 5 for X -, y -, and
Z-axis, respectively.
#6653 to #6655:
Minus (-) boundary setting: 11111 = 1 pulse
Specify stored stroke limit 3 for X-, Y, and
Z-axis J respectively. Setting range, 0 - ±99999999
Minus (-) boundary setting: IT 1 II pulse
#6674
Setting range: 0 - ±99999999
Sets the multiplication factor of characters of the
#6656 X-axis I display at power on.

#6657 Y-axis I #6675

Sets the position of the display at power on.


#6658 Z-axis

#6656 to N6658:
#6676
Specify stored stroke limit 4 for X-. Y-. and
Z-axis. respectively.
Handle input pulse clamp amount
Plus (+) boundary setting: 1'111 =: 1 pulse
Setting: 11 111 = 1 pulse (input pulse)
Setting range, 0 - ±99999999

#6659 X-axis #6677

#6660 Y-axis Sets no. of remammg movement pulses to be


clamped of handle.
11111 = 1 pulse
#6661 Z-axis

#6659 to #6661 (optional): #6680 X-axis


Specify stored stroke limit 4 for X -. Y- J and
Z-axis. respectively.
#6681 Y-axis
Minus (-) boundary setting: n)11 = 1 pulse
Setting range, 0 - ±99999999 #6682 Z-axis

#6662 X-axis #6683 4th axi s

#6663 Y-axis #6684 5th axis

#6664 Z-axis External work coordinate shift offset amount:


6 digits·
#6662 to #6664 (optional): Setting range: n 1 II o- ±799999
Specify stored stroke limit 5 for X -. y -, and
Z-axis, respectively.
Plus (+) boundary setting: n 1n = 1 pulse
Setting range, 0 - ±99999999

256
#6685 #8000 number 0

#6686 to to

#6687 #8511 number 511

#8000 to #8511
#6688
Specify the respective values of pitch error
compensation.
#6689
Setting: 0 - ±15 (output increment)
Note: Parameters #6322 to #6339 determine
#6690 specific combinations of settings and
axes.
#6691

#6692

#6693

#6694

#6695

#6696

#6697

#6698

#6699

Always turn off the power once when change is


made to parameters #6680 to H6684 and #6686 to
#6690.

,,
"

i
.'
,/

257
APPENDIX - 3 STORED LEADSCREW ERROR COMPENSATION

This function automatically compensates for lead- Note 2:


screw error on each axis according to the compen-
Maximum set value in case of absolute setting is
sation data set by parameter and is effective after
.!127 pulses. Compensation multiplication is taker
completion of reference point return. The compen-
on this value.
sation data are made on the distances between the
reference point on each axis and specified points.
Note 3:
Compensation axes:· X. Y Z .4th- .and 5th-axes.
J No. of correction points on each axis can be
{including rotary axis} arbitrary as far as the total compensation points
are within 512.
No. of correction points: 512 Max.
Compensat.ion base point: Reference point Note 4:
Compensation interval: 10000 Pulses or more Where the 4th and 5th axis is a rotary axis.
operation is possible within .±200 revolution
Data setting system: Absolute/incremental
maximum.
(Set by Parameter #60 39D 2)
Note 5:
Compensation value:
Minimum compensation unit: 1 pulse (least out- For the axis requiring no leadscrew error com-
put increment) pensation. set the parameter for compensation
multiplication factor at 110. n
Compensation multiplication: Xl3 max.
One-time-compensation value: 15 pulses max.
(Compensation multiplication) Note 6:
Setting at base point is to be made in such a
manner that the pitch error compensation
Note 1:
value will not occur. In the example shown
Regardless of absolutelincremental setting. the below, the incremental set point of #8002
difference between neighboring compensation should be zero. Alas, set the absolute set
values should be (15 pulses x compensation mul- point in such a manner that the difference
tiplication) and below. between #8001 and #8002 becomes nO. n

Table 3.1

Axis Parameter # FWlctions

Compensation interval X to /3 #6642 to #6646 6000 OR MORE


11111 = 1 pulse

/
Absolute lincremental #603902 110 11 = Incremental setting
IT 111
setting switchable = Absolute setting

Compensation reference X to /3 #6334 to #6338


no. Value of parameter # of
compensation on each
Compensation max point X to /3 #6322 to #6326
poin t min us 8000 will be
written
Compensation min point X to /3 #6328 to #6332

Compensation value on X to /3 #8000 to #8511 -15 to +15 (Incremental


each point setting)
111 'I = 1 pulse

Compensation multiplica- X to /3 #6168 to #6172 o to 3


tion 11111 o IX

258
The figure below shows the example of writing
the data for X axis.

COMPENSATION INTERVAL
10000 PULSES (c 10 MM)

REFERENCE
POINT LEADS CREW ERROR
MEASURED
+

o --r---="":'~-r""'~f--+-+-+-+--t----j}- X AXI S

ABSOLUTE
-I 0 a o +l +l +l +1 +2 +2 - SET AMOUNT
a +1 a a +I a a 0 +1 a _ INCREMENTAL
SET AMOUNT
I I I I ,
(I
t t I I COHENSA TI ON
8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 PARANETERS
,,

Fig. A3.1

259
In the above figure,
Compensation interval: 10000 pulses
Absolute lincremen tal: Incremen tal
Compensation multiplication: x I
Compensation point on X axis: 100 points

Each parameter is set as follows:

PARAMETER OF
COMPENSATION AMOUNT
ON EACH POI NT

118000 0'
COMPENSATION BASE ~------+---~ I ~
I 116334 118001 I (3

, __
r-
1I_8_0_0_2_+_0_---1~~< :~
C
118003 o ,,!:'"
I 116328 I 0 I 118004 +1

COMPENSATION MAXIMUM POINT 118005 o


X AXIS 118006 o
#6322 99
118007 o
COMPENSATION MULTIPLICATION
118008 +1
I 116068 I I I 118009 o
COMPENSATION INTERVAL 118010

I 116642 I 10000 I
ABSOLUTE/INCREHENTAL SETTING
I 116339D2 I 0
I
118098
118099
118100

Fig. A3.2

260
To use the 4th and 5th axes as the rotary axis,
REFERENCE
follow the rules shown below in addition to the CORRECTION NO.
rules for setting X-, Y, and Z-axes. AND MIN COR-
MAX CORRECTI:-.lG 118150
POINT 0, (1) PORATION POINT
(1) Compensation Interval 118t57
0, (-6)'--. . ."--_
The compensation interval should be more than
11815 I
10000 pulses and the quotient obtained by I, (1)
dividing 360000 by the compensation interval 45000
PULES
become a positive integer.
1/8156 118152
(2) Compensation Amount at Reference Point 6, (I) -i1----~---'---___'l>-2, (1)
The compensation amount to be set to the refer-
ence point should be as follows:
a. Absolute setting ... nOli 118155 1/8153
5, (1) ), (I)
b. Incremental setting··. nOli

1T
118154
In the case of incremental setting, set such' a 4, (1)
value for the compensation amount at compen-
sation maximum point that the sum of the com- OFFSET AMOUNT
FOR INCREMENTAL
pensation amount of each point becomes 110. !I
SETTING
(3) Sample Writing OFFSET AMOUNT
FOR ABSOLUTE
If the compensation interval is 45000 pulses (one
rotation divided by 8) as shown below, set the
parameters as follows.

Offset parameter at
each point
Offset reference No. Absolute Incremental
Parameter
setting setting
#8150 0 0
Offset min point #8151 I I
150 #8152 2 1
4th axis of
rotary axis #8153 3 I
Offset max point
#8154 4 I
157 #8155 5 I
Offset multiplication #8156 6 I
factor #8157 0 -6
#6071 1

Offset point

#6645 45000

261
APPENDIX-4 LIST OF STANDARD INPUT/OUTPUT SIGNALS

Table 4.1 shows standard input loutput signals.


For custom-built signals depending on the sys-
tern. refer to the list of I/O signals provided on
the system.

DISPLAY

D7 D6 D5 D4 D3 D2 Dl DO

o 0 0 o 1 I I

I
Contact open
1
Contact closed

262
,~~' ... "

Table 4.1 List of Standard Input "Signals

D7 D6 D5 D4 D3 D2 Dl DO
111300 EDT MEM MDI T S H -J RT
EDIT MEMRY MANUAL TAPE STEP HANDLE MANUAL RAPID
DATA INPUT FEED TRAVERSE

111301 OVC ROVl I ROVI OV16 IOV8 OV4 I OV2 OVI


OVERRIDE '--------v----- '
CANCEL RAPID TRAVERSE FEEDRATE• OVERRIDE
RATE OVERRIDE

111302 -ex +ex -Z +Z -Y +Y -x +X


/
JOB'PB

#1303 SPC SPB SPA JV16 1JV8 JV4 JV2 JVl


'
SPINDLE• SPEED
\

MANUAL FEED RATE OVERRIDE


OVERRIDE

1/1304 DRS MP4 I MP2 MPI I Hex HZ BY HX


DISPLAY I \ /
RESET • v

HANDLE PULSE MULTIPLY HANDLE AXIS

111305 AFL DLK


I MLK 1 OPT DRN I BDT SBK
M- MACHINE OPTIONAL DRY BLOCK DISPLAY SINGLE
FUNCTION LOCK STOP RUN DELETE LOCK BLOCK
LOCK

111306 I SRN Fl I RET TLMI I ZRN EDTLK I SP ST


PROGRAM Fl- RETRACT TOOL ZERO EDIT FEED CYCLE
RESTART DIGIT LENGTH RETURN LOCK HOLD START

1/1307 I PINT ANG


I lABS MIB MIa MIZ MIY I MIX
PROGRAM Z-AXIS MANUAL
INTER- LOCK -ABSOLUTE MIRROR IMAGE

111308 8BDT 7BDT 4BDT 3BDT


I 9BDT 1 6BDT 1 SBDT 12BD
SPECIAL BLOCK DELETE

111 30 9 EWS PST wsi!


I ZRN2 5NG 4NG I
MANUAL 5TH 4TH EXTERNAL TACTILE
ZND AXIS AXIS WRITING SENSOR
REFERENCE NEGLECT NEGLECT SIGNAL SIGNAL
POINT
RETURN

1/1310 IDEVSLTI I 2118 2Hex IZHZ ZBY IZHX


1 1
TAPE -
OPERATION SECOND HANDLE AXIS SELECT
DEVICE
DESIGNATION

263
Table 4.1 List of Standard Input Signals (Cont'd)

'1311 I 3HB 3Ha 3HZ 3HY 3HX


v
THIRD HANDLE AXIS SELECT

#1312
PLAYBACK CUTTING TACTILE' v , EXT STROKE
TIME COUNT SWITCH TOOL LIFE CONTROL CHECK SELECTION
DISABLE ENABLE
SIGNAL SIGNAL
111313 RWDH I FSCH I FSMEM I FSCM SLPC *- LjJ *+ LjJ
HIGH-SPEED FEEDRATE. FEEDRATE. FEEDRATE. SPINDLE
REWIND & SPINDLE SPINDLE SPINDLE LOOP OVERT RAVEL
AnTO START SPEED SPEED SPEED COMMAND
MEMORY STORAGE EDITING INPUT
:HANGE MODE
111314 SPE SPD ECLM I *-EDjJ *+EDjJ
v
,I ROV4 I
v
RAPID TRAVERSE EXT PROGRAM
SPINDLE
RATE OVERRIDE CLEAR EXTERNAL
OVERRIDE
DECELERATION

111315 I MANINT I HjJ I NTCRQ TCFIN +jJ~


MACHINING HANDLE NEW TOOL END OF
INTERRUPTION AXIS SELECT CHANGE TOOL MANUAL FEED
POINT RETURN REQUEST CHANGE
SIGNAL

111316 [ EFIN I FIN I RWD EOP I ERS I EXTC I STLK IMRD


COMMAND MST EXTERNAL END EXTERNAL EXTERNAL CYCLE FUNCTION
CYCLE COMPLE- REWIND PRO- RESET TIME START PREP
nON GRAM . COUNT COMPLETED

1I13f7 IS-INV [ S-FIN SSTP [SAGR [ SOR [ GRB [GRA [ GST


SPINDLE S FIN SPINDLE SPINDLE '--v------' GEAR
REVERSE COINCI- INDEXING GEAR SHIFT
DENCE SELECTION

111318 ERR2 I ERR 1 [ ERRO I SENS(G) I SENS(T) [EXOUT [EXVER [ EXIN


DEC TO IMMEDI- SINGLE GAP TOOL EXTERNAL EXTERNAL EXTERNAL
STOP ATE BLOCK ELIMINATION BREAK OUTPUT COLLATION INPUT

e
STOP STOP
•! \ !
*-La 1*+La *-LZ *+LZ I*-LY !*+LY I*-LX ! *+LX
v
( OVERTRAVEL

111320 HOFS I,
*rTa ! *ITa I*ITZ I*ITY *rTX

AUTO MODE v
AXIS INTERLOCK
HANDLE OFFSET

111321
v
EXTERNAL DECELERATION

111 322 I SONPB I I *SVOFa I*SVOFZ I*SVOFY


v
!*SVOFX

SERVO POWER ON SERVO OFF

264
07 06 05 0 0 O2 0 DO
4 3 1

111323 Ull Ul6 UI5 Ul4 . un UI2 Ull UIO


,
USER MACRO

111324 UI15 Ul14 UI13 1 UI12 1UIll Ull0 UI9 1 UI8


v
USER MACRO

111325 E07 E06 ED5 E04 E03 E02 EOl EOO


1
,
EXTERNAL DATA INPUT

111326 E015 E014 E013 1 E012 1EOll 1£010 E09 ED8


, I
EXTERNAL •OATA INPUT

111327

EXTERNAL OATA INPUT CONTROL SIGNAL

111328 I EOAS3 I
*DECB *DECa I*OECZ I*OECY I *DECX
,
EXTERNAL v
COORDINATE REFERENCE POINT
SYSTEM DECELERATION LS
SHIFT
ABS/INC
111329 TL64 TL32 TL16 TL8 TL4 TL2 TLl
1,
TOOL LIFE CONTROL TOOL GROUP NO. INPUT

111330

111331 SOI8 SOI7 SDI6 SDI5 SOI4 SDI3 SDI2 SDII


,I
S S-DIGIT

COMMAND EXTERNAL INPUT

111332 I SDlI6 SDIl5 1 SOll4 I SOI13 I SOll2


,
I SOIlI I SOliD SOI9
,I
S 5-0IGIT COMMAND EXTERNAL INPUT

#1335 I FSCLS IWASKANII


CLEAR FS END OF
EDITING MANUAL
DATA SKIP
SIGNAL
#1338 .t \/N128 I
\/N64 \/N32 I \/N16
v
\/N8 \/N4 \/N2 \/NI
/
1
EXTERNAL WORK NO. SEARCH INPUT

H1341 SID 8 I SID 7 SID 6 I SID 5 1 SID 4 1 SID 3 SID 2 SID 1


/
1
SPINDLE
INDEXING
POSITION
DESIGNATION

265
Table 4.1 List of Standard Input Signals (Cont'd)

111342 [ SID12 SI011 SI010 SI09


L------L----~----~------~=========SP=I=ND~i=E==========~
INDEXING
POSITION
DESIGNATION

111343 SPCUT SIDXI I SIDXINC I SIDX


STOP RESTART SPINDLE SPINDLE
SPINDLE SPINDLE INDEXING INDEXING
INDEXING INDEXING POSITION REQUEST
INCREMENTAL
DESIGNATION

Table 4.2 List of Standard Output Signals

D7 D6 D5 D4 D3 D2 Dl DO
111200 M30 M02 MOl MOO DEN OP SPL STL
POSITION- FEED- TEMPO- CYCLE
ING COM-- ING RARY START
PLETEO STOP

I I
111201 2ZPo. 2ZPZ 2ZPY

SECOND REFERENCE POINT LAMP


2ZPX 1ZPa lZPZ
!
FIRST REFERENCE POINT LAMP
lZPY lZPX
,I

111202
I 4ZPo. 4ZPZ I 4ZPY I 4ZPX 3ZPa I 3ZPZ
I 3ZPY
I 3ZPX
v
FOURTH REFERENCE POINT LAMP THIRD REFERENCE POINT LAMP

111203 4ZPB 3ZPB 2ZPB I ZPB


I I
FIFTH REFERENCE POINT LAMP

#1204

#1205 I TLCHA ITLCHB TCF TCHGF


TOOL NEW TOOL TOOL END OF
CHANGE SELECTION CHANGE GROUP I
SIGNAL SIGNAL READING TOOL
SIGNAL CHANGE
SIGNAL

#1206 RPDO I SINVA I


RAPID SPINDLE
TRAVERSE REVERSE
OUTPUT OUTPUT

#1207 SIDXA SIDXO I SLPS I G93M I


END OF DURING SPINDLE G93 MODE
SPINDLE SPINDLE LOOP OUTPUT
INDEXING INDEXING STATUS
OUTPUT OUTPUT OUTPUT

266
D7 D6 DS D4 D3

#1208 [?SFTER [WSFTK


END OF WORK
COORDINATE
SYSTEM
SCREEN
SETTING

#1209 EINTKI =:J I FSCLRK I FSCE I FSMDJ


END OF END OF END OF FS UNDER FS
MACHINING FS DATA MEMORY EDITING
INTERRUPTION CLEAR CHANGE MODE
POINT RETURN
SIGNAL

#1210 I SEGOUTS I SEGDNC


DURING DURING DNC
DNC HIGH-SPEED
HIGH-SPEED CUTTING
CUTTING COMMUNICATION
PULSE
DISTRIBUTION

#ILlI J MIMGMB I MIMGMa I MIMGMZ I MIMGMY I MIMGMX

DURING MIRROR IMAGE MODE

#1212

#1213

#11l4

#1215 G84S
G~8~4-----L------~----~----~------~----~-------L------~
EXECUTION

1/1216 ITS/T2SIT7/T24·IT6/T22ITS/T21IT4/T1SIT3/TI4 IT2/T12 IT1/Tll

T FUNCTION BINARY/BCD OUTPUT

111217 i TI6/T4SITI S/T44! T14 /T42 ITl 3/T411 T12/T3SI TIl /T341 Tl O/T32!T9/T31
T FUNCTION BINARY /BCD OUTPUT

1I121S TAP ! M04S ! TLMO I GSOS I EREND i ESEND RST AL


TAPPING SPINDLE TOOL CHANNED EXTERNAL EXTERNAL RESET ALARM
LENGTH CYCLE DATA DATA
MEASURE- INPUT INPUT
MENT COMPLET- COMPLET-
ED ED

111219 SRV SSP FMF EF BF TF SF MF

SPINDLE SPINDLE MF EXTERNAL B- T- S- M-


REVERSE STOP OPERATION FUNC- FUNC- FUNC- FUNC-
TION TION TlON FION
FOR CANNED CYCLE
267
Table 4.2 List of Standard Output Signals (Cont'd)

D7 D6 DS D4 D3 D2 DI DO

1/1222 H8 M7 H6 HS H4 H3 H2 MI
v
H-FUNCTION BINARY/BCD OUTPUT

4NGC MAN RDY RWD


1i1223 05 EDT5 IER
I I AUTO
ORIENTA- EDITING INPUT 4TH AUTO- MANUAL PREPARA- REWIND
TlON ERROR AXI5 MATIC TION
NEBLECT COMPLETED

5DA2I 5DAli
5B2 5Bl
v
55-DIGIT ANALOG OUTPUT/
54-DIGIT 12-BIT
NON-CONTACT OUTPUT

111225 I. 5DAI6 I. 5DA15 I. 5DAI4 I. 5DA13 I. SB12


5DAI211 5DAll/ I SDA10/
. SBll . 5B10
SDA9!
5B9.
I
S 5-DIGIT ANALOG OUTPUT/
S 4-DIGIT 12-BIT
NON-CONTACT OUTPUT

1/1232 B8/B281 B7/B241 B6/B22 1 B5/B21 1 B4/B18 1B3/B14 1 B2/B12 Bl /Bll 1


v
B FUNCTION BINARY/BCD OUTPUT

1/1233 1~16/B481 B15/B44IB14/B421 Bl 3/B411 B12/B38 ~11 /B34 1Bl 0/B32 I B9/B3~ I
v
B FUNCTION BINARY/BCD OUTPUT

111234 S28 524 522 521 518 514 i512/GRH 1511 /GRL I
/
v HIGH LOW
5 FUNCT ION BCD OUTPUT SPEED SPEED
GEAR GEAR
111235
,
548 544
I 542
I 541
I 538 534 532 531

5 FUNCTIONvBCD OUTPUT

111236 U7 U6 US U4 U3 U2 UI UO
, v
/

U5ER MACRO

111237 U15 U14 U13 U12 I U11 Ul0 U9 U8

U5ER MACRO

#1238

#1239

268
D7 D6 DS D4 D3 D2 Dl DO
111277 IHP7 IHP6 IHP5 IHP4 IHP3 IHP2 IHPI IHPO

1ST HANDLE PULSES

#1278 2HP7 2HP6 2HP5 2HP4 2HP3 2HP2 2HPl 2HPO


'"
....0
I I Z
0
v

2ND HANDLE PULSES '"


111279 3HP7 3HP6 3HP5 3HP4 3HP3 3HP2 3HPl 3HPO
I I

3RD HANDLE PULSES

111280 SKIP SN4 SN3 SN2 SNI


, I
SYSTEM •NO, SWITCH

111281 IOFFPBI I ON-PB I OLD SVALM ESP ORT


POWER OFF POWER OVERLOAD SERVO EMER- OVERHEAT
PUSH BUTTON ON ALARM GENCY
SWITCH STOP

~1282

OPTION OPTION
SD20 BATTERY ~~~C BOARD AXIS CONTACT SIGNAL MONITOR
0, ALARM CHOICE lMOUNTED
0: NO SR FOR MAINTENANCE
TO MB
10 0: 9 in. BOARD E.F. BOARD
I: 14 in. CONNECTOR I: SR
BOARD
0: NO MONITOR
1: MONITOR}

111283 SNS4 SNS3 SNS2 SNSI


v
SYSTEM NO. SWITCH

#1284 SVON NRD


SERVO NC
POWER READY
ON

111 285 0 0 0 0 0 0 0 0
v
CONSTANTS "1 11

#1286 I
\
0 0 0 0 0 0 0 0

CONSTANTS "all

#1287 SNGC 0 0 SRDJ3 I SRDo. SRTZ SRDY I· SRDX


5TH AXIS SERVOvREADY
NEGLECT

111288 I TCONX I PCX


.V
PBX PAX *ALX *OLX
v
FUX SRDX

PG MONITOR FOR X-AXIS SERVO UNIT MOTOR FOR X-AXIS

269
Table 4.2 List of Standard Output Signals (Cont 1 d)

111289 TGONY PCY PBY PAY *ALY *OLY FUY SRDY


v
PG MONITOR FOR Y-AXIS SERVO UNIT FOR Y-AXIS

111290 TGONZ PCZ PBZ PAZ *ALZ *OLZ FUZ SRDZ


v v
PG MONITOR FOR Z-AXIS SERVO UNIT MOTOR FOR Z-AXIS

111291 TGON4 PC4 PB4 PA4 *AL4 *OL4 FU4 SRD4. I


v v
PG MONITOR FOR 4TH AXIS SERVO UNIT MOTOR FOR 4TH AXIS

111292 TGON5 PCS PBS PAS *ALS *OLS FUS I SRD5 I


v v
PG MONITOR FOR 5TH AXIS SERVO UNIT MOTOR FOR 5TH AXIS

111293 ZNGC ABSCI EDTLKC I I


Z-AXIS MANUAL EDIT
NEG- ABSOLUTE LOCK SETTING
LEer MONITOR

111294 AFLC MlKC OPTC DRNC BTDC DLKC STLKC SBKC


AUX FUNC- MACHINE OPTION- DRY OPTIONAL DISPLAY START SINGLE
TlON LOCK LOCK NAL RUN BLOCK LOCK LOCK BLOCK
STOP SKIP

111295 PLBKC MiBC MIo.C MIZC MIYC MIXC


I I
v
MIRROR IMAGE AXIS

#1297
v
ALARM CODE MONITOR (LOWER 2-DIGIT BCD CODE)

#1298 ALM38 ALM34 AlM32 ALM31


/
v
ALARM CODE MONT TOR
(UPPER I-DIGIT BCD CODE)

270
APPENDIX - 5 LIST OF ALARM CODES

Table 5. I

Alarm No. Spindle Operation Type of Alarm

000 to 099 Stop at block end Tape format error alarm

100 to 199 Stop at block end ' Macro. operation. external input!
output error, sequence error (1) (2) (3

200 to 299 Decelerate to stop Overtravel, reference point return.


positioning. machine ready

300 to 399 Servo. emer gene y stop, overload


Decelerate to stop
FG, RPG

271
Table 5.2 List of Alarm Codes

Code Causes Code Causes


000 010 TH ERROR
TAPE HORIZONTAL PARITY
ERROR

~~~~~~~~-------------+~~~~~~----------------
001 ZR UNREADY (X) Oll TV ERROR
----------------------------------- ------- - ------+ ----------------- ----------------- -----
REFERENCE POINT RETURN NOT TAPE VERTICAL PARITY ERROR
COMPLETED X

002 ZR UNREADY (Y) 012 OVERFLOW (128CH)


----- - - --- - ---- - - - - - - --- - - - - - - - - - - - --- ----

REFERENCE POINT RETURN NOT BUFFER CAPACITY OVERFLOW IN A


COMPLETED Y BLOCK (128 CHARACTERS)

003 ZR UNREADY (Z) 013 PROG ERROR (NO ADRESS)


----------------------------------------------------- ------------- --------------
ADDRESS PLUS NO DATA AND--NEXT--
REFERENCE POINT RETURN NOT
COMPLETED Z· ADDRESS COMMANDED. OR NO
ADDRESS PLUS DATA
004 ZR UNREADY (4) 014 PROG ERROR ("_,11 "a")
REFERENCE POINT RETURN NOT -SIGN-"~~"-"O"-NOT-cORRECTLy-lfsED-
COMPLETED.

005 ZR UNREADY (5) 015 PROG ERROR (UNUSABLE CH)


REFERENCE POINT RETURN NOT UNUSABLE CHARACTER PROGRAMMED
COMPLETED. IN INSIGNIFICANT DATA AREA

006 016 PROG ERROR (UNUSABLE AXIS)


INPUTS A, B, C, U, V, W DIFINED
AS ADDITIONAL AXIS OR
B-FUNCTION
007 017 PROG ERROR (8 DIGITS)
INPUT DATA OVERFLOW

008 018

009 019

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2~ MOO commanded when rise.
3. Rise at circular interpolation block.

272
Code C.auses Code Causes
020 PROG ERROR (G) 030 PROG ERROR (F)
------- -- - --- ---- - - -. ------ -- --- ---- -- -- - --- - ----- ---- ----- -------- ------ ------ ----- - - -- -- -
- - ---- ---- - ------ ----
UNUSABLE G CODE OR G CODE NOT NO F-COMMAND IN FEED COMMAND
INCLUDED IN OPTIONS PROGRAMMED

021 PROG ERROR (G) 031 PROG ERROR (R = 0)


------- ------------------------------------------------- -------- ----------------------------------------
G CODE IN I, 4, 'GROUP PROGRAMMED CIRCLE WITH RADIUS 0 COMMANDED
SIMULTANEOUSLY IN A BLOCK IN CIRCULAR ARC COMMAND

022
------- __
_.P..~?~ __~~~?~_S.9~~!_~~! (}.:t.~~ ~~1 ___________ 032
------
PROG ERROR (G02f03)
---------------------------------------
G43, G44 COMMANDED IN CIRCULAR COMMANDS ON THREE AXES IN
INTERPOLATION MODE (G02, G03) CIRCULAR ARC COMMAND WITHOUT
HELICAL INTERPOLATION OPTION
023 PROG ERROR (G) 033 PROG ERROR (G02f03)
-------- - -- - ---- --- ---- ---- -- -- ----- ----- -- ---- - - --- -- - - - ------- -- ---- - -- ---- --- - - ---- --- -- - -- ----------
UNUSABLE G CODE COMMANDED IN COMMAND ON MORE THAN FOUR AXES IN
CANNED CYCLE CIRCULAR ARC PLANE WHOSE ARC CANNOT
BE SELECTED FROM THE COMMAND
024 PROG ERROR (G, G41f42) 034 PROG ERROR (G02f03)
-------- -.----- - ---------- - ------ - --- -- - - -- - - ------ - --- --- ------- ----------------------------------------
UNUSABLE CODE COMMANDED DURING CIRCULAR ARC R DESIGNATION
COMPENSATION MODE ERROR

025 PROG ERROR (G70f71f72) 035 PROG ERROR (D, H)


--------- ---------- ------ ---- --- - ---- - - ---- ----- -- -
- .----- - ------- -- - ---- - ------ - ----- --- --- - -- -
- -- -- - - - --
G70 TO G72 COMMANDED EXCEPT IN TOO LARGE NO. OF H OR D CODE
CANNED CYCLES FOR TOOL RADIUS COMPENSATION
AND TOOL LENGTH COMPENSATION
026 PROG ERROR (G4If42) 036 PROG ERROR (G10-P)
-------- --- -- ----------- --------- - ----- - ------- --- - ---- -- ------ -- - ---- -------- - -._-- -- - -- - - -- -- - - ------
RISE ERROR AT TOOL RADIUS
COMPENSATION C (COMMAND WHICH TOO LARGE P (NUMBER DESIGNA-
CANNOT BE ACCOMODATED CORRECTLY TION) WHEN OFFSET IS PROGRAM
COMPENSATION G MODE) SEE NOTES -INPUT
027 PROG ERROR (G41f42) 037 PROG ERROR (GIO-R)
------.-- ----------- ------------------------- -- ------ - ---- ------- ---------------------------------------
ERROR AT TOOL RADIUS COMPENSATION C TOO LARGE R WHEN WORK
(ERROR IN CIRCULAR INTERPOLATION COORDINATE SYSTEM IS PROGRAM-
MODE) INPUT
028 038 PROG ERROR (GIO, Q2)
------- -------------------------------- --------- - - -_.- ---- ------ - ----------------------------------------
TOO LARGE P WHEN WORK
COORDINATE SYSTEM IS PROGRAM-
INPUT
(GI06) PROG ERROR (GI06 I, J, X, Y)
029
---- --- --PROG
--- --ERROR 039
---- ------._- ----- ---- -- ----------- - ----- ------- -- --- ------------ ----- ------- ------ - - - ------
THE I OR J COMMAND CANNOT BE FOUND.
THE GROUP 01 GCODE COMMANDED IN THE BOTH 1 AND J ARE COMMANDED.
CANNED CYCLE IS OTHER THAN GO!. AXIS OTHER THAN THE X OR Y AXES IS
COMMANDED.

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

273
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


049 PROG ERROR (G41/42)
P NOT PROGRAMMED IN M98, REVERSE OR ALMOST REVERSE
G65, G66, G25. COMMANDED IN M97 MODE.
P DIFFERENT FROM Q IN NO.
IN G25 MODE.
050 SCALING ERROR
G25 AND M98/M99 PROGRAMMED
SIMULTANEOUSLY. UNUSABLE G CODE (G92, G28 TO
G30, G36 TO G38, G70 TO G72)
IN SCALING MODE.
041 PROG ERROR (NO PROG) 051 SCALING ERROR-
PROGRAM NO. (SEQUENCE NO.) NOT ERROR IN G5l AND G50 BLOCK
FOUND WHEN PROGRAM IS CALLED BY FORMAT. SCALING FACTOR ZERO.
M91,M98, M99, G65, G66, G25, G, M, T.
042 PROG ERROR (M98, NEST) 052
SUBPROGRAM (G25) OR MACRO CALL
FIVE-NESTED.

043 PROG ERROR (G52 Q2) 053


LOCAL COORDINATE SYSTEM
SPECIFIED WITH WORK COORDINATE
NOT SET.
044 PROG ERROR (GI2/B) 054
IN CIRCLE CUTTING, PROGRAMMED
RADIUS R IS SMALLER THAN
COMPENSATION D.
055 PROG ERROR (M, S, T, B)
CALCULATION IMPOSSIBLE DURING M, S, T, B COMMANDS IN THE
TOOL RADIUS COMPENSATION MODE C. BLOCK IN WHICH M, S, T, B
CODE CANNOT BE COMMANDED.
046 PROG ERROR (G41/42) 056 PROG ERROR (AXIS)
DURING TOOL RADIUS COMPENSATION C AXIS COMMAND IN G04, G20, AND
MODE, CIRCULAR ARC OUTSIDE OF G21 BLOCKS.
COMPENSATION PLANE PROGRAMMED.
047 PROG ERROR (G41/42) 057
COMPENSATION PLANE CHANGED
DURING COMPENSATION C MODE.

048 PROG ERROR (G41/42) 058 MIRROR IMAGE (G28)


INTERSECTION POINT NOT OBTAINED G28 COMMANDED DURING MIRROR
BY INTERSECTION COMPUTATION. IMAGE.

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

274
Code Causes Code Causes
059 ZR UNREADY 069
REFERENCE POINT RETURN NOT
COMPLETED ON THE AXIS WHICH
HAS G29 COMMAND OR G30 COMMAND.
060 070 PROG ERROR (M02/30/99)
MEMORY OPERATION FINISH
COMMAND NOT GIVEN.

061 071

062 072

063 073

064 074

065 075 RS232C ERROR (BAUD RATE)


RS232C INTERFACE DISAGREEMENT
OF NO. OF BITS AND NO; OF
BAUD RATES.
066 RESET UNREADY (AFTER EDITING) 076 RS232C ERROR (SIGNAL LEVEL)
CYCLE-STARTED WITHOUT DATA TRANSMISSION FAILURE
RESETTING AFTER EDITING. THROUGH RS232C INTERFACE.

067 077 RS232C ERROR (OVERRUN)


10 CHARACTERS MORE HAVE BEEN
READ IN AFTER STOP CODE HAS
BEEN TRANSMITTED THROUGH
RS232C INTERFACE.
068

Notes:
1. No move command. in three blocks in series
at G41 (G42) command •.
2. MOO commanded when rise.
3. Rise' at circular interpolation block.

275
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


078 088 PROG ERROR (G36/37/38)
------- ---- ----------------------------------

TOUCH SWITCH CALCULATION ERROR


AT G36 TO G38 COMMANDS.

079 089

080 PROG ERROR (GI0, G22/23) 090 PROG ERROR (G93)


GI0, G22, AND G23 COMMANDED A CODE THAT CANNOT BE
WITH AXIS DATA. COMMANDED DURING THE BLOCK
OF G93 OR G93 MODE HAS
BEEN COMMANDED.
081

082 091 TAP ERROR


SLPC (SPINDLE LOOP COMMAND) HAS
NOT BEEN TURNED ON DURING EXE-
CUTION OF SOLID TAPPING.

083 092

084 MIRROR IMAGE (G36/37/38) 093


MIRROR IMAGE IS ON WITH G36 TO
G38.

085 PROG ERROR (G36/37) 094


COMMAND OF I (J) ON MORE THAN
ONE AXIS AT G36 (G37).

086 PROG ERROR (G38) 095


COMMAND OTHER THAN K AT G38

087 PROG ERROR (G31, G36/37/38) 096


------ --------------------------------------------

TOUCH SWITCH NOT ON WHEN


MOTION REACHES AT END POINT BY
G31, G36 TO G38 COMMANDS.

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

276
Code Causes Code Causes
097 107 MACRO ERROR (FORMAT)
-------------- ------------------------------------------------
ERROR IN THE FORMAT AND
EQUATION.

098 __ ~~~ _ _':'.'\~!t_~_ ~~~()~ _(U}'!D~!I!'__*_f'!() _______ _


UNDEFINED VARIABLE NO.
DESIGNATED.

099 109 MACRO ERROR (#NO NOT LEFT)


--------- - - ------------ - --- -. ----- --- - .----
COMMANDED PROHIBITED VARIABLE
AS SUBSTITUTION IN LEFT-HAND
SIDE OF THE EQUATION.
100 CAL ERROR (FIXED POINT) 110 __!.1A_<?~()_ ~_~~()~ _\~ _Y _!-~MI_~)__________ _
MAGNITUDE OF FIXED POINT DATA MULTIPLE LAYERS OF
EXCEEIlING UPPER LIMIT PARENTHESES EXCEEDING THE
UPPER LIMIT (5).
101 CAL ERROR (FLOATING) III MACRO ERROR (MOVE Gbb-M99)
EXPONENT OF FLOATING POINT MOVE COMMAND IN M99 FINISHING
DATA EXCEEDING ALLOWABLE RANGE COMMAND OF MACRO CALLED BY
Gb6.
102 CAL ERROR (DIVISION) 112 MACRO ERROR (5)
------- ------------------.----.--------------._---- ._-----------------------------------------.---.
CALCULATION DIVISOR ZERO OR LEVEL FOR CALLING MACRO
OVERFLOW ERROR. EXCEEDING FOUR LEVELS.

103 CAL ERROR (SQUARE ROOT) 113 MACRO ERROR (6)


ROOT VALUE IS A NEGATIVE (-l.

104 PROG ERROR (DOUBLE ADD) 114 MACRO ERROR (DO-FORMAT)


SAME ADDRESS REPEATED IN A NO. OF DOs AND ENDs NOT THE
BLOCK. SAME.

lOS MACRO ERROR (CONSTANT) 115 MACRO ERROR ([ J UNMACH)


-- ---- ------------- ----------- --- -.--- -----. - - ----- - ----- --------------------------------------
CONSTANTS USABLE IN USER MACRO NO". OF LEFT BRACKETS AND
EXCEEDING THE LIMIT. RIGHT BRACKETS NOT THE SAME.

lOb MACRO ERROR 116 MACRO ERROR (DO-END NO.)


TOO MANY G CODES COMMANDED CONDITION ISm S 3
FOR CANCELLING G67. NOT ESTABLISHED IN DOm.

Notes:
L No move command in three blocks in series
at G41 (G42) command."
2. MOO commanded when rise.
3. Rise at circular interpolation block.

277
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


117 MACRO ERROR (10) 127 LIFE CTRL ERROR (T5 & T9999)
-------- ---------------- -- .-------- - - - - - - - - -------- - - - - --- ----------- --------------- --- -- -- ---------
ENTERED COMMAND FOR T5 DIGITS
WITHOUT REGISTERING THE GROUP
OR THERE IS AN ERROR IN THE
T9999L AM COMMAND.
118 MACRO ERROR (GOTO N)
- - -- - -- - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - -- ---------
CONDITION 0 ~ n ~ 9999 NOT
EST ABLISHED OR NO SEQUENCE NO.
IN GO TO n.
119 MACRO ERROR (12) 128 LIFE CTRL ERROR (T5 & H9999)
- - ---- - ---------------------------- --------. --------- -- ------ - - - - - - - - - -- -- - - - - - -- -- - - - - - - - -- - - - - - - - - - - - -- -
ENTERED COMMAND FOR T5 DIGITS
ALTHOUGHT ALL OF THE CONTENTS
OF THE GROUP WERE IN SKP
STATUS, OR ENTERED H(D)999
- - - 120 PRTN ERROR (NOT FOUND)
- - . ----------- -- -------------- -- --- --- -- -- -------- COMMAND WITHOUT REGISTERING
SEQUENCE NO. NOT FOUND IN PART TOOL NUMBERS H-NO AND D-NO.
PROGRAM.

121 PRTN ERROR (G92) 129 PROG ERROR (G54 TO G59 J)


--------- ------------------------_.- - - - - - - -- ----------- -- - - - - - ---------_. ------------------------
G92 COMMANDED THROUGH MDT SPECIFIED AN EXCESSIVELY
OPERATION DURING PROGRAM LARGE J IN THE WORK
RESTART. COORDINATE SYSTEM OR THE
MODE WAS OTHER THAN GOO/GOl.
122 PRTN ERROR (G54-G59)
------ ------------------- ------- ------------ - - --
G54 TO G59 COMMANDED THROUGH
MDT OPERATION DURING PROGRAM
RESTART.
123 PRTN ERROR (ORG) 130
- --- ------- ---------------------- --
- - - . - - -- - -- - - - - - - - - - - - -- - - - --------------------- - - - - - - - - -

COORDINATE SYSTEM CHANGED BY


DEPRESSING THE CRT OPERATION
CONTROL PANEL ORG KEY DURING
PROGRAM RESTART.
124 PRTN ERROR (MDT MOVE) 131
-------- -~------ - - --- ----------- -- - ------ - - - - -- - - - - -- - - - - - - - - ------------- -------------------- --------
AXIS OPERATED BY MDI AFTER
PROGRAM RESTART.

125PROG ERROR (G122/123!l24) 132


- ------ --------------------------------- - -- - - - - - - - -- ------- ------- ------------. - -------- -------------
ERROR EXISTS IN SPECIFICATION
OF P, I, T, L, H, and D WITH
COMMANDS G122/l23.
126 PROG.ERROR (G122 DATA OVR) 133
-----_. - -- - . - - - - - - --------- - - - - - --- - - - - -- -- - - - --- - - - -- -- ------ --------- ---- ----- ----- - - - - -- - - - - - -
TOOL LIFE CONTROL DATA
COMMANDS EXCEEDED CAPACITY.

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

278
Code Causes Code Causes
134 144

135 145

136 146

137 147

138 148 AS AFTER READ SUBPROG/MACRO


AN ADDRESS SEARCH OPERATION
WAS MADE DURING THE EXECUTION
OF SUBPROGRAMS.
139 149

1~150 ROTATE ERROR (G CODE)


G CODE THAT CANNOT BE USED
IN G68 MODE HAS BEEN COMMANDED.
G68 HAS BEEN COMMANDED DURING
TOOL RADIUS COMPENSATION C.
141

142 lSI ROTATE ERROR (FORMAT)


THERE IS AN ERROR IN THE
FORMAT OF G68 OR G69 COMMAND
BLOCK.

143 152 ROTATE ERROR


COORDINATE ROTATION COMMAND (G54) IS COMMANDED
DURING COMPENSATION C, IN THE COORDINATE ROTATION
OF THE EASY SETTER SPECIFICATION. OR PLANE OTHER
THAN THE X. Y PLANES IS COMMANDED.

Notes:
I. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

279
Table 5.2 List of Alarm Codes (Cont 1 d)

Code Causes Code Causes


153 163 DNC MODULE 71051/8530 ERROR
8251 ERROR

154 164 DNC MODULE CHECK SUM ERROR


--------- - ---- - - --- - ---- - ---- --- -----
CHECK SUM ERROR

155 165 DNC MODULE COMMAND ERROR


COMMAND ERROR

156 166

157 167 DNC MODULE ROM CHECK ERROR


-- - -------- --- ---- ------ - ------
COMMUNICATION MODULE CHECK ERROR

158 168 DNC HISPEED MODE ERROR


HIGH SPEED CUTTING MODE ERROR

159 169 DNC IfF SYNC ERROR


DNC CPU ERROR

160 DNC MODULE TIME OUT 170 MEM ERROR (OFS)


------------------------------------ - - - - - -- -- - - - - - - - - - -- - - -- - - - - - -- - - - - - - - - - --- - - - - - - - - - - - - - - --

DNC TIME OUT ERROR. TOOL OFFSET TOTAL CHECK ERROR

161 DNC MODULE DR-LINE ERROR 171


DR LINE ERROR

162 DNC MODULE PACKET LENGTH ERROR 172 MEM ERROR (SET)
PACKET LENGTH ERROR SETTING AREA TOTAL CHECK
ERROR.

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

280
Code Causes Code Causes
173 MEM ERROR (PRM) 183
PARAMETER AREA TOTAL CHECK
ERROR.

174 MEM ERROR (KEEP) 184


TOTAL CHECK ERROR OF MACRO
VARIABLES.

175 MEM ERROR (MACR) 185


TOT AL CHECK ERROR OF KEEP
MEMORY.

176 186

177 187

178 188

179 OVER TEMP 189


PANEL INSIDE TEMPERATURE TOO
HIGH.

180 SEQ ERROR 1 190 HDLC SYSTEM SOFT ERROR


-------- --------------------------- ------- - -- - -------- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SEQUENCER ERROR (1) SYSTEM ERROR WHEN ACGC
CONNECTED.

181 SEQ ERROR 3 191 HDLC SOFT COMMAND ERROR


---------------------------------- ----- --- --- - -- - ---------- - - ------- -- ----- ----
SEQUENCER ERROR (3) SYSTEM ERROR WHEN ACGC
IMMEDIATE STOP CONNECTED.

182 SEQ ERROR 2 192 HDLC 8530 SEND ERROR


---- - -- - -- --- - - -- - - - - -- ~ - - -- - --
SEQUENCER ERROR (.2) SYSTEM ERROR WHEN ACGC
DECELATION STOP CONNECTED.

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

281
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


193 HDLC 8530 RECEIVE ERROR 203 OT (Z)
- ------ ------------------ ---------------- ---------- --_.-. --------- ------ ----------- - ---
SYSTEM ERROR WHEN ACGC OVERTRAVEL Z
CONNECTED.

194 HDLC NAK ERROR (10 TIMES) 204 OT (4)


- - - - - - - - ----.-- --_.- - ----------------- ----------- ------- -- - - - -- -- - - - - - - - -- ------------. - --
SYSTEM ERROR WHEN ACGC OVERTRAVEL 4
CONNECTED.

195 HDLC CMOS FILE ERROR 205 OT (5)


------- ----- -- ----- - - _.- ------- -_. ---.--- - - - - - - . ------ --------- ------ - - - - - - - - - ---_.-
SYSTEM ERROR WHEN ACGC OVERT RAVEL 5
CONNECTED.

196 HDLC I/O DATA ERROR 206


------- ---- -------- - - -- -- ----- -- ---. - - - -----_.----- - - - - - -- - - --------- -.------.-------------
SYSTEM ERROR WHEN ACGC
CONNECTED.

197 HDLC NC REQUEST ERROR 207


------ ---_._--- ----- -- --------- --- - --- - - - - - - - - - -- ------- - ----_.--------------- ---------.----
SYSTEM ERROR WHEN ACGC
CONNECTED.

198 HDLC OPERATION ERROR 208


------- ------ ----- - ------ - - -+--- - -. - --- - - - - - - _.- - -- - - - - - -- - - -- - -- - - - - - - - - - - - - - - - - - - - - - - - - ---
SYSTEM ERROR WHEN ACGC
CONNECTED.

199 AMGC COMMUNICATION SYSTEM ERROR 209


-- - - ~ - - - - - - - - - - - - - - - - -- - -- - -- - - - - - - -- - - - - - - - - - - - - - - ------ ----------------- --------- - ------
AMGC COMMUNICATION SYSTEM ERROR

200 ACGC2 COMMUNICATION SYSTEM ERROR 210


-------- - -------- - - - - - - - - - --- --- ------ ----._- -- - - - - - ---- - - - - - - - - - - - - -- - - - - - - - - - - - - - ---
ACGC120 COMMUNICATION SYSTEM
ERROR

201 OT (X) 211 S-OTl (X)


- ------ - - - ---- - - - - - --------- ----------------------- ------- ------- -- -- ------- - ------ -----
OVERTRAVEL X STORED STROKE LIMIT FIRST
AREA X.

202 OT (Y) 212 S-OTl (Y)


- - - - - -- ---------- ---------------- - - --------- ----- - - - - - - ------------- - - - - --- - - ------
OVERTRAVEL Y STORED STROKE LIMIT FIRST
AREA Y.

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

282
Code Causes Code Causes
213 S-OTI (Z) 223 S-OT2 (Z)
------- -----. ---- - -- ----------- -------- -- - ------- ------- ------ ------- --- ---- - -- -- - -- - -- - - - - .
STORED STROKE LIMIT FIRST STORED STROKE LIMIT SECOND
AREA Z. AREA (OUTSIDE INHIBIT) Z.

214 S-OTI (4) 224 S-OT2 (4)


- - - - - - - ------------------- -------- - --------------- ------ ------------------------------- - . - --
STORED STROKE LIMIT FIRST STORED STROKE LIMIT SECOND
AREA 4. AREA (OUTSIDE INHIBIT) 4.

215 S-OTI (5) 225


------- -- - -- - - - - - - - - - - - - - -- - - - - - - - --------- ------ -- - -- - - -- - - - - - - -- - - - - - -- --- - - - - --
STORED STROKE LIMIT 1ST
AREA 5~

216 226
------- ---------------------------- ----------- ------- ------- ------ ---- --- -- -- - ----- ---

217 227
--------- -- .----- --- -------- ----- ---- - ------ - - - - - - ------- - - -- - - - - - - - - - - - - - - - -- - - --

218 228
------- - -- - - --- - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - --- - -- - - - - - - - - - - - - - - - -- --------------

219 229
------ ------------------------- - - - - -- - - - - ------ - - - - - - - - - - - - - - - - - -- - -- - - - - - - - - - ---

220 S-OT2 (INSIDE) 230 TOOL BROKEN


------ - - - - - - - - - - - - - - - - - - - - - - - - -- -- - - - - - - --- ------ ----------- - ------- -- -----------
STORED STROKE LIMIT SECOND AT BROKEN TOOL DETECTION
AREA (INSIDE INHIBIT). BY G32, G33, Z-AXIS MOVES TO
THE SET POSITION BUT SENS
(T) INPUT NOT TURNED ON.
221 S-OT2 (X) (SPECIAL SPECIFIC ATIONS)
------- ----------------------- - ------------
STORED .STROKE LIMIT SECOND
AREA (OUTSIDE INHIBIT) X.

222 S-OT2 (Y) 231 ZR ERROR-AREA (X)


------- -------------------------------------_.-- ------- - -- --- - -- - - - - -- --- - - - .---- - - .- - ----
STORED STROKE LIMIT SECOND REFERENCE POINT RETURN AREA
AREA (OUTSIDE INHIBIT) Y. ERROR X. VIRTOAL C PHASE TYPE
LATCH UNFINISHED.

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

283
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


232 ZR ERROR-AREA (Y) 242 ZR ERROR-POS (Y)
------- ------------------------------. ---------- -------- - ---- - -- ---- ------- -- - - ---- -- --- -- ----
REFERENCE POINT RETURN AREA REFERENCE POINT RETURN AREA
ERROR Y. ERROR Y.

233 ZR ERROR-AREA (Z) 243 ZR ERROR-POS (Z)


-- ----- ------------- --- -.-- - - .-- -- - - -- ---- -- ----- - - - --- --- --------- - - - --- - -- - - - - -. ---- ----
REFERENCE POINT RETURN AREA REFERENCE POINT RETURN AREA
ERROR Z. ERROR Z.

234 ZER ERROR-AREA (4) 244 ZR ERROR-POS (4)


------ ----------------.-------- ---------- .----- ------- - -- - - - - - -- - ---- -------- ------------ ---
REFERENCE POINT RETURN AREA REFERENCE POINT RETURN AREA
ERROR 4. ERROR 4.

235 ZR ERROR-AREA (5) 245 ZR ERROR-POS (5)


------- -- - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - ------ - - - - - - - - - - - - - - - -- - - - - - - - - - - -
REFERENCE POINT RETURN ERROR 5. REFERENCE POINT RETURN
POSITION ERROR 5.

236 246
-- ---- -------.-------- ------------ - ------------ ------ - -- - - - - - - - - -- -- -- - - - - - - - -- - - - - - - - - - --

237 247
------- ------------------------ -- - -- .------------ ------- - - - - - - -- - - - - - - - - - - - - - - - - - - - -- -- - - - -- -- --

238 248
------- ---------- ---------- - - - ----------------- ------ - . ------ - - ---------------- ---------

239 249
--- ----- . -. - - ---------- -------------------------- ------ - - -- -- ------ - - - - - - - - - - - - -- - - - - - - - --

240 250 S-0T3-5 (INSIDE)


---- --- --------------- ------ -- - - - - - - ---------- - --- _. ---- - --- ---- - --- ----- - -- ------ ---------
STORED STROKE LIMIT 3RD 4TH,
5TH AREA INSIDE PROHIBITED.

241 ZR ERROR-POS (X) 251 S-OT3-5 (X)


----- - ------------- --------- - - -- - - - - ------- -- ------ --------- -- ---------------- ---------
REFERENCE POINT RETURN AREA STORED STROKE LIMIT 3RD, 4TH,
ERROR X. 5TH AREA OUTSIDE PROHIBITED X.

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

284
Code Causes Code Causes
252 S-OT3-5 (Y) 262 ZR ERROR PRM (Y)
------- ---- - - --- - - - - - .- - - - - - - - - - - - - - - - - - - - - - - - -- ------- ----------------------------------
STORED STROKE LIMIT 3RD, 4TH, RETRACTION BY HOME POSITION
5TH AREA OUTSIDE PROHIBITED Y. (ER PULSE AT C PHASE
LATCH > #6305)
253 S-OT3-5 (Z) 263 ZR ERROR PRM (Z)
------- --- - -- - - - ---- -- - - - - - _._.- - - - - .-- --- - --- ----- ------- -- - ------ - -- -------------- - ----------
STORED STROKE LIMIT 3RD, 4TH, RETRACTION BY HOME POSITION
5TH AREA OUTSIDE PROHIBITED Z. (ER PULSE AT C PHASE
LATCH > #6306)
254 264 ZR ERROR PRM (4)
------- ---- -- ------ - ---- --- --- - .--- - -- -- ----- ----- ------- ----- - ----- --- --- ------- -. - - -- - .----
RETRACTION BY HOME POSITION
(ER PULSE AT C PHASE
LATCH > '6307)

255 ZR DECLS ERROR (X) 265 ZR ERROR PRM (5)


-------- --- - ----- .-- -- ---- - --- ---------- ------- ---- -------- --------------- ---------- --.--- ----
LS ERROR (X) DECELERATION RETRACTION BY HOME POSITION
(DECLS OF X-AXIS STARTS CHAT- (ER PULSE AT C PHASE
TERING ON THE DOG) LATCH > '6308)
256 ZR DECLS ERROR (Y) 266
------- - - -. -- -- ---- - - -- -- - ---- -------- - --- ---------- ---_._.- ------- ------ - - - - - -- -- - - ------ - -- ------
LS ERROR (Y) DECELERATION
(DECLS OF Y AXIS STARTS CHAT-
TERING ON THE DOG)
257 ZR DECLS ERROR (Z) 267
-------- - ------ ---- -------- - ----- - ---- -- - --- ------- -- -- --- - - -- --- ------ -- -------- - - -- -- --- - ---
LS ERROR (Z)DECELERATION
(DECLS OF Z AXIS STARTS CHAT-
TERING ON THE DOG)
258 ZR DECLS ERROR (4) 268
-- - - - ---- - - -- --- - ._. -- - ---- ----- -------
,-------- - --- - - ---- - -- - ------------- ---------- - - -. - -- -----
LS ERROR (4) DECELERATION
(DECLS OF 4 AXIS STARTS CHAT-
TERING ON THE DOG)
259 ZR DECLS ERROR (5) 269
~----- ------- -- ------------ ----------- --- ---- ------- -- ---- - -- --------------------------
LS ERROR (5) DECELERATION
(DECLS OF 5 AXIS STARTS CHAT-
TERING ON THE DOG)
260 270
------- ------ --------- ----- -------- - ---- - ------ - ----- ----------------- ----------- -------

261 ZR ERROR PRM (X) 271 P-SET ERROR (X)


-------- - - - - --- - - - - -- - - - - - - - - - - - - - - --- - - - -- - - - -- --- ------- ----- - - -- -- - --- - - --- --- --- ------ - ----- ----
RETRACTION BY HOME .POSITION P SET ERROR X
(ER PULSE AT C PHASE
LATCH > #6304)

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

285
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


272 P-SET ERROR (Y) 282
P SET ERROR Y

273 P-SET ERROR (Z) 283


P SET ERROR Z

274 P-SET ERROR (4) 284


P SET ERROR 4

275 P-SET ERROR (5) 285


- - - - - - - - - -- - - - --- - - -, - - - - - - - -- - - - -- - - - -- - - - - - - - - - - - -- - - - - - - - --
PROGRAM SET ERROR 5

276 286

277 287

278 288

279 289

280 MACH UNREADY 290


MACH RDY OFF

281 291

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

286
Code Causes Code Causes
292 302

293 303

294 304

295 305

296 306

297 307

308
- -- -298
- -- --- - - - - _. - - - - -. - - - - - - - - - - - - - - - - - --- --- - --- - -- - - - - - - - - - - -- -- - - -- - - - -- - - - - - - - - - - -- - - - - - - - - --

299 309

300 310 SERVO OFF


SERVO POWER NOT SUPPLIED

311
---
301
-- - --- - -- -. - - -- ---- - - - - - - - - _.- - - --- - - - - -- - - - -- - -- - - --- ---- - - --- - -- -X-AXIS
-- -
SERVO UNREADY
- -- -- - - --- - - - -- - - - - -- - - - - --- - --
- - - - - -

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circ~lar interpolation block.

287
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes

__312
6.-- --Y-AXIS SERVO UNREADY 322
CMOS VACANT AREA ERROR
- - --. - - - -- ---.-- ---- -- - ----- ------------ - - - - --- - - --- - -- --- ------ - -------- --- ---- ---- ----"
THE UNUSED AREA OF THE CMOS IS USED.
(THE CMOS MAY BE DESTROYED. )
(SET "I" IN '6066 D2 TO RESET THE ERROR.)

313 Z-AXIS SERVO U.NREADY 323


------- ---------------- -. - -- -- - ------------ -- --- - --------_. --------- -- - ------- ---- - --- - -- - ---- - .-------- - --

314 4TH AXIS SERVO UNREADY 324


-- .--- ---- ------ ------- -------. --- - ------ -- - ------ ------- ------- - - - - -- - --- - - ---- -- ---- --- ------

315 5TH AXIS SERVO UNREADY 325 SERVO CPU ERROR


---.-- - -- ---- - -- - - - . - -- - -- --- - -.--- --- ----. -- ----- - -- ------ -- --- - - - ------ ------- - - -- --- -- -- -- ---
SERVO CPU IS IN ABNORMAL
STATE.

316 326 SKIP MACRO (G, M, T)


.------ -- - - - - - - -- - - - - - - - - - - --- . - - --- - - - - - - - ------ -- ---- - - - - - - ----- ---------- -- ------ --- - ---- - -- - --- ----
CALLING OF G, M, T
MACRO OF THE MAIN
PROGRAM WAS SKIPPED
(CHECK MODE) .
317
-- - - -- ---- -- ------- -- -------------- ----------------

318 327 UNFINISHED PROG GEN


------ ------- ---- ------ ---- - -- ------ - - - ---------- ------- - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - --
MEMORY LENGTH, FOR WHICH
MEMORY GENERATION WAS
NOT PERFORMED, HAS BEEN
CHANGED BUT NO GENERATION
319
------ --- -- -------.--------- ---- --- - ---- --- -- ---- - - HAS BEEN MADE.

320 NC UNREADY 328 UNSUITABLE MM21


------ --- - -"- ------- - -- - - - - --- ------------------- ------ - - ------- --------------------------
NC UNREADY P SET UNREADY MEMORY LENGTH SET BY
PARAMETER DOES NOT MATCH
THE MEMORY BOARD.
321 329 PC CPU ERROR
------ - - --- ---- - - --- ----------- -------------------- ------- -- - -- ---- - - - -- -- -- -------- -- --- - ----
PC CPU IS IN ABNORMAL
STATE.

Notes:
1. No m9 ve command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular in terpola tion block.

288
Code Causes Code Causes
330 EMERGENCY STOP 340
EMERGENCY STOP

331 FUSE (X) 341 SERVO ERROR (X)


FUSE BLOWN X SERVO ERROR X

332 __(:-'_____________________________________ ~~~ __ ~_~~~_~ _~ll,~_~ll,__~~~ _________________ _


_~'!~~
FUSE BLOWN Y SERVO ERROR Y

333 FUSE (Z) 343 SERVO ERROR (Z)


FUSE BLOWN Z SERVO ERROR Z

334 FUSE (4) 344 SERVO ERROR (4)


FUSE BLOWN 4 SERVO ERROR 4

335 FUSE (5) 345 SERVO ERROR (5)


FUSE BLOWN 5 SERVO ERROR 5

336 346 SERVO ERROR (5)


SERVO ERROR (SPINDLE)

337 347

338 348

339 349

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded whet;t rise.
3. Rise at circular interpolation block.

289
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


350 360

351 OL (X) 361 PG ERROR (X)


OVERLOAD (1) X PG ERROR X

352 OL (Y) 362 PG ERROR (Y)


OVERLOAD (l) Y PG ERROR Y

353 OL (Z) 363 PG ERROR (Z)


OVERLOAD (1) Z PG ERROR Z

___~5_4 __ <?!-_ ~4.)_________________________________ }~~ __ !,G__E.~lt9_~ _(4) _ _____ _ ___ __________ _


OVERLOAD (1) 4 PG ERROR 4

355 OL (5) 365 PG ERROR (5)


OVERLOAD (1) 5 PG ERROR 5

356 366

357 OL (OTHERS) 367


OVERLOAD (2)

358 368

359 369

Notes:
1. No move command in three blocks in series
at G4l (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

290
Code Causes Code Causes
370 380

371 SV-FG SYNC ERROR 381 AXIS ERROR (X)


---- ------- --- ------- -------. - ---- - -------- --- ------------ ------- ----------------
SERVO CPU IS NOT SYNCHRONIZED AXIS CPU ERROR
WITH FG CPU.

372 FG NOT READY 382 AXIS ERROR (Y)


_.----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------
READY FROM FG CPU HAS NOT BEEN AXIS CPU ERROR
RECEIVED.

373 SR-20 UNSUITABLE 383 AXIS ERROR (Z)


OPTIONAL AXIS SETTING DOES NOT AXIS CPU ERROR
MATCH THE TYPE OF SR-20.

374 384 AXIS ERROR (4)


AXIS CPU ERROR

375 385 AXIS ERROR (5)


AXIS CPU ERROR

376 386

377 387

378 388

379 389

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded" when rise.
3. Rise at circular interpolation block.

jj

291
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


390 SERVO ALARM (SERVOPACK) (SR20) 800
SERVOPACK ALARM SPINDLE PG
DISCONNECTION OF 4/5 AXIS SR
FAILURE
391 SERVO ALARM (X) 801
X-AXIS SERVOPACK ALARM X

392 SERVO ALARM (Y) 802


Y-AXIS SERVOPACK ALARM Y

393 SERVO ALARM (Z) 803


Z-AXIS SERVOPACK ALARM Z

394 SERVO ALARM (4) 804


4 AXIS SERVOPACK ALARM 4

395 SERVO ALARM (5) 805


5 AXIS SERVOPACK ALARM 5

396 806

397 810 RAM ERROR

398 811

399 812

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when ·rise.
3. Rise at circular interpolation block.

292
Code Causes Code Causes
813 823

814 824

815 825

816 826

817 827

818 828

819 829

820 ROM ERROR 830 CPU ERROR


ROM CHECK ERROR RAM CHECK ERROR
REQUIRES HARDWARE CHECK. FOR DETAILS,
REFER TO THE YASNAC MX3 MAINTENANCE MANUAL.

821 840 CPU ERROR

822 841

Notes:
1.· No move command in three blocks in series
at G41 (G42) command.
Z. MOO commanded when rise.
3. Rise at circular interpolation block.

293
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


842 852

843 853

844 854

845 855

846 856

847 857

848 858

849 859

850 860

851 861

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

294
Code Causes Code Causes
862 872

863 873

864 874

865 875
--------------------------------------------

866 876

867 877

868 878

869 879

870 880

871 881

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

295
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


882 892

883 893

884 894

885 895

886 896

887 897

888 898

889 899

890 900

891 901

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block ..

296
Code Causes Code Causes
902 912

903 913
-------- - - - ------ --------- - ---- -- -- --- -------

904 914
------ ----------- ---- ------ -- -- - -- ------- ---

905 915

906 916

907 917

908 918

909 919

910 TAPE MEM ERROR 920 TAPE ERROR

911 921

Notes:
1. No move command in three blocks in series
at G41 (G42) command •.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

297
Table 5.2 List of Alarm Codes (Cont'd)

Code Causes Code Causes


922 932

923 933

924 934

925 935

926 936

927 937

928 938

929 939

930

931

Notes:
1. No move command in three blocks in series
at G41 (G42) command.
2. MOO commanded when rise.
3. Rise at circular interpolation block.

298
APPENDIX - 6 LIST OF ADDRESS CHARACTERS

Table 6.1 List of Address Characters

Address B;
Meanings Basic
Characters 0; Optional
A Additional rotary axis parallel to X-axis 0

B Additional rotary axis parallcl to V-axis 0

C Additional rotary axis parallel to Z-axis 0

D Tool radius offset number B, 0

E User macro character 0

F Feedrate B

G Preparatory function B, 0

H Tool length offset number B

I X-coordinate of arc center B


Radius for circle cutting 0
Y-coordinate of arc center
J B, 0
Cutting depth for circle cutting

K Z-coordinate arc center B

L Number of repetitions B, 0

M Miscellaneous functions B

N Sequence number B

0 Program number B

p Dwell time. Program No. and sequence No. B


designation in subprogram 0

Q Depth of cut, shUt of canned cycles


°
R Pain t R for cahned cycles
0, B
Radius designation' of a circular arc
S Spindle-speed function B

T Tool function B

U Additional linear axis parallel to X-axis 0

V Additional linear axis parallel to Y-axis.


°
W Additional linear axis parallel to Z-axis 0

X X -coordina te B

y V-coordinate B

Z Z -coordin,\ te B

299
Table 6.2 Function Characters

EIA Code ISO Code Meanings Remarks

Error in significant data area in ErA


Blank Nul
Disregarded in ISO

BS BS Disregarded

Tab HT Disregarded

CR LFINL End of Block (EOB)

~ CR Disregarded

SP SP Space

ER % Rewind stop

UC
~ Upper shift

LC
~ Lower shift

2-4-5 bits ( Control out (Comment start)


EIA:
2-4-7 bits ) Control in (Comment end) Special
code
+ + Disregarded. User macro operator

- - Minus sign, User macro operator

o to 9 o to 9 Numerals

a to z A to Z Address characters. User macro operator

I I Optional block skip, User macro operator

Del DEL Disregarded (Including All Mark)

Decimal pain t

Parameter
setting
# Sharp (Variable)

* * Astrisk (Multiplication operator)

= = Equal mark

[ [ Left bracket
ErA:
I I Right bracket
Special
code
0 : User macro operator

$ $ User macro operator

@ @ User macro operator

? ? User macro operator

Notes:
1. Characters other than the above cause error in significant data area.
2. Information between Control Out and Control In is ignored as insignificant data.
3. Tape code (EIA or ISO) can be switched by setting.

300
Table 6.3 Tape Code
EIA CODE
8 7 6 5
• c. 3 2 I
CHARACTERS 8 7 6 ,•
ISO CODE
0 3 2 I
0 0 0 0 0 "
0 I 0 0 0 n 0
"
0 2 0 0 0 " 0
" 0
0 0 0
0 0 3
" 0 0 0
0
" 0
0 0

5
0 0 0
0 0
"
0 0
0
" 0 0 6 0 0
" 0 0
0
"
0 0 0 7 0 0 0 0 0 0
0
0

0 8 0
"
0 0 o 0
0 0 n 0 9 0 0 0 0
"
0 0 " 0 • A 0 0 0
0 0 " 0 b 8 0 " 0
0 0 0 0 0 0 , C 0 0 0 0 0
0 0 0 0 d 0 0 n 0

0 0 0 0 0 , E 0 0 0 0 0
0 0 0
" 0 0 0 '-'
" f F
" 0 0
0 0
0 0 0
" 0 0 0 •
h
G
H
0
0
" 0 0 0
0 .,
0 0 0 0
" 0 ; I 0 0 0 0 0
"0
0
0
0
0
0
,i J 0 0 0 n
0 0
0
0 0
0
0
n
0
0 0 , K
L 0
0
0 o " 0
0 0 0 0 m M () 0 0 0 0
0 "n 0 0 N 0 0 " 0 0
0 0 0 ," 0 0 0 0 0 0 0
"
0
0
0
0 0
"
"
0 0 0 •
q
p
Q
0
0 0
0
0
"
0 0
0 o " 0 , R 0 0 0 "0 0
0 0
" 0 • S 0 0 0 0
0 0 0 0 , T 0 0 0
" 0
00 " 0 • U 0 0 " 0 0
0 "0 0 0 , V 0 0 " 0 0
0 0 0 • W 0 0 0 0 0 0 0

,• o "
0 0 " 0 00 X 0 0 0
0 0 0 0 y 0 0 o " 0
0 0 0 0 • Z 0 0 o 0 0
" Blank NUL c
0 0
"n 0 BS 0 o 0

0 0 0 0 0 Tah liT o o· 0
0
" CM LF/NL o 0 0
CR 0 0 0 0
0 SP 0 0
"
0 Notes:
" ER
0 " 0 0 % 0 0 " 0 0
1. For characters from It to ?,
00 0 0 0 UC
00 0 0
"
0 0 LC -
EIA codes have not been
agreed upon. In the
( 0 o " present system. for the time
) 0 0 o 0 0
o being. the above provisional
0 00
" + 0 0 0 0
codes are used.
0
" 0 o 0 0 0
0 0 00 0 I : 0 0 o " 0
o 0 2. EIA code of character # can
0 0 0 / 0 0 0 0 0
" D., be designated by the param-
00 0 o " 0 0 0 I DEL 0 0 0 0 o " 0 0 0
eter #6017.
0 00 0 0 0 0 0 0 All Mark 0 0 0 0 0 o 0 00
See Note 2. # 0 0 0 00
0 0 0 , •= 0 0 o c 0
0 o • 0 0 00 o • 0 0
0 0 0 < [ 00 00 , 00
0 0 0 0 00 00 C 0 0
0 0 , 0 $ 0 o 0
0 o " 0 0 0 @ 00 0

0 0 o ' 0 0
.? 0 00 00 0 0
0 0 o " 00 0 0 " 00

301
Table 6.4 Tape Format

Metric output Inch output


No. B: Basic
Address
Metric input Inch input Metric input Inch input 0: Optional

I Program No. 04 04 B

2 Sequence No. N4 N4 B

3 G function G3 G3 B

Linear axis a + 53 a + 44 a + 53 a + 44 B
4 Coordinate
Word
Rotary axis b + 53 b + 53 b + 53 b + 53 0

5 Feed/min F50 F31 F50 F41 B

6 Feed/min 1/ 10 F51 F32 F51 F42 B

52 52 B
7 S-function
55 55 0

T2 T2 B
B T-function
T4 T4 0

9 M-function M3 M3 B

10 Tool Offset No. HZ or DZ H2 or D2 B

II B-function B3 B3 0

12 Dwell P53 P53 B

13 Program No. designation P4 P4 B

14 Sequ,Ence No. designation P4 P4 B

15 No. of repititions LB LB B

302
Table 6.5 Range of Program Commands

Metric Output Inch Output


No. Address
Metric Input Inch Input Metric Input Inch Input

I Program Number 0 I to 9999 I to 9999 I to 9999 I to 9999

2 Sequence Number N 1 to 9999 1 to 9999 1 to 9999 I to 9999

3 G-function G o to 199 o to 199 o to 199 o to 199

Coordinate address
Linear axis ±99999.999 mm ±3937.0078 in. ±99999.999 mm ±9999.9999 in.
4
Rotary axis ±99999.999 deg ±99999.999 deg ±99999.999 deg ±99999.999 deg
Max cumulative value ±99999.999 mm ±9999.99999 in. ±99999.999 mm ±9999.99999 in.

5 1 to 24000 0.1 to 944.8 1 to 60960 0.1 to 2400.0


Feed per minute F
mm/min in./min mm/min in./min

Feed per minute 0.1 to 24000.0 0.01 to 944.88 0.1 to 60960.0 0.01 to 2400.00
6
l/ 10 mm/min in./min mm/min in./min

52 o to 99 o to 99 o to 99 o to 99
7 S-function
55 o to 99999 o to 99999 o to 99999 o to 99999

T2 o to 99 o to 99 o to 99 o to 99
8· T-function
T4 o to 9999 o to 9999 o to 9999 o to 9999

9 M-function M o to 199 o to 199 o to 199 o to 199

H 0 to 99 (299) 0 to 99 (299) 0 to 99 (299) 0 to 99 (299)


10 Tool offset No.
0 0 to 99 (299) 0 to 99 (299) 0 to 99 (299) 0 to 99 (299)

11 B-function B o to 999 o to 999 o to 999 o to 999

12 Dwell P
o to 99999. 999 o to 99999.999 o to 99999.999 o to 99999.999
sec sec sec sec

Program No. p
13 I to 9999 I to 9999 I to 9999 1 to 9999
designation

14 Sequence No. p I to 9999 I to 9999 I to 9999 I to 9999


designation

15 No. of repetitions L 99999999 99999999 99999999 99999999

303
Table 6.6 Range of Data Setting

Metric Output Inch Output


Address
Metric Input Inch Input Metric Input Inch Input

O.OOlor 0.0001 or 0.001 or 0.0001 or


Least input increment
0.01 mm 0.001 in. O. 01 mm O. 001 in.

Max stroke (Distance


± 99999. 999 mm ± 3937.0074 in. ± 9999.9999 in.
from reference point)

Tool offset amount & o to o to o to o to


Tool radius value ± 999.999 mm ± 99.9999 in. ± 999. 999 mm ± 99.9999 in.

Min. feed amount at


0.001 mm 0.0001 in. 0.001 mm 0.0001 in.
STEP /HANDLE

Program
Unit of area O.OOlmm 0.0001 in. 0.001 mm 0.0001 in.
designation
setting for
stored
Parameter &
stroke limit 0.001 mm 0.0001 in.
setting

Rapid traverse rate

Manual jog speed (7.5 to) I to 24,000 mm/min (0.75 to) 0.1 to 2400.0 in./min

Seed at Fa

Max. feedrate
1 to 24,000 mm/min 0.1 to 2400.0 in./min
Dry run speed

Stored leadscrew campen -


sation, stored stroke
limit. and setting area o to ±99999.999 mm
o to o to
± 3937.0078 in. ± 9999.9999 in.
for 2nd to 4th reference
points

Backlash compensation ± 8191 pulses ± 8191 pulses

Stored Incremen tal o to 15 pulses o to 15 pulses


leadscrew
Compensation Absolute o to 127 pulses o to 127 pulses

Note: 1 pulse = least output ineremen t

304

, --
Table 6.7 List of G Codes

G B: Sulc G
Code
Group Function 0, Optional Group Function II: Bulc
Code 0, Optional

GOO Positioning B Shift to work coordinate system 4


Gal' Linear interpolation B -"'-"- 12
0

~
-=-:..::... Shift to work coordinate system 5 0
Circular interpolation CW. G59 Shift to work coordinate system 6 0
G02 01 B. 0
Helical interpolation CW
- G60 01 Unidirectional approach 0
Circular interpolation CCW.
G03 B. 0
Helical interpolation CCW ~ !3 Exact stop mode B
G64 Exact stop mode cancel B
~ Dwell B
,
Positioning in error detect G65 Non-modal call of user macro 0
G06 B
off mode
~
- Modal call of user macro 0
14
~ , Exact stop B G67 Modal call of user macro cancel 0
Tool offset value and work
~
Rotation of coordinate ON 0
GIO coordinate. Shift-value B. 0
18
modification G69 Rotation of coordinate OFF 0
-
~ Circle cutting CW 0 ~ Bolt hole circle 0
G13 Circle cutting CCW 0 ~ • Arc 0
G72 Line-at-angle 0
~ XV plane designation B
ZX plane designation ~ Canned cycle 10 0
~
02 B
GI9 YZ plane designation B ~ Canned cycle II 0

~ 06 Inch input designation 0 ~ Canned cycle 12 0

~
G21 Metric input designation 0 Canned cycle !3 0
09
~ 04 Stored stroke limit ON 0 ~ Canned cycle cancel 0
G23 Stored stroke limit OFF 0 Canned cycle I, Output
G81 0
G25 , Program copy 0
for external motion
G82 Canned cycle 2 0
~ Reference point check 0
Gs3 Canned cycle' 3 0
Automatic return to
G28 0
reference point ~ Canned cycle 4 0
-
~
, Return from reference point 0 ~ Canned cycle 5 0
Return to 2nd, 3rd, 4th reference G86 Canned cycle 6 0
G30 0 - 09
point
- ~ Canned cycle 7 0
G31 Skip function 0
~ Canned cycle 8 0
~ Automatic centering 0 G89 Canned cycle 9 0
~
, Automatic centering 0
~
Absolute command designation B
03
G38 Z-axis reference surface offset 0 G91 Incremental command designation B

~ Tool radius compensation cancel 0


G92
, Programming of absolute zero
B
point
~ 07 Tool radius compensation, left 0
G42 Tool radius compensation. right 0 Return to initial point for
G98 canned cycles 0
Tool length compensation. plus - 10
G43 B Return to point R for canned
direction G99 0
- cycles
G44
08 Tool length compensation. minus
direction
B GI06
, Automatic corner override 0

~ Tool length compensation, cancel B ~ 17 Tool register start


Tool life
0
Gl23 Tool register end 0
~ Tool position offset. extension B control

,•
G124 Tool register cancel 0
~ ,
Tool position offset, retraction B
Gl9S Form compensation mode ON
Tool position offset, double 0
G47
extension
B
GI99 , Form compensation mode OFF 0
-
Tool position offset, double
G48 B Notes:
retraction
Scaling OFF 1. The G codes in the· group are non-modal, and
~ 15
0
are effective only for the block in which they
G51 Scaling ON 0 are commanded. They cannot be programmed
G52 12 Return to base coordinate system 0 twice or more in a block. They must be
programmed only once in a block of its own.
Temporary shift to machine coor-
G53 • dinate system
0 2. The codes marked with ~ is automatically
selected at power on or reset.
~ Shift to work coordinate system I 0

~ 12 Shift to work coordinate system 2 0


G56 Shift to work coordinate system 3 0

305
YASNAC MX3
CNC SYSTEM FOR MACHINING CENTERS

TOKYO OFFICE Ohtemachi Bldg, 1-6-1 OhtemaChl, Chiyoda-ku, Tokyo, 100 Japan
Phone (03) 3284-911', -9145 Telex YASKAWA J33530 Fax (03) 3284-9034
SEOUL OFFICE Seoul Center Bldg, 91-1, So Kong-Dong, Chung-ku, Seoul, Korea
Phone (02) 776-7844 Fax (02) 753-2639
TAIPEI OFFICE Union CommerCial Bldg, 14F, 137, Nanking East Road, Sec 2. Taipei, Taiwan
Phone (02) 507-7065, -7732 Fax (02) 506-3837
YASKAWA ELECTRIC AMERICA, INC. : SUBSIDIARY
Chicago-Technical Center
3160 MacArthur Blvd. Northbrook. Illinois 60062-1917 U.S.A
Phone (lOB) 291-0411 Fax (70s) 291-1028
Los Angeles Office
7341 Lincoln Way, Garden Grove, California 92641, U.S.A.
Phone (714) 894-5911 Telex (230) 678396 YASKAWAUS TSTN Fax (714) 894-3258
New Jersey Office 30 Two Bridges Road, Fairfield, New Jersey 07(X)6, USA
Pnone (201) 575-5940 Fax (201) 575-5947
YASKAWA ELECTRIC EUROPE GmbH: SUBSIDIARY
Am Kronberger Hang 2. 65824 Schwalbach, Germany
Phcne (49) 6196·569-300 Fax (49) 6196·888 301
YA5KAWA ELECTRIC (SINGAPORE) PTE. LTD.
CPF Bldg. 79 Robinson Road No. 13-05, Singapore 0106
Phone 2217530 Telex (87) 24890 YASKAWA RS Fax (65) 224·5854

YASKAWA ELECTRIC CORPORATION

YASi<AWA

TOE-C843-9.30E
© Printed in Japan August 1994 86·9
586·175,582·126

You might also like