Professional Documents
Culture Documents
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.
586-175
- 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
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···
- 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
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 (:).
1
;., .
2.1.1 INPUT FORMAT (CONT'D)
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
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 ..... -,,'.
'
12 P53
13 P1
;
14 Sequrn.ce N<? d~gna~ .! P4 !. P4.; .. ~B
15 .'.
L8
. - .... - - -."
..•. ";'" :i
,j
., ~ r::'
','.
: 0.---:- ---.:: __ _
-. -.-. -';
, l'_
:~; :·r·
. ...
2
1 ,.,'.
2.1.2 ADDRESS AND F,iJ1-ICTION CHARA~TERS
' ,
··.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
G Preparatory function 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
"
._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)
BS BS Disregarded
/
Tab HT Disregarded
~ CR Disregarded
SP SP Space
UC
~ Upper shift
LC
~ Lower shift
o to 9 o to 9 Numerals
Decimal poin t
Parameter
setting
# Sharp (Variable)
[ [ Left bracket
EIA:
J J Right bracket
Special
code
0 : 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
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 -,.
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.
< ~--------~)J~----------~
% 010; ..... M02;
'---~v~--~
01234;·· ... M99;
57 '~-~v~--'
% < 2.2.3 OPTIONAL BLOCK SKIP (11· - /9)t
6
".': .' ,_-, ,- t ,",
2,3.1 COORDINATE WORD
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) .
----- -----
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
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 !
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
v
4TH AXIS CONTROL t
2.3.5
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
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
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
U-axis
V-axis
Definition
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.
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
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
------------
Metric
output
Metric input F40 Fl. -F24000. mmfmin
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
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
---------------input
Metric
Metric F41 FI.O-F24000.0 mm/min Fl 16141
output F32 FO.OI-F944.88 in./min F2 lt6142
Inch input
F5 i6145
When parameter #6020 DO or Dl is set to 110, PI
F7 jj6147
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.
EXAMPLE
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
\ F.
.,....--------- when S and two-digit command Is Issued.
TIME
Fig. 2.7 Exponential acceleration
deceleration
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.
EXAMPLE
T DODD
5 1000 M03
LT001 number
S SPEED
1000 r/min SYNCHRONIZATION
,
,...--~--
Fig. 2,8
14
2.7 TOOL COMPENSATION The setting range of offset values is as follows.
15
2.7.3 H- AND D-FUNCTION (H, 0 CODES) (CONT'D)
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)
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.
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.
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
N04 X120.
N05 YIOO.
NOb X40.
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"';
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 .
M code Meaning
EXAMPLE
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
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. ~
Combination Geode
23
2.9.1 LIST OF G CODES AND GROUPS (CONT'D)
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
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.
25
2.9.3 LINEAR INTERPOLATION (cOil (CONT'D)
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·· .
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
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)
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)
Note:
EXAMPLE
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
28
Command format
"'sTART POINT
x EXAMPLE
GI7 G03 XO YIOO. RIOO. 290. FlO. G04 P2500
Fig. 2.19 Dwell time: 2.5 sec.
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)
2.9.8 TOOL OFFSET VALUE DESIGNATION (GIO) G12(G13) I··· D··· F··.
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.
Fig. 2.21
K RADIUS OF
FINISHED CIRCLE
Fig. 2.22
31
,
I
2.9.9 CIRCLE CUTTING (GI2, Gl3}t (CONT'D)
y
Tool path
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.;
G20 Inch
TOOL RADIUS
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.
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.
./
/'
/'
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)
BJ (Xb,
x
Fig. 2.26
34
Table 2,23 Setting of Stored Stracke Limit for Each Axis
x y Z Division
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
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
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;
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
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.
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
______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
~~
Point D
__ / , 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.
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
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.
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
TOOL, G40
G41
'..--
~ G41 "-,,
"" ,' /,
y
, '
/', "
G42 \,
'~~----r-O
PROGRAMMED PATH
L-.-_ _ _ _ X CENTER
TOOL. G40
TOOL, G4
CENTER CENTER
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
GOO OR
GOl
Fig. 2.36
OR
Fig. 2.38
43
2.9.18 TOOL RADIUS COMPENSATION C
(CQO, CQ1, CQ2)t (CONT'D)
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
Fig. 2.39
44
EXAMPLE
X··· y ...
X··· y ...
z·· .
z ... }
X··. y ...
X··· y ...
G40 X· .. y ...
EXAMPLE
XY plane
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 ...
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
BLOCK
IN2l G42( G4I) X·· . y ...
I- switching
Block of
N22 X·· .
Fig. 2.42
46
G42
(b) G42 + G4!
G42 (G4I)
x··· y ...
BLOCK READ AFTER
CHANGE OF TOOL
RAn IUS VALUE
7. Change of tool radius value in compensation
mode
47
2.9.18 TOOL RADIUS COMPENSATION C
(CQO, CQ1, CQ2)t (CONT'D)
EXAMPLE A
(a) G4l (G42) (b) G4l (G42)
TOOL G40
,
/
CENTER
Fig. 2.45
EXAMPLE B
(e) G4! (G42) (d) G4l (G42)
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
r < d r < d
error error
: '~~ i
mand, tangent angle
Outside compensation
e alone is insuffi-
, r < d r i. ~ is correctly made I
cient.
49
2.9.18 TOOL RADIUS COMPENSATION C
(GQO, GQ1. GQ2)t (CONT'D)
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
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
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)
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.
~
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
:c
.
/
7
~/~.
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
Fig. 2.55
56
5. Extension and reduction G46 XIO. DIO DIO = 20.
~
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)
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
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
® I ____ ~__ _
. . -----t-, I
J
-,
: : 1---.-----;--:-:---.-
~f:0, -,- 6
o
M 30R
..L..®----J :@ o
'"
,
--@
40R
I
/ ~ ----------------------
(1)/
/ S~RT
POINT
40. 140.
® Y50.
@ G47 X70.
@ G47 Y-60.
i[j) G46 XO ;
~ 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
SCALING
Enlarging and reducing range 0.000001-99.999999
200. x - - - CENTER
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.
Fig. 2.65
63
2.9.22A WORK COORDINATE SYSTEM SETTING A
(G52 TO G59)t (CONT'D)
y~
\
NS X300. YO SYSTEM
N7 XO YO
Fig, 2.66
800. 700. 50
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
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
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)
.
#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.
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
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
·
. #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 •
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
EXAMPLE
I
2
3 Y=30 MM
START
POINT X= 70 MM
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
Notes:
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
GSO - - - Cancel
74
r-
Command format:
T
T c u t J . : feed rate
Number of repeats
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
~
Directio
X( +)
02
0
0]
0
X( -) 0 I
Y( +) I 0
Y (-) I I
75
2.9.25 CANNED CYCLES (73, G74, G76, G77,
G80 TO G89. G98. G99)t ICONT'D)
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
~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 ... ;
Z Z
76
Table 2.31 Canned Cycle (continued)
z...
With G99 (return to R) With
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
,
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
77
2.9.25 CANNED CYCLES (73, G7Q, G76, Gn,
GBO TO GB9, G9B, G99)t (CONT'D)
Table 2.31 Canned Cycle (continued)
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
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)
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
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
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)
Boring /R I
~--r--- R
:
: MANUAL
1----~TRACTIO~
SPINDLE STOP
/ /
SPINDLE STOP
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
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
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)
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
Fig. 2.74
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
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
N 14 GOO XO YO
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
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
~.~-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
Dwell
o Single-block stop
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
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
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)
87
2.9.2SA.7 IMPROVED COMMAND PROCEDURE FOR
THE TAPPING CYCLE (Cont'd)
,
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
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
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
I E FEED
:/MANUAL
FEED
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•••
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)
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
: ::::
~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
tt=
Q
E FEED R POINT
F FEED
-.L----'--------z POINT , J POINT
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
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
':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).
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
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.
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.
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
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
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
ALM
99
2.10.2 MESSAGE DISPLAY BY CONTROL-OUT Main Progr am User Macro Body
AND CONTROL-IN (CONT'D)
II
-0901 ;
) to
I~
Example
GSI XIOO YlOO
Z-50 R-25 L3 ) I
V - M99 ,
(DRILL END)
01234
M98 P 1234
Message Display by
Control-out and Control-in
M99
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)
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;
"~,,
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:
102
(1) Argument Designation I Table 2.36 Argument Designation IT
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)
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 =
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.
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;
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
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.
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 15 UOIS
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
#2299 299
~2906 G59(JI)
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:
# 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
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.
GOI Z*26 ;
Feedrate override invalidated #3100 = #2502 = -35.524 mm
Exact stop invalidated
M05 ; #3100 =( );
M04 ; Printout Data
#3004 =0 ;
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)
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)
112
Macro Program
Abbre- ABSMT ABSOT ABSKP
ABSIO
viation
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).
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
# [<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.
4 Variable <blank>
is commanded in
Where .2 is <blank> t3 is
(j) Condition "IF '3 NE '2"
° iii = #j , #k Product.
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:
\ ®
\ @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.
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
<
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.
<
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
j.
00
.~
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 ;
Oi) DO 1
END 1 ;J ?
One END 1 is missing. IF· .. GO TO 7000
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
DO 1 ; J Quadruple nesting.
Max. nexting permit-
ted is triple.
programs are disabled.
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.
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
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:
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.
---- -------------~ - - - - - - -- - - -- :~
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:
-.-
GOO X#24 Y #25
P3.0 - U3.0 (P3' ) GOOZ#!8;
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
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;
n02 0 #21;
'103 = N9;
#104 = 0
T: Very good.
09082:
**********
NI04 = #104 + I
125
2.11.11 EXERCISES OF USER MACRO (CONTOD) (2) pocket Mill
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 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).
!
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
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.
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
F (SPEED)
Foe-----------------~
F,
F'~--------------~----~---------
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)
Fig. 2.83
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)
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,
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.
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]
,-~
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
I I EOR EOslo I
I J K
X Y Z
N G R Q L F
P Q
• • T ' }:ltD S : M
139
3.2.1 PROCESS SHEET (CONT'D)
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
#
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
(EIA code)
(ISO code)
,, , 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.
be omitted.
(b) Maximum number of effective characters
that can be written in a block
3.2.3 CAUTIONS IN PROGRAMMING
141
3.3 PART PROGRAM TAPE PUNCHING 3.4 PART PROGRAM TAPE HANDLING
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
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:
•
I POWE~ I
0
~ ON
<6jloFF
'l L -____________________
Fig. 4.4
144
IDGN I (Diagnosis) key: 4.1.5 DATA KEYS
Fig. 4.6
q. 1. 6 NEXT KEY
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.
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.
I
APPROX.
2 SECONDS
I
I
CONTROL POWER
......:>
,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
147
4.2.3 REMOTE POWER ON IOFF PUSHB UTTONS 4.3 DISPLAY AND WRITING OPERATION
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)
FUNCTlON MESSAGE
ALARM
COMMAND ]
DIAGNOSIS
[
[MOl) NUMBER
LIGHT ERROR
ALARM DlSPLAY
INPUT ERROR]
ALREADY IN
[
FLICKERING
[;:,]
OUT
LSK
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.
149
4.3.2.1 COMMAND DATA DISPLAY
0001 ... ;
PIOOO L3 M98
N070 M30 ;
---
~
01000
P2000 L5 M98
N150 M99 ;
--------
~
02000
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.
150
4.3.2.3 DISPLAY OF TOOL OFFSET STATE:
COMMAND (OFFSET)
-"- 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
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.
Fig. 4.18
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.
153
4.3.4.4 CURRENT POSITION DISPLAY (ALL):
POSITION (Cont'd)
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
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
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.
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.
.... -'.
,':. '';
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.
A. In binary mode
B. In decimal mode
156
(3) Depress the \
CURSOR]
•
\ t
CURSOR' J'
IpAGEI
• •
I < REMARKS>
"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."
C' ~~ '>:.
Il':c'~ To prevent this, alarm status is displayed if
, ".:
f-",:'
"
1 ?~',;,;,
D
:I.: r
11'':-S~
J
.;
. :,;.:<.:>. : . / .
Sysiem number fl:6219·should'be set at "0" except
for writing.parameters; ,: ,. .
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.
2. Displaying parameters
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.
lion ; OFF ON ON
n 1 If ; ON OFF ON
n 111 ; ON ON ON
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
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.
5 2.
like in single block operation.
aUF ROY
.....
notation
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.
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
3 FEET J FEET
FEED HOLES FEED HOLES
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 "%;. _."
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,
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.
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.
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.
Fig. 4.33
Fig. 4.32
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
Fig. 4.34
167
q.6.2 DELETING PART PROGRAM BLOCK Words less than 32 characters can replace one
(CONT'D) word specified.
After Insertion
Fig. 4.37
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
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
Characters Enclosed +
in Control-Out and
Control-In (Thick-
Lettered Keys) for
9" CRT
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) 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
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.
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
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>
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-
~
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
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
@ g[J
OFF
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.
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.
176
Table 5.1 Selection of Move Amount
in the HANDLE Modet
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'
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 %
(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
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
~
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
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
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)
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 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
/)(
.... " 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.
START
Fig. 5.19
YASNAC LOCK
START
LOCK
I-_-FS.:.T=LK,-,-~ r---1 START
LOCK 5.1.30 EXTERNAL DECELERATION INPUT
OFF SIGNALSt
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)
#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
A3(X, Y .2)
184
5.2 OPERATION PROCEDURE
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(
@)
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.
(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
<.'
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 •.
187
5.2.3 AUTOMATIC TOOL LENGTH MEA5URE-
MENTt
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
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.
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
(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.
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.
(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).
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.
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.
(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 ... ).
Fig. 5.33
(1) Key-in N. O. 0, 0, 5.
( 2) Key-in G. 0, ].
>~ ,
( 5) Depress the WR key after keying-in Z.
( 6) Key-in F. I, 0, O.
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
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.
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.
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
(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
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;
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).
(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
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
(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
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
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.
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
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.
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
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:
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.
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.
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.
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
EMERGE~CY STOP on
and then
POI"ER OFF on
207
7. MAINTENANCE
~
~ ~
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.
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.
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.
~~~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.
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).
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.
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)
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.
YASNAC MX3
r-----
Basic
I I
, Relay
I
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.
.,_
.,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.
214
APPENDIX -1 LIST OF SETTING NUMBERS
#6003
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
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
#6522
C X-axis *6541 Y-axis
#6548 Z-axis
#6572
#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
#6583
#6702 Z-axis
#6587 Z-axis
#6594
#6710 Y-axis
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
#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
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
#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
221
WORK COORDINATE SYSTEM SETTING
SPECIFICATION C #6717
#6707 Y-axis
#6725 Y-axis
#6708 Z-axis
#6726 Z-axis
#6713 Y-axis
#6731 Y-axis
#6714 Z-axis
#6732 Z-axis
222
#6135 #6753
Rotary angle setting G59 (J2) Rotary angle setting G56 (J3)
Setting: 11}1' = 0.001 deg Setting: 1111' = 0,001 deg
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
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
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
#6801
224
#6802 X-axis #6820 X-axis
#6809 Y-axis
#6827 Y-axis
#6810 Z-axis
#6828 Z-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
#6843
#6844 X-axis PI
#6845 Y-axis PI
#6846 Z-axis PI
#6847 X-axis P2
#6848 Y-axis P2
#6849 Z-axis P2
#6850 X-axis P3
#6851 Y-axis P3
#6852 Z-axis P3
226
APPENDIX - 2 LIST OF PARAMETER NUMBERS
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.
D7 06 Sign
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
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.
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
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
#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
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
02 01 Shift direction
04 I: Outputs a read-only signal (SSP. SRV.
OSS) in the canned cycles. I I ~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.
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
1: Effective
V 1 0 I I 0
0: I neff("ctlve W 1 0 1 1 1
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.:
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.
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.
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
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.
~ 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 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
235
PARAMETER NUMBERS AND THEIR CONTENTS
#6065
(CONT'O)
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.
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.
236
D2 1: CMOS free area check function is invalid D6, D5 Parity Check Designation
I: 8 bits
#6067 1 D61 05 1 D41 D3 1 D21 D1 1 DO 1
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.
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
1; Transmission
#6068 1 D61 D51 D41 D31 D21 D1 1 DO 1
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
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
#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
239
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'D) #6133
#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
#6129 #6142
#6130 M-I /
#6146
#6131 M-2 /
#6147
#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
Setting: "1":;: 1%
M codes to stop advance reading setting expanded
Setting range: 1 - 200 (stored setting:;; 120) area.
#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
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
#6217
Intermediate gear
Spindle gear
#6218
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
242
#6223 #6228
#6227
#6266. #6277
Specify the maximum feedrate for F)-digit
designation.
Setting: "1" = 1 mm/min.
Setting range: 0 - 24000-
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
/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
245
PARAMETER NUMBERS AND THEIR CONTENTS Rapid traverse rate: Va ;;;: #6280 -+ Rate vIa
(CONT'D) recreated by the
calculations.
va--4----,r------------
#6280 X-axis I
#6281
I Y-axis I
--+--+-----~- TIME
#6282
I Z-axis I ta
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}
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
#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.
#6328 to #6332:
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
#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
249
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'Oj
#6406 X-axis
#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
#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
#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
#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
#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
252
#6480 X-axis #6495 Y-axis
#6487 #6586
#6488 #6587
#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
#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
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
#6638 Z-axis
255
PARAMETER NUMBERS AND THEIR CONTENTS
(CONT'D) #6665 X-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
256
#6685 #8000 number 0
#6686 to to
#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
,,
"
i
.'
,/
257
APPENDIX - 3 STORED LEADSCREW ERROR COMPENSATION
Table 3.1
/
Absolute lincremental #603902 110 11 = Incremental setting
IT 111
setting switchable = Absolute setting
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
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
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
DISPLAY
D7 D6 D5 D4 D3 D2 Dl DO
o 0 0 o 1 I I
I
Contact open
1
Contact closed
262
,~~' ... "
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
263
Table 4.1 List of Standard Input Signals (Cont'd)
#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
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
264
07 06 05 0 0 O2 0 DO
4 3 1
111327
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
265
Table 4.1 List of Standard Input Signals (Cont'd)
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
111202
I 4ZPo. 4ZPZ I 4ZPY I 4ZPX 3ZPa I 3ZPZ
I 3ZPY
I 3ZPX
v
FOURTH REFERENCE POINT LAMP THIRD REFERENCE POINT LAMP
#1204
266
D7 D6 DS D4 D3
#1212
#1213
#11l4
#1215 G84S
G~8~4-----L------~----~----~------~----~-------L------~
EXECUTION
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
D7 D6 DS D4 D3 D2 DI DO
1/1222 H8 M7 H6 HS H4 H3 H2 MI
v
H-FUNCTION BINARY/BCD OUTPUT
5DA2I 5DAli
5B2 5Bl
v
55-DIGIT ANALOG OUTPUT/
54-DIGIT 12-BIT
NON-CONTACT 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
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
~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}
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
269
Table 4.2 List of Standard Output Signals (Cont 1 d)
#1297
v
ALARM CODE MONITOR (LOWER 2-DIGIT BCD CODE)
270
APPENDIX - 5 LIST OF ALARM CODES
Table 5. I
100 to 199 Stop at block end ' Macro. operation. external input!
output error, sequence error (1) (2) (3
271
Table 5.2 List of Alarm Codes
~~~~~~~~-------------+~~~~~~----------------
001 ZR UNREADY (X) Oll TV ERROR
----------------------------------- ------- - ------+ ----------------- ----------------- -----
REFERENCE POINT RETURN NOT TAPE VERTICAL PARITY ERROR
COMPLETED X
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
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
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)
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
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)
079 089
083 092
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.
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)
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
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)
156 166
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.
176 186
177 187
178 188
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)
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.
216 226
------- ---------------------------- ----------- ------- ------- ------ ---- --- -- -- - ----- ---
217 227
--------- -- .----- --- -------- ----- ---- - ------ - - - - - - ------- - - -- - - - - - - - - - - - - - - - -- - - --
218 228
------- - -- - - --- - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - --- - -- - - - - - - - - - - - - - - - -- --------------
219 229
------ ------------------------- - - - - -- - - - - ------ - - - - - - - - - - - - - - - - - -- - -- - - - - - - - - - ---
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)
236 246
-- ---- -------.-------- ------------ - ------------ ------ - -- - - - - - - - - -- -- -- - - - - - - - -- - - - - - - - - - --
237 247
------- ------------------------ -- - -- .------------ ------- - - - - - - -- - - - - - - - - - - - - - - - - - - - -- -- - - - -- -- --
238 248
------- ---------- ---------- - - - ----------------- ------ - . ------ - - ---------------- ---------
239 249
--- ----- . -. - - ---------- -------------------------- ------ - - -- -- ------ - - - - - - - - - - - - -- - - - - - - - --
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)
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)
276 286
277 287
278 288
279 289
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
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)
__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.)
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
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)
356 366
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
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)
396 806
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
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)
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)
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
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)
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
Address B;
Meanings Basic
Characters 0; Optional
A Additional rotary axis parallel to X-axis 0
F Feedrate B
G Preparatory function B, 0
L Number of repetitions B, 0
M Miscellaneous functions B
N Sequence number B
0 Program number B
T Tool function B
X X -coordina te B
y V-coordinate B
Z Z -coordin,\ te B
299
Table 6.2 Function Characters
BS BS Disregarded
Tab HT Disregarded
~ CR Disregarded
SP SP Space
ER % Rewind stop
UC
~ Upper shift
LC
~ Lower shift
o to 9 o to 9 Numerals
Decimal pain t
Parameter
setting
# Sharp (Variable)
= = Equal mark
[ [ Left bracket
ErA:
I I Right bracket
Special
code
0 : 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
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
52 52 B
7 S-function
55 55 0
T2 T2 B
B T-function
T4 T4 0
9 M-function M3 M3 B
II B-function B3 B3 0
15 No. of repititions LB LB B
302
Table 6.5 Range of Program Commands
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.
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
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
303
Table 6.6 Range of Data Setting
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
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
304
, --
Table 6.7 List of G Codes
G B: Sulc G
Code
Group Function 0, Optional Group Function II: Bulc
Code 0, Optional
~
-=-:..::... 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
~
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
,•
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
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
YASi<AWA
TOE-C843-9.30E
© Printed in Japan August 1994 86·9
586·175,582·126