yaskawa J50M Programming Manual

Page 1
YASNAC
J50M
INSTRUCTIONS
CNC SYSTEM FOR MACHINING CENTERS
Before initial operation, read these instructions thoroughly, and retain for future reference
YASMWA
TOE-C843-12,30
H
Page 2
Page 3
CONTENTS
Page
1.
PREFACE........”...”..”.””
2.
‘PROGRAM MIN G . . . . . . . . . . . . . . . . . .
2.1
INPUT FORMAT """" """" """"
2.2
PROGRAM NUMBER AND SEQUENCE NUMBER
2.3
COORDINATE WORD
2.4
TRAVERSE AND FEED FUNCTIONS
2.5
SPINDLE-SPEED FUNCTION (S-FUNCTION)
2.6
TOOL FUNCTION (T-FUNCTION).
2.7
TOOL COMPENSATION ““”” ””-””””””””””””””””””””””””””””” ““”” ””””o ””””’””””””””””””””””””””””
2.8
MISCELLANEOUS FUNCTIONS (M-FUNCTION) ‘“ ””’”””””””””-”””””””””””””””””””’””
2.9
PREPARATORY FUNCTION (G-FUNCTION)
2.10
USER MESSAGE DLSPLAY~ ““”
2.11 uSERMACRO (G65, G66, G67) ““.
2.12 SOLID TAP FUNCTION
2.13 AUTOMATIC CORNER OVERRIDE . . . .
2.14 HIGH-SPEED CONTOURING FUNCTION*
3.
PART PROGRAM TAPE CODING
3.1 T~ECODE
3.2 PROGRAMMING
3.3 PART PROGRAM TAPE PUNCHING
3.4 PART PROGRAM TAPE HANDLING
4. NC
OPERATOR’S PANEL WITH 9“ CRT CHARACTER DISPLAY
4.1
PUSHBUTTONS, LAMPS AND KEYS
4.2
POWER
4.3
DISPLAY AND WRITING OPERATION
4.4
TAPE INPUT/OUTPUT OPERATIONS OF NC
4.5
LOADING PART PROGRAMS INTO MEMORY
4.6
EDIT OF PART PROGRAM ..
4.7
SUPPLEMENT TO DATA
4.8
TAPE VERIFYING ““”” ”””””””””””””””””””””””””””””””””
””””””””””””””””””””””””
.“ ”’”””””-”””””””””””””””””””
ONIOFF
OPERATION
5. MACHINE CONTROL STATION
5.1
SWITCHING UNITS ON THE CONTROL STATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...164
5.2 OPERATION PROCEDURE
6.0PERATloN Procedure
6.1
INSPECTION BEFORE TURNING ON POWER
6.2
TURNING ON POWER MANUAL OPERATION
6.3 PREPARATION FOR STORED LEADSCREW ERROR COMPENSATION
6.4 AND STORED STROKE LIMIT PREPARATION FOR AUTOMATIC OPERATION
6.5
6.6
OPERATION IN TAPE AND MEMORY MODE . . “
6.7
MANUAL
AUTOMATIC OPERATION IN MDI MODE
6.8 MDI OPERATION INTERRUPTING AUTOMATIC OPERATION
6.9
6.10
6.11 TURNING OFF POWER
7. MAINTENANCE...””””””””””””
7.1 ROUTINE INSPECTION SCHEDULE . .
7.2 BATTERY REPLACEMENT””””””””
7.3
POWER SUPPLY.....’.’.”””””””
7.4 THERMAL OVERLOAD RELAY OF SERVO UNIT
7.5 MOLDED-CASE CIRCUIT
7.6 TROUBLE CAUSES AND REMEDIES
OPERATION INTERRUPTING AUToMATIc opERATIoN . . . . . . . . . . . . . . . . . . . . . .
PREPARATION FOR TURNING OFF
‘.””””.””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
t
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
INPUT/OUTpUT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
""""" """"""""""""""""""""""""""""""""""""""""""""""""
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
i’
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
BREARERS (MCCB)
APPENDIX-1 LIST OF SETTING NUMBERS APPENDIX-2
AppENDtX-3
APPENDIX-4 LISTOFSTANDARD APPENDIX-5 LIST
LISTOFPARAMETER NUMBERS """.
STORED LEADSCREW
ERROR COMpENSATICIN
INPUT
OF
ALARM
CODES
/•
APPENDIX-6 LIST OF ADDRESS CHARACTERS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.$””””””””.”””””””””
"o""
"""" """"
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
”””””””””””””””””””””””””””””””””
'"""
"""" """" """"
““”
””””””””””””””””””””””””””””””””
““”
”””””””””””””””””””””””””””””””” ““”” ””””””””””””””’”””””””’”””””””””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
”.””.”””””’”””””””””””’”””’””<
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
““” -”””””””””””””””””””””””
"""-"""""""""""""""""""""""""""""""""""""""""""""
““’”
”””””””””””””””””””””””’”””””””
‘ “””””””’”’”””’””””””””””””’”””””””
““””””””””””””””””””””””
““”””””””””””””””””””””””
..$
. . . . . . . . . . . . . . . .
““””””””””””””””””””””””14
.. $-...
. . . . . . . . . . . . ...119
...-..-.......................127
........
““””””93
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
““””
”””’”””””””””””””””””””””””””””””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...132
"""" """" """" """" """" """" "'" """""""""""""""""""""""""""""""""""""""""""""133
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
““””
”””” ”””” ””””” ”””” ””””” ””””
. . . . . . . . . . . . . . . . . . . . ...133
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DATA”””””””””””””””””””” ““”
““”” ”””””””””””””””’””””””””””””” ““”” ”””” ”””” ”””” ”””” ”””” ””””
”.”””””””””””””””””-””””””””””<
INTERFAcEt ““”” ””””””””””””””””””””””””””””””””
““”” ”””””””””””””””””””””””””””””
““”
”””””””””””””””””””””””””””””””” ““””””””””<””””161
”””””””””””””””””””””””””””””’ ““””””151
‘“”- .””<
””””
““””””””””””””””””159
. . . .
....,..
““”””13
‘“”””94
. . ...125
130
””130
134
..$
134 137
..138
””154
””156
5
12
19
1
1
1
6
9
..l64
. . . . . . . . . . . ...174
. . . . . . . . . . . . . . . . . . . . . . . ...191
““”
”’””””””””””””””””””””””””””””””” ““”” ”””” ”””” ”””” ”””” ””””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
POWR
““”” ”””””””””’”””””””””””””””””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...196
““”
““” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ””””””-”” ““” ””””””””””””””””””””-””””””””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...-..........................199
. . . . . . . . . . . . . . . . . . . . . . . . . .
UTPUT
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...192
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...193
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
””””””””””’”””””””””””””””””””
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
""""
.".
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.. $...
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...196
. . . . . . . . . . . . . . . . . . . . . . . . . . .
““””””’
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...198
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...202
"". """" """"
"$""" """""""""""""""""""-"""""""""""""""213
. . . . . . . . . . . . . . . . . . . . ...193
. . . . . . . . . . . ...193
. . . . . . . . . . . . . . . . . . . . . . . ...194
. . . . . . . . . . . ...199
. . . . . . . . . . . . . . . . . . . ...239
SIGNALS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...243
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . . . . . . . . . . . . ...282
. . . . . . . . . . ...254
”””191
191 191
192 193
194
. . ...196
““”””””””197
. . .
111
Page 4
Page 5
INDEX (Cent’d)
Subject
E
EDIT OF PART PROGRAM EDIT KEYS EDIT LOCK
EIA/ISO
EMERGENCY STOP
EXACT STOP EXERCISES OF USER MACRO EXTERNAL DECELERATION INPUT SIGNALSI”
F
F1-DIGIT PROGRAMMING
FEED HOLD PUSHBUTTON AND LAMP ““” ”””””””””””””””””””””””””””””” 5 FEED STOP FUNCTION FEEDRATE (F-FUNCTION) “ “ “ “ “ “ “ . “ FEEDRATE 1/10 -- “
FEEDRATE OVERRIDE CANCEL SWITCH FEEDRATE OVERRIDE SWITCH
FEEDRATE, SPINDLE
FORM COMPENSATION FUNCTION 4TH AXIS CONTROL
4TH AXIS NEGLECT INPUT
F~CTION KEYS
G
GENERAL PART PROGRAM FORM -
H
H- AND D-FUNCTION (H, DCODES)-o HANDLE AXIS SELECT SWITCH HANDLE DIAL y (SIMULTANEOUS ONE-AXIS CONTROL
HELICAL INTERPOLATION HIGH-SPEED CONTOURING FUNCTION*
HOLE PATTERN CYCLES
I
IMPORTANT ALARM CODES-”’””
INCH~ETRIC DESIGNATION BY GCODE(G2(), INPUT INPUT
INPUT/OUTPUT SIGNALS
INPUTTING SETTING DATA AND PARAMETER DATA . . . . . . . . . . . . . . . . . . . 4 . . . . . . . .
INPUTTING TOOL OFFSETS FROM TAPE INSPECTION INTERNAL TOGGLE SWITCHES
J
JOG
JOG FEEDRATE JOG
PUSHBUTTONS””””””--””””””
K
KEEPING NC TAPE-””””””””””””” ““”” ”””” ”””” ””””
L
LABEL SKIP FUNCTION LEAST INPUT INCREMENT AND LEAST OUTPUT INCREMENT LINEAR INTERPOLATION LIST OF ADDRESS CHARACTERS”-””” LIST OF ALARM CODES
LIST OF
IST OF PARAMETER NUMBERS-”--
L LIST OF SETTING NUMBERS LIST OF STANDARD INPUT/OUTPUT SIGNALS
LOADING PART PROGRAMS BY MDI
LOADING PART PROGRAM TAPE INTO MEMORY LOADING PART PROGRAMS INTO MEMORY
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SWITCH ~ """"""""""-"""""""""""""""""""""""""`""""""""o""
AUTO-SELECT
(G09, G61,
. . . . ” ” ” ”””----””
MANUAL PULSE GENERATOR)
FORMAT”.-.---”-””’””””” FORMAT”””””””””””””-”””””
BEFORE TURN~G ON POWER"""""""""--""""""--"""""""""
FEEDRATE
OVERRIDE SWITCH
SWITCH ””-” ”---”-
GCODES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PUSHBUnON
G64)
~BY
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SPEED
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
~
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(GO1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AND GROUPS””””
-""$ $ """"""o""""-""""""""""""""""""""
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
~”””””” “-”. ..-” ”.”” ”--- d o
SENSOR
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EDITING FUNCTION-t""""""""""""""""""""""
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“ ---- “
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“t
(G02, G03)-t
(G70, G71, G72)-r """"""""""""""""""""""""""""""2
““”
““” ”””””””””-””””””””””-”””””””””
““””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
)
. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
SIGNAL"""""""""""""""""""""""""""
““”” ”-”” ”””” ”””” ”””” ”””” ”””’ ”””5 ““””””””5.1.13 ““”””””””168
““””
”””” --”” $”””””””””””””””””<””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
‘----- .---”’”””””-”””””””””’””’”””:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“’”” ”””” ”””” ””””” ”””” ”””” ””””
““”
””””””””-”--””””””””””””””””
-””””””--”-”””””””-””-””””””””
”’”””””””””””””””””””””””””””” “;
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
t""---""""""--"-"""""""""""""""""""
““””
”””””””””””””-””””””””””””””””
““””’
”””””””””””-”-”””””--””””””””” “5
‘“. ”$ ”””””””””””--”-”””””””
“.”” .””.
““”” ””-””””””-”””’””””””-””””
+.”.
“-+””””””””””-”””””” AppE~x-4 “.”” ””””
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
““”””””””””””””””””””””””
” - . ”----- ””.”---
G21)"t """"""-""""""""""""
”””-
”””” ”””’
. . . . . . . . . . .
. . . . . . . . .
”””” ”+$”.
--”-”-”””””””-”’”””””””
”-.
Chapter
. . . . . ...4.6
4
. . . . . .
4
5
““””””-”5.128 ““”””””””172
. . . . . . . . 3.1.2
3
5
.“””+”.. 5.1.4 ””-O. .”””” 165
. . . . . . . . .
. . . . . . . .
o””””
AppENDIx-6
APPENDIX-5
-<+” -”-- ”””2 ““”” ”””” 2.9.1 ““””””””””
AppENDIx-2
APPENDIX-1
. . ...<...
. . . . . . . . 2.9.7
2
. . . . . .
2
5
““”””””” 5.~30 ““’””””””172
““”2 ““”’
““””4 ““””””””4.13 ““””””””””135
““”” ””’” 5.1.3 “.”” ””-- ”” 165
5
““”””””” 5.2.10 ““”””””””188
. . . . . . . . 2.4.2
2
. . . . . . . . 2.4.3
2
““”””””” 5.1.11 ““”””””””168
5 5
““o””””” ..”
.
2
. . .
2
.o”o.
5
. . . . . . . . 3.2.2 . . . . . . . . ...132
3
..”.”.”.
..+
. . . . .
5
””””2 ““””
2
.“””””” ”2.14”” ”””” ”-”” ”127
““””””””2.9.27 ‘“”””””””
““””7 ‘“””
2
““””2 ““””
““””
. . . . . . . . 7.6.3
.
..””
4
6
““””
. . . . . ...4.3.8
4
5
““”””””” 5.1.12 ”””” ””””” 168
““5 ““”” ”””” 5.1.9 ‘“-””-”””167
“-”” -””” 5.1.8 ““””-”””””167
““””3 ““”--- ”” 3.4.2 ““””””””””133
. . . . . . . . 2.1.4
2
. . . . . . . . 2.3.5
2
. . . . . . . . 2.9.3
2
. . . . . . . . 4.5.3
4
““”” ”’”” 4.5.1 ““””””””’”154
. . . . . . . . 4.5
4
Par.
. . . . . . . . ...156
..4.1 .10” ”””” ”””” 137
. . . . . . . ...130
. . . . . . . . . . 25
..2.11 .12
”””” 2.4.4
5.2.7
...” 2.14.2 .””
...””
2.3.4
”””5. I.22B””””c. ”” 170
“---
0-’”
5.1.6
”””” 2.9.5
””””
““”-”””” 2.9.11 ““”””””’”
””””
””””
”””
”””06.1
““”+ ”””” -.”. ”+”-
““”” ”””””
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . .
..-”
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . . 10
““””””””””185
. .
..”.
. . . . . . . . . .
2.7.3 ““”””””””” 13
. . . . . . . ...165
. . . . . . . ...165
5.1,5 ““”””o””””
7.6.4 ““””””””””200
. . . . . . . . . . .
2.1
. . . . . . . . . .
2.1.1
. . . . . . . ...199
4.42
. . . . . . . ...151
. . . .
4.4.1
..”” ”” 151
““”””””””””191
. . . . . . . ...149
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . . 22
.
”””$$$”-”””
. . . . . . . . ...154
”””
..”” ””-”
..””” 202
. . . . . ...4.155
”115
-128
.254
19
Page
10
9
7
24
66
2;
1
5 8
282
213
243
v
.
Page 6
Page 7
INDEX (Cent’d)
Subject
“+5 V’’LED( RED)L IT””””””””” ““” ”””””””””””””””””””””””””””
P
“+24V’’L
ED(RED)L IT”””””””””” ““” ”””’’””’”””””””””””””””””””” PLANE DESIGNATION POSITIONING POWER ON/OFF OPERATION
POWER ON/OFF PUSHBUTTONS”””” POWER SUPPLY
PREFACE
PREP~AmON FOR A~OMATIC
PREPARATION FOR STORED LEADSCREW ERROR COMPENSATION
AND STORED STROKE LIMIT t””””
PREPARAmON FOR TURNING OFF POWER
PREPARATORY FUNCTION (G-FUNCTION) PROCESS SHEET
PROGRAM PRoGRAM
PROGRAM NUMBER
PROGRAM NUMBER AND SEQUENCE NUMBER . . . . . . . . . . . . . . . . . . . . . . . . ; . . . . . . . . 22
PROGRAM RESTART T PROGRAMMING PROGRAMMING
PROGRAMM~G OF ABSOLUTE ZERO POINT
PUSHBUTTONS, LAMPS AND KEYS
R RAPID TRAVERSE RATE”----””””””””””””””
RAPID
~AVERSE
REFERENC E POINT
REFERENCE
REGISTRATION OF USER MACROS REMOTE POWER ON/OFF PUSHBUTTONS
RESET KEY-..””””””””””””””””””””””” RETuRNFROM REFERENCE RET~NTO 2ND,3RD mD4~REFERENCE PO~T(G30) t
ROTATION OF COORDINATES ROUTINE INSPECTION SCHEDULE ‘“””
s S2-DIGIT
S 5-DIGIT PROGRAMMING . “ . SCALING FUNCTION
2ND MIscELLmEous FmcTIoN (B-FwcTION) 7""". """". "" O""o+ --<"+.2 ‘+-. ”O-” 2.8.9 ““””” ””-” 19 SEQUENCE NUMBER”<””-”””””<’+”””” ““””” ””””” ””””” ”””””
SERVO ALmM(ALmM N0.391T0 SERVOMOTOR ~DDCMOTOR FOR SEnINGmD PMAMETER TAPE VERIFY~G
SETTING OF BAUD RATE AND OTHERS OF
SENAL~TERFACE ”””””-”””””””-””””””
SETTING OF
SETTING OF SIMULTANEOUSLY CONTROLLABLE AXES OF
FO~-AXIS
SIMULTANEOUSLY CONTROLLABLE AXES OF
THREE-AXIS CONTROL””””””””””
sINGLEBLocK swTcH """"""""""""""""""""""""""""""""""""""""""""""5
SKIP FUNCTION
SOLID
TAP
SOLID TAP 1/0 AND ITS RELATION WITH
SPINDLE CONTROL 1/0
SOLID
TAP SOLID TAP RELATED PARAMETER” ““” ””””””””””””””””””””””””””””””” “; “SOURCE” LED [GREEN] UNLIT . . .
(GOO, G06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
COPY~(G25) o””----”””””-”-” ““”” ””””” ””-”” ””””” ””””” ””””””2 ““””””””2913.:::::::::
INTEmunIoN oN/oFF(M91>
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RATE OVERNDE
POINT
PROGR’4MMING””
DATAmPUT/OUTPUT INTERFACE TO
LOCAL
CONTROL ~
(G31)
FUNCTION ~”””””””””-””””’
RELATED FUNCTION ."""
(G17, G18,
””””””””””””””””
““””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CHECK
(G27)~"
LAMPS ~”--””””””’”” ““”””
””””” ““” ””””””””””””””””””””””””””””””
(G50, G51)
COO
RDINATE
t “ “ “
G19)””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OPERA~ON
”””””””””-”””””””””””””””””””””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SWITCH
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PO~T(G29)t ‘.. +”.--”””””””””””””””””””””
(G68>
G69) ~ “
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
i’
394) . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...7 . . . . . ...74.3 . . . . . . . ...198
SPINDLE
SYSTEM
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
“ --
““””’ ””-”” ””””’ ””””” ”””””’ ”””””’2 ““”””
““”””
””””” ”””’” ””””” ”””””’
““-”
-””””””””””””””’””-””””””””””” “$
""""""""""""""""""""""""""
““””” ””.. ””. ”””” ”””” ”.. .--”” ----6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
M90)T
(G92)
. . . . . . . . . . . . . . . . . . . . . . . . . . . 5 . . . . . . . .
""""" -"""" --""of""""""""" ““”””””””””2 ““”’’”””29.14”””””””””
““””
. . . . . . . . . . . . . . . . . . . . . . . . . . 7 . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 4 . . . . . . . .
(G52)7
""""""""""""o"""""""""""
““””””””””””””2
. . . . . . . . . . . . . . . . . . . . . . 2 . . . . . . . . 2,9,31 . . . . . . . . .
““””
”””” ”””” ”””” ”””””
””””” ””””” ””””” ””””
““-”
”””” ””””” ”””” ”””” ”””””
-
““” ”””””””””””””””””””””””””””””” 2
”””-””””””-””””””””””””””” 4
. . . . . . . . . . . . . . . . . . . . . . . . . .
””’
-o””””””””””””””””””””””””
““””
" . . . . . . . . . . . . . . . . . . ...2 . . . . . . . .
. . . . . . . . . . . . . . 2 . . . . . . . .
””””
”””” ”””” ””””” ””””
BE
USED .." . . . ..."... 4 . . . . . . . . 4.7.2 . . . . . . . ...159
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
““”””
””””” ””””” ””””” ”””””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
".+" "". "<"""
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
""""" ""
. .
Chapter
““””””””””7 ““”” ”””” 7.3.2 ““””””””””197
““”’”””7 ‘“”” ””’” 7.3.3 ““””””””””197
””””2 :::::::: :.;.2,::::::::::
4
““””
. .
1
6
‘“’-””””
““.
. . . . . . . .
6
. . . . . . . . 2.9
2
......”.
3 2
“’”””””” 2.83 ““””
.
..---””
2
. . .
3
. . . . . . . . 4.1
4
””””””2 ““”” ”””” 2.4.1
””””””5 ““””” ”””5.1.16” ”””””
”’””””4 ““””
. . . . . . . .
””””” ”””2 ““”””
”””””””2 ““””””””2.12 ““””””””””119
..". .."" "4""2 ““.”””.” 2.12.3 ““””””””-122
. . . . ...” 2.11.8
2
““”””””” 4.23 ““””””””””138
2
““”””””” 2.9.16 ‘“”””””””
. . . . . ...2.9.33
2
““””7 ““””
““””2 ““”” ”””” 2.5.1 ::::::::: ;;
. . . . . . . . 2.5.2
2
. ..- . . .. 2.9.22 ”.---”--” 57
2
”””””4 ““””
2
““”” ”””” 2.3.2
:::::::: ;:’.; :::::: ::: 1::
2
. . . . . .
2
“o”””””” 2125.::: :::::: ~;;
. . . . . . . . 7.3.1
Par.
”””2.9.10 ””’”’”””” 28
””””
4.1.1 ““”””””’””134
...”””
7.3” ”””” ”””” ””” 197
6.5
““”””””””””192
”””” ”6.4 ““””””’””””192
6.10 ”””” ”””” ”-” 194
. . . . . . . . . . . 19
. . . . . . . ...132
3.2.1
””””
...””
””””
””””
”””
”””-
. . . . . . . . . .
2.2.1
. . . . . . . . . . .
. . . . . . . ...178
5.2.4
. . . . . . . . ...132
3.2
. . . . . . . . . ...134
. . . . . . . . . .
5,110
. . . . . . ...168
.“---”””” 112
4.1.12
”’””
2.9.17
. . . . . . . . . 35
““-”””””o
7.1 ““”””””””””196
. . . . . . . . . .
22.2
71,2
. . . . . . . ...196
48.1
. . . . . . . .
4.7.3 ““””””””””160
2,934
. . . . . . . . . 9
. . . . . . . . . .
2.3.3
. . . . . . . . . .
..2.12 .4”” ””””
Page
1:;
;;
86
33
”””
169
””””” 137
34
91
..~6~
”””
122
1
5 5
1
9
6
1
7 7
vii
Page 8
INDEX (Cent’d)
”””16161
”--+
-””
..”” 161
66
58
63
”””
Page
29
198
13
;!
26
51
37
9
79
94
98
170
Subject
s
SPINDLE INDEXING FUNCTION SPINDLE SPEED OVERRIDE SWITCH
SPINDLE-SPEED FUNCTION (S-FUNCTION) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...2.5 . . . . . . . . . . .
SPLICING NC TAPE
sTmTLocK swITcHT """"" """"" """"" """" """"" """""
STORED LEADSCREW ERR STORED PART PROGRAM DISPLAY-” ““””
STORED STROKE SUBROUmNE PROGRAM (M98, M99). "+-o """" -'"- "oo. o+"" """""''"""""""2
SUMMARY OF EDITING OPERATION supplement To DATA INPuT/ouTPuT Interface T
SWITCHING
T
T2-DIGIT T4-DIGIT PROGRAMMING """" TAPE CODE”””””””””””””””””””””” TAPE CODE”-””””””””-””””””””””” “’”” ””””’””””””””””””””””””””””’””” “3
TAPE INPUT/OUTPUT OPERATIONS OF NC DATA
T~EVEN~ING --”” do””””””””””
THERMAL OVERLOAD 3RD TO 5TH STORED STROKE TOOL COMPENSATION-””””””””””” ‘. TOOL FUNCTION (T-FUNCTION)”””
TOOL TOOL LENGTH MEASUREMENT
TooLLENGTH MEAswEMENT pusHBunoN ~DLAMPT ""-"""""o""""
TOOL LIFE C ONTRO L TOOL OFFSET MEMORY”””””-”””””
TooLowsET vALuEDEsIGNATIoN
TOOL OFFSET VALUE TAPE VERIFYING TOOL POSITION OFFSET (G45 TO G48)
TooLRADIUS
TRAVERSE AND FEED FUNCTIONS”
TROUBLE CAUSES AND REMEDIES TURNING OFF POWER””-”””””””””
T~~G
TURNING ON POWER . . . .
T~~GON
YPES AND FUNCTIONS OF INTERFACE- .0”.
T
u
wDIREcTIONAL
UPGRADING THE CANNED CYCLE USER MACRO (G65, G66, G67)
USER MACRO CALL COMMANDS USER MESSAGE DISPLAY
v
VARIABLES '--" VERIFYING PART PROGRAM TAPE””
W wORKCOORDINATE
WORK COORDINATE
wORKCOORDINATE WNT~GIN
z
Z-MIS COMMAND NEGLECT
PROGRAMMING”””””””
LENGTH
OFF POWER-””””””-”-- ““o
G89, G98, G99, G181, G182, G185>G186> G187>G189) ~"-"""""""""""""""
BLOCKS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LIMIT
(G22,
UNTSONTHE
COMPENSATION
(G122,
COMPENSATION
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
POWER”””””-””””””
APPROACH (G60)7.
---
""-"
"
SYSTEM SETT~GA
SYSTEM SEn~GB(G52 TO
SYSTEM
mDDISPLAY~G
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
~
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
~
""""
""""" """" o""""5 ““””””””5127 ““”””””””172
OR COMPENSATION
G23)~
CONTROL STATION . . . . . . . . . . . . . . . . . . . . . . . . 5 . . . . . . . . 5,1............164
"."" """" """" """" ". """--""""""-"--""""""-2
RELAY OF
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
t
~
G123)--
C(G40, G41, G42)t--- """..
(G73,
‘“ ”++++.-”--”-”--”-””””””””’””-”-””””””””;
~ “ “ -----
"""""-"""""""""""""""""""""""""""""""""""""""2
SETTmGC (G52To G59)~
SWITCH"--"""""""""""""""""""""""`""""""
. . . . . . . . . . . . . . . . . .
””””
”-””
o-””””””””” “-””””””””””””””””””””””2
““+ ””””””--”-””””””””””””’””-”””””
““”
”””.””....”””””””””.””””””””””
““””
”””””””””””””””””””””””””””-””” “3
‘“”” ””””””””””””””””””””””””””””””” “4
SERVO U~T""+"
O--” ”--” .””- ..”” O --”+ ”--” ”””---- ““2 ““””
““””
””--”””””””””””””””-””””””””””” “2
(G43, Ga,
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
““”. ”.”” ”””” .””” ”””+ ” .-”--- ”.”---” “2 ““””””””2.9.32”-”””””””
‘.”” ..-. ----- ”---- .”-” ”.. --”- ”-””. ”2 ““””
(GIO)""
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
“+o” o.”----””””””””””””””--”””””.-
““” ””””””’””-””””””””””””””””””””
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
""."""""."".""."."""".""."•
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.-. ”-””” ””. --”” ”””---- ”””” ”””- ”””””2 ““””””””2.4””””””””””””
”””””-”””””””””””””””””””””””” ““. ”6
""". """-" -"""
G74, G76, G77, G80 TO
.“””””” ””-- ”””” ””-”” ”””” ”””” ””””””4 ““-- ”””” 4.8.3 ““””.””+””161
(G52To G59)~
CONTENTS BY MDI . . ..
”””” ”-”” ”””” ”””” ””””””4 ‘“.”+”-04.6.1 “-. --”” 00156
"""""""""""""""""""4
. . . . . . . . . . . . . . . . . . . . . . .
"o""
"""""""o'""""""""
G49)T
"""""""""""""""""""""""
+."""
””-”” ””-” ”””” ”””””
""o" oo-----
"""""
G59)t
o""-"
--""""""""""""""
-"""--""""""""""
Chapter
. . . . . .
5
.
..””” ”.5.1.14” ”.”” +””” 168
5
..””” ”””
AppEND1X-3
".""" """"2 ““o””””” 2.9.19 ““”””””””
. . . . . . . .
s”””
"""""""""2 ‘“”-””””2.9.26 ““”””””””
"""--"
C........
. . . . . . . . . . . . . . . . . ...239
““””””’”29.12”””””””””
..”. ++”” 2.8.7 ““”””””””” 18
“4
‘.. ”.”-- 4.8.4 ”””” ”-”” ”” 163
““””””””
““. ”2
““”-6 ““-”
‘--- ””
““”--”””2.62 ““””””””’” 12 ““”” ““””
. . . . . ...4.4
4
‘“”” -.+44
7
““”””””” 7.4
0...”””
5
~
““””--”” 2.9.20 ““”””””””
.
...”--”
5 . . . . . . . . 5.1.26 . . . . . . ...172
”””” 2.7.2
2
““...””.
.......”
4
. . . . . ...2.9.21
2
“.”””””.
7
““4 ““””
““”””C-.6.11 ““””””””””194
. . . . . ...4.2.1
4
””””’4 ““””
2
““””””””
“’””””””2.11”””””””””””
. . . . . ...2.11.2””””””””” 94
2
““”””””” 2.11.5 ““”””””””
2
““”””-””
2
““””””””
2
‘“”””””” 29.25 ““”””’”””
4 . . . . . . . . 4.3.3 . . . . . . . ...142
5
““”-”””” 5.1.22A ”-”--
Par.
..5.2.12 ””. ”””” ”” 188
. . . . . . . ...133
3.4.1
4.7
““”””””””””159
--2.6.1
””””
””””
5.1.31
”””- 2.7
““”. ”<-- 2.6 ““””””””””” 12
5.2.3
2.9.8
4.8.2
7.6”.
”””” 4.2.2
””-” 6.2”
””””
2.9.29
2923
“---”””””” 12
3.1 ““””’””””””130
3.1.1 ““”’”’””””130
. . . . . . . . ...151
.8””
--”””
“$-.
““”””””””173
““”””””””””
..s
. . . . ...176
. . . . . . . . . .
‘..-+-””””
. . . . . .
““””.-.O”
””””” ”.-.. 199 ““””””””””138
. . . . . . . ...137
”-””
”””” ”--191
4.7.1 “’””””””””159
““”””””””
. . . . . . . . . . 93
2.10
““”””””””
2924
““””””””” 60
~1
VIII
. . .
Page 9
Page 10
Page 11
Page 12
2.1.2 ADDRESS AND FUNCTION CHARACTERS (Cent’d)
Table 2.3 Function Characters
EIA Code
Blank
Bs
Tab
CR
SP SP Space ER
Uc
LC
2-4-5 bits 2-4-7 bits
•!-
oto9
ISO Code
I
Nti
I
BS I Disregarded
1
HT I Disregarded
I
LF
CR Disregarded
I
I
I
oto9
I
/NL
% I
Rewind stop
( \
Control
)
+
- I Minus sign, User macro operator
Meanings
Error in significant data area in EIA Disregarded in ISO
End of Block
Upper shift
Lower shift
out
(Comment start)
Control in (Comment end)
Disregarded, User macro operator
Numerals
(EOB)
Remarks
EIA :
Special code
Ato
atoz
11
Del I
DEL ( Disregarded (Including
Z
/ \ Optional
.
Parameter
setting
o
Notes:
Characters other than the above cause error in significant data area.
1.
Information between Control Out and Control In is ignored as insignificant data.
2.
3.
1
#
*
[
1
$
@
?1
Tape code (EIA or 1S0) can be switched by setting.
*
[
1
$
@
? I User macro operator
Address characters, User macro operator
block
skip
All
Mark)
Decimal point
I
Sharp (Variable)
Astrisk (Multiplication operator)
Equal mark
Left bracket
Right bracket
User macro operator User macro operator
User macro operator
EIA: Special code
4
Page 13
Page 14
2.2.2 SEQUENCE NUMBER
2.2.3 OPTIONAL BLOCK SKIP (/1 - /9)
t
Integers consisting of up to 4 digits may be writ-
N
ten following an address character numbers.
Sequence numbers are reference numbers for blocks, and do not have any influence on the meaning and sequence of machining processes. Therefore, they may be sequential, non-sequen-
tial, and duplicated numbers, and also not using
any sequence number is also possible. Generally,
sequential numbers are convenient as sequence
numbers. When searching for sequence numbers, be sure
to search or hand.
Notes :
. When 5 or more digits are written as
number, only the digits up to the 4th from the trailing end are effective.
. When two or more blocks have the same sequence
number, only one is retrieved and read, and no more searching is performed.
Blocks without sequence numbers can also be searched for with respect to the address data contained in the blocks.
s~ecify p~ogram
numbers
as sequence
before-
a sequence
Those blocks ed are neglected between In and the end of that block, when the external optional block skip
switch for that number “n” is on.
EXAMPLE
/2
When the switch for neglected, block is read as if
N 1234
With “ 1“ ,
Notes :
The optional block skipping process is executed while the blocks are read into the buffer
If the blocks have been read , subsequent
ter. switching on is ineffective to skip the blocks.
While reading or punching out programs, this function is ineffective.
The optional block skip function.
in which “ /n” (n = 1 - 9) is includ-
N1234
GO1
X1OO /3 Y20();
/2
and when the switch for
GO1
11 1!!
may be omitted.
is on , the entire block is
XIOO; .
/2
- /9 is an option
/3
is on , this
resis–
2.3 COORDINATE WORD
Generally, tions and commands for setting coordinate sys­tems are called coordinate words, and coordinate words consist of address characters for desired axes and numerals representing dimensions of directions.
2.3.1 COORDINATE WORD
commands for movements in axis direc-
Table 2.4 Coordinate Words
Address
Main axes
4th axis
Circular interpolation auxiliary data
7
x,
Y, z
A,B,
or
v, w
u,
Q R
I, J, K
C
Position or distance in X, Y or Z coordinate direction.
These coordinate words are treated as commands in the directions of the 4th axis. A ,
U , V and W are used for parallel motion
Circular arc increment in circle cutting
(G12,
Generally,
Generally, distances from start point to arc
center (in X , Y and Z components) .
Description
B
and C are used for rotary m~tion, and
G13)
radius values of circles.
6
Page 15
Page 16
2.3.4.2 LINEAR AXIS (U, V OR W AXIS) (Cent’d) The unit output increment and input increment for
C-axis is the same as the other linear axes, X, Y
and Z. No discrimination is necessary.
When inch system is selected by parameter, input values must be in inches for C–axis.
Y
I
v
B
c
)1
—u
-x
c
z
Fig. 2.1 4th Axis in Right-hand
Coordinate System
LEAST INPUT INCREMENT AND LEAST OUTPUT
2.3.5
A
INCREMENT
2.3.5.1 LEAST INPUT INCREMENT The minimum input units that can be commanded
by punched tape or MDI are shown in Table
2.9.
Table 2.9 Least Input Increment
(#6006D5 = “O’)
Linear Axis
Rotary
Axis?
Tool offset value must always mm (or 0.0001 inch, or 0.001
is possible in these units. In 0.01 mm increment system, the following op-
in
eration must be made
. Write operation in . Programming for operation in MEMORY
~
Program editing operation in EDT
Notes :
If NC programs set by O. 001 mm is fed in­to or stored in an equipment set by 0.01 mm increment, the machine will move ten times the intended dimensions.
If the increment system is switched when the contents of NC tape are stored in memory, the machine will move by ten times or one tenth of the commanded dimensions .
When the stored program is punched out on the
tape-’ , stored” regardless of switching of the ment system.
2.3.5.2 LEAST OUTPUT INCREMENT Least output increment is the minimum unit of tool
motion. by parameter
Metric output
Inch output
the stored figures are punched out
Selection of metric or inch output is made
(#6007D3) setting.
Table 2.10
the unit of O. 01 mm.
hfDI mode .
kast
Linear axis
0.001 mm 0.001 deg
0.0001 in.
be written in O. 001
deg4. )
, and offset
mode*.
Output Increment
Rotary
0.001 deg
mode’.
“as
incre–
axis+
Metric input
Inch input
Least input increment times ten can be set by setting parameter #6006D5 at
Note : Selection of metric system or inch system is made by setting
(#6001DO).
O. 001 mm
0.0001 in
Input Increment X 1
(#6006D5 =
“I)
1.
0.001 deg
O. 001 deg
I)
MAXIMUM PROGRAMMABLE DIMENSIONS
2.3.6 Maximum programmable dimensions of move com-
mand are shown below.
Table 2.11 Maximum Programmable Dimensions
Linear axis
I
Metric output
Inch output
incrc,mental programming , input values must
In not exceed the maximum programmable value.
In absolute programming , move amount of each axis must not
va!ue
Metric input
f
Inch input
1
Metric input
rnput
Inch
exceed
t99999.
999 mm
t3937.
0078 in.
+99999.
999 mm
*9999.9999 in.
the maximum programmable
Rotary
!
*99999.999 deg
t99999.
+99999.
t99999.
axis+
999 deg
999 deg
999 deg
8
Page 17
Note :The machine may not function properly if
a move command over the maximum programmable
value is given The above maximum program-
apply
mable values also
dresses I, J, K, R, Q
mand addresses X , Y, Z ,
The accumulative value must not exceed the maxi­mum accumulative values shown below .
Table 2.12 Maximum Cumulative values
to distance command ad-
in addition to move com-
a.
Table 2.13 Programmable Range of Feedrate
(Feed/rein) range
F1.-F3OOOO.O mm/min
Metric output
Inch output
Metric input Inch input Metric input
inDut
Inch
F50
FO.1-F1181.1O in. /rein
F31
F1.-F762OO.
F50
FO. 1-3000.00 in. /rein
F31
Feedrate
mm/min
Linear axis Metric input
Inch input
Listed input values do not depend on metric/ inch output system.
f
99999.999 mm
f
9999.9999 in.
Rotary
t
99999.999 deg
f
99999.999 deg
axis+
2.4 TRAVERSE AND FEED FUNCTIONS
2.4.1 RAPID TRAVERSE RATE
2. 4.1.1 RAPID TRAVERSE RATE The rapid traverse motion is used for the motion
(GOO)
for the Positioning the Manual Rapid Traverse (RAPID) . The trav­erse rates differ among the axes since they are dependent on the machine specification and are determined by the machine tool builders. The rapid traverse rates determined by the machine are set by parameters in advance for individual axes.
in two or three axial directions simultaneously ,
motions in these axial directions are independent
of each other, and
different times among these motions. Therefore,
motion paths are normally not straight. For override rapid traverse rates , Fo, 25%, 50%
and 100% of the basic rapid traverse rates , are
available.
parameter ( #6231) .
2. 4.1.2 SETTING RANGE OF RAPID TRAVERSE RATE
For each axis, rapid traverse rates can be set at some suitable multiple of O. 001 min ) .
The maximum programmable rapid traverse rate is 30,000 have their own optimum rapid traverse rates. Refer to the manual provided by the machine tool builder.
2.4.2 With five digits following an address character F,
tool feedrates per minute (mm /rein) are program­med.
The programmable range of feedrates is as follows.
When the tool is moved in rapid traverse
Fo is a constant feed rate set by a
mm/min. However, respective machine tools
FEEDRATE (F-FUNCTION)
and for the motion for
the end points are reached at
mm/min
(or deg /
The maximum feedrate is subject to the perform-
ance of the servo system and the machine system. When the maximum feedrate set by the servo or machine system is below the maximum program­mable feedrate given above, the former is set by
a parameter ( #6228) , and whenever feedrates
“above the set maximum limit are commanded, the
feedrate is clamped at the set maximum value.
F commands for linear and circular interpolations involving motions in simultaneously controlled
two axial directions specify feedrates in the direc-
tion tangential to the motion path.
91
EXAMPLE G
GO1 X40.
With this command,
F= 500={’
(mm/min)
G03
With this command,
F = 200 =
(mm/min)
(incremental)
Y30.
!
+Y
/
1
X.
. . . Y. . . .
~~”
CENTER
+Y
I
-
F500
~
Y component
500 nun/rein
-—
J
400
mm/min
Fig. 2.2
1..
. F200
\
.,200
I
I.
I
‘,
l\
mm/min
\
7
d
+x
Fig. 2.3
X component
mmim
fY
in
, 300
.J
fx
9
Page 18
2.4.2
FEEDRATE (F-FUNCTION) (Cent’d)
F commands for linear interpolations involving motions in simultaneously controlled three axial directions specify feedrates also in the direction tangential to the motion path.
EXAMPLE
X..
With GO1
F = 400 = fX2 + fY2 +
(mm/min)
. Y.. .
+Y
/ I
2..
. F400 ;
fz2
END POINT
Table 2.14 Programmable Range
of 1/10 Feedrate
Format
Metric output
Inch output
. When parameter #6020 DO or
the feedrate range returns to normal.
Metric input
I
~nchinput ] F32 IFO.01-FI.IBI.10 in./min
Metric input
Inch input
2.4.4 F 1-DIGIT PROGRAMMING
(1) Specification of a value 1 to 9 that follows
F selects the corresponding preset feedrate.
F51
FO.
F51
FO.
F32
F0.01-F3000.00 in. /rein
t
Feedrate
(Feed/rein) range
1-F3000.O
1-F76200.O
D1
is set to “O, ”
mm/min
mm/min
(2) Set the feedrate of each of F1 to F9 to the
setting number shown in Table 2.15 (a).
—— —____
/
+2
Fig.
2.4
F commands for linear interpolations involving motions in simultaneously controlled four axial
directions specify feedrates also in the direction tangential to the motion path.
fx2
(mm/min) =
F
Notes :
. If FO is programmed, it is regarded as a data
error. (alarm code “030)
. Do not program F commands with minus numerals,
otherwise correct operation is not guaranteed.
EXAMPLE
F-250 ; . . . . . . . . wrong
2.4.3
FEEDRATE 1/1
The feedrate programmed by F commands can be
converted to 1
ting as follows.
. When parameter #6020
the feedrates range becomes as shown below.
/10-th value with a parameter set-
+ fy2 +
O
DO
fz2
+ fa2
or D1 is set to “ 1, “
(3) By operating the manual pulse generator
F1-DIGIT
when
digit command currently specified may be in­creased or decreased. Set the increment or de­crement value per pulse parameters listed in Table 2.15 (b).
As a result of this operation, the contents of the setting number of the F1-digit feedrate are changed.
(4) Upper Limit of Feedrate
Set the maximum feedrate of
to the following parameter. If a value greater than the usual maximum feedrate (the contents of #6228) is set, it is governed by the contents of #6228.
switch is on, the feedrate of Fl -
(F1-digit
Table 2.15 (a) F Command and
Setting No.
F command
F4 F5 F6
F7
FE F9
Setting No. for
F1-digit
I
I
I
multiply) to the
F1-digit
designation
speed
#6564 #6565 #6566 #6567 #6568 #6569
10
Setting “ 1“ =
0.1
in. /rein or 0.01 in. /rein
Page 19
Table 2.15 (b) F Command and
Parameter No.
F
command
F1
F5 F6
“ 1“ =
Setting
Table 2.15 (c) Parameter No. for
Maximum Feedrate
Parameter No.
#6226
#6227
Notes
:
a.
When this feature is installed, the specifying
1 to 9 mm /rein by the usual F function is not al-
lowed.
usually.
Specifying
Parameter No. for
F1-digit
I
I
I
I
O. 1 mm]minlpulse
Meaning
I
Max speed of F1 to F4 Max speed of F5 to F9
mtitiply
#6141
#6145 #6146
10 mm /rein or more is allowed
b. If FO is specified, error “ 030”’ will be caused.
c. When run is assumed.
d.
ride feature is invalid.
For
F1-digit
DRY
RUN switch is on, the rate of dry
specification, the feedrate over-
e. The feedrate stored in memory is retained
after the power is turned off.
For the
f.
var]able
command of micro-program
F l-digit command is possible.
2.4.5 AUTOMATIC ACCELERATION AND DECELERATION Acceleration and deceleration for rapid
and cutting feed are automatically performed.
traversr
2.4.5.1 ACCELERATION AND DECELERATION
OF RAPID TRAVERSE AND MANUAL FEED
In the following operation , the pattern of auto-
matic acceleration and deceleration is linear .
. Positioning . Manual rapid traverse (RAPID)
. Manual continuous feeding (JOG) . Manual HANDLE feeding (HANDLE)
The 2-step linear acceleration/deceleration can be speci-
fied shown in Fig. 2.5.
(GOO)
TIME
_
Fig. 2.5
Rapid traverse rate and acceleration deceleration constant of rapid traverse rate can be set by parameter. (#6280 to #6301)
2.4.5.2 ACCELERATION /DECELERATION OF
FEEDRATE
Automatic acceleration and deceleration of feed
GO1
motion (
Feedrate time constants and feedrate bias are set by parameters. During tapping, another time constants and bias other than for usual feedrate can be set by parameters (#6406 -#6434) .
- G03) are in the exponential mode.
Fig. 2.6 Exponential acceleration
deceleration
Note: The automatic acceleration /deceleration param-
eters are set to the optimum values for the re­spective machines.
unless this is required for special purposes.
Do not change the setting
2.5 SPINDLE-SPEED FUNCTION (S-FUNCTION)
2.5.1 S 2-DIGIT PROGRAMMING
The spindle speed is specified by two digits fol­lowing the address S
For each S code and its corresponding spindle
speed
manual.
When a move command and an S code are issued in the
same block, whether the S command is executed togeth­er with the move command or after the completion of tool move depends on the machine tool builder. Refer to the machine tool builder’s manual.
S codes are modal, remaining effective, when
once commanded, until next S code is commanded.
If the spindle is stopped by M05 (spindle stop) command, the S command in the control is kept.
(r/rnin), refer to the machine
(S00 to S99) .
tool builder! ~
11
Page 20
2.5.1 S 2-DIGIT PROGRAMMING (Cent’d)
EXAMPLE COO S11 M03 ;
. . . S command
Spindle CW
x..
Y.. . z.. . ;
GO1
Z.. . F.. . ;
‘1
S11: Effective
1
GOO x.. .
Y.. . Z.. . M05 ; Spindle stop
M03 ;
x.. .
Y.. . z.. . ;
GO1
Z.. . F.. . ;
S22 ; x.. .
Y.. . F.. . ;
S11: Effective
1
S22: Effective
1
Note : The two-digit BCD output is sent 10 the machine
when S two-digit command is issued.
EXAMPLE
S 1000 M03 ;
s
I
1000
FM
START
THE
BLOCK
SPEED
rein-l s~~cH~~~Iz$TIo~
COMPLETION OF
COWND
0?
Fig. 2.7
2.6 TOOL FUNCTION (T-FUNCTION)
2.6.1 T 2-DIGIT PROGRAMMING
Two digits, following the address T , specify the tool number.
Leading zeros may be omitted.
2.5.2 S 5-DIGIT PROGRAMMING
With five digits written after an address character
ml—ll—llll’’l),
S(S commanded.
The programmed speeds become effective upon the inputting of an S-command-comple tion-input­signal (
When an S command is programmed in the same block with
(spindle reverse run) , block starts only after the spindle speed reaches the level specified by the S command, in most cases. However, for exact behavior of the ma­chine tool under consideration, refer to the ma­chine tool
The S commands are modal, and when it is pro­grammed once, command is programmed. is stopped by M05, the S command remains ef­fective. again with an M03 (or M04) , the spindle runs at the speed specified by the S command.
When the spindle speed is to be changed by a new S command after it is started with an M03 or M04, attention must be paid to the selected spin­dle speed range.
SFIN)
hI03
builderls
Therefore, when the spindle starts
spindle speeds (rein-l) are directly
,
(spindle forward run) or M04
the execution of the next
manual.
it remains effective until another
Even when the spindle
Tan
I
I
The figures used for the designation of tool num-
ber are determined by the machine. Refer to
the machine tool builder’s manual.
When a move command and a T code are issued
simultaneously ,
the two commands are executed simultaneously,
or
the T command is executed upon completion of the execution of the move command,
depending on the design of the machine.
For this, refer to the machine builder’s manual.
T codes are modal, and therefore, once they are given , they remain effective until another T command is given.
T code commands are generally for making
automatic tool changers
tool number to be used next. Therefore, they can be given without regard to the G, H “or D codes which are for offsetting for the length or radius of the tool currently in use.
Tool number
(ATC)
to select the
Notes :
~
The lower limit of programmable S commands
(SO and other S commands near O) by the spindle motor of the machine tool. Refer to the machine tool builder’s manual. program minus values as S commands.
, When the control is equipped with the S 5-digit
command function , is possible. That is, override speeds between
50 and 120% of the commanded spindle speed can be obtained at intervals of 10%.
spindle speed overriding
is determined
Do not
12
2.6.2 T 4-DIGIT
Four digits following the address T specifies the tool number.
Leading zeros may be omitted.
PROGRAMMING
L Tool number
This tool code is the same as the T 2-digit codes, except for the increased number of digits.
Page 21
Page 22
Page 23
M90t :
M917: M92t: M93t:
M94: M95: M
M97t:
M98: M99: M1OO to 199: Used for enhansed codes
Program interrupt off Program interrupt on
Multi-active register off
Multi-active register on
Mirror image off Mirror image on
Tool radius compensation C:
96+:
circular path mode Tool radius compensation C :
intersection computing mode
Subroutine program call Subroutine program end
2.8.3 PROGRAM INTERRUPTION ON/OFF (M91 , M90) t
M93: During the time from this command to M92, the
control assumes the 4 blocks-advance-reading mode. in advance for the following operation.
the program is so made that the operation time of advance reading of 4 blocks is longer than processing time of advance reading of next 4 blocks of data.
M92:
This command cancels 4 blocks-advance -reading mode.
Note :
blocks without move command can be contained( up to
two blocks ) .
cluding the two blocks, may be read in advance.
Namely, up to 4 blocks of data are read
Inter-block stoppage can be eliminated when
In tool radius compensation C mode, the
Under this condition, 6 blocks, in-
The following M codes are used for the program
interruption function .
Program interrupt function OFF
~
Note: reset, the control is in the state of M code marked with
.M91
.
2.8.4 MULTI-ACTIVE REGISTERS ON/OFF
(M93,
When power is applied or the control is
~.
P. . . . . . ;
During the time from this command to an M90 command, whenever a program interruption
signal is received, the program under tion is interrupted (if the machine is in motion, it is stopped after deceleration) , and the a jump is made to the program the number of which is written after the
M90;
With this command, the program interrupt func-
tion is
cancelled.
P .
execu–
M92) t
M code
M 92
Note: reset, the control is in the state of M code marked with
Y
Multi-active register OFF
~
Multi-active register ON
M93
I
When power is applied or the control is
~
.
Meaning
MIRROR IMAGE ON/OFF
2.8.5
M code
M94
M95
Note: When power is applied or the control is
reset, the control is in the state of M code marked
With these codes,
be started and stopped at any desired point in the program. made on a single block,
M94 and M95 are modal. When the power supply is turned on, M94 (OFF) is in effect.
The axis on which mirror image is to be effected is
specified by setting #6000 Do to D3 (or mirror image
axis designation switch). For this procedure, refer to
5.1.25, “MIRROR IMAGE AXIS
on page 171.
When
control the machine in mirror-image fashion,
that is, movements in the specified coordinate
direction will be reversed.
M95
Y
I
I
with-.
mirror image operation can
These commands must always be
is given, the subsequent blocks will
(M95,
M94)
Meaning
Mirror image OFF
Mirror image ON
SELE~OR
I
SWITCH”
&–-
T
\
‘\
//,
~:&OGRAD
F
X-AXIS MIRROR
IMAGE ON
M95
x
Fig. 2.8
15
Page 24
Page 25
. Mirror image external input function
(a) Overview
In addition to the conventional mirror image function, the mirror image execution mode can also be set when power is turned on, or reset, by setting the corresponding parameter. mode is the mirror image execution mode (power on or reset, ) the parameter can be set to select the command mirror image at the G28 intermediate point or not.
(b) How to use the function (i) Upon power ON or upon reset
O: M94 mode (mirror image off)
#6005,
(ii) Upon power ON, when it is M95 mode (#6005,
D2
#6005,
Note : The specifications are the same as the
conventional specifications, when #6005,
Therefore, turn off mirror image by M94, when
commanding G28, or G29 under this mode.
1!058!1 occurs
D2
is “l.”)
D1
1: M95 mode (mirror image on)
O: Commands mirror image at the
intermediate point
1: Does not command mirror image at
the G28 intermediate point
if not turned
off.
When the
D2
is “O. ”
Error
G28
2.8.6 CIRCULAR PATH MODE ON/OFF ON TOOL RADIUS COMPENSATION C
M code
7
M 96
M 97
Note:
reset, the control is in the state of M code marked
In the G41 or G42 tool radius compensation mode, when M96 is given, the tool moves along a circular
path around a corner with an angle of In the M97 mode, the tool does not move along a circular path at the corner, but moves along two intersecting straight lines intersecting at a calculated intersecting point shifted from the programmed
contour by the tool radius.
CIRCULAR
Tool radius compensation circular
path ON.
Tool radius compensation circular
path OFF.
(Execution of intersection point)
When power is applied or the control is
withy
.
M96 MODE
(M97,
Meaning
M96) t
18W
or larger.
N97 NODE
(c) Program example
~
Example of commanding mirror image on the G28
intermediate point
Program example (mirror image of X-axis only is
on)
Y
X-AXIS MIRROR .~‘ IMAGE ON
,/”
-\.
I
100
Note : When commanding axis designation under the mirror image mode ahead by parameter (#61 16) of the set/reset M codes.
I
–40 o
-
100 50
(M95) by m code, stop the look-
REFERENCE POINT
PROGRAM COMMAND
40
100
w
x
‘ATHFEcTIO:F
P
M96 and M97 are modal. When the power is
turned on, M96 takes effect.
M 96 and M97 are effective on the following move command blocks.
GO1 X.. .OC; C;
(GO1) X.. . Y.. . M96 ;
GOIXO. .Y. ..
M96 (or M97) ;
(GOl)X. .. y...
PROGRAMMED CONTOUR
Fig. 2.10
FS. . ;
;
*
Effective from the corner of these 2 blocks
)
Effective from the corner of these 2 blocks
}
17
Page 26
2.8.7 SUBROUTINE PROGRAM (M98, M99)
Format of subroutine program
(M99)
With this function , which have been numbered and stored in advance is made and executed as many times as desired.
The following M codes are used for this function.
P..
I
.
M code
M98 M99
Call of subroutine program
M98 With this command, call of the subroutine pro-
gram with the number specified after P is made
and is executed number of times specified after
When no L code is programmed, the sub-
L. routine is executed once. Subroutine programs can be nested up to 4 times.
EXAMPLE
call of subroutine programs
Meaning Call of subroutine program Subroutine program end
(M98)
L..
. ;
Subroutine programs are written in the in g format, memory in advance.
I
o;
. . . . . . . . . . . . . . .;
. . . . . . . . . . . . . . .;
. . . . . . . . . . . . . . .;
hf99
-
Automatic return command from gram
M99 ; At the end of subroutine programs, M99 is
written in a block of its own. commanded in the subroutine program which
has been called by M98, the execution main program is automatically restarted at the block immediately following the M98 block.
and are stored in the part program
. . .
;
I
Program No.
Subroutine
program end.
subroutine
When M99 is
follow-
of
the
prm
Call of subroutine program and execution of it are made in the
. Special use of M99
M99 P.. . ; With this command,
return to the block following the M 98 block after executing the subroutine program , but returns
to the block with a sequence No. specified by
the P code.
Notes :
If the program number specified by the P code is not found, this
While a subroutine program is repeated L times, the number of remaining repetitions may be
seque~ce
0100 ;
NOO1 NO02 h198
NO03 NO04 M98 P200 ; —
NO05
shown below.
Main program
GOO . . . . ;
P200 L3 ; –
..,.
;
. . . . ;
the main program does not
is regarded as an error “041.
Subroutine program
0200 ;
NOO1 ...,
NO02
N050 M99 ;
displayed.
AND wRITING OPERATION .
This function is usable when subroutine pro-
grams are stored in the part program memory.
The main program can either be commanded
from NC tape or the part program memory.
When the nesting of subroutine programs is attempted more than 4 times, an error state is caused.
Commanding
the execution of the program to the head of the main program and control endless operation.
;
o..
. ;
For details , refer to
M99; in main prOgram
4.3
DISPLAY
will ‘et~n
18
Page 27
Page 28
2.9.1 LIST OF G CODES AND GROUPS (Cent’d)
Table 2.18 List of G Codes
before
this
..G90 ..G91
before
this
Display
During the execution of G 92,
selectively be made. (#6005D5)
. G code in the 02 or 03 group at reset can be
set by parameters.
Group
03
Timinc ~
upon
power
ON
upon reset
Upon power ON
Upon reset , immediately
Parameter OFF
DO
o
. .
1
. .
G17
~
1- . . . . . . . . . . . . . . . -----
Stores the G code commanded immediately
I
command
Phf6005
I S;&;s ‘t~e-~ ;;d= ;o;;.<~e;” command
may
I
------------
Same as on
“bti;O~< ‘Dj--
Parameter ON
G17
G17
the left
. .
..G90
o
1
. .
..G91
G
Group
code
G03 G04 G06 G09
--
G1O G12
G13
z
G177
G18 ] 02
G20 ,
G21
-i
G23
G25 G27
G28
1
G29 *
G30
7
Circular interpolation Helical interpolation CCW
Dwell Positioning in error detect
off mode Exact stop
*
Tool offset value and work coordinate, Shift-value modification
Circle Circle cutting CCW
6
,
1
Stored stroke limit ON Stored stroke limit OFF
Program copy
*
Reference point check Automatic return to
reference point Return from reference point Return to 2nd, 3rd, 4th reference
point
Function
cuttine
CW
CCW,
B: Basic O: Optional
B, O
B B
B
B, O
n
I
o
I
o
I
n
o
o
I
o
I
o
o
~
1
G43 G44 08
-1
+
G45 G 46
G 47
v
G52
G53 G54
G55
G56 G57 G58
G59
Tool radius compensation cancel Tool radius compensation, left Tool radius compensation,
1
Tool length compensation, plus direction
Tool length compensation, minus direction
Tool length compensation, cancel Tool position offset, extension Tool position offset, retraction Tool position offset, double
*
extension
Return to base coordinate system
12
Temporary shift to machine coor-
*
dinate system Shift to work coordinate system 1
Shift to work coordinate system 2 Shift to work coordinate system 3
12
Shift to work coordinate system 4 Shift to work coordinate system 5 Shift to work coordinate system
rieht
6
I
B
I
B
I
B B B
B
o o 0
0
0 0
0
0
20
Page 29
Page 30
2.9.2
POSITIONING (GOO, G06) (Cent’d)
EXAMPLE
. With the ERROR DETECT OFF mode commanded
by G06, the program advances to the next block immediately after the completion of pulse distri­bution.
LINEAR INTERPOLATION (GOI
2.9.3
GO1 X.. .Y. .. Z...
a
where With this command, the tool is moved simultaneously in
the three (four t) axial directions resulting in a linear motion. When a certain axis is 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 in the component axial directions are so controlled that the
resultant feedrate becomes the specified feedrate.
The end point can be programmed either in
coordinates or in incremental values with G90 or G91
respectively. (Refer to 2.9.30, “ABSOLUTE
/INCREMENTAL PROGRAMMING
If no F code is given in the block containing the
GO1
an error
= A, B, C, U, V, or W
F=
(where
directions. )
or in preceding blocks, the block constitutes
Fx2 + Fy2 + Fz2 +
Fx, Fy.
030. “
(a t...)
are feedrate in the X ,
. .
)
F... ;
Fu2
Y ..-
sbsolute
(G90, G9 l)”).
GO1
X40.
Y40.
Y
40:
o
Z40.
F1OO
;
100
mmlmin
RESULTANT FEEDRATE
/’0.
z
Ftg. 2.12
Where the optional 4th axis is a rotary axis (A, B or C), for the same F code, the feedrates in the basic three axis directions (X, Y and Z), and the rotary axis feedrate are as indicated.
Table 2.19 Minimum F Command Unit
F-function
Metric
Outpl.lt
Inch
output
Note:
CIRCULAR INTERPOLATION
2.9.4 With the following commands, the tool is controlled
along the specified circular pathes on the XV-, 2X-, or
Metric input
Inch
inp Ut
Metric input
Inch input
Feedrate of linear 4th axis as the same as that of basic three axes.
XY-plane
ZX-plane G18
YZ-plane G19
G 17
F50
F31 0.1 in. /rein
F50
F31 0, 1 in. /rein 1 deg/min
(G02,
G03)
G02 G03
{}
G02 G03
{}
G02
G()~ ‘.. .
{}
Feedrate of basic
. Y.. .
‘“”
‘“”” ‘“”” K..
‘“”” JO. )
In minimum F command unit
three axes
1 mm /rein
mm/min
1
R
~“”” J
. . . . . .
{
R
{
R.. .
K.. .
{
Feedrate of rotary axes
1 deg /rein
2.54 deg
O. 3937 deg /rein
YZ- plane, at a tangential speed specified by the F
code.
F.. . ;
}
. . .
.
I..
.
1
)
F
““”
F... ;
;
Imin
22
Page 31
The moving direction of the tool along the circle
is as follows.
G02:
Clockwise
G03: Counter-clockwise
G17 :
XY-plane or
G18 : ZX-plane or Z4-planet
YZ-plane or Y4-planet
G 19:
(when the 4th axis is linear)
X4-planef
Y
]GO~G02
,
~$G02
~x
XY-plane
(G17)
When circular interpolation programmed, usually, the plane of interpolation
should be specified in advance with G17, G18 or G19.
EXAMPLE G17 G90 G03 X15,
(a) Absolute command with
Y
I
END POINT
40.
ZX-plane
(G18)
Fig. 2.13
(G02, Got)
Y40, I-30. J-10. F150 ;
(G90)
is to be
YZ-plane
(G19)
In addition to the plane of circular interpolation, these G codes specify planes for tool radius com­pensation
the contrary, XY plane ( matically immediately after the switching of the power supply.
,
The end point of the circular arc may be specified by G90 or G91 respectively in absolute or incre­mental values. is always programmed in incremental values from
the start point, irrespective of G90 or G 91.
G17 G91 G03 X-40. Y20. 1-30. J-10.
(b) Incremental command
40
(G41,
G42) .
However, the center of the circle
Y
t
I
t-
If no selection is made to
G17) is selected auto-
F150;
-40.
i
20.
,
CENTE~-””
-30.
Instead of the coordinates 1, J, and K of the center of the circle, the radius can be directly
specified with an R command. circular interpolation with radius R designation
mode. In this case,
when R > 0, a circular arc with the center
gle less than 180°, and
when R < 0, a circular arc with the center
gle larger than 180° are specified.
V
-
~-lo.
This is called
x
an-
an-
Fig. 2.14
G17 G02
20
X..
180° OR OVER
@
I
15.
.
Y..
-~
T
\
-R
\\
START POINT
.
R+””” F“”.
-~
\
- “+i-
Fig. 2.15
55.
END POINT
!
\
1
!
-J
Y
x
;
180” OR BELOW
23
Page 32
2.9.4 CIRCULAR INTERPOLATION (G02, G03) (Cent’d) G17 G02(G03) 1.. . J.. . F.. . Ln ;
With this command, complete circular interpolations
are repeated n times.
the interpolation is executed only once.
~
-plane
X
Z a -plane
Y a -plane
Without an L designation,
G17
G18
G19
G02
G03
{}
G02 G03
{}
G02 G03
{}
‘“””a”””
‘“””a”’”
‘“””a”””
Note :
. G17 G02
Where address characters for the 4th axis is
missing as in the above command, the
is automatically selected. Circular interpolation cannot be performed on the axes including rotary 4th axis.
Circular pathes covering two or more quadrants can be programmed in a single block. A com-
plete closed circle can also be programmed.
EXAMPLE
GOO
XO YO ;
X..
.
{
;“”” J
. . . . . .
F..
. ;
}
XY- plane
G02 XO YO 110. JO F1OO ;
. . .
complete circle
Y
When a linear 4th axis option is used, circular
a
interpolation is possible in the X planes in addition to the XY-, YX-, and
a
(where
R..
.
1.. .
{
. . .
R
K.. .
{
R..
.
J..
.
{
= U, V, or W).
J..
.
‘“””
}
F
1..’. ““”
)
K..
.
‘o””
}
;
;
;
/
&
,
o––
@
-, Z a -, and Y a -
\
The end point i
\
CENTER
*-
\
%
\\
Fig. 2.17
When the end point is programmed in the hatch­ed areas shown above, no alarm state is creat­ed, but the tool will keep on rotating. Especially when tool compensation is applied, coordinate values of the point and the center must be programmed accurately.
represented by
0
y
g
/
ZY- planes
.s
1,
~
,1
.
4
10.
Fig.
2.16
When the coordinate values of the end point of a circular
path is not exactly on the correct circular path due to calculation errors, etc., correction is made as shown below. Points O are commanded as end point. (See Fig. 2.17).
20!
x
24
When radius is specified as O (I, J = O on G17 plane)
speci~ng
in
DMSION)
When
end point) at R command, the error is compensated for in the range of
2.9.5 HELlCAL INTERPOLATION
A circular interpolation on a certain plane, and a linear interpolation along an axis not included
in that plane can be executed in synchroniza-
tion, and this combined interpolation is called helical interpolation.
circular arc, alarm 102 (CAL ERROR =
is triggered.
I ~ I >
R ( t : distance from the start point to the
&I
– R S #6649.
(G02,
G03)
t
Page 33
Command format
(a) For
(b) For
(c) For
(d) For X
(e) For Z. (f) For Y
XY-plae
ZX-plane G18
YZ-pl~e
a -plae
-plme
a -plae
G17
G19
G17
G18
G19
G02 G03
{}
G02 G03
{}
G02
G03
[}
G02 G03
{}
G02 G03
{}
G02 y.. . G03
{}
‘“”” ‘“””
‘“”
z
10. .
{
‘“”’ ‘“”’ K..
.
‘“”” a“”” 1..
““” a“”” K..
z..
~..
.
.
{
{
{
{
{
R..
.
J..
. . .
R
.
R
J“”” K
. . . . . .
R..
.
.
R..
.
.
;“””
. . . . . .
I“””
I.””
K
.
Z(a) . . .
}
Y(a)
}
x(a)
}
z
)
J.”. ‘“
Y..
}
X..
}
F..
. . .
F..
. . .
F..
.
F..
. ;
. F.. . ; . F.. . ;
. ;
. ;
. ;
Where w. If no 4th axis is programmed in (d) , (e) ,
and (f) , they are regarded as equal to (a) , (b)
and (c) .
EXAMPLE
G17 G03 XO Y1OO. R1OO. Z90.
Notes :
2.9.6
G04
This command interrupts feed for the length of time designated by the address P .
Dwell is programmed as an independent block. The maximum length of time which can be desig-
nated with address P is as follows.
a is one of the linear 4th axes U, V, or
z
90.
L
100.
Fig.
2.18
The circular arc should be within 360°. As long as above note (a) is satisfied, the
start and end points can be taken at any time. The feedrate F means the tangential speed on
the plane of circular interpolation. Tool radius
only to the circular path on the plane” of c
ular
interpolation.
com~ensation
END POINT
Y
F1O.
;
C t can be applied
cir-
DWELL (G04)
P..-
;
Format Dwell time (P programmable range)
P53
The value does not depend on metric or metric /inch output.
EXAMPLE
G04 P2500 ; Dwell time: 2.5 sec.
Two types of dwell can be selected by parameter: Dwell when the specified value in the command
block before the dwell block is identified by lag pulses of servo, or dwell on completion of pulse distribution.
2.9.7 Exact stop
When a block containing G09 is executed, the
program advances to the next block after com-
pleting a block in the Error Detect On mode
(Note a) . corners are desired. effective only in the block in which it is con­tained.
Exact stop mode
When once G61 is commanded, all the following blocks will be completed in the Error Detect
On mode before proceeding to the next block.
Exact stop mode cancel ( G64)
This G command is for canceling the effect of
G61.
0 - 99999.999 sec
EXACT STOP
(G09)
This function is used when sharp
(G09,
(G61)
linch
G61 , G64)
G09 is non-modal, and is
rnput
25
Page 34
Page 35
Page 36
Page 37
The plane for making tool radius compensation by command G41 or G42 is G17, G18 or G19. It is not possible to designate compensation plane including axis.
The
XY-plane
turned on.
(G 17) is selected when the power is
univocally determined by
tie
4th axis of rotary
Take the following procedure after the command of G20
A.
B.
/G21
selection.
Program absolute zero point before move command.
In principle, make the display reset opera­tion when current position display ( exter­nal) is used.
(G92) for all axes
lNCH/METRIC
2.9.11
(G20,
G21)t
Unit of input data are selectively specified by the following G codes between metric and inch.
v
These G codes are programmed at the leading end
of a block of its own. If one of these G codes are commanded, the units of all the following motions are changed afterwards.
subsequent programs . tool offset values . part of setting parameters . part of manual movements
o
displays
Notes :
When G20 or inch/metric selection is changed. Therefore,
the state of
~lication depends
\6001 DO. “
DESIGNATION BY G CODE
G21
G21
is commanded, the setting of
G20/G21 at the time of power
on the setting by parameter
Metric
-..
ap-
The tool offset values are processed different-
GZ1
ly in the G20 mode and the
G20/G21 must be commanded after modifying
the tool offset values.
2.9.12 STORED STROKE LIMIT (G22, G23)
This
function is for checking the current tool position during manual or automatic operation for entry into the prohibited area specified by parameters or by G22. hibited area, machine operation is stopped and an. error sign is displayed.
. 1st prohibited area (stored stroke limit 1)
The area outside the area specified by a param­eter is a prohibited area.
be used as a substitute of overtravel checking
function. Upper limit point A
1
point B
are specified by parameters.
If the tool enters a pro-
mode.
t
Generally, this can
1
and lower limit
Al(Xa,
Ya, Za)
EXAMPLE
ER CR 01234 ;
G20
;
_
~
. When
G20/G21 selection is commanded in the
program, take the following procedure before-
hand.
A. When work coordinate system ( G54 to G59)
is used,
tern.
B . Cancel all tool compensation command.
(G41 to G48)
return it to base coordinate
Inch input designation
sys–
/“
5
/’
/’
///////’
B1
(xb,
Yb, Zb)
z
k
x
Fig. 2.25
/
/’
Y
29
Page 38
2.9.12 STORED STROKE LIMIT (G22, G23) t (Cent’d)
2nd prohibited area (Stored stroke limit 2) The boundary of the 2nd prohibited area is
specified by a parameter setting or by G22. The inside or the outside of the boundary selectively be made a prohibited area by means
of parameter setting.
XO.
G22
.Y. .OI. .. KC. .J. ..
~~
C point Upper limit
D point Lower limit
KC. O ;
car
2ND PROHIBITED AREA
/
/
/
5*
///
B2
(I, J, K)
Where 2nd prohibited area is outside.
Az(x, Y, Z)
/’/
With this command, the checking of the 2nd
prohibited area is started, and with G23 ;, the check function is cleared.
Table 2.20 Setting of Stored Stroke Limit for Each Axis
~
Point
1st
prohib-
ited area
2nd
prohib-
ited area
Al B1
Point
point A2
Point B 2
#6600 #6606
#6510 #6513 #6514
Az (x,
Y, Z)
B2(I, J,K)
Where 2nd prohibited
area is inside.
Fig. 2.26
x
Y
#6601 #6607
#6511
z
#6602 #6608
#6512 #6515
Division
Parameter
Setting
Note: Point A sets plus value of boundary line on the machine coordinate
The parameters for specifying the inside and the outside of the 2nd prohibited area are as follows .
#6007D0
o“
1! ~
1!
systelm and point B sets minus value .
Meaning
Inside prohibition
outside prohibition
30
The 2nd prohibited area checking function can also be turned on and off with the following setting number.
#6001DI
]
Meaning
Page 39
Page 40
2.9.13 PROGRAM COPY t (G25) (Cent’d)
Example
G25 P7 Q8 Ll;
N2
G73 Z-1, R-2. Q1. F1OO; N3 G80; N4 GO X1 O.;
N7 G25 P2 Q4 L9; N8 G25 P2 Q3; N 9 G90 X-90. Y-10.;
AFTER MODIFICATION
N7 G25 P2 Q4 L9;
G25 P2 Q3;
+
N8; N 9 G90 X-90. Y-10. ;
ApE0RMEM0Ry
00001;
NO1 G92--------;
N1O
;
G25
P1OO I
I
I
I 1
I I
O Level
Program No. 00001 Program No. 00001
Q150;
(Note)
7r
I
MEM0Ry
N1OO-----------;
I
1
! I
i120
~
P200
Q250;
I
;140-----------;
I 1
1
N150-----------;
1st Level
Note: Always use the program number in the P
command when commanding from a tape.
Example: N1OG25
Reset operation
calls the beginning
of the memory.
---
1
1
N200-----------;
220 ~ P400;
I
1 I
RESET
\
P~OIOO
;
k250-----------;
1
2nd Level
Program No. 000001
Q1550; Programl number
N300-----------;
I
I
I
I
/
/
I I
1 I
I
I I I
i
I
I
N380 M99;
3rd
Program No. 00400
Level
32
Page 41
NOO1
I
NOl O
G25
PO1O1OO
QO1O15O:
I I I I
I I
O Level.
Program No. 0050
N1OO
)
I
I
I
N12i
G25 POO11O2OO
QOO11O25O:
I I
1
I
1st Level
Program No. 0001
I
N200
I I
1
I
I
N225
!98
P65;
N250
-1
2nd Level
N300
I
I
I
I
I
I
I I
I I I I
I
I
N400
3rd
“99;
Level
Program No. 0011 program No. 0065
Notes :
1. M98 can be used in a program G25. Four levels may when using G25 with M98.
2. Care should be taken when jumping to a different L level with M99 since execution will become endless with no means of escape.
2.9.14 REFERENCE POINT CHECK
This function is for checking the correct return
of the tool to the reference point after performing a cycle of operation in accordance with a program which starts at the reference point and ends at the reference point.
X..
.
Y..
.
Z..
.
G27 With this command, the tool moves towards the
specified position simultaneously but independently, and after the
arrival at the specified point, the point is check­ed for the conformity to the reference point. If 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.
If the point is in conformity with the reference point, the reference point return lamp lights. If the tool is correctly in the reference point in
all the axes, automatic operation is performed
further, but if the tool is not in the reference
point even in one axis, this is regarded as an error ( alarm 241 - 244 display) , and the auto­matic operation is interrupted. (Cycle start lamp goes off. )
If G27 is commanded in the tool offset mode, the
tool return point is also offset. Cancel the tool
offset mode when commanding G27.
(a+...);
along
the three axes ( 4
(G27) t
axes~)
copied with
no; b:
exceeded even
Reference point as meant here is a freed point relative to the machine to which the tool returns by the manual reference point return motion or by G28 automatic reference point return motion. Refer to 5.2.1, RETURN TO REFERENCE POINT’ on page 174. The mirror image function can be applied to the G27
command. To avoid non-conformity errors, clear the mirror image mode with M94 (Mirror image
commanding G27.
AUTOMATIC RETURN TO REFERENCE POINT
2.9.15
t
(G28)
G28
With this command, the tool is sent back to the reference
point. The tool moves towards the specified points in rapid traverse, and automatically stops at the reference point.
The tool moves simultaneously in up to 3 axes (4 axes t ).
However, the tool will not move in the direction of the
axis for which a coordinate instruction is omitted.
X... Z... Z... (~t... ) :
“~w
offl before
Page 42
2.9.15 AUTOMATIC RETURN TO REFERENCE POINT
(G28)
t
(Cent’d)
EXAMPLE
X..
.
Y..
.
2..
G28
—-
I
“Return to reference point” involves the same series of motions as the manual return to ence point.
Notes :
If G28 is commanded in the tool radius compen-
sation mode
this is regarded as an input error “ 024. If G28 is commanded in the Mirror Image mode
(M95)
, this constitutes an input error “058. “
The tool position offset command is not G28. Be sure 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 below. Care should be taken.
When the succeeding program is made in the
A.
incremental mode: Tool moves by the amount of incremental value from the reference point . offset is not effective.
B.
When the succeeding program is made in the
absolute mode: Tool moves to the position which is speci­fied by absolute value and tool offset value.
c,
When G29 is given immediately after the
G28: By G29 command, the tool moves to the off­set interim positioning point and the suc-
ceeding motion is made according to the
item A and B.
When returning the tool to the reference point for the first time after turning on the power supply. pay attention to the tool position.
~R.N
TO REFERENCE
. ;
I ,
b
Y-AXIS DECELERATION LS
Ftg.
2.27
(G41,
G42) or in a canned cycle,
POINTt
REFERENCE POINT
+
c
- — DECELERATION
Refer to 5.2.1
.
Z-AXIS
Y
refer–
cancelled by
The tool
Mu-
Return to reference point in rapid traverse In addition to the above “ Automatic Return to
Reference Point, “ “ Rapid Traverse Return to Reference Point” function may be incorporated in the control. quence is as follows.
After positioning at an interim positioning point B , the tool directly moves to the reference point in rapid traverse. The returning time is shorter than that with the ordinary return to reference in which deceleration LSS are used in all the axes.
With th
Point, ” the reference point return possible area.
The rapid traverse return to reference point becomes possible only after the tool has been
returned once to the reference point in all the
axes by manual operation or by G28, following
the turning on of the power supply.
Rapid traverse return to reference point is ef­fective only with G28. are not changed by it.
Where a for the 4th axis in a G28 command, and when the tool has been returned to the reference point in the X-, Y- , and Z-axis, the tool moves to the reference point in the rapid traverse return mode. If
axis is included in the command, the tool returns to
the reference point in the ordinary return mode,
urdess the return motions in all the 4-axes have been
completed.
For return to reference point in rapid traverse, tool
cannot be moved in RAPID or JOG mode unless
REFERENCE POINT RETURN switch turns off after
completion of reference point return.
2.9.16 RETURN FROM REFERENCE POINT
This code is used to return the tool to its original position after return to reference point by automatic return to reference point
Y..
G28
\
Y..
G29
\
With this function, the motion se-
VIRapid
e
point B may not necessarily be within
Traverse
Return to Reference
Manual return motions
4th axis is used, when no command is given
a command for the 4th
(G29) t
along the same path.
. Z.. . ;
v
Point B
.
Z..
v
. ;
4
/
Point A+B+C
(Reference point)
Point C+B+D
Point D
c
(REFERENCE POINT)
+
1!
~
D/””
/<
RETURN TO
B
(INTERIM POSITIONING
POINT )
/“”
II
7
I’
REFERENCE
POINT
34
d
A
Fig. 2.28
Page 43
When G29 is programmed, it is not necessary to consider the distance between point B and C in the program. Particularly when an incremental command is used, this is effective for returning tool to the original position, after returning to reference zero.
+
Movement of C traverse rate simultaneously along three axes (simultaneously four axes t) by G29. However, in an axis for which a coordinate command was omitted, the tool will not move.
If G28 is programmed a number of times, the
nal coordinates of point B which the last G28
creates is effective for the move of G29.
B and of B + D is made at rapid
An input error without execution of G28 after the control is turned on.
In principle, cancel tool offset before program­ming G28 or G29. offset is also effective. interim positioning point B will also be offset, and the tool passes
point B’ .
1T0591J occurs
If they are programmed when
if GZ9 is given
c
fi
-
/’
(REFERENCE POINT)
4
/
/
EXAMPLE 1 (In the case of absolute input)
Interim point
;+
~
coordinates
XY
(o, 20. ( 30.
+%
, 10. )
N21 G90 ; N22 G28 Z1O. N23 G28 X30. ;
Y20.
F*,
blocks
EXAMPLE 2
G91
w
;
2..
/
.
:
Y40.
Y-40.
1
40
!!024J! occurs
to G89) .
c (REFERENCE POINT)
*
“L+*
Fig. 2.29
if G29 is program-
(G73,
N31 N32 G28 N33 G28 X20. N34 M06 ; N35 G29 X40.
‘~~;
Notes : . An input error
med in tool ‘radius compensation mode ( G41,
G42) or during canned cycle mode G76, G77, G81
z
, 10
.
G74.
,’/7
~,ti
----­/
-w
/
d“
)
0
An input error “058” occurs if G29 is given dur­ing mirror image
The
be taken
G28 does not meet with that of G29.
(1) The following operations are made between
(2) G28 and G29 are commanded in the blocks
(3) G28 and G29 are commanded after manual
2.9.17 RETURN TO 2ND, 3RD AND 4TH REFERENCE POINT
G30 Pn
(where Pn = P2, p3, p4)
With this command, the tool first moves to an in­terim positioning point, and then, moves to the
2nd, 3rd or 4th reference point.
P2: P3: 3rd reference point P4:
If any axis of the coordinate instruction is omitted, the tool remains motionless in the direction of that axis.
Each reference point is specified by the eters (#6612 to #6629) before hand.
A’
followin E
G28 and G29 commands.
. Machine lock
following the block containing M94 which cancels mirror image at the different point from the starting point of mirror image.
operation at Manual Absolute Off.
(G30)
2nd reference point
4th reference point
command or operation must not
bec>use
Setup of coordinate system (G92, ORG key)
Manual operation at Manual Absolute Off
t
X..
.
Y..
.
OFFSET
B
(INTERIM POSITIONING
POINT)
Fig. 2.30
(M95) .
interim positioning point B of
z..
.
AMOUNT
(a t...) ;
When P is omitted,
the tool moves to the 2nd reference
}
point.
param–
35
Page 44
2.9.17 RETURN TO 2ND, 3RD AND 4TH REFERENCE POINT (G30) t (Cent’d)
EXAMPLE
G30 P2 x30. Y50. : The tool returns to the 2nd
reference point moving in the X and Y directions.
When G29 is commanded after G30, the tool moves to the designated point of interim positioning point designated by G 30. However the interim positioning point is renew­ed on the axis designated by G 30.
SKIP FUNCTION (G31)t
2.9.18
G31
X..
. Y.. . Z.. .
(a t...) F...
by
G29 by way
:
Y
(30. ,50.)
INTERIM
POINT
~
H
o
Q
w fi~
Oz
m~ mm
Ub ~:
!x &g
(o, o)
~H MB
~g
(a) First, positioning
30. Y= 50.). The interim point of the G92 coordinate system or work coordinate system (G54 to
(b) Then positioning is executed at the second
reference point as follows :
X-&s
= X-axis machine reference point + (#6612) Y-axis 2nd reference point position
= Y-axis machine reference point + (#6613)
In the above example, when ;
X-axis machine reference point = O, Y-axis machine reference point = O,
#6612 = 10.000 and #661 3 = 20.000 in the G92 coordinate system, the
machine moves to the following positions by rapid traverse.
X-axis 2nd reference point position
= X-axis machine reference point + (#6612) = o + 10.000 = 10.000
Y-axis 2nd reference point position
= Y-axis machine reference point + (#6613) =
(c) Output during stay in the 2nd reference point
(#12014, #12015) is provided in the range of 3 micron
t
Znd reference point.
Notes :
Three items except the last one in NOTES of 2.9.15
AUTOMATIC RETURN TO REFERENCE POINT on page 33, apply to G30 in the same manner.
2
ND
REFERENCE
POINT
G92 COORDINATE SYSTEM
f
G59).
2nd reference point position
o +
20.000 = 20.000
‘x:
\
2ND REFERENCE POINT
SHIFT AMOUNT
ismadeat theintefimpoint (X=
CURRENT
– -
‘-—
‘>
“Sb
(x
= a,
isa
coordinate value
VALUE
I
y=b)
x
(G28)
With this command, a special linear interpolation is commanded.
under the command of this program, whenever a skip signal is inputted, the interpolation is inter-
rupted immediately, and the program advances to the next block.
signal is inputted to the time the control start
to process the signal, delay time is less than
0.5m sec. G31 is non-modal.
EXAMPLE
N1OO G90 G31 X1OO. Y50. N200 GO1 x80.
SKIP SIGNAL
During the interpolation movement
From the moment that a skip
;
Y15.
;
IS
INPUT HERE
\
Fig. 2.31
When being inputted, the machine stops at the end of
‘G31 block is executed without a skip signal
the block, and the alarm code “087” is displayed. Feedrate of the tool is set for G 31 blocks selec-
tively by one of the following two methods as specified by parameter
#6019D4.
(100.,
To be specified by F similar to ordinary pro-
grams.
To be set in advance by parameter #6232.
When a skip signal is inputted, the coordinate values at the moment are automatically stored as parameter data.
storing X coordinate value
#6552 #6553
#6554 . . . #6555 . . .
t
. .
storing Y coordinate value
...
storing Z coordinate value
storing 4th coordinate value
5a)
36
Page 45
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 user macros.
When a skip signal is not given in spite the exe­cution of G31 by setting ( #6004DO) , the program moves on to the next block automatically.
Note : near the skip final reference point, the dead zone exists in the skip signal processing in the range shown below. At this time, alarm “87 occurs when #6004 value of the commanded axis is stored in #6552 to #6555.
When actual skip stop detecting position is
f)o = O. When #6004 Do = 1, the final point
*
SKIP SIGNAL IS INPUT HERE
Y
N
10il
A-
I
I
C
(100.,50. )
ACTUAL MOTION PATH
(80.,15. )
Table 2.21 G codes of Tool Radius
Compensation C
G code I Group
G40
G41
G42
Note:
1
07
07
07
When the power is turned on, G40 is effective.
I I
Cancellation of tool radius compensation C
Tool radius compensation C , left
Tool radius compensation C , right
Meaning
Note that the directions of compensation
(right, left) indicated above are reversed
when the sign of the tool radius value in the offset memory designated by a ative. the block containing G41, G42 or in a preced­ing block. will be regarded as “O.
Make sure to designate a D code in
If DOO is commanded, tool radius
G41
(LEFT)
D code is neg-
(Metric input)
\a]<1000XF
(Inch input)
lal<10000XF
KP : Position loop gain constant (1/S)
F: Reference speed (metric input : mm/min,
inch input : inch/rein)
2.9.19 TOOL RADIUS COMPENSATION C (G40, G41 , G42)
It is possible to specify the radius of the tool and to cause automatic tool path offset by this value. Store the offset value (tool radius value) in the offset value memory in advance by MDI, and pro­gram the tool offset number correspond to the tool radius value by a D code in the program.
1.
Designation of compensation direction and of D code
Tool radius compensation C is programmed with G41, G42 and is
G41 and G42 indicate the directions of tool offset with respect to the direction of move­ment.
~+~
[
7500 60 XKP
~+~
[
7500 60 XKP
t
cancelled
2
+
1000X60
2
+
1000X60
by G40.
)
1
TOOL
PROGRAMMING
%
Switching between G41 and G42 can be made in compensation mode. Details will be given in item 5 on page 40.
2.
Designation of compensating plane
The plane in which tool radius compensation is made
is designated by G17, G18, G19. They are G codes of 02 group. The in effect at the time power is turned on.
Table 2.22 G Codes for Designation
G code
G17
G18
I
Group
Fig. 2.32
of Planes
02 02
D
G42
(RI
GHT
)
XY-plane (G17) is
I
Meaning
XY-plane
ZX-plane
G19 I 02
Note: When the power is turned on, G17
is effective.
I
YZ-plane
37
Page 46
Page 47
4.
Movement in compensation mode
When after the tool radius compensation is programmed by G41, G42, the tool moves along the offset path until the instruction G40 is
given.
As talc made by the control, designate only the shape of the tool path is controlled as follows depending on the angle between blocks.
A. Inside corner ( 180° or less) :
Intersection computing type
B. Outside corner (over 180°) :
Circular path type (in the case of M96)
ulation of the path is automatically
workpiece
Fig. 2.35
in the program. The
M96 . . . Tool radius compensation circular
path ON
M97 . . .
Normally, M96 is used for this operation, however,
“overcut”
M96, M97 should be used.
c. Movement in GOO mode
The instruction GOO positions tools independ­ently along each axis toward the final offset position. path.
Tool radius compensation circular path OFF (execution of intersection computation)
when there is a possibility of an
in cutting special shapes with the
Care should be taken on the cutter
G
OO
OR
GO1
Fig. 2.36
In this case, included in the former block.
Code M97 can be used to machine the outside cor­ner by the intersection computation, depending on the work. For details, refer to 2.8.6, “CIRCULAR PATH MODE ON/OFF ON TOOL RADIUS COMPEN­SATION C
movement of circular path is
(M97, M96)t” on page 17.
/
/
/’
/
/
d
&
00
(In
Fig. 2.37
M96 mode)
GOO
OR
GO1
39
Page 48
Page 49
EXAMPLE
G17
x.. . Y.. . ;
If no move command is programmed in three continuous blocks, offset in the block immediate before them is made on the normal line at the end point. Where movement the compensation plane cannot be programmed in three or
GO1 G41 X..
x..
.
Y..
. ;
G04 P1OOO ;
. . .
x Y.. . ;
x..
.
Y..
. ;
. . .
z
. . .
z
. . . . . .
x
Y
x.:.
Y..
. ;
X..
G40
.
. Y.. . D.. . F.. . ;
T
}J
Y..
. ;
Blocks without movement in compensation plane.
(When these blocks are within
two, machining is made smoothly. )
in
more continuous blocks for retracting in the third axis or the like, and offsetting on the normal line is not ry, a dummy block can be inserted by I, J or K.
satisfacti-
EXAMPLE
NOO1 G17 GO1
X..
NO02
NO1O X.. . Y.. . ;
NO1l 1.. . J.. . ;
N012 Z.. . ;
N019 Z.. . ;
~--––– IN020 X..
l–––_”__
N029
N030 G40
. Y.. . ;
--—-
y_
X..
. Y.. . ;
1
-——
”:”__;__;
X..
G41 X..
1-
1
. Y.. . ;
. Y.. .
XY-plane
1
Z axis
(~~~$e)
1
———- -——— --
XY-plane
D..
. F.. . ;
Dummy block
4
I
I
~
;
N012[ IN019
NOIO
Y
P
1
It
J
I
—-.
I
Fig. 2.39
020
(x,
.
Y)
41
Page 50
2.9.19 TOOL RADIUS COMPENSATION C (G40, G41, G42) t (Cent’d)
The dummy block is not programmed for actual move-
ment but it only provides data required for tool radius compensation computation. In the example indicated above, an instruction that is the same as the first block
(N020)
of restarted movement of the
movement of Z axis is programmed as a dummy by I and
J. I, J and K are used as the addresses of this dummy
instruction, and they correspond to X-, Y-, Z-axis respectively. Suitably use them in accordance plane designation.
EXAMPLE
X..
.
Y..
N050 GO1
[
N051 GO1 I(b)
N052
N053 2.. . ; N059 Z.. . ;
N060 G03 X.. . Y.. . I(a) J(b) ; — Circular
N061 GO1 X.. . Y.. . ;
2..
- ;
. ;
J(-a)
z-axis
1
XY-plane
; —
after
witi
the
Dummy block
I:
Dummy for X-axis
command Dummy for Y-axis
J:
command
programmed in
incremental
values
K: Dummy for Z-axis
command
If X... Y.. . the above example, give an instruction by con­verting into incremental values.
Note: Make a dummy block as follows if the
object of the dummy block is circular interpolation.
I
1
interpolation
‘1
of N020 is in absolute values in
~052
!
~
~059
,1
.O-O
II -’ a
Y
N%
\
\
\
\
b
l---x
N060
CENTER
.“
b
1
N051
: DUNMY BLOCK
(LINEAR)
~is
is, insert a linear dummy block that gives the tan­gential direction at the start point of the circular inter­polation program block as shown above. The sign of the dummy block data depends on the shape of the circle.
The tool stops at point A by the dummy block in prepa-
ration for the next circular command.
-ACENTER
:x-
‘------
/
1
/
,4
/’
Y
*
L
Switching between G41 and G42 in compensa-
6. tion mode
In compensation mode, direct switching between
G41 and G42 is possible without making cancel-
lation with G40.
x
Fig.
2.41
\
\
I
\
‘~ ,0,,
DW
BLOCK
Fig.
2.40
EXAMPLE
N1O G17
Nll G41(G42) D.,
N20 GO1
N21
G42(G41) X..
N22
GO1 F..
X..
. Y.. . F.. . ;
. . .
x
. ;
. ;
. Y.. . ;
Block of switching
42
Page 51
Page 52
2.9.19 TOOL RADIUS COMPENSATION
(G40,
G41, G42) f (Cent’d)
EXAMPLE A
(a) G41 (G42)
GO1 X.. . F.. . ;
G40 X.. . Y.. . ;
C
EXAMPLE B
(C) G41
(G42)
G02
GO1
x.. . Y.. . ;
G40 ;
X..
.
Y..
.
I..
.
J..
. ;
G41
--
2
G42
? ‘-
L-
(b) G41
(G42)
G02
GO1 G40 X.. . Y.. . ;
X..
x
.
/
Y..
TOOL
,/;?’
,/
/
/
.
1..
/
.
J..
TOOL
G40
. ;
G40
(d)
G41 (G42)
G02
X..
GO1
G40 ;
A
CENTER
.
Y..
. 10. .
J..
. ;
.G40
44
.’
/“
/
I
A
CENTER
Fig. 2.44
Fig. 2.45
In all cases (a) through (d) described above,
the tool reaches the programmed end point via the offset position on the normal line at the end
point of the block immediately before G40.
CENTER
Page 53
Page 54
2.9.19 TOOL RADIUS COMPENSATION C (G40, G41, G42) t (Cent’d)
F.
An input error occurs if a G code,
G19 of plane designation for changing the
compensation plane is programmed during compensation.
G.
Program circle cutting canned cycles to G89) in the tool radius compensation cancel mode. cutting incorporate tool radius compensat­ing functions in themselves.
11024!! occurs
compensation mode.
H.
Tool radius compensation C is also possible on circular interpolation by radius designation.
(G73,
Circle cutting and helical
when
(G12,
G13) , and
G74, G76, G77, G80
they
are
programmed
G17
to
Input error
‘n
N102
‘\
‘v-
r-
~
N1OO
.
/
/
I*
P
L
Advance reading of blocks is prohibited
M.
when MOO,
given, and compensation is usually inter­rupted. sation is secured by programming 1, J, K in a dummy block immediately before MOO, MO1 to avoid interruption.
x
MO1 (1402,
Continuation of correct compen-
--
*
\
b’
f
DUMMY BLOCK USING
CODES:
I, J
Fig. 2.50
M30) commands are
N101
I.
Subprogram compensation mode.
J.
Compensation is applied to the projection to the compensation plane designated by G18 or G19 when simultaneous movement along three axes (four grammed in compensation mode.
(M98, M99) can be programmed in
axest maximum) is pro-
COWLETING
POSITION OF PULSE DISTRIBU­TION OUT OF THE
COMPENSATION PLANE .
COMPENSATION
A
LANE
K.
Input error terpolation is programmed out of the plane designated by
I-”*
Fig.
2.49
1! 046!1 occurs
G17, G18 or G19.
73
when circular in
G17,
(G41)
N200 GO1
I
N201
N202
I
N203
Up to 99 radit~s values can be stored in the
N.
offset memory in total for the tool radius compensation , together with the values for
other compensation. a D code. of tool radius compensation is
f99.
(or
Overcut
o.
med on a step less than the too! radius in M96 mode.
-
undersize cut is better than overcut with the M96 mode.
X..
.
Y..
. ;
. . .
I
MOO ;
x..
. Y.. .
The maximum programmable value
9999 inch) .
occurs if compensation is program-
Keep this in mind. Although
orcurs
;
]-
J.. .
Make designation by
with the G97 mode , it
Command
1
I
--l
;
*999. 999 mm
movement data N203 using I, J
Offset position may be temporarily modified
L.
by programming a dummy block using ad-
dresses I,
J,
K.
(G42)
N1OO
GO1 N101 N102
X..
,..
I
. . .
x
.
J..
Y..
. ;
. ;
46
-,---g:,cuT *:
(a)
M96 mode
Fig. 2.51
UNDERSIZE CUT
(b) M97 mode
Page 55
P. Even in M96 mode, the tool moves directly
toward point B without making circular path,
if
both AX and AY are smaller than a fixed
value as shown below.
this case is the value set by parameter
(#6230).
AX
/’
\
,/
/
,
9
\l
\
The fixed value in
B
--—— — MOVEMENT
OF TOOL
\l
,1
11.
Intervention to active buffer in compensation mode
The data given below can be programmed in com-
pensation mode of G41 or G42 with procedures identical to those of MDI operation, after turning on the SINGLE BLOCK switch to suspend the block, and then, selecting the RAPID or JOG mode.
Programmable data: F, M, S,
Programmable block:
In addition to the block of commands
of the active buffer just executed
Tand B+
codes
\
\
‘~r
PROGRAMMING
AX:Y
AY~y
Y y:
I
1
Set value of
parameter #6230
I
l--x
Fig. 2.52
10. Intervention of mode
MDI operation can not be intervened in com-
pensation mode.
MD I operation in compensation
When the CYCLE START button is pushed in RAPID or JOG mode after programming, the com-
mands are immediately executed and signals such
as BCD output are sent out. Automatic operation
STA~
can be resumed when CYCLE returning to the original automatic operation mode.
Note:
items, the following M codes cannot be written.
In the operation described in these
MO1,
MOO,
M02, M30, M90 to M199
is made after
47
Page 56
2.9.19 TOOL (G40, G41, G42) f (Cent’d)
RADIUS
COMPENSATION C
EXAMPLE A
o
DO?4?lY
BLOCK-
/
START POINT
z-
Outside cutting
G41
L
Inside cutting
G42
+
— +x
~~~~~,ol
@G17 (GOI) F300
@G41 D21
@Y140. ; —
@x30. @G02
@Gel @Y-loo. ; @x-40. ;
@G03
@GOl
Z-25.
_
; – XY
;
Y40. ; X1OO. 150. ; X30. Y-40.
x-80. R50.
X-70. ;
Incremental;
lowering
plane
feed command
— Tool radius compensation
start command
Z
axis
designation,
with
tool
@
@
@
offset No. 21
@ G42 ,G(ll) X130.
Offset to a point on the
Y90. normal line of start point of this block.
@
@
@
Outer Cutting
-R designation circular arc
@ @
G02 x80. 140. ;
@
GO1 Y-30. ;
@
@
@ @ ::0;:0,)
J-20. ; —
Z25. ; —
MO1 ; —
F2000 ;
Z-25.
Y-40. x-60. ;
Y30. ;
x-60. ;
F150.;
F300
;
Y30. ; —
225. ; — X-60.
F2000
;
Dummy block (for modi­fying offset position)
Z
axis
elevation
Two
blocks without move­ment on the
Optional stop
designated
1
plane
Switching of direction of
+
compensation (left
right)
Z axis lowering
Inner Cutting
Offset to a point on the
normal
line of end point
of this block Z axis elevation Compensation cancel
command
48
The same effect is obtained even when the commands
are
not made.
They are entered for ease of understanding.
in parentheses
Page 57
EXAMPLE B
LI
.-
\
(G40)
G91 GO1
20,
1
40.
z-25. F150 ;
F300 ;
G17
20.
40.
+Y
L
+x
D20 X20. ;
G42
X-20. Y-20. 1-20. ;
G02
X-40. ;
GO1
Y30.
;
G02
x80. 140. ;
Y-30. ;
GO1
X-40. ;
G02
X-20.
G40 GO1
With the inner cutting in EXAMPLE A, the double cutting allowance at the cutting start and cutting end varies with the tool radius. with zero double cutting allowance regardless of the cutter radius is shown in EXAMPLE B.
X20. ;
Z25. ;
Y20.
Fig. 2.54
J20. ;
An inner cutting case
49
Page 58
(GO1) Z.. . ;
2.9.20 TOOL LENGTH COMPENSATION
(G43, G44, G49)
t
The tool length compensation function is for add­ing or subtracting the stored tool offset values to the Z-axis coordinate instruction values for the purpose of compensating for the deviations in tool length,
G codes for tool length compensation
G code Group
Meaning
B.
G43(G44)
With this command, the tool is shifted by the distance specified by the G code.
c.
G43(G44) Z..
H.. . ; . . . . .
With the command (2) , the tool is shifted
by the difference between the previous
tool offset value and the new tool offset value.
H.. . ;
.
H..
. ;
(2)
(+)
G43
G44 G49
G43 and G44 are modal functions, remaining effective when once commanded until
tion by G49.
G49 cancels tool length compensation effects. HOO also cancels tool length compensation effects.
The tool length compensation function is pro-
grammed in the following format.
(GO1)
A.
G43(G44)
With this command, the tool moves towards
the Z- coordinate position which is
the sum of (or difference between) the H value and the Z value. tool point is displaced from the specified
Z-coordinate position by the distance spec­ified by the H code.
08
08 08
Z.. .
H..
direction
( -) direction
cancel
cancella-
. ;
As the” result, the
When G43, G44 and G49 are to be commanded, the accompanying 01 group G codes must be
GOO, GO1 or G60.
this is regarded as an error.
Direction of shift The direction of tool shift is determined by the
sign of tool offset value as programmed in the H code and by the G code used.
\
G43
G44
Plus direction Minus direction
Minus direction Plus direction
When G02 or G03 is used,
Sign of tool offset value
Positive Negative
50
Page 59
EXAMPLE
H1O . . .
Hll ...
N101 G92 N102 G90 N103 G43 N104 GO1
N105 GOO
Offset value: -3.0 Offset value: 4.0
CRT display including offset value
(Z-direction only)
Zo ; GOO X1. O Z-20. H1O ; Z-30. ZO HOO ;
F1OOO ;
Y2.
O ;
0.000
0.000
-23.000
-33.000
0.000
2.9.21 TOOL POSITION OFFSET (G45 TO G48)
Tool position offset is for extending or reducing the move-
ment value designated in the program by the values in the tool offset memory, and is mainly used for tool radius compensation for square patterns. Therefore, this func­tion is not required with controls equipped with G40, G41, G42 (tool radius compensation C).
1.
G codes of tool position offset
G code Group
G45
*
Extension
Meaning
N201 GOO N202 G44 N203 GO1 N204 GOO
Notes :
When the tool offset value is changed MDI function while programs in mode is in execution, the change is effective from the block containing
The tool position offset function or the tool radius compensation function is effective on the tool which is already offset by the tool length compensation function.
G43, G44 and G49 can be programmed in ned cycles. If they are programmed, this is regarded as an input error.
When a G92 command involving the Z- axis is
given during the execution of a program in the tool length compensation mode, the tool length compensation is canceled. In principle, when G92 is to be programmed, the existing tool length compensation mode should first be can­celed.
During the automatic execution of a program in the tool length compensation mode, the number of the effective tool compensation memory (H code number) can be displayed. MAND DATA DISPLAY “ G43, G44, and G49 com­mands must be given in GOO or GO1 mode. When G43 is commanded in G02 or G03 mode, no alarm is triggered but correct motion may not be made.
X-2. O Y-2. O ;
Hll
Z-30. Z-40. ZO HOO ;
;
F1OOO ;
-34.000
-44.000
0.000
tie
D code.
For details, refer to 4.3.2, “COM-
b~
the
offset
can–
G46
G 47 G48
ACTUAL TOOL
POSITION
PROG~D
TOOL POSITION
Reduction
*
Expansion by double
*
Reduction by double
*
-L
~ ,
W-zo.000
.~-23.000
I
WV
/
.,
-30.000
-33.000
U
... .
ACTUAL
PROGRAN
‘:TION Q
TOOL POSITION
U.40000
2.
G45 to G48 extend and reduce the movement value programmed in the block, in the tion of movement by the tool offset value.
“..,,.
‘.L—
-30.000
-34.000
-40:000
direc–
Extension or reduction is made only in the block in which G45 to G48 are programmed and movements in other blocks are unaffect-
Therefore, to restore extended or re-
ed. duced values to the original program values, an extension or reduction in the opposite
direction must be programmed eventually.
51
Page 60
2.9.21 TOOL POSITION OFFSET (G45 TO G48) (Cent’d)
Make program command by incremental designa-
3.
tion (G91) for making the above operation clear. When the command is given by absolute designa-
(G90),
tion the direction of movement to the movement value from the end point of the preceding block, to the command target point. That is, extension and reduction are made to the incremental movement amount. The programming may become complicat­ed.
extension and reduction are made along
EXAMPLE
G 91
@
GOO G46
@
GO1 G47 Y... (DO1) F... ; . . .
@ @
@ @
GOO G46
G47 X.. . G47 Y.. .
G47
X... Y... DO1
(DO1) ; . . . (DO1) ; ~ . .
X..
(DO1) ; . . .
.
X... Y...
; . . . Reduction
(DO1) ; . . .
4.
When programming
tool offset number by a D code simultaneously with axis designation. modal, they may be omitted if the same D code is used. the tool offset value memory.
Extension by double Extension by double Extension by double Extension by double
Reduction
G45
to G48, designate the
Because D codes are
Store the tool radius value in
Y
Extension and reduction
5.
Extension or reduction is determined by the sign of the tool offset value designated by a D code in addition to the G code.
Sign of tool offset value
Positive
G45
Extension Reduction
G46 Reduction
G47 G48
N ote: In general, tool offset value should
Extension by double
Reduction by double
be “positive. “
Negative
Extension
Reduction by double
Extension by
double
r——————————— -1
Fig.
@
2.55
6.
Values of extension and reduction
A. Programmed incremental move values are
extended or reduced by the designated tool offset values or by twice their values.
G91 GOO G47 x6o.
~:E---?
t
START POINT
100.
Fig.
D1O ; D1O = 20.
(
EXTE
NSION By DOUBLE)
END POINT
(
TOOL
MOVEMENT)
2.56
52
Page 61
B . Where extension or reduction is applied to
an axis in the preceding block and the start point has already been offset, the total move­ment value is identical to that described a­bove, but the distance is measured from the offset start point.
With a command same as that described above :
~“-’~’’””o”
!
START
\
POINT
Offset value by preceding block
Note:
G46 X1O. D1O ; D1O = 20.
100.
Fig. 2.57
Where the tool offset value is larger than the programmed movement value, the direction of movement may be re­versed when extension or reduction is applied.
1
END POINT
(TOOL MOVEMENT)
‘y
‘0”’”)
%---em””)
In practice , correct radius compensation of circular arc is made if an offset is applied in the preceding block.
G91 GO1 F..
G46 G45 Y.. . ;
G45 G02
GO1 X..
TOOL
. ;
X..
. Y.. . D1O ;
X..
.
. ;
MOVEMEN< ,/z
I
——
/A
,“
&
START POINT
Y.. .I.
. . ;
/’
II
PROGRAMMING
CENTER
END POINT START POINT
(TOOL MOVEMENT)
Fig. 2.58
7.
The above applies to X- andY-axis, butG45 to G48 may also be programmed to
the same manner.
8.
Application to circular interpolation If I, J, K are programmed in the block with
G45 to G48, extension or reduction
respectively in the same directions as X, Y,
z. Therefore, tool radius compensation is possible with 1/4 circle,
G91
G45 G02 X50. Y50.
MOVEMENT OF
TOOL
PROGW~ING
T
/“
nl
>-””--?~
/
/
/’
;
kw?
Fig.
3/4or
150. D1O ;
G
EXTENSION OF I :
20.
2.59
EXTENSION OF X:
20.
Z-axis
is
made
full circle.
D1O = 20.
,
XTENSION
20.
in
“, ,,
Note:
When it is necessary to program 1/2 circle , assemble them using 1 /4 circle.
Fig.
2.60
(a)
G45
UNDERSIZE
CUT
——
G45
(b)
Fig. 2.61
53
Page 62
2.9.21 TOOL POSITION OFFSET (G45 TO G48) (Cent’d)
9. When programming G45 to G48, the
group can be given together in the same block. An input error occurs if command is given with other G codes.
10. When only movement by offset in the incremental designation (G91) is required, program “O” as the axis move command.
GO1
G91
G91
It
11. H code or D code can be selected by parameter setting of the tool position offset (G45 to
set number command.
H code or D code number command, by parameter setting.
G45 XO
. . .
. . .
is
Movement is made in the positive direction along both X and Y axis
by the offset value with
GOO G46 XO
Movement is made in the negative
direction along X axis by the off­set value
meaningless to give a
YO
D1O F.. . ;
Dll
;
with
D1l.
siEn
can be selected for offset
Gcodeof
D1O.
to “O. “
G48), off-
Ol
Setting parameter
#6073
D2
=
1:
H code only is effective
= O : D code only is effective
Notes :
When
G45 to G48 are programmed as the simultane-
ous move command along two axes, extension or reduction is made in the two axes. Overcut or under-
size cut will occur if this is applied to cutting. Keep
this in mind.
Even when the offset value is changed by MDI, the offset command previously programmed will not be affected. It becomes operable when G45 to G48 are programmed thereafter.
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
(GIT/G18/G19)
G45
to G48 can not be
ned cycles mode.
this is programmed.
If G92 is programmed in the offset mode, program­ming of coordinate system is made after the offset
value is canceled from the designated axes. In princi-
ple, program G92 after returning 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
4.3.2.3, “DISPLAY OF TOOL OFFSET STATE:
COMMAND (OFFSET)
of
plane designation.
programmed in the can-
An input error
.“
will
occur if
Refer to
Page 63
EXAMPLE A
i?
.
z
30. ,
I
3
d
I
I
! I
I
L>
–-––-–––––—––––-––-––- .-
30.
,
G91
GO1
Z-25. F150 ; G46 x40. Y40. G45 Y70. ;
G45 G02 X30. G45 GO1 X30. ;
Y-50. ;
G48 x50. ;
Y50. ; G47 X70. ; G47 Y-60. ; G46 XO ;
G46 G03 x-40.
GO1
G46
YO ; G47 X-140. ; G46 x-40.
z25. ;
1
140.
50.
Q
Y30.
Y-40.
Y-40. ;
D1O F300 ;
130. ;
J-40. ;
+Y
L
+x
Fig. 2.62
55
Page 64
2.9.21 TOOL POSITION OFFSET (G45 TO G48) (Cent’d)
EXAMPLE B
@
Q
@
G45 G03 X40.
@
G45 G03 X-40. Y40. 1-40. ;
@
G46 GO1 X-20. ;
@
@
@
G45 G03 X-50.
@
G46
@ @ o
G46 X 30.
G45 X70.
Y50. ;
G45 X-50. ;
GOI YO
X50. ; Y-80. ;
G46 x-30.
Fig. 2.63
Y40. D15 ;
Y40.
;
Y-40. ;
J40. ;
Y-50. J-50.
;
56
Page 65
2.9.22 SCALING FUNCTION (G50, G51 )
With this function ,
med by part programs can at any desired scale .
The following G codes are used for this function .
G
code
7
G50
G51
workpiece
Group
15 15
contours program–
be enlarged or reduced
Scaling OFF Scaling ON
t
Meaning
Where the work coordinate system is specified, I, J,
and K in the G51 block designates the distance
between coordinate system origin and scaling center.
400,
1
Y
N1
G92 XO YO :
N2 GOO G90 X200. Y1OO. ;
G51
~~
1200.
SCALING CENTER
N3
J200.
;
Example
Note: reset, the control is in the state of G code marked
G51
1.. . J.. . K.. . P.. . ;
With this command, the program is executed on an enlarged or reduced scale with the scale ratio spec­ified by P, and the center of scaling specified by I, J, and K.
G50; command cancels the scaling mode.
When power is applied or the control is
with-.
Work Coordinate
System
Shift (200, 100)
The enlarging and reducing scales can be se-
lected
lEnlarging
Reference unit for P is : When P command includes decimal number , num-
wit~in-the
and reducing range I 0.000001-99.9999991
bers after decimal point are regarded as digit numbers.
Example
Po.
999999
P2.
O
P2
When P (designating multiplication) is omitted, multiplication is determined by setting #6500 and
#6501.
Multiplication
following
0.999999 time 2
times
~ange.
1 =
0.000001.
0.000002 time
#6500
=
#6501
six-
Notes :
Example
Where setting #6500
Multiplication factor =
=
3, #6501 = 100
=
0.03 times
&
Multiplication should not exceed the enlarging and reducing range.
When 1, J , or K is programmed in the G51 com­mand, scaling functions on the axis designated:
. . .
X-axis, J. . . Y-axis, K. . . Z-axis.
I
Scaling will work only on the axis selected by I,
J,or
K.
Example
G51
1100 JO PO.8
With this command , scaling will work on X- and Y-axis and not on Z-axis.
G 92
Y
G54
400.
N1 G54
N2 GOO G90 X200. Y1OO. ; N3
G51
1200. J200. ;
400.
Amount
Scaling is turned on when approaching for
usual machining and off after retraction on completion of approaching. on scaling during machining will not form the correct contour.
Scaling is executed on the two axes on machin-
ing plane.
atis ,an alarm occurs at circular command be-
cause scaling cannot work according to circular
command.
Block commands
and G50 ; If X, Y and Z commands coincide in the same block, an alarm will occur.
When the scale ratio of one or more is program­med, the resultant command value should not exceed the maximum.
Scale ratio O cannot be commanded. If com­manded, an alarm will occur.
Scaling is not effective on compensation value. Canned cycles cannot be executed with scaling
commanded on Z-axis. ed on Z-axis during canned cycle execution, an alarm will occur.
When operation is reset (reset pushbutton, M02, M30
command), scaling is turned off
200,
11:
If scaling is executed on a single
should be programmed independently.
~>
Fig, 2.64
G51 I..
If scaling is command-
SCALING
CENTER
Turning off and
.
J.,
.
K,.
.
p..
(G50).
. ;
57
Page 66
2.9.22 SCALING FUNCTION (G50, G51 ) t (Cent’d)
Display of command and position will show the values of command and position after scaling is finished.
The following G codes cannot be commanded during scaling. If commanded, an alarm will occur. G28, G29, G30, G31, G36, G37, G38, G53,
Scaling ( G51) command cannot be given during tool radius compensation C.
Alarm codes for scaling are listed below.
Table 2.23 Alarm Codes for Scaling
Alarm Code
050
051
.
Scaling should always be commanded by G51 and G50 as a pair. Commanding G 51 during
scaling mode is ignored.
I
G50 and G51 blocks not commanded independently.
.
Multiplication factor set as O.
.
Unusable G code commanded during scaling Scaling function working on Z-axis during canned cycle.
.
Scaling during compensation C.
Causes
(G51)
commanded
G92
2.9.23 WORK COORDINATE SYSTEM SETTING A (G52 TO G59)
Six types of work coordinate systems correspond­ing to six G codes, G54 through G59, are avail­able for selective use.
. There are three types of coordinate systems as
follows .
A. Basic coordinate system
This is the basic coordinate system to be set up by G92, by the ORIGIN key, or by the automatic coordinate system setting ti on. until any of these actions will be made, the tool position at the time of turning on is treated as the temporary coordinate origin.
B . Work coordinate system
When any of the G codes G54 through G59 is
commanded, a coordinate system with the origin shifted by the amount set by the setting numbers corresponding to that G code is set up. The coor­dinate systems set up by these G codes are referred to as work coordinate systems, and when a work coordinate system is set up, the tool
controlled to it. Since there are six G codes for work coordinate systems, up to six work coordi­nate systems can be used.
C. Machine coordinate system
This is a coordinate system which is fixed
to the machine, and is is returned to the reference point. coordinate system has its (O, 0, O) point at the reference point.
t
When the power supply is turned on,
set
up when the tool
func-
wtll be
This
The setting number for setting the shift amounts for G codes from G54 to G59 are as follows.
Table 2.24 Work Coordinate System Setting A
G code
G54 G55 G56 G57 G58 G59
Setting
up work coordinate systems
(G54 <o E59)
G54 (G55, G56, G57, G58 or
When this command is given, from that time on, the
tool will be controlled by the work coordinate system.
Coordinate system
Work coordinate system 1 Work coordinate system 2 Work coordinate system 3 Work coordinate system 4 Work coordinate system 5 Work coordinate system 6
G59):
58
x
#6516 #6522 #6528 #6534 #6540 #6546
Returning to basic coordinate system ( G52) G52 ;
With this command, the currently effective
work coordinate system is cancelled, and the basic coordinate system becomes effective
Y
#6517 #6523 #6529
#6535 #6541 #6547
z
#6518 #6524 #6530 #6536 #6542
#6548
a
#6519 #6525 #6531 #6537 #6543 #6549
again .
Page 67
EXAMPLE
N1 G90 X1OO. Y200. ;
N2 G54 ;
N3 X1OO. Y300. ; N4 X300. Y200. ; N5 G52 ; N6 Xo Yo ;
Temporary shift to positions on machine coordi­nate system
(G90) G53 X... Y,.. Z... ; With this command, the tool is shifted to the
position (X, system only in this block. G53 is a non-modal G code.
Y , Z) on the machine coordinate
.,
Y
400.
300.
N1
200.
[h
~
100.200. 300. 400.500. 600.
30
20
io .
N3
4, N5
2
Fig. 2.65
EXAMPLE ( Reference program)
N1 G92 X200. Y1OO. ;
N3 G54 G90 X1OO.
N4 G53 X300. Y1OO. ;
N5
X300. Yo ;
N6
G52 ;
N7
Xo Yo ;
Y200. ;
SHIFT AMOUNT FOR WORK
COORDINATE SYSTEM 1
(200.>
100.)
700. 800. ~
BASIC coO~IN’TE
SyST~
\
ABSOLUTE ZERO
Fig. 2.66
r,
SYSTEM
COORDINATE SYSTEM
BASIC COORDINATE
SYST~
800. –
700.
-
600.
-
500.
-
400. -
300.
-
200.
. .
100.
N6
700. 500
600. 400
[[
SHIFT AMOUNT OF WORK COORDINATE SYSTEM 1
500. 300
11
400.
20Q
300.
10Q
200.
100.
I
N3
-
-
(300., 300.)
I I
I
00.400.500. 600. 700.800.
I
I
N3
N1
I
I I
I
I
1
I
I
200. 300. 400. 500.600. 700. 800.900.
I I
I
I
I
I
I
!
I
I
I
100. 200. 300. 400. 500. 600. 700.800. 900.1000.1100.
Fig.
2.67
WORK
COORDINATE
SYSTEM
1
MACHINE
COORDINATE SYSTEM
BASIC
COO~INATE
SYSTEM
59
Page 68
2.9.23 WORK COORDINATE SYSTEM SETTING A (G52 TO G59) t (Cent’d)
Notes :
The shift amounts for work coordinate systems
be specified by programs with G1O com-
can
mands, in addition to the MD I writing. For details , refer to 2.9.8. DESIGNATION (G1O).”
Work coordinate systems set up
G59 are canceled by the G52 command, and the basic coordinate system becomes effective again.
When a work coordinate system has been set up by any of the commands G54 through G59, the selected
shift amounts can not be changed even when they are rewritten.
The rewritten shift amounts will become effec-
tive when a new work coordinate system com-
mand is executed.
G53 commands should only be given under the
following conditions.
not satisfied, the commands are regarded as
errors.
The mirror image function is not used.
(1)
(2)
No canned cycle is in use and no tool com-
pensation C is in use.
(3)
If a 01 group G code is used, it is
GO1 or G60 and nothing else. G53 command is executed with the machine
If a lock function on, the current value displayed changes sequentially until the command value corresponding to the machine lock function off
state will be displayed. If the machine lock function is switched on and off during the ex-
ecution of G53 blocks , correct positioning can not be achieved.
However, when a complete G53 block is
ed with the machine lock function off, correct positioning is achieved as programmed, even when the machine lock function is switched on and off before that block.
G53 commands should be given in the G 90 mode.
If they are given in the
values are regarded as G 90 mode values. When work coordinate systems are to be changed
with any one of the G54 through G59 commands, the program should be written so that a new coordinate system will be set up in the G90 mode and the basic coordinate system will be reset in the G90 mode.
If a G53 command is compensation or tool position offset function is on, the tool offset value rarily. Generally, when giving a G53 command,
the tool length compensation and tool position offset commands should be canceled in advance.
. If a G 53 command is given while the tool
position offset command is ON, subsequent programs will be as follows :
“ TOOL OFFSET VALUE
by
G54 through
If these conditions are
GOO,
execut–
G91 mode, the command
~ven
while the tool length
is deleted tempo-
(1)
If subsequent programs are given in
incremental mode, it will cause the tool to move by incremental amount given from reference point as a command. (Offset amount not considered. )
(2)
If subsequent programs are
absolute mode, it will
move by “absolute position plus offset amount” given as a command.
When any one of the commands G54 through
G59 is given while the tool length compensation or tool position, the compensation remains effective. Generally,
when any one of the commands G54 through
G59 is to be given, the tool length
compensation or tool position offset command
should be canceled in advance.
m
G54 ;
1
~“
Shift amount for Z axis is 1300.
G54 shift: Z
HO1
Offset:
. If G92 is given during execution on the work
coordinate system set up by G54 through G59, G54 through G59 or the basic coordinate sys­tem is shifted so that the current position is to be a shifted position by G92, G92 should
not be used in G54 to G59 modes in general.
WORK COORDINATE SYSTEM SETTING B
2.9.24
(G52 TO G59)
(1) Outline of work coordinate system-setting expansion Up to 30 types of work coordinate systems can be set with the expansion of the work coordinate
= 100.
t
cOMzlOO-
I
cOM “
= 300.
given
cause~he
100
in
tool to
systems of specification A (6 types) by using
Jl
commands G59. The expanded area will be set by #6700
-#6771.
The four axes X, Y, Z,
G59 and G54 (J 1) to G59 (J
ands
J2 to J5, only three axes X, Y, Z can be set but
the 4th axis cannot be set.
(2) Setting numbers for specifying work coor­dinate system shift
to J5 at the same time as G54 to
a
, ~, can be set since G54 to
1)
are the same. In
comm-
60
Page 69
Page 70
Page 71
Page 72
2.9.25 WORK COORDINATE SYSTEM SETTING C
(G52 TO G59)
t
(Contd)
(4) Work coordinate system setting
Setting is performed in the same way as for work coordinate system setting B.
move the work coordinate system.
(a) G54 Jn;
With this command, all later programs move on the
. .
speclfled
modal commands.
(b) The G54; command and G54 (c) Commanding numerals exceeding J6 causes alarm
11129+!1
(d) When J2 to J5 are commanded, the shift amount of the 4th axis becomes O and returns to the basic coordi­nate system.
(5) Returning to the basic coordinate system (a) G52;
With this command, the currently selected work coordinate system is canceled, to return to the
basic coordinate system.
(b) G52 is modal.
(6) Program example
G92 XO YO ZO:
.
Nothing changes under G92.
(n = 1, 2, to 5)
work coordinate sYstern.
Rotation is added to
G54 to G59
Jl;
are equivalent.
are
(G52)
. . .
G54;
.
(G68 XO YO R
.
Shifts the work coordinate system by G54,
.
and rotates the coordinate system for R,
.
centering the work coordinate system (O, O).
G55;
.
(G69)
.
(G68 XO YO
.
Shifts the work coordinate system by G54
.
and cancels the rotation, to create a new coordinate system by the G55 work coordinate system shift amount and rotary angle.
G52;
.
(G69)
.
Returns to the G92 coordinate system
.
G52.
.
M30;
(
when actually programmed.
Tem~orarv
(7)
system As in the A-specification, the move on the machine
coordinate system can be temporarily commanded by the G53 command.
(Example) G53
The rotation is also canceled.
) shows what the program will be
move in the machine coordinate
tG53)
(value of
R (value of #6527))
G53 is a non-modal G code.
(G90)
GOO
(a... ) ;
#6521))
X... Y.*o Z--”
by
like
(8) Work coordinate system alteration by G1O
As is the work coordinate system A- and specifications, system can be commanded from the program by the G1O command.
(a) G1O Q2 Pm Jn
Command as above, to correct the specified work coordinate system. The combination of Pm and Jn specifies the coordinate system to be corrected. Select G54 to G59 by
P1 = G44
to
P6 = G59
J1
Select Example P2 J3 . . . G55 J3
(b) When J is omitted or when JO is specified, it is
regarded as
(c) When a wrong numeral is commanded for m or
n, error ‘i 03811
(d) The 4th axis command is enabled when J2 to J5 are
commanded.
(This is added to the work coordinate system shift
specifications).
(e)
(9) Work coordinate system shift amount in the
macro program
(a) The following system variables are added to the macro, by the addition of the work coordinate system shift amount.
(b) The notes and how to use the system variables are the same as the A- and B-specifications.
to J5 by Jn* .
R“””
System
Variables
the work correction of the coordinate
X...
Z... a... R... ;
Pm.. *
. . . G57
J2
P4
J1.
occurs.
corrects the rotary angle,
#2500
+
#2501
.
.
#2i06
#2511
.
.
#2;16
#2521
.
.
#2;26
#2531
.
. #2536 #2541
.
.
#2~46
+
.J3
Table 2.26
Work Coordinate
System Shift
Amount
External work coordinate system correction amount
G54
G59 “(J1) G54
G59 G54 J3
G59 G54 J4
G59
(Jl)
.
.
J2
. .
.
J2
.
‘J3
.
i4
(fJ
Axis
B-
B-
x
64
Page 73
Table 2.26
(@
Table 2.26 (i)
System
Variables
#2600
#2601
.
.
#2;06
#2611
.
.
#2~16
#2621
.
#2626 #2631
#2i36
#2641
.
.
.
#2646
System
Variables
#2700
#2701
.
.
#2+06 #2711
.
.
#2f16
#2721
.
#2i26
#2731
.
#2~36 #2986
#2741
. .
#2+46
Work Coordinate
System Shift
Amount
External work coordinate system correction amount
+
G54 (Jl)
.
. G59 “(J1) G54 J2
.
. G59 >2 G54 J3
.
. G59 >3
G54 J4
. .
G59
h4
G54 J5
. .
G59
;5
Table 2.26 (h) Work Coordinate
System Shift
Amount
External work coordinate system correction amount
G54
(Jl)
.
.
G59 “(J1) G54 J2
.
.
G59 ~2 G54 J3
.
.
G59
;3
G54
J4
.
G59 J4 G54 J5
. G59
;5
Axis
Y
Axis
z
Variables
(c) Assign the following system variables to the
rotary angle.
System
Variables
System
#2800
#2801
.
.
#2~06
#2811
.
#2~16
#2821
.
.
#2i26
#2831
.
.
#2~36 #2841
.
.
#2i46
#2951
.
.
#2<56
#2961
.
.
#2966
#2971
.
#2981
.
.
.
#2991
.
.
#2~96
Work Coordinate
System Shift
Amount
External work coordinate system correction amount
G54
(Jl)
.
. G59 “(J1) G54 J2
. .
G59
;2
G54 J3
.
.
G59
b3
G54 J4
. .
G59 >4
G54 J5
.
.
.
G59 J5
Table 2.26 (j)
Work Coordinate
System Rotary
Angle
G54
J1
. .
G59”
J1
G54
J2
.
.
G59’
J2
G54 J3
.
G59’
J3
G54 J4
. . .
G59 J4
I
G54 J5
1:
G59”
J5
Axis
a
Address
R
65
Page 74
It
2.9.25 WORK COORDINATE SYSTEM SETTING C (G52 TO G59)
(10 ) Correction of the work coordinate system shift
amount by external input
(a) The work coordinate system shift amount can be
corrected by external data input signals.
(b) The externally input axis correction amount is added to all the G54 to make new shift amounts.
work coordinate system shift amount is not directly
corrected. for external work coordinate system correction
amount.
coordinate system = External work coordinate system
correction amount + work coordinate system shift amount setting.
(c) For rotary angle, the direct setting is
corrected. coordinate system correction amount.
(11 ) J-number monitor during execution of work coordinate system shift
The pair addition number J can be monitored by
#6195, during execution of the work coordinate system shift (G54 to
No J
J1 J2
?””
J3
J4 . . . .
J5 . . . . =5
(12) Notes and remarks (a) All the notes for the B-specifications
the C-specifications.
(b) Command the G54 to G59 commands under the GOO to GO1 mode. modes, alarm
(c) G68 and G69 cannot be used in this
specification. Executing G68 and G69 will cause
“alarm.
(d) The coordinate system rotation by the G54 command is canceled by the G52 command or by setting O in the work coordinate system setting.
(e) The G28 /G30 commands during coordinate system rotation under the G54 command, can
perform rotation at the intermediate positioning point, but not on the reference point.
Coordinate system rotation is also not performed for G53.
(f) The coordinate rotation plane of this specifi­cation is fixed to the G17 plane.
UNIDIRECTIONAL APPROACH
2.9.26
t
(Cent’d)
(Jl)
to G59 (J5) shift amounts
The setting of the
The work coordinate system is corrected
Shift amount on actually moving work
Therefore, there is no external work
G59).
.*OO
#6195 = 1
..*o
=
2
=3
=
4
If commanded under other
129” occurs.
(G60)
t
apply
to
This function is effective to position the tool at
high accuracy .
G60 x.. . Y.. .
With this command, the tool moves and stops at the
specified position. If the tool approaches the stop posi­tion in the direction specified by the parameter (#6014),
Z.. .();..);
ovenravels the stop position by the amount specilied by parameters (#6436 - #6439), and then returns to the specified position to stop.
o
Notes :
. Unidirectional approach is effective in the canned cycle
mode. Shift by G76 includes unidirectional approach. Cancel this function before executing G76 for safety pur­poses.
. Unidirectional positioning is performed at the interim
point by G28 command.
c
When GOO is commanded in a G60 block, the latter
commanded G code is validated.
HOLE PATTERN CYCLES
2.9.27 With this function , when a radius and a center
angle are specified, the corresponding rectan-
gular coordinate positions are computed auto­matically and the tool is brought to the required positions. with one of the canned cycles G73, G74, G76 and bolt hole cycle , the arc cycle, and the line at
angle cycle are programmed.
the position specified by a radius and an angle
in rapid traverse
. Bolt hole cycle
G70
With this command, the tool is positioned suc­cessively at equally spaced L points on a cir­cle with the center at X, Y and the radius of 1, starting at a point located on a line forming
J degree with X-axis. In the
X, Y : Coordinate of the bolt hole cycle, defined
I:
Radius of the bolt hole circle, programmed in
a positive number and programmed with an accuracy of the least input increment.
Angular position of the first hole, programmed
J:
in degrees with an accuracy of O.001 degree.
CCW direction is regarded positive.
Number of division of the circumference.
L:
For the counter-clockwise sequence, positive
numbers are programmed, and vice versa.
———
DIRECTION SET BY
PAWTER
OVER­TRAL’EL ;
I
(
>
1
I
I
STOP
POSITION
Fig.
2.68
(G70,
G71 , G72)
This function is used in conjunction
G77.
(GOO)
.
(G70)
X..
.
Y.. , 1..
either in G90 or G91 mode.
.
G81
With this function, the
J..
through G89,
The tool moves to
.
L..
. ;
command.
o
t
66
Page 75
EXAMPLE
2
5
G81
G98 G90
G70 X90. Y30. 140. J20. L6 ;
GOO
G80
Arc cycle With this function , when the following command
is given , the tool is successively positioned to L points located on a circular arc with the cen­ter located at X , Y and with the radius of I, at a center angle of K degrees, starting from the point lying on a line intersecting the X
atis
at J degrees.
G71 X..
XO YO ;
(G71)
.
Y..
.
z-50.
R-20. F20 Lo
Fig.
2.69
I..J..
K.. L..
.
;
:
x, Y: Coordinates of the arc center, defind
G91
either in G90 or
I: Radius of the arc programmed with an
J:
K:
L:
accuracy of the least programmable increment,
Angular position of the first hole, pro-
grammed in O. 001 degrees. Positive values are used to command counter­clockwise direction.
Angular spacing in degrees with an accu­racy of O. 001 degrees.
are used to command counter-clockwise
direction.
and in positive numbers
Number of holes, to be set in positive
numbers.
EXAMPLE
END -
POINT
mode
Positive values
Line at angle cycle
When the following command is given, the tool is
positioned successively at L points lying on a line forming J degrees with X-axis, with a uniform interval of I, starting at X, Y.
G72
x, Y:
I: Interval is programmed in degrees, at
J: Angles programmed with an accuracy of
L: Number of holes programmed in positive
EXAMPLES
XO. O Y..
Coordinates of the starting point, either in G 90 or G91 mode
an accuracy of the least input incre­ment. will be located on the line in the nega-
tive direction.
O. 001 degrees. Positive values are used for
numbers.
(G72)
.
1..
. Jo. .
When I is negative, the holes
L*o.
;
CCW
direction.
I
Y=30m
1
G81
G98 G90 Z-50. R-20. G72 x70. Y 30, 125. G80 GOO XO YO ;
Fig.
Notes :
When the hole pattern cycles are to med with G70, ned cycle G73, should be programmed with L = O, in the preced­ing block, executed, but drilling data will be registered.
G70, G71 or G72 can be programmed in the same block with a canned cycle G code. However G73 and G83 which involve I, J, and K can not be programmed with G70, G71 or G72 in the same block. When G73 or G83 is to be used, either
used or ceding block.
I, J, and K should be programmed in the pre-
C171
or G72, in principle, a can-
G74, G76, G77, G81 to G89
Since L = O, the canned cycle is not
J15.5
2.71
F20,
L6
LO ;
;
be
program-
Q
is to be
START
POINT
X.70mm
Y=30m
Fig. 2.70
G81
G98 G90 Z-50.
G71
X70. Y30. 1110.
G80 GOO XO YO ;
R-20.
J20.
F20 LO ;
K15.2
L7 ;
67
Page 76
2.9.27 HOLE PATTERN CYCLES (G70, G71, G72) t (Cent’d) G70,
G71
and G72 are non-modal G codes.
The machining control of G70, with the drilling of the last hole, and to move the tool to the next position, the G90 (absolute)
mode is more convenient than the mental) mode, because the latter involves com­plicated calculations.
Immediately after the completion of the machining
process as commanded by G70, canned cycle is still effective, and care must be taken in programming the subsequent block. Be sure to can­cel the canned cycle by G80.
G71
If G70,
radius compensation mode ( G41 or G42) , the
ALARM code will be displayed.
or G72 command is given in the tool
G code
G73
G74
Wood pecker feed
Feed
G71
Plunging
or G72 ends
G91
(incre-
G71 or G72, the
At hole bottom
Spindle forward Spindle reversing running after dwell
Give G70, G71 or G72 command in a canned
cle mode only.
gramming any canned cycle, the ALARM code
be displayed.
will
If they are given without
2.9.28 CANNED CYCLES
(G73,
G74, G76, G77, G80 TO G89, G98, G99)
Canned cycles (G73, G74, G76, G77, G80 to G89, G98, G 99) are simplified programs that contain specific movements over a number of blocks in
one block.
G80 code is commanded for canceling them .
Table 2.27
I
Retraction
\
Rapid traverse
after feed
14 types of cycles are available, and
Application
High speed deep hole drilling
Reverse tapping
cY-
pro--
t
G76
G77
G80
G81
G82 G83
G84
G85 G86
G87
Feed
Spindle index-
+
shift
ing
+
rapid traverse
+
shift + spindle
+
start
feed
Feed
Feed Wood pecker
feed Feed
Spindle index- Rapid traverse
+ stift
ing
Dwell Rapid traverse
Dwell Rapid traverse
Spindle
revers-
ing after dwell
+
shift, spindle
start
spindle indexing
+
shift + rapid traverse shift, spindle start
Rapid traverse
Rapid traverse
+
Spindle forward
running after
Boring
Back boring
+
Cancel
Drilling Spot, facing
Deep hole drilling
Tapping
feed
Feed Feed
Feed Boring
Spindle stop
Spindle stop Manual retraction
Feed Rapid traverse
~
Spindle start
z
Spindle start
Boring Boring
68
G88
G89
Feed
Feed
Spindle stop after dwell ~
Dwell
Manual retraction
Boring
Spindle start
Feed
Boring
Page 77
Command format:
G code of canned cycle
r
t
G..
.
X*.
. .
Drilling position X , Y coordinate command
y~.
. .
z*.
. . R.. .
—.
—-
Dwell at hole bottom
I
Point R coordinate command
: Z coordinate command
Poi
P..
.
Q..
.
L..
.
F“””
T
Cutting feedrate
TT
Number of repeats
I
Drilling pitch for G73, G83 Shift amount of G76, G77
;
U9
START POINT
Operations one cycle with the commands shown above.
@
Positioning the drilling position (X
@
Rapid traverse to R point
@
Drilling to Z point
@
Return to R point or to initial point
Number of repeats is specified by the address
Where L is not given, number of repeats
L.
is regarded as
If O is given for L, only positioning to (X, Y) is made. Shift direction of shift of G76, can be made at the intended angle specified by the parameter. ( Z- axis returning position at the end of canned cycle can be designated by the following G code.
‘q ~
@ lo
B;
k
Fig. 2,72
@
through @ are executed in
1.
‘1
INITIAL POSITION
POSITION R
POSITION Z
HOLE BOTTOM)
(
#6019D0)
,Y)
G77
G code
G98
!
G99
Note: reset, the control is in the state of G code
marked with
Where parameter
direction is The direction is set as listed below.
x(+)
x(-)
y(+)
I
When power is applied or the control is
1.
made in the specified direction.
.,
1
I
I
Y(-)
Where parameter
direction shifting angle is set by setting #6506 (1 = 0.001
deg) .
is
made at
Meaning
Initial level return
Position R level return
#6019D0
is set to O, the shift
DZ
o
I
o
1
1
#6019D0
the intended angle. The
1
is set to 1, the shift
DI
0
1
0
1
69
Page 78
2.9.28 CANNED CYCLES (G73, G74, G76, G77, G80 TO G89, G98, G99) t (Cent’d)
Table 2.28 Canned Cycle
G73
(Fixed
pitch)
High
speed deep hole drilling
G73
(Varia-
ble)
High
speed deep hole
drilling
With G99 (return
G73X. ..~...
(x,
----Y
I
..2...2.
(x, Y)
‘-~
\
6:
G73x.
u
Setting
Q
K
s:
Setting
data[~zll)
to
Z. ..
Y)
datafwzll)
I:
K:
Q.. .Q. ..L...
R I... J.’.. K...
. . . . .
Initial
Reducing value
Final
R)
L
z
value
value
I
z
L
With G98
F.”. ;
Q
‘-~
Setting data
6:
I
I -J
I-2J
,K
K
6:
Setting data
(retumto
(x, Y)
L... F... ;
initial
L
6
6:
L
INITIAL
‘“’NT
I
z
I
‘R
I I
I
I I I
z
point)
70
Gi’4
Reverse
tapping
G74x...
Y... Z... R.. .L...L
Q
--7
SPINDLE FORWARD AFTER DWELL
(x, Y)
L
SPINDLE REVERSE
/
.
. . .
F;
(x,
Y)
Q
‘- ~~
II
R
z
SPINDLE FORWARD AFTER DWELL
E
POINT
I
I
/
INITIAL
SPINDLE REVERSE
R
z
Page 79
Table 2.28 Canned Cycle
(Cont’d)
G76
Boring
G77
With G99 (return to R)
z76X. ..Y...
Q
SPINDLE
INDEXING STO
G77X...
Z... R.. .Q. ..L... F... :
(x, Y)
--9
i
/
-R
@l
HI
#6210
DWELL
Y... Z... R... Q... L,
%
~&z
L
Q
SPINDLE START
r
SHIFT SPEED #6223
/
With
I
SPINDLE
INDEXING STOP
. . .
.
F;
G98 (return to initial point)
SHIFT SPEED
#6223
/
z
#6210
DWELL
-I
&l
3L
L
‘Q’
(x,
u
Y)—__7
‘-~;F~
INITIAL
‘OINT
Back boring
G80
Cancel
G81
Drilling
;80
;
;81x...
NOT USED
Y... Z.. R... L... F.
I
SPINDLE START
/v
.
;
71
Page 80
2.9.28 CANNED CYCLES
(G73,
G74, G76, G77, G80 TO G89, G98, G99) + (Cent’d)
Table 2.28 Canned Cycle (Cent’d)
With G99 (return to R)
With
G98 (return to initial point)
G82
spot
facing
G83
(Fixed
pitch)
Deep
hole
drilling
G82X.
G83X. ..Y...
.. Y... Z.. .R. .. P.. .L. .. F... ;
Q
--7
QI1’
Q
Q
%
Setting
i:
Z. .. R. .. Q.. .L. ..F... ;
(x,
Y)
R
6
I II 115
,1
,1
L
I 1’
I
6
z
I
I
data (#6213)
I
I
-.
u
s:
Setting data
(XA
INITIU
POINT
R
z
DWELL
Y)
T
I
i
1
1
I
I
(P)
INITIAL
POINT
L,
72
G83
(Variable
pitch)
Deep hole drilling
:83X...
Y... Z... R...
I
I-J
l“
II I
~
m
1“2JW’
K
;:
Setting data (#6213)
II
Lz
I...J
.
K L.. .F... ;. . .
Q
R
6
d
1 -J
K
Setting data
T
I I
1;
1
*
+-
I
I
I
ll~i
“ r
(x, Y)
-— I
I
I
I
INITIAL POINT
Page 81
Table 2.28 Canned Cycle (Cent’d)
G84
Tapping
c85
With G99 (return to R) With
G84X. .. Y... Z.. . R.. . P.. .L.’
(x,
Y)
Q
--:
SPINDLE
FORWARD
/
R
z
E
SPINDLE REVERSE AFTER DWELL
~85X...
Y... Z... R... L... ]
(x,
Q
---?
Y)
G98(return
. . .
.
F;
(x, Y)
Q
--YT
L
SPINDLE REVERSE AFTER DWELL
!..
;
Q
(x,
‘--’j” POINT
to initial point)
INITIAL
/
‘OINT
SPINDLE FORWARD
R
z
INITIAL
II II
Y)
Boring
G86
Boring
;86X. ..Y...
SPINDLE STOP
R
k
Z... R.. .L. ..F... ;
I
,L
z
I
I
I
I
z
SPINDLE
Q_:2’’),/Nu
POINT
R
z
/
SPINDLE STOP
I
I
t
I
I I
I
I
73
Page 82
2.9.28 CANNED CYCLES (G73, G74, G76, G77, G80 TO G89, G98, G99)
Table 2.28 Canned Cycle (Cent’d)
t
(Cent’d)
G87
Boring
G88
Boring
With G99 (return to R)
G87X.
.. Y... Z.. .R. .. L... F.. . ;
‘-’k~o
I
With G98 (return to initial
I
g
‘-LXF:ON
/’
SPINDLE STOP
G88X. ..Y...
Q
SPINDLE ST P SPINDLE STOP
AFTER DWELL (P)
‘... R.. .P... L“... F... ;
(x,
Y)
--~
I
k
/
SPINDLE
/START
R
I
MANUAL
-TMCTIO
z
SPINDLE STOP
Q_l~y)
q
AFTER DWELL (P)
/
,/:::fi
I
I
I
‘/RETRACTION
1
/
point)
SPINDLE
SPINDLE
POINT
MANUAL
z
74
G89
Boring
G89X...
Y... z... R.. .P... L... F... ;
I
DWELL (P)
(’,
-~pOINT
/z
DWELL (P)
Y)
b
INITIAL
i
R
Page 83
Page 84
2.9.28 CANNED CYCLES
(G73, G74, G76, G77, G80 TO
G89, G98, G99) t (Cent’d)
pitch
Variable In the deep hole drilling cycles of G73 and G83,
variable drilling pitch can be programmed with addresses 1,
gramming a constant drilling pitch.
command (G73, G83)
J, K instead of address Q for pro-
I: Initial value
Reducing value in 2nd
J:
and subsequent plunges
Final
K:
value
Command is
1
given without
signs
J
I
I-(n-l)J~
K K“ K’
Final
K’:
plunge to
1$,
“1!,
4
point
K’j K
(a) With G73
The value of 6 is given by setting ( #6211 for
G73, #6213 for
Notes :
Q, I, J, K are modal during canned cycle modes and are effective until the canned cycle is
celled. Specify them without signs. Variable pitch can also be programmed by address
instead of I. Furthermore, when commands Q, I, J, K
are given simultaneously, drilling cycle is executed
with variable drilling pitch with
QO
must be commanded in the block including modal G code before programming variable pitch with I, J, and K.
EXAMPLE
G83).
can-
Q
as the initial value.
I-(n-l
POINT Z
Z
Fig.
Q
I
I-
1-2
(b) With G83
2.74
Drilling pitch
1st plunge . . . 2nd plunge ..0
3rd plunge .0. 4th plunge . . . 5th plunge . . . 6th plunge . . . 7th plunge . . . 8th plunge . . . 9th plunge . . .
Total
10 mm
9 mm 8 mm
7 mm 6 mm 5 mm
4
mm 4 mm 2 mm
55.00 mm
INT
6
INT
R
z
@
110.
~
K4.
~
K’
+
z-55.
G91 G73
76
X..
.
Y..
. R-30.
Z-55.
J1. K4.
F.,
110...!.
. ;
Page 85
Notes :
Notes :
When the canned cycles are executed by turn­ing on the SINGLE BLOCK switch, a temporary
stop is made in an intermediate position, and the FEED HOLD lamp lights up.
(1) After positioning to point (X, Y ) (2) After positioning to point R (3) After termination of each cycle, if L
command has been given.
The single block stop after the completion of canned cycles is normal, and the FEED HOLD lamp does not light up.
Be sure to designate the R and Z points by program­ming R and Z before entering the canned cycle mode. R and Z points are cleared when canned cycles are
cancelled.
When executing canned cycles with the address data changed, the block requires any of the fol­lowing address commands. The canned cycles
will not be executed otherwise .
-
When M, S, T or B+ code is given in the can­ned cycle , M , S , T signals are sent at the first positioning in the block. In general, M, S, T should be commanded in their own block.
An program error “021” occurs when any one of the
foUowtng
mode.
When programming G92, G27, G28 etc., make sure to cancel the canned cycles Cancellation is performed when a G code of 01 group is programmed during canned cycles.
G codes is programmed in the canned cycle
G codes of * group except for G04
~
in advance.
. Programming consideration of M98 in the canned
cYcle
mode is the same as those of other than
canned cycle modes. (e. g. Restriction of ex­ecution to no more than four levels, M98 com­mand from punched tape and the like. )
. Address L for designation of repetition number
of subprograms is below is a special case that the address L is
retained temporarily.
EXAMPLE
G91 G81 X1O. R-20. Z-30.
L3 ; . . . The canned cycle is not executed
X20. ; . . . The canned cycle G81 is executed
As mentioned above,
is retained until actually executed.
. Changing of R point and Z point
When R is commanded instead of Z during the execution of canned cycle in G91 mode, Z be­comes incremental value from the new R point. Care should be taken.
G92 XO YO ZO
G91
X.. . Y.. . R-5. O
Z-10. OF ;
nonmodal.
because X, Y, Z, u, or R is not
designated in this block. The L3 is retained.
3 times using the retained L3. After the execution , the L3 is erased.
address L in canned
Point R
But described
F1OO ;
cycle
Point Z
A single-block of DWELL the canned cycle mode.
mally.
An program error cycles are programmed in the tool radius com­pensation C mode
Start of spindle forward or reverse M04) should be executed by automatic opera­tion commands before entering canned cycles. Do not enter into canned cycles after manually switching the spindle between forward and re­verse.
Execution of subprogram mode. In a canned cycle mode, M98 P... L... ; can be programmed to call up subprogram and the canned cycle is continued in the subprogram. The address (program number of the first block of subprogram) with M98 command destroys temporary the contents of address P for designation of the jumping to subprogram, it resumes the contents.
(G04) can be inserted in
DWELL is executed nor-
1102411 occurs
(G41, G42) .
when canned
(M98)
in canned cycle
dwefl time, but after
(M03 or
~::~o’
G74/G84 are commands for reverse tapping/tap-
ping but they are not distinguished. That is, when inputting by M03, M04 is output at the bottom of the hole ; when inputting by M04, M03 is output at the bottom of the hole. When G74/G84 are com­manded without spindle revolution, M03 is output at the bottom of the hole.
P
e
77
Page 86
2.9.28 CANNED CYCLES
EXAMPLE
(G73,
G74, G76, G77, G80 TO G89, G98, G99) t (Contid)
+Y
40,
START POINT
.
N1O
G92
XO YO 20 ;
Nll
G90 G98 ;
N12 G81
N13
N14
X30.
M98 P1OO ;
GOO XO YO ;
-----4
-----+
-----
~
L-----N----. +-----
1“
~
r
/’
/’
/’
40.
+x
Fig. 2.75
Y40.
R-20
2-30.
. . .
. .
7
Return to initial point, Absolute
F200 ;...
Jump to subprogram
;
:
Drilling cycle
N15
T05 ;
N16 M06 ; N17
G84 X30.
N18
N19
GOO XO YO ;
0400 N1OO
N101 N102 N103 N104
M98 P400 ;
G91
X40. L3 ;
Y30. ; X-40. L3 ; Y30. ;
X40. L3 N105 G90 G80 ; N106
M99 :
Y40.
R-20
. . .
. . .
2-30.
. . .
Tapper selection Tool change
F2000
; . . .
Tapping cycle
Jump to subprogram (Note)
Subprogram for drilling position pattern .
78
Page 87
2.9.29 UPGRADING THE CANNED CYCLE
(G73,
G74, G76, G77, G80 TO G89, G98, G99,
G181, G182, G185, G186, G187,
The following functions are added to the conventional
YASNAC canned cycles.
.
Initial point alteration
.
Improved command procedure for the high-speed deep hole drilling cycle
.
2-step feed
.
Reciprocal feed
.
Improved command procedure for boring and back
boring
.
2-step drilling cycle
.
Improved command procedure for the tapping cycle
2.9.29.1 VARIOUS FUNCTIONS (1) Initial point alteration
Canceling the canned cycle before changing the point in the canned cycle is not required. Address W is used.
Example
-—-— ---
!$~m
1
1
rm ,
11,
18
II
--- II
!11,1
G189)t
r-wz
I I II
initi~
W1
R3
Z3
z
(2) The drill can be moved up to the R point during high-speed drilling. This allows the chips to be removed during the cycle.
: Dwell
o : Single-block stop
2.9.29.3 2-STEP FEED Delaying the cutting speed near the drilling start
point can improve the precision without performing
center drilling.
----
I
I
!
i
I
1
,
G99G81
G98
X.”. Y”””R1 .
X...Y”””R2 ““”22 X...”.R3R3
..21 ““”Fc-c
““”W 1
;
““”
“-”23 “.”W2””” ;
;
X“””Y””” ;
Notes:
The W point command under the G91 mode
1. 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 point and Z point are stored to make the move, unless the R point and Z point are newly 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.
2.9.29.2 IMPROVEMENT ON THE HIGH-SPEED DEEP
HOLE DRILLING CYCLE
(1) In high-speed deep hole drilling, inserting some dwell at the bottom of the hole in each pitch can help lighten the load on the drill. Command the dwell time by setting #6212 or by address P.
F FEED
L
Address E: Speed of the 1st step Address F:
2.9.29.4 RECIPROCAL FEED
Tapping/boring, etc. : 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. In reaming, the flaw made on the machining surface during the return cycle can be prevented.
Distance of the
(commanded without sign )
---- ----
F
Address:
1
I
FEED ~
,
E Return speed
1st step speed
E
FEELI
79
Page 88
Page 89
Page 90
2.9.29,7 IMPROVED COMMAND PROCEDURE FOR THE TAPPING CYCLE (Cent’d)
initial
Note: Return to the R point or
reaching the Z point is made by rapid feed.
G83 Deep hole drilling G83 X.. . Y.. . Z.. . R.. . Q.. . L.. . F.. . P.. .
. . .
w;
G83 X... Y.. . Z.. . R.. . I... J... K... L... F.. .
P w... ;
. . .
(x, Y)
.——
Q
Q
QI
-
I
1
I
j
,
I
l~!’~
f
!!
I
t
1
L
11 II
Ill
Ill 1:1
III I
I
I
![
1 t
I
I
! II 1,
II
II II II
1! II
II II II 1,
0,
point after
(Fixed pitch)
(Variable pitch)
INITIAL
i
- W pOINT
+
I
I
I
I
I
POINT
R POINT
1
a
1
la
+
a
(x,
Y)
u
‘-~:TpoINT
F FEED
/
E: Return feedrate (Z point + R point)
R point dwell
Q:
New initial point (absolute/incremental)
w:
G85 Boring G85 X... Y... Z... R.. . L... F... E... W...
I
I
R POINT
k
E FEED
t
L
~REVERSE ROTATION OF
SPINDLE AFTER DWELL
0
--r
(X,
Y)
1,
t“
1
I
Z POINT
L
),
FORWARD ROTATION OF SPINDLE AFTER DWELL AT THE R POINT
lN*TIAL
W POINT
I
1
A
R POINT
● ✚ Dwell
o : Single-block
stop
‘OINT
:
Dwell (P)
~z
● :
Setting data
6:
Single-block stop
o:
P: Hole-bottom dwell
w:
New initial point (absolute/incremental) Setting data (#6213)
a:
Note: program, it has priority over setting #6212. When the P command is not given, dwell is performed by entering a numeral in the setting #6212 (1 = 1 ms) .
G84 Tapping G84 X.. . Y... Z... R... P... L... F.. . E.. . Q...
When the pitch dwell is commanded by the
w;
. . .
P(),,T
FEED
Return cutting feedrate
E:
New initial point (Absolute/incremental)
w:
I
k
Single-block stop
o:
IEFEED
z POINT
82
Page 91
G86 Boring
G86 X... Y... Z... R.. . L... F.. . E... Q...
. . .
w;
G88 Boring G88 X... Y... Z... R... P... L... F... W... ;
SPINDLE START
(x, Y)
Q!.
I
1
1?
FEED
1
INITIAL POINT
w POINT
P
R POINT
Q
D
F FEED
i
P
SPINDLE STOP
Single-block stop
o:
E: 2-step feedrate (lst step: E, 2nd step: F)
Speed switching point (incremental)
Q:
New initial point (absolute/incremental)
w:
Note:
after reaching the Z point is made by rapid feed.
The return to the R point or initial point
Z POINT
~(x,y)
j<:LE
i
i
1
I
I
w
I
W POINT
r
R POINT
I
/
L
/“
SPINDLE STOP AFTER DWELL (P)
Dwell
● ✚
Single-block stop
o:
New initial
w:
G89
Boring
G89 X... Y...
. . .
w;
point (absolute/incremental)
Z R... P,.. L... F... E..,
. . .
POINT
‘T.T
MANUAL FEED
G87 Boring
G87 X... Y... Z... R... L... F...
I
1
I
1
I
+
Y
SPINDLE STOP
Single-block stop
0:
New initial point (absolute/incremental)
w:
W POINT
r
R POINT
MANUAL FEED
/
Z POINT
W... ;
.,Y)
(x
o
----TINITIAL ‘OINT
1,
F FEED
II
I
I
t
W POINT
r
R POINT
E FEED
Z POINT
J
DWELL (P)
Dwell
● ✚
Single-block stop
o:
E: Return cutting feedrate
New initial point
w:
83
Page 92
2.9.29.7 IMPROVED COMMAND PROCEDURE FOR THE TAPPING CYCLE (Cent’d)
G181
2-step drilling
G181
X.. . Y.. . Z.. . R.. , L.. . F... J... K...
E Q., . W... ;
. . .
(X,
Y)
----
0.,
E
F
E F
FEED
FEED
FEED FEED
~
1
(
I
I
1
I
I
Q
[
D
Single-block stop
0:
INITIAL POINT
POINT
POINT
POINT
K POINT
2-step hole rapid feed start point (absolute/
J:
incremental )
K: 2-step hole cutting feed start point (absolute/
incremental)
(lst
: 2-step feedrate
Speed switching point (incremental)
::
New initial point (absolute/incremental)
w:
Note: The return to the R point or initial point
after reaching the Z point is made by rapid feed.
G185 G185 X,. . Y.. . Z.. . R,. . L.. . F.. . Jo. . K.. .
E W.. . ;
. . .
(X,
0
F FEED
Y)
---~*NITIAL
E
~ j! E FEE;
I
step: E, 2nd step: F)
!—”
W POINT
R
POINT
OINT
K POINT
‘OINT
2-step hole rapid feed start point (absolute/
J:
incremental)
K: 2-step hole cutting feed start point (absolute/
incremental )
E: 2-step feedrate (lst step: E, 2nd step: F)
Speed switching point (incremental)
Q:
New initial point (absolute /incremental)
w:
Note: The return to the R point or initial point after reaching the Z point is made by rapid feed.
G182 2-step spot facing G182 X., . Y... Z., . R... P... L.. . F.. . J..,
K E.. . Q.. . w.. . ;
. . .
f-l
(X,
Y)
---
V -9’.,
E FEED
F FEED
T
1
~
*w’o’
Q
:
w
&J
,
1
,
I
INITIAL POINT
NT
R
POINT
PGINT
k
Single-block stop
0:
J:
2-step hole rapid feed start point (return: cutting feed start point) (absolute/
incremental)
K:
2-step hole cutting feed start point (return:
rapid feed start point) (absolute/incremental)
E:
Return feedrate New initial point (absolute /incremental)
w:
Note:
after reaching the Z point is accomplished by
switching the cutting feed and rapid feed at points
J and K. G186 2-step boring
G186 x.. , Y., . Z.. . R.. . L.. . F.. . J.. . K.. .
The return to the R point or initial point
E
. . . . . .
Q
w... ;
Z POINT
84
F
‘EE~Z
Dwell
● ✚
Single-block stop
o:
POINT
Page 93
(x, Y)
.-.
07,
K: 2-step hole cutting feed start point (return:
rapid feed start point) (absolute/incremental)
INITIAL POINT
1
E: Feedrate between J and K, and return cutting
feedrate New initial point (absolute/incremental)
w:
i
*wpOINT
E
FEED
F FEED
E
F FEED
FEED
E
II
I
11
I I
Q
I
I
Q
K
/
SPINDLE STOP
Single-block stop
o:
E: 2-step feedrate
Speed switching point (incremental)
Q:
2-step hole rapid feed start point (absolute/
J:
incremental)
2-step hole cutting feed start point (absolute/
K:
incremental)
New initial point (absolute/incremental)
w:
Note: The return to the R point or initial point
after reaching the Z point is made by rapid feed.
G187 2-step boring G187 X... Y... Z... R... L... F... p... J...
K E... W... ;
. . .
(lst
R POINT
J POINT
K POINT
Z POINT
step: E, 2nd step: F)
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.
G189 2-step boring G189 X... Y... Z... R... P... L., . F... E., .
J K... W... ;
.,.
(X,
0
Y)
‘----~
1
I
lNITIAL
R POINT
‘OINT
r
J POINT
E FEED
K POINT
Z POINT
F FEED
● ✚
o:
,-
:,
k
DWELL (P)
Dwell Single-block
stop
(x,
‘--~
F FEED
E FEED
F FEED
DWELL
Y)
I 1
1
I
I
k
(p)~
● ✚
o:
i
-
Dwell Single–block stop
lNIT’AL
W POINT R POINT
J POINT
E FEED
K POINT
z
PO,NT
‘OINT
u
P: Z point dwell
2-step hole rapid feed start point (return:
J:
cutting feed start point) (absolute/incremental)
E: Return cutting feedrate
2-step hole rapid feed start point (return:
J:
cutting feed start point) (absolute/incremental)
2-step hole cutting feed start point (return:
K:
rapid feed start point) (absolute/incremental)
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.
2.9.30 ABSOLUTE/lNCREMENTAL PROGRAMMING
(G90,
G91)
These G codes are for designating whether the move-
ment data following the axis address are in absolute
value or incremental value.
.G90
. . .
In the block including G90 and in the subsequent blocks, the movement data which follow addresses X, Y, Z, (
G90 GOO X.. . Y.. . Z.. . ;
Absolute designation
a ~)
are regarded as absolute values.
Absolute designation
. . .
85
Page 94
2.9.30 ABSOLUTE/lNCREMENTAL PROGRAMMING (G90, G91 ) (Cent’d)
‘G91 o“.
In the block including G91 and in the subsequent blocks, data area is regarded as incremental values.
G91 GO1 X.. .
Incremental designation
Y
z.. . ;
. . .
Incremental designation
. . .
+Y
I
I
II
Y6
Y3
I
Y5
Y2
Y1
~4
G91:
-~
Incremental
G90 :
Absolute
Fig. 2.76
0
G90,
. If both
same block, the G code which was programmed last is valid.
Note :
.
The initial state of these G codes when the pow-
G91
are modal G codes of 03 group.
G9(I
and G91 are programmed in the
xl
X2
-
er is turned on can be designated
#6005DI).
Parameter(
2.9.31 PROGRAMMING OF ABSOLUTE ZERO POINT
(G92)
Programming the absolute ming movement command is required. When an absolute zero point is programmed, one absolute coordi­nate system is determined, and all absolute movement commands programmed thereafter will move the tool on
the programmed coordinate.
.G92
X.. . Y.. .
With this command, the current position of the tool is
programmed in the control as absolute coordinate
[X,
point (with sign) from the desired absolute zero point (O, O, 0, 0 t ) to the current position. In other words, G92 command is for designating the position of the “absolute zero point”.
EXAMPLE G92 X500.
Y, Z, a t). That is, program the distance
#6005Do)l
1101!
!l~ll
Z.. .(cr t”).)
Y300.
2400. ;
Initial state
I
I
zero
G 90
G 91
point before program-
;
/1
by
parameter
—+x
. G92 is a G code of non-modal group which is
valid only in the programmed block. It is not possible to program other G codes, F, M, S, T , B
Notes :
In
all tool offset modes are
. When the power is turned on , the current posi-
tion of the tool is set as absolute zero point
O,o, et).
ordinate by G 92 before executing the automa­tic operation.
The programmed absolute zero point is not af-
fected by reset operation. Perform any of the following operations for resetting the absolute
zero point.
1.
2.
3.
2.9.32 TOOL LIFE CONTROL (G1 22, G123)
2.9.32.1
The tools are classified into groups and tool life
(usage time, total usages or usage distance) is set for each group. This is a function to give commands for tool groups from the part program and to select the next tool in the same group, which has been sequen­tially arranged, when the fixed life expires.
(1)
Of the tool numbers from
tered as tools for tool life control. If T code commands are given with two digits, tool numbers from be used.
(2) Number of groups that can be registered and the
number of tools that can be registered per group. Maximum number of groups
Maximum number of tools per group . . . . . . .
The maximum controllable number of tools is 256. Note : Different number of tools can be set for each
group such as 12 in group 1, 8 in group 2.
+Y
I
+Z
Fig.
2.77
+
codes in the same block.
principle , program G92 in the state where
Make sure to reprogram absolute co-
Use ORG key (see 4.1. 9)
h’rite G92 XO YO 20 at O
and then execute . “
Turn the power off and on again
TOOL LIFE CONTROL
Maxtmum number of tools to be controlled . . ...256
cancelled.
/30
; in MDI mode,
TOl
to T9998, 256 can be regis-
TOl
to T99 can
. . . . . . .
128
(0,
16
86
Page 95
(3) Setting and displaying tool life control data:
The tool numbers used in each tool group and the tool compensation number, life, total usages, etc. of each tool
can be entered be input from the part-program. can also be displayed with the
directlv from the oDerator’s Panel or can
Me
tool life-control data
~
function.
\
TOOL LIFE CONTROL 01234 N1234
001 002 003 004 005 007 009 010 012 014 015 017 018 022 025 030
042
031 032 033 034 035 051 066 067 068 069 070 072 073
074 075 077 078 079 080 081 082 084 084 085 086 087 088 089 090 091 092 093 085 099 100 101 102
103 104 105 111 122 128 * *
REGISTERED GROUP NO.
2.9.32.2 TOOL
With the function set to displayed bydepressing is a two stage switch for offset display and tool life con­trol display.
(1) List oftoollife control group registrations
Pages 1 and 2 of the tool life control display shows a list of registered tool groups. Check the information on these pages for any groupto be indexed.
(2) Tool life control data display Page 3 and subsequent pages of the tool life control
display are the tool life control data display. Each tool group composes a 2-page data display screen. Using “group search’’ desired page.
<Operating sequence (a) Press the
screen. (b) Press the
data screen. (c) Key-in (d) Press the
group will then appear.
thenumerical
LIFE CO~ROL DATA
~
, tool life control data are
~
once again. The
willbe
convenient to display the
of’’group search>
~
key to display the tool life control
m
key to display the tool life control
value of the object group.
I-
key. Data display of the object
043 048
RDY
DISPLAY
J
~
key
GROUP NO.
TOOL LIFE CONTROL 01234
LIFE CLASSIFICATION
N1234
GROUP 123-1 MINUTES
T-NO H-NO D-NO LIFE USED STS
TOOO1 TOO1l
TO024
T9001
TOO05 023
T1278
TO054
TOOL NO.
001 002 300 011 100 101 212
099 00
*
)*
1
TOOL LENGTH TOOL LIFE COMPENSATION NO. SKP-SKIPPED TOOL
012
214
022
*
*
*
TOOL RADIUS COMPENSATION
‘0’
1000 25 9000 00
TOOL LIFE
2.9.32.3 TOOL LIFE CONTROL DATA
(1) Setting by key input Writing and correcting of tool life control data can be
performed from the operator’s panel.
(a) Sequence of operation
~
(i) Press the screen.
(ii ) Use the
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
(The cursor moves horizontally.) (iv) Key-in the numerical value. ( v ) Press the
tion will then be rewritten. (b) Writing T-NO
If the cursor is placed under a registered T-NO and a new T-NO is entered, the other data will be initialized and LIFE = 9999, H-NO and D-NO will be unregis­tered (* mark), and USED = O STS will be blank. in a numerical value between O - 9998 for the T–NO.
(c) Writing H-NO and D-NO
(i) When a command such as H999 or D999 is given from the part program, the corrected numbers stored here will be searched.
(ii) As long as nothing in particular is written in H-NO and D-NO, they will be considered unregistered (* mark) .
(iii) Unregistered and H-NO = O are different.
ARhough
cancelled, if H (D) 999 is executed in unregistered state, an error will occur.
(iv) Key-in numerical values from O to 299 for H-NO and D-NO.
(d) Writing LIFE
(i) The numerical value 9999 will be automatically
written when T-NO is written.
H-NO = O and D-NO = O are corrections
key to display the tool life control
~~
key or group search and search
~
key. The data at the cursor posi-
302
400
400
500 153
500 200
1*
TO$AL
USAGES MARK
~
OVR OVR SKP
0 0
*
f*
UNREGISTERED
I
OVR-LIFE EXPIRED
SE~ING
PI
key.
Key-
\
/
87
Page 96
2.9.32.3 TOOL LIFE CONTROL DATA SETTING (Cent’d)
(ii) Key-in LIFE with a numerical value between 1 and 9999.
(e) Writing USED
(i) When T-NO is written as the value of USED, the numerical value O will also be automatically written.
{ii)
In general, start USED from O.
(f) Writing life classification
(i)
Press the
T-NO position and press
move to the life classification position,
1=1
key to move the cursor to the initial
1~~
. The cursor will
Table 2.29 Data Erasure Method
Erasure Type
I
Page
(ii) Key-in
and
~
to change life classification will
change to MINUTES.
~
and
~
Key-in change to COUNTS. Key-in classification will change to
~1 ~{
Key-in
to change life classification will
~
and
~
to change life
MKTERS or FEET.
to change the life classification to drilling
count (HOLES), (iii) Writing of life classification is effective for the group
written. Although one group has two pages, both pages display the same in life classification so either page can be written.
(iv) For life classification, key-in the numerical values “O
to “3”.
(Q
Data erasure
~
Data can be erased by using the
key.
A list of data erasure methods is shown in the table
below.
Cursor Position
Key-in Data
Erasure of
all All pages
groups
Erasure of All pages
one group
3 and
Erasure of T-NO
Page subsequent pages
Erasure of
STS
Page 3 and
subsequent pages
(h) Notes : (i) There are mutual relations in data modification of
LIFE, USED and STS.
=
When LIFE
USED, OVR is generally lit. If STS is
cleared, USED will also become “O”.
(ii) Data correction is possible by key operation only when the edit lock is “open” and not in automatic operation,
(iii) If one group or
all groups are erased, the
life classification of the groups concerned will be initialized to MINUTES.
(2) Setting with the part program
Tool life control data can be set by executing a program with the format shown in the table
below.
(a) Tool regeistration G codes
(G122/G123)
commands are given in the following form.
G122; . . G123;
... ...,
. . . . . . . . .
Starts tool registration
Ends tool registration
Possible at any
[- 19]9
19 /91]0RG]
place.
Possible at any place.
Group number to be erased.
T-NO with
data.
STS with data.
Give commands on tool information to be set in the section of
-G123;
.
G122;
(b) Data commanding format
Table 2.30 Tool Life Control Data Format
Tape
Format
G122; P’:rl’
1A ;
TAAAH ,( DnD[
Lx ..;
TAAAH.
.
DDOI
Lx
Y.:
P:i[_L71A; TAAAH “, ., DCID[
L...;
G123
L4?an]ng
Tool
reglstratlort
Commands group No. after P. Commands
Specifies tool No. after T Specifies tool length compensation No. after H.
Spec, fles
No. after D.
Spec, fies
Sets new group data.
Tool registration end
start.
IIfe classlflcat,on
tool
radius
compensation
tool
llfe(
1-9999) after L.
after 1.
88
Page 97
Page 98
2.9.32.4 EXECUTION OF TOOL LIFE CONTROL (Cent’d) (d) When tool life is set by distance
The cutting distance is calculated by the interval
(every second) outlined in para. (c) and life count will be increased by exceeds 1 inch or 1 foot.
(e) When tool life is set by count
The count will increase by “L” when the command
T9999LAAA;
the table in section (1) is executed. omitted,
(f) When the tool life is set by the drilling count
The repeat count
(canned
G89>, dril~ing pattern cycle cG70, G71, G72>)
counts the life. within the commanded tool life count
range.
counted, when
The life count is performed in the look-ahead process. Therefore execution of a single block, the life will be over before executing that block.
(g) The count can be increased by “1” only during the count cannot be increased by incorporating T9999L Selection of whether to count with
M02/M30 must be made with parameter #6020.
(h) The maximum value for USED is 9999 so the
count will not go above 9999.
in the section between @ and @ of
L1 will be equivalent.
cvcle
~G73. G74. G76. G77 and G81 to
If no “L” is specified, one drilling is
“L”
M02/M30
a A
A and M02/M30 in the same program.
1” each time the distance
1! LIT of
the drilling command
= O,
0 drilling is counted.
, if the life ends during
command. However, the
T9999LAAA
lf
L is
or
2.9.32.5 PARAMETERS AND SE’ITINGS FOR TOOL
LIFE CONTROL (1) Settings
(D6)
#6004
Clears life data registered prior to the
command
O: Does not clear
1: Clears
G122;
#6204
Specifies group number when resetting for tool change. However, this is only effective when #6020
1
Setting
(2) Parameters #6020 Specifies group number for tool change skipping
(TLSKP)
O: Currently specified group
1: External signal
#6020
Selection of a T command group during an M06
command.
O: Latest T command
1: Immediately Prior T command
to 128
(D7)
(D6)
(TL1
to TL64)
(D5) is “O”.
#6020
(D5)
Group number command for tool change reset
(TLRST)
O: Setting #6204 1: External input (TL1 to TL64)
(D4)
#6020
IM selection when tool life control is by count
T
O: Counts with T9999L 1: Counts with
2.9.32.6 CONTROL
(1) (a)
the
(b)
was
(c)
152, 0~T~9998,
O~D =299
(d) Intervened in
(2) Alarm 126:
This is an error when there is an overflow during execution of a life control data command.
(a) A command was entered for 257 or more tools. (b) A command was entered for 17 or more tools
in one group.
(3) Alarm 127:
This is an error in a T5 digit command and a T9999 command function
(a) When a T5 digit command was executed, the
object group was not registered.
(b) The T9999L
although the parameter was for a count with
Mo2/M30.
(c) The T9999L
it was not a life control classification count.
(4) Alarm 128:
This is an error in the T5 digit command and
the H(D) 999 command fuction.
(a) All of the groups were in
the T5 digit command was executed.
(b) Tool numbers H-NO and D-NO
ALARM CODE DETAILS ON TOOL LIFE
Format errors of alarm 125:
A different address command was made in
G122 or G123 block.
P command was neglected and T command made in G122.
A numerical value other than 1
M02/M30
13~L~
was commanded in G122.
~~~command
AAA
AAA
G122/G123/G124
9999, 0SHS299,
G122 with a manual MDI.
command was executed although
S P S 128, 0 S
and
was executed
SKP
status when
were found unregistered ( * mark) when executing command
H(D)999.
Notes : (1) Do not rewrite the life control data when
executing life control.
(2) Even if M06 is executed in manual MDI, life control will not be executed. Do not execute commands TIOOO1 through T10128 in manual MDI.
(3) If OVR and SKP occur at the same time, T-NO will
display SKP on a priority basis.
90
Page 99
Page 100
2.9.34 SETTING OF LOCAL COORDINATE SYSTEM
t
(G52)
(Cent’d)
Programming Example
N1
G90 GO1 X1OO Y200 F1OO;
N2
G54; Xloo Y300;
N3 N4 N5 N6 N7 N8 N9
.
Work Coordinate System Shift Amount (200, 100)
Y
Q2
G52
X200 G52 Q2 XO YO; Xo Yo; G52; Xo Yo;
X300 Y200;
Yloo;
(1) Operating procedures are as follows : (a) Turn on the auto mode handle offset switch. (b) Select the axis to be moved by means of the handles
axis select switch. However, if “the manual pulse genera­tor of simultaneously controllable axes of three-axis con­trol” has been added, the movement with simultaneous 3 axes can be performed.
(c)
Select the distance traveled per graduation of
handle by means of manual pulse multiply switch. The distance traveled per graduation can be switched to 1, 10 or 100 pulses.
(d) If the handle is turned during the auto operation of interpolation block, the distance traveled by handle is synchronized with the distance traveled by auto operation on the axis selected by Step (b) .
400
300
N2
200
N1
100
0
100 200 300 400 500 600 700
(2) G52 Q2 XO YO
When this command is issued, the local coordinate system is dinate
(3) G52;
By this single block reference coordinate
(4) Remarks
(a) G52
coordinate system has been set. Alarm “043” occurs if the command is made under the state of the work coordi­nate system setting.
(b) Setting of coordinate system by G92 command or ORG key is not permitted under the state of setting work coordinate system and local coordinate system.
(c) Precautions with the setting functions of work coordinate system are also applicable here.
(d) It should be noted that G52 performs the operation of canceling the work coordinate system
(G54 to G59) if the above option has not been added.
2.9.35 This is the function of synchronizing the movement
by manual pulse generator with the movement by
auto operation during auto operation (tape
tion, MDI operation, memory operation) . Deviation due to the mounting of work can be off-
set by this function.
cancelled
system
AUTO MODE HANDLE OFFSETt
occurs.
Q2
command is effective only when the work
ZO(a
O) ;
and return to the work coor-
command, the return to system occurs.
LOCAL COORDINATE SYSTEM
WORK COORDINATE SYSTEM
BASIC COORDINATE
x
sys~~~
opera–
Clockwise direction: Counterclockwise direction: To negative direction
HANDLEt
~
~“
DI
L
(e) Turn off the auto mode handle offset switch.
(f) After that the movement is made with the shift corresponding to the offset made by the handle. as G92) of coordinate system thereafter, the offset portion by the handle is not added, and the setup only by the commanded values is performed.
(2)
Remarks
(a) Movement of auto mode handle offset is effec-
tive only during interpolation. in auto operation. It is invalid during rapid traverse or single stop.
(b) Under an alarm state, movement by the auto
mode handIe offset is not possible.
(c) When the axis interlock input (IT) is on,
movement by auto mode handle offset is not pos­sible.
(d) By means of parameter setting, it is possible
to invalidate the movement by auto mode handle offset of each axis.
I
However, for the setup command (such
‘s ~
x-axis
#6010D5
(HOFSX)
I
To positive direction
HA ND[.
E
‘$::;.,,
‘v’
x
1
O(I
()()(1
OFF
“id/lnvdid
1
o
Valid
Invalid
92
4th-axis
#601 1D5
(HOFS4)
1
o
Valid
Invalid
Loading...