yaskawa LX3 Programming Manual

YASNAC LX3
CNC SYSTEM FOR TURNING APPLICATIONS
Before initialoperation read these instructionsthoroughly,and retain forfuture reference.
YASKAVW
This manual is primarily intended with 9” CRT character display (basic) to give operators in– structions for YASNAC LX3 programming, and operation.
This manual applies to the basic and optional features of YASNAC LX3. are marked with a dagger. For the specifications of your YASNAC LX3, builder’s manual.
The optional features
refer to the machine tool
YASNAC LX3 OPERATOR’S STATION
PREFACE
When reading this manual keep in mind that the information contained herein does not cover every possible contingency which might be met during the operation. Any operation not described in this manual should not be attempted with the control,
The functions and performance as NC machine are determined by a combination of machine and the NC control. the machine tool builder’s manual shall take prl– ority over this manual.
The illustration of machine control station should be used for your reference in understanding the function. For detailed array of operator’s devices and names, refer to machine tool builder’s manual.
For operation of your NC machine,
586-175
TJnless otherwise specified, apply to the description of
s“fiown in this manual.
Feed Function Selection:
Reference Zero Point
(Return to reference zero by manual and auto-
matic return) :
Absolute Zero Point:
Work Coordinate Zero Point
Dimensions: in MM
+
the following rules
programming examples
G99 (mm/rev)
+
+?
TABLE OF CONTENTS
INTRODUCTION 1
1.
2.
PROGRAMMING 1
2.1
Tape Format 1
2.2
Program Number and
2.3
Coordinate Words 7
2.4
Rapid Traverse Rate
spindle-Speed Function (S-Function) 13
2.5
2.6
TOO I Function (T-Function) 14
2.7
Miscellaneous Functions (M-Function) 19
2,8
Preparatory Functions (G-Function) 23
3.
NC TAPE PUNCHING 148
3.1 Tape code 148
3.2 Programming 148
3.3 NC Tape 150
3.4 NC Tape Handling 150
4. STANDARD NC OPERATOR’S STATION WITH CRT CHARACTER DISPLAY
Pushbuttons,
4.1
4.2
Power ON/OFF Operation 155 Display and Writing Operation 156
u. 3
4.4
Loading Part Programs and NC Data into
Memory (in) 174
Tape Verifying 178
4.5 Edit 180
4.6
4.7
Part Program and NC Data Output
Operations 183
4.8
Summary of Storing and Editing Operations 186
Key S, and Lamps 151
sequence Number 6
10
151
5. MACHINE CONTROL
5.1 Switching Units on 5,2 Operation procedure 198
6.
OPERATION PROCEDURE 213
6.1
Inspection before Turning on Power 213
6.2
Turning on Power 213
6.3
Manual Operation 213
6.4
Preparation for Stored Lead Screw Error Compensation and Stored Stroke Limit 214
6.5
Preparations for Automatic Operation 214
6.6
Operation in Tape and Memory Mode 215
6.7
Manual Operation Interrupting Automatic
Operation 216
6.8
Automatic Operation in MD I Mode 216
6.9
MD I Operation Interrupting Automatic
Operation 216
6.10 Preparation for Turning off Power 217
6.11 Turning off Power 217
APPENDIX 1 APPENDIX 2 APPENDIX 3
APPENDIX 4
APPENDIX 5 APPENDIX 6
LIST OF SETTING NUMBERS A–1 LIST OF PARAMETER NUMBERS A–?
STORED LEADSCREW ERROR COM-
PENSATION A–25
LIST OF STANDARD lNPUT/OUT-
PUT SIGNALS A–26
LIST OF ALARM CODES A–35 LIST OF DATA A–54
STATION 187 the Control Station
.
187
INDEX
Subject
ABSOLUTE AND INCREMENTAL INPUT S............................ 2 ........ 2.3.5
A
ABSOLUTE/INCREMENTAL PROGRAMl,41NG (G90,
. . . . . . . . . . . . . . . . . . . . . .
G91)
Accelerationand Decelerationof Rapid Traverse
and Manual Feed .......................................$......2 ........ 2.4.3.
ADDING PART PROGRAMS ADDRESS KEYS
...................................................
Address Search ....................................................4
ALARM CODE (ALM) DISPLAY Alarm Code Display
Alarm Number of Microprograms ..................................2 ........
Argument Designation
AUTO MODE HANDLE OFFSET
.........................................
..................................... ........
................................................ ........
.............................................. ........
.....................................
AU TO MOD E HANDLE OFFSET SWITCHt ...................44......5
AUTOMATIC ACCELERATION AND DECELERATION ........0..0.....2 ........
AUTOMATIC COORDINATE SYSTEM SETTING+
..................... ........
AutomaticNose RFunction .........................................2
AU TOMATIC OPERATION INMDI h40DE ...........................6 ........
AUTOMATIC RETURN TO REFERENCE POINT (G28)
AutomaticThreading Cycle (G76)...................................2
AutomaticWritingintothe Tool CoordinateMemory
................ ........
................. ........
Chapter
2
4
“.””””..4.6.4
4
.’””””””4.1.4
........
4 4
2
........
5
........
5
........
2
........
5
AutomaticWritingintothe Work CoordinateSystem
ShiftLIemory..................................................5 ........
BUFFER REGISTER
B
................................................ ........
2
BUFFERING FUN CTION(M93, M92)t ..............................-2 ........
C CANNED CYCLES (G90, G92, G94) ................................ 2 ........
CHECKING REGISTERED PART PROGRAM NUMBER ................. 4
........
CircularArc MultipleCornering (G112) .............................2 ........
CIRCULAR INTERPOLATION (G02, G03)
........................... ........
2
CIRCULAR PATH hfODE ON/OFF ON TOOL RADIUS COMPENSATION
(G97, L496)+
................................................. ........
2
COMMAND DATA DISPLAY ..........................................4 ........
Command Data Display .............................................4
........
Command Pulse AccumulationRegisterDisplay
(COMMAND PULSE) ........................................... 4 ........
Conditionsforthe AutomaticNose R CompensationFunction
to be Enabled ................................................ 2 ........
Conditionsof the Specificationsto Perform FS Editing.............. 5 ........
Considerationsand Remarks for Macro Programs ................... 2 ........
CONSTANT DISPLAY .............................................. 4 ........
CONSTANT SURFACE SPEED CONTROL (G96, G97)t ............... 2 ........
ControlComma~ ds
................................................. ........
2
CoordinateSystem Setting (G50 X_. Z_. ) ........................ 5 ........
COORDINATE WORD S.............................................. 2 ........
COORDINATE WORDS .............................................. 2 ........
CORNERING (Gil, G12)+............ 2
............................... ........
CRT CHARACTER DISPLAY ........................................ 4 .......
CURRENT POSITION DISPLAY ..................................... 4 ........
CURSOR KEYS
CUTTING DEPTH OVERRIDE SWITCHt FOR G71 AND G72 CYCLE START PUSHBUTTON AND LAMP
DATA KEYS .......................................................4 ........
D
DECIMAL POINT PROGRAMMING DELETING PART PROGRAM BLOCKS Display and Deletingof RegisteredProgram Number
(PROGRAM NO. TABLEDR )t
Displayand Writeof Localand Common Variables
DISPLAY AND WRITING OPERATION Displayof Subprogram Run Status (SUB PROG . NESTING)
Displayof Tool LifeControl Use Status (TOOL LIFE CONTROL) .... 4
Displayin EDIT Mode .............................................. 4
DISPLAYING AND CHECKING STORED PART PROGRAMS ...........
.................................................... ........
.......... ........
.................
......... ........
...................................
............................... ........
.................................
..................
...............................
.........
4
5
5
........
2
4
.,.,....
4
........
2
........
4
........
4
........
........
........
4
Par.
Page
. .. .
2.8.31
4.3.3.4““”
4.3.9 -.O..
4.3.9.1-..
2.8.23.10-
2.8.23.2‘.
5.2.7 ‘----
5.1<28 ----
2.4.3
5.2.2
2.8.19.1..
6.8
2.8.11 ....
2.8.25.8‘.
5.2.3.3 .“”
5.2.3.4 .“’
2.1.5 ..”””
2.7.3 .“”””619
2.8.26 ‘“””
4.6.1 2,8.30.2..
2.8.4 .....
2.7.4 .....
4.3.2 .....
4.3.2.1 ...
4.3.4.9.. 165
2,8.19.2..
5.1.31.7..
2.8.23.9“.
4.3.1 .....
2.8.27..-.
2.8.23,6-.
5.2.3,5...
2.3
2.3.1
2.8.7
4,1.2 ....-
4,3.4
4.1.8
5.1.29 ....
5.1.2 ....
4.1.5....
2.1.3 ...,.
4.6.5
4.3.9.3 ... 2,8.23.8,.
4.3
4.3.2.2 ...
4.3.2.3 ...
4.3,3.3 ...
4.6.2
..”” 146
. . . .,. .
. . . .
.....
.....
.......
.....
.......
.....
.....
.....
.....
.....
.......
.....
12 181 153
161 172 172
88
68
212 195
12 199
56
216
35 109 203
204
116 180 143
28
20 157
158
56 198
84
156 123
81 205
31 152 162 154
195 188
153
182
173
83
156 158 159 161 180
8
7
7
6
INDEX (Conttd)
Subject
DISPLAYING AND WRITING PARAMETERS .......................... 4 ........ 4.3.7 ..... 17o
D
Displayingand WritingParameters
DISPLAYING AND WRITING SETTING DATA (SETTING) ............ 4 ........ 4,3.6 ..... 168
DISPLAYING AND WRITING TOOL OFFSET DATAt DISPLAYING STATUS INPUT/OUTPUT SIGNALS
Displayin Memory Run Mode (PROGRAM DISPLAY LOCK/MACHINE LOCK SWITCH DRY RUN SWITCH
......................
DWELL (G04).o.....................o....
E EDIT
...................................
EDIT KEYS EDIT LOCK SWITCH
.............................
............................................... ........
EIA/ISO AUTO RECOGNITION ...................................... 3 ........ 3.1,2 ..... 148
EMERGENCY STOP PUSHBUTTON
ERROR DETECT OFF POSITIONING (G06) .............4............ 2 ........ 2.8.2.2 ... 27
Example of FS Editing
............................................. ........
Example of High-speed M Function Processing Exercisesof Macro Programs
Facing Cycle B (G94)
F
..............................................
FEED FUNCTION (F- AND E-FUNCTION) FEED HOLD PUSHBUTTON AND LAMP
FEED/MINUTE AND FEED/REVOLUTION SWITCHOVER .............. 2 ........ 2,8.28 .... 124
Feed Per Minute (G98 Mode)
Feed Per Revolution(G99 Mode) FEEDRATE OVERRIDE CANCEL SWITCH FinishingCycle (G70) FS AUTOMATIC EDITING FUNCTION FUNCTION KEYS
Functions Functions
G General
General General General
......................................................... 2
.........................................................
...........................................................
........................................................... ........
...........................................................
...........................................................
GENERAL PROGRAM FORM
G50 POINT RETURN SWITCHt G50 POINT RETURNt
.............................................
..................................................
......................................... ........
..............................................
.................................
.................
...................
MEM]) ................... 4 ........ 4.3.3.2 ... 160
..........................
..........................
.......................... ........
.......................... ........
..........................
..................................
......................
...................................... ........
.......................... ........
.............................
....................................... ........
...................................
...........................
...............................
.....................................
Chapter
4
........ 4,3.7.3 ... 171
4
........ 4.3.5 ..... 166
4 ........ 4.3.8 ..... 172
5
........ 5.1.19 .... 193
5 ........ 5.1.18 .... 193
2
4 4
........ 4.1.10 .... 154
5
5 ........ 5.1.4 ..... 189
5 2
........ 2.7.8.4 ... 23
2
2
........ 2.8.26,3 .. 121
2
5 ........ 5.1.3 ..... 188
2 2.4.2.2 ... 12
2
........ 2.4.2.1 ... 11
5 ........ 5.1.12
2
........ 2.8.25.5... 106
5 ........ 5.1.31..... 196
4
........ 4.1.3 ..... 152
........ 2.6.5.2 ... 17
5 ........ 5.1.31.3... 196
2
........ 2,8.25.1... 94
5 5.1.8.2
5 ........ 5,1.31.1... 196
5 ........ 5.2.3.10... 206
3
5
........ 5.1.24 .... 195
5 ‘-------5.2.4 ..... 208
Par.
2.8.5 ..... 29
4.6
........ 180
5.1,22
5.1.31.6 .. 197
2.8.23.11.. 89
2.4.2
3.2.2
...... 148
GROOVE WIDTH COMPENSATION (G150, G151)*..................... 2 ........ 2.8,32
Grooving in X-Axis (G75) .......................................... 2 ........ 2.8.25.7... 108
Page
.... 194
.....
... 192
... 190
.... 147
10
HANDLE AXIS SELECT SWITCH+ ................................s.. 5 ........ 5.1.6...... 189
H
HANDLE DIAL+ (MANUAL PULSE GENERATOR) HANDLE DIALS FOR SIMULTANEOUS CONTROL OF
UP TO TWO AXESt Handle InterpolationFunction HIGH-SPEED M FUNCTION
..........................................
......................................
........................................ ........
I Improved MultipleRepetitiveCycle Function ........................ 2 ........ 2.8.25.10.. 115
INCH/METRIC DESIGNATION BY G CODE (G20, G21)t
....<...............
............. ........
5 ‘-------5.1.5 ----- 189
5
..-.-... 5.1.8 ..4-. 189
5
.....+.. 5,1,8.1---- 190
2
2
2.7.8
2.8.8
.....
......
22
33
Input/Output ...................................................... 5 ........ 5.1.31.2... 196
I/OChannel ...................................................... 2 ........ 2.7.8.1 ... 22
INPUTTING SETTING DATA AND PARAMETER DATA
INPUTTING TOOL OF OFFSET DATA INTO MEMORY
Input Unit andl O Times Input Unit ............................... 2 ........ 2.3.3.1.... 7
INSPECTION BEFORE TURNING ON POWER INTERLOCK INPUT (INTERLOCK) InternalToggle Switchesf
INTRODUCTION
JOG FEEDRATE SWITCH AND FEEDRATE OVERRIDE SWITCH
J
...................................................
.........................................
.................................
........................
JOG PUSHBUTTONS AND RAPID PUSHBUTTON
K KEEPING OF NC TAPE
............................................
.............. ........
...............
.......
....................
4
4
........ 4.4.4 ..... 177
4.4.5
..... 178
6 ........ 6,1 ....... 213
5 ........ 5.1.23 .... 195
4 ........ 4.3.6.2 ... 169
.....................
1
5
........ 5,1.10 ..... 191
5
........ 5.1.9 ..... 191
........ 3.4.2 ..... 150
3
1
INDEX (Cent’cl)
Subject
LABEL SKIP FUNCTION
L
LEAST INPUT INCREMENT AND LEAST OUTPUT INCREMENT ...... 2 ........ 2.3.3 ..... 7
Least Output Increment
LINEAR INTERPOLATION (GOl)t ................................... 2 ........ 2.8.3 ..... 2;
LIST OF ADDRESS CHARACTERS AND FUNCTION CHARACTERS .. 2 ........ 2.1.2 ..... 4
LIST OF ALARM CODE ..............................
LIST OF DATA ...............................................APPENDIx 6 ................A-54
LIST OF G CODES LIST OF PARAMETER NUMBERS
LIST OF SETTING NUMBERS ............
LIST OF STANDARD INPUT/OUTPUT SIGNALS .........-......APPENDIX 4 ................A-?.&
LIST OF TAPE CODE
LOADING PART PROGRAM TAPE INTO MEMORY ............
LOADING PART PROGRAMS AND NC DATA INTO MEMORY (
LOADING PART PROGRAM SBYMDI .......................
M MACHINE CONTROL STATION
Macro Program CallCommands
MAC REPROGRAMS (G65ANDG67) ................................ 2 ........ 2.8.23 .... 66
MaintenanceHistoryDisplay (MAINTENANCE) .......................4 ........ 4.3.9.5.... 174
MAKING ADDITION TO A PART PROGRALf
MANUAL ABSOLUTE SWITCH ...................................... 5 ........ 5.1.21..... 194
MANUAL INTERRUPTION POINT RETURN Sh’ITCH ................. 5 ........ 5.1.25..... 195
MAN UAL INTERRUPTION POINT RETURN* ......................... 5 ........ 5.2.5 ..... 209
MANUAL OPERATION *...... ....................................... 6 ........ 6.3 ....... 213
MANUAL OPERATION INTERRUPTING AU TOhfATIC OPERATION .... 6 ........ 6.7
MANUAL PULSE hlULTIPLY SELECT SWITCH+
hfANUAL REFERENCE POINT RETURN SWITCH . .................... 5 ........ 5.1.14 .... 192
MANUAL RETURN TO REFERENCE POINT .......................... 5 ........ 5.2.1 ..... 198
L4AXIMUM PROGRAMhfABLE DIMENSIONS ........................... 2 ........ 2.3.4 ...-.
MAXIMUM SPINDLE-SPEED SETTING (G50)+ ...........4............ 2 ........ 2.8.21 .-.. 6!
........................................... ........
........................................... ........
.........AppENDIX 5................A-35
................................................ ........
..............................
......................APPENDIX 1 ................ A-1
......................................
.............................
..................................... ........
......................... ........
......................
Chapter
2
2
2
APPEND IX . ............... A-7
2
4
5 ........ 5.1.7 .....
Par.
2.1.4 ..... 6
2.3.3.2 ...
2.8.1 ..... 23
2.8.23.1 .. 66
4.4.2 ..... 176
.......
Page
216
189
M CODES FOR INTERNAL PROCESSING (G99 TO M109) ............. 2 ........ 2.7.2 ----- 19
MCODES FOR STOP (MOO, MO1, M02, M30) ........................ 2 ........ 2.7.1
k4DIOPERATION INTERRUPTING AU TOhiATIC OPERATION ......... 6 ........ 6.9
MEASURED WORKPIECE VALUE DIRECT INPUT + .................... 5 ........ 5.2.3 ..... 199
MEMDATA (MEMORY DATA) KEYS ................................ 4 ........ 4.1.11....- 154
Message Display (ALARM)t M-FIJNCTION LOCK SWITCH (AUXILIARY FUNCTION LOCK)
MISCELLANEOUS FUNCTIONS (M-FUNCTION) ...................... 2 ........ 2.7 ....... 19
MODE SELECT SWITCH
MODIFYING PART PROGRAM BLOCKS ............................. 4 ........ 4.6.3 ..... 180
M3-DIGIT BCD OUTPCTt
Multi-blockWritingand Operationin MDI Mode ..................... 4 ........ 4,3.3.1 ... 159
MULTIPLE CORNERING (Gill, G112)+ ............................. 2
MULTIPLE REPETITI\’E CYCLES (G70 TO G76)t 2
MULTI-START THREAD CUTTING (G32)t .......................... 2 ........ 2.8.16..... 41
N NC TAPE .......................................................... 3 ........ 3.3........ 150
NC TAPE CHECK .................................................. 3 ........ 3.3.3 ..... 150
NC TAPE HANDLING NC TAPE PUNCH
NC TAPE PUNCHING .............................................. 3 ..................... 148
NEW COORDINATE SYSTEM SETTING FUNCTION ................... 2 ........ 2.6.5 ..... 17
NEXT KEY
New Tool SetterFunction .......................................... 5 ........ 5.2.3.9 ... 206
No. of Servo Lag Pulses Display (ERROR PULSE) 4 Notes
NOTES WHEN USING THE CONVENTIONAL G50T****FUNCTION .... 2 ........ 2.6.6 ..... 19
OffsetCalculationof AutomaticNose R Compensation Approach
0
and Relief.................................................... 2 ........ 2.8.19.3 .. 57
OffsetScreen Display ............................................. 5 ........ 5.2.3.8.... 205
Operation.......................................................... 5 ........ 5.1,8.3 ... 190
OperationCommands ............................................... 2 ........ 2.8.23.5 .. 79
OperationExpressionfor CoordinateSystem Setting
........................................................ ........
............................................................. ........
................................................. ........
........................................
.......
............................................ ........
.......................................... ........
................... ........
..............................................
................. ........
................ ........
4
........ 4.3.9.2 ... 172
5 .......,5.1.20..... 194
5
2 2.7.7 ..... 21
........
3 ........ 3.4 .......
3 3.3.2 ..... 150
4 4.1.6
2
2
5.1.1 ..... 187
2.8.30..... 134
2.8.25..... 94
4.3.4.8 ... 165
2.7.8.3 ... 23
2.6.5.3 ... 18
.....
.......
..... 153
19
216
150
Iv
INDEX (Cent’d)
Subject
OPERATION IN TAPE AND MEMORY MODE 6
o
OperationProcedure OPERATION PROCEDURE OPERATION PROCEDURE
...............................................
..........................................
.......................................... .....................
......................... ........
Chapter
5 ........ 5.1.31.4 .. 196
5 ........ 5.2 ....... 198
6
Par.
6.6 ....... 215
OperationTime Display ............................................ 4 ........ 4.3.9.4 ... 174
OPTIONAL OPTIONAL BLOCK SKIP SWITCH ORG (ORIGIN) KEYS OTHER M CODES
BLOCK SKIP (/1-/9)+
..............................................
..................................................
OUTPUTTING PART PROGRAM TO PAPER TAPE
OUTPUTTING SETTING IPARAMETER DATA TO PAPER TAPE OUTPUTTING TOOL OFFSETS TO PAPER TAPE Overview
.........................................................
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
..................................
...................
....................
......
2 ........ 2.2.3
5 ........ 5.1.17 .... 193
........
4
4.1.9 ..... 154
2 ........ 2.7.6
4 ........ 4.7.1 ..... 183
4 ........ 4.7.3 ..... 184
4 ........ 4.7.2 ..... 184
2 ........ 2.6.5.1 ... 17
Overview of L4acroProgram Body .................................. 2 ........ 2.8.23.3 .. 69
PAGE KEYS
P
PAPER TAPE Parameter of Bit DisplayFormat Parameter of DecimalDisplay Format 4 Parameters
Parameters ........................................................ 5 .......- 5.2.3.2 ‘o- 203
PART PROGRAM AND NC DATA OUTPUT OPERATIONS PatternRepeating (G73)
.......................................................
..................................................~..
............................
.......
............................... ........
.................
.......................................
...........4........
..........................................
4 ........ 4.1.7 ...... 153
3 ........ 3,3.1 ..... 150
4 ........ 4.3.7.1 ... 171
4.3.7.2 2
........ 2.7.8.2 ... 22
........
2
4.7 ....... 183
2.8.25.4 .. 104
Peck Drillingin Z-axis (G74) ...................................... 2 ........ 2.8.25.6 .. 107
Position........................................................... 4 ........ 4.3.4,4 ..- 163
Position[ABSOLUTE] Position
Position(EXTERNAL) “O” Setting.................................. 5 ........
[EXTERNAL I . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . 4 ........ 4.3.4.1 ... 162
Position[INCREMENT] POSITION (GOO, G06)
..............................................
.............................................4........ 4.3.4,3 ... 163
............................................. ........
........ 4.3.4.2 ... 163
4
5,2.3.6 ... 205
2 2.8.2
.....
.....
... 171
.....
Page
213
7
21
24
Positioning(GOO) POSITION STORED PUSHBUTTON+ 5 POWER ON/OFF OPERATION
..................................................
..............................
................................ ........
......... ........
POWER ON IOFF PUSHBUTTONS ................................... 4
2 ........ 2.8.2.1 ... 24
5.1.30..... 196
4
........
4.2 ....... 155
4.1.1
Precautionsin Programming G70 through G76 ...................... 2 ........ 2.8.25.9... 112
PREPARATION FOR STORED LEADSCREW ERROR COMPENSATION
AND STORED STROKE LIMITt
PREPARATION FOR TURNING OFF POWER .......................6 ........ 6.10 .“...- 217
PREPARATIONS FOR AUTOMATIC OPERATION
...............................
..................... ........
6 ........ 6.4 ....... 214
6
6.5 ......-. 214
PREPARATORY FUNCTIONS (G-FUNCTION) ........................ 2 .......” 2.8 -------- 23
PROCESS SHEET ...........................”....,.......-.””-”-””3 ““-””--” 3.2.1”””-”- 148
PRoGRAMh41NG PROGRAMMING PROGRAhIMING OF ABSOLUTE ZERO POINT (G50) PROGRAM MIRROR IhiAGE (G68, G69)t PROGRAM NUMBER
PROGRAM NUMBER AND SEQUENCE NUMBER
PROGRAM RESTART SWITCHt ..................................... 5
PROGRAM RESTARTt .......-..........~.......................... 5 ....---- 5.2.6 ““”-- 209
Program Return PUSHBUTTONS, KEYS, AND LAMPS
RADIUS PROGRAMMING FOR CIRCULAR INTERPOLATION
R
(G22, G23)t .................................""-""""----"""-""2 ““””””””2.8.9 ”-””-- 33
RAPID TRAVERSE RATE
RAPID TRAVERSE RATE.... ....................................... 2 ...~....2.4.1
RAPID TRAVERSE RATE OVERRIDE SWITCH REFERENCE POINT CHECK (G27)
REFERENCE POINT LAMPS
.................................................... .....................
....................................................
.................
............................
................................................
......................
................................................... ........
...............................
...........................................
.......................
..................................
..............................
..........
2
3 ........ 3.2 ‘.....- 148
........
2
........
2
........
2
........
2
........
4 4.3.4.5
...$.... 4,1
4
2 .....s.. 2.4
2.8.20
2.8.24 .... 92
2.2,1
.......
2.2
5.1.26 .... 195
.......
.......
5 ........ 5.1.11 .... 192
2 ........ 2.8.10 -... 34
5 ........ 5,1.15 .... 193
Registrationof Macro Programs .................................... 2 ........ 2.8.23.7... 83
RESET KEY ..........................................-.....O------4 .-o-----4.1.12 ..-.. 155
RETURN FROM REFERENCE pOINT (G29)
..........................
2 ........ 2.8.12
..... 152
.-”-4 61
.....
... 164
151
.....
.....
10 10
36
1
6
6
v
INDEX (Cent’d)
Subject Chapter
2ND REFERENCE POINT RETURN (G30)t .....0....4................ 2 ........ 2.8.13...... 37
s
SEQUENCE NUMBER SettingData of Bit DisplayFormat SettingData of DecimalDisplayFormat S4-DIGIT PROGRAMMING At
S4-DIGIT PROGRAMMING B+ SIMULTANEOUS CONTROLLABLE AXES SINGLE BLOCK SWITCH SKIP FUNCTION (G31)t
...............................................
................................. ........
............................
....................................... ........
....................................... ........
............................
...........................................
...........................................
2
........ 2.2.2
4 4
........ 4.3.6.3 ... 169
2
2 2
........ 2.3.2
5
........ 5,1,16 .... 193
2 ........ 2.8.14 .... 37
Par. Page
4.3.6.1
2.5,2
2.5,3
SUBROUTINE PROGRAM (M98, M99) ...............o................ 2 ........ 2.7.5
SpindleCounter SPINDLE SPEED OVERRIDE SWITCHt SPINDLE-SPEED FUNCTION (S-FUNCTION) SPLICING NC TAPES S2-DIGIT PROGRAMMING (SPECIAL SPECIFICATIONS)
STANDARD NC OPERATOR’S STATION WITH
CRT CHARACTER DISPLAY Stock Removal in Facing (G72) Stock Removal in Turning (G71) STORED LEAD SCREIi ERROR COMPENSATION STORED STROKE LIMIT (G36-G39)
SWITCHING UNITS ON THE CONTROL STATION
T TAPE FORMAT .............................................. ....... 2 ........ 2.1
................................................... ........
..............................
........................
...............................................
.............
.................................. .....................
....................................
...................................
.................
................................ ........
...................
4
4.3.4.7.... 165
5 ........ 5.1,13 .... 192
2 ........ 2.5 ........ 13
3 ........ 3.4.1 ..... 150
2 ........ 2.5.1
4
2 ........ 2.8.25.3... 101
2 ........ 2.8.25.2... 95
APPENDIX 3
2
................A-25
2.8.18..... 44
5 ........ 5,1 ....... 187
.......
TAPE FORMAT ..................................................... 2 ........ 2.1.1
The G40 GO1 X_ Z—I— K—;
Also Availablein the AutomaticNose R Function .............. 2 ........ 2.8.19.4... 61
TOOL FUNCTION (T-FUNCTION) T 4-DIGIT PROGRAMMING
TOOL OFFSET MEMORY t........................................... 2 ........ 2.6.2 14
TOOL POSITION OFFSETS
Command Cancel Function is
..................................
.........................................
......................................... ........
2 ........ 2.6
2 ........ 2.6.1
2
........
......
2.6,3
.....
... 168
.....
.....
.....
.....
.....
.....
.....
.....
7
13
14
7
20
13
151
1 1
14
14
15
W WORK COORDINATE SYSTEM SHIFTt .............................. 2 ........ 2,6.4 ..... 17
x X-AXIS DIAMETER /RADIUS SWITCHING ............................ 2 ........ 2.3.6 ..... 10
1. INTRODUCTION
YASNAC LX3,
is a combination of two high-performance 16-bit
microprocessors running in parallel.
ing our modern system technique, it is designed
to provide the highest lathe performance.
The dual processor CNC system drastically re­duces the data processing time to meet high­speed cutting. creased by the use of high-speed buffer func­tion and buffering function.
. Enhanced cutting capability includes a maximum
of 24 meters /rein feed command, precise feed E command, 500-milimeter lead thread cutting, continuous thread cutting, multiple thread
cutting, and variable pitch thread cutting.
To meet FMS trends, program interrupt func­tion, tool life control, user macro, tool set error correction, stored stroke limit per tool, and other functions can be installed.
IIultraspeed dual processor CNC”
Incorporat-
Block-to-block stop time de-
2. PROGRAMMING
. Part program memory can be extended to a
maximum of 320 meters . interface is available with FACIT, RS232C and, in addition, RS422 serial interface capable of high-speed long distance transmission.
. Programming is further facilitated by improved
tool radius compensation function, G 50–work coordinate system setting, angle–specified line– ar interpolation, and combined beveling/round­ing function.
. The servo function uses a drastically miniatur-
ized and low-noise, newly transistorized PWM control unit and a high-performance DC servo motor.
The position feedback is available with the standard pulse generator (PG) system and, the inductosyn-applied complete closed loop system.
Its data input loutput
2.1 TAPE FORMAT
2. 1.1 TAPE FORMAT
A variable block format conforming to JIS# B 6313 is used for YASNAC LX3.
Table 2.1 shows the tape format. following the address characters in Table 2.1 indicate the programmable number of digits.
EXAMPLE
+
a
1-
~ .Oodnaeadd=s
# Japanese Industrial Standard
4
3
Down to thtro
L
dec]mal places
L
Four d[glts of Integer
Sign
(X, ZI, K )
Numerals
,n mm or inches
Note: The decimal point may be omitted in actual programming. including decimal points, refer to 2. 1.3 Decimal Point Programming.
The leading zeros can be suppressed for all ad­dress codes. Plus signs need not be program­med, but all minus signs must be programmed. In the manual, EOB code in a program example is represented by a semicolon (;) . In actual programming, CR (EIA code) or LF /NL (1S0 code ) should be used instead of the semicolon
(;).
For making a program
2, 1.1 TAPE FORMAT (Cent’d)
Table 2.1 Tape Format
No.
1
Prcgram No
.-
2
Sequence No.
I
G-Function
Coordinate Wmd
4
a: X, Z, 1, K, U, W, R
5
Feed/rein
Feed/rev and Thread Lead
6
.
7
S-Function
8
T-Function
M-Function
9
10
Dwel I
11
Program No. Designation
——
.—
12
Sequence No. Designation
13
No. of Repetitions
Angle Designation for Straight
14
~
Line
Angle Designation for Multiple
15
~
Thread
Address
Metric output
Metric Input
Inch Input
.—
04
—- - -_
N4
G3
(a- 53)
F 50
F32
—-~
E34 ! E26 ~ E44
I
+——
.=-
(a-44)
~~ ‘— -“;42 ‘“-—---
F24 *- -
S2
-. –——– .—
54
T(2+I) T(2+I)
T(2 +2) T(2 +2)
M3
-–-~-
-. .-
U(P) 53
Q (P) 4
A (B) 33 A (B) 33
P4
L8
_+_ ‘(P)53 . :
L.... ‘4 ; __
4--- Q “) 4 ---~
...+ .––—— —— .—
—— —..
B3
~–-
Metric Input ~
I
~ a_53
F 42
\
-~-——–
I
-.
r
I
Inch Output
——–
Inch Input i
04
-7— ---
N4
G3 B
a-44 B
.+- .___B_
F24
—— ———
E!26 ~ B
S2 B
—+
S4
————
.—
M3
L8
—— ..—
—,
B3
B: Basic O: Option
~
. .
B
B
B
0
B
0
B
B
0 o
Notes:
1. Inch/Metric output is set by setting parameter *6007 D3,
2. Inch/Metric input is set by setting (#?6001Do).
3. F codes for feed/rein or feed/rev can be switched by G 98, G 99
2
Program No. O
Address
Table 2.2 List of Program Commands
Metric Output Inch Output
—-——-—
Metric Input
Inch Input
I
Metric Input Inch Input
1-9999 1-9999
Sequence No. N
G function G
Coordinate Addressl X, Z, 1, K, U, W, R
Feedfmin
Feed/rev and Thread Lead
S-f unction
T-function
M-function
Dwell U, P
I
i
L
S4
T3
T4
F
F
E
S2
* 99999.999 mm
1– 24000 mmlmi n
0.01-500.00 mmlrev
0.0001-
500,0CK)0 mmlrev
0.001 – 99999.999 sec
1-9999
0-199
? 3937.0078 in
1
~ 0.01 –944.88 in/rein
0.0001-19.6850 in/rev
o,CKD304-
19,685030 in/rev
o-99
0-9999
o-999
o-9999
o-999
1– 9999
0-199
I
~:=
0.01 –1270.00 mm/rev 0.0001 –50.00CQ inlrev
ooo~ o,oooolo_
1270.0000 mmlrev
——
I I
I
0.001 –99999.999 sac
50 .00Ci)OO inhev
o-99
0-9999
o-999
o-9999
0-999
Program No. Designation
Sequence No. Designation
No. of Repetitions
Angle Designation for Straight Lin#
Angle Designation for Multiple Thread
Note : For angle designation of included angle for G 76, see 2.8.26.8 Automatic Threading Cycle (G 76).
1-9999 1–9999
1–9999
1-99999999 1– 99999999
O– ? 360.~0°
0-360”
I
I
1– 9999
0- t360.000°
0–360”
3
2.1.2 LIST OF ADDRESS CHARACTERS AND FUNCTION CHARACTERS
Table 2.3 Address Characters
Address Meaning
A
B Spindle shift angle Ol multiple thread, angle designation for multiple cornering o
c
Angle designation for GOl and Gill, includfxf angle for G76
-.
User macro character
—– .——
.— ——
——— ———
D
E
F
G
H User macro chaacter o
I X-component of arc center, canned cycle parameter, beveling value (radius value) B, O
J
K
Depth of cut and number of cutting cycles for G 71 to G 76
Specifications for precise feed and precise lead for cutting
—— ~. ‘— -
Specifications for normal feed and normal lead for cutting
Preparatmy function (G-function) B
User macro character
Z-component of arc center, canned cycle p~ameter, beveling value
.-
Incremental value of variable lead thread
.—.
+- —–
I._ .—
.——
——— .——
I ~
–—— + —–——
–— —— —–—
L
M
Number of subprogram repetition, G 13 to G 16 angle and coordinate
.—.
Miscellaneous function (M-function)
.— .—
B: Basic O: Optional
o
o
0
B
o
B, O
o
B, O
B
N
o
P
Q
F?
s
T
u
v
Sequence number B
.—
Program number
Dwell, canned cycle starting sequence number, program number, user macro number B, O
-—
Subprogram starting sequence number, canned cycle ending sequence number B, O
Radius of arc, rounding value, tool radius value
Spindle function (S-function), maximum spindle revolution B
Tool function (T-function), tool coordinate memory number B, O
. —.
X-axis incremental command value, dwell, canned cycle parameter B, O
User macro character
- ~ ——
-—— —–—
—— -—
I
—t—
\
I
—. .— .—
.—
B
B, O
o
–—— .——
w
Z-axis incremental command value, canned cycle parameter B, o
——
x
Y
z
X-axis coordinate value B
User macro character
Z-axis coordinate value
o
B
Table 2.4 Function Characters
Function Remarks
——~—
-~ ‘-
—-––~-
‘-
1-------._
—+
>
EIA Code
Blank
BS
Tab
SP
ISO Code
I
NuL
0S
e--
HT Disregarded
LFINL
c!+ Disregarded
SP Space
Error in significant data area in EIA Disregarded in ISO i
Disregarded
.—
End of Block (EOB)
--+>5::::----‘-- ----/– -
2Z2::F.. . .. .1. - ._:-=..
2-4-5bits
~“—
2-4-7 bits
..~
‘--;~~*“” --------------‘-
oto9 Oto 9 I Numerals
~ Control out (comment start)
(
~ Control in (comment end)
)
Disregarded, User macro operator
Minus sign, User macro operator
I
-!
EIA: Special code
]
1
Ad=== ‘-–-
—~tx—-----~ ‘-
:-ti~––-- ‘--- ---4
1 Disregarded (Including All Mark)
‘:+* -------!----
—.~ --
Parameter ~
starting ~
*
s
I
*
I
-Ld=:k-- ------4
: -H- -1“A:‘“iacde
?
Notes :
1. Characters other than the above cause error in significant data area.
2. Information between Control Out and Control In is ignored as insignificant data.
3. Tape code (EIA or ISO) is automatically recognized.
17 I
I i Sharp (Variable designation)
! [ Asterisk (Multiplication operatcx)
User macro operator
I
-.
5
2.1.3 DECIMAL POINT PROGRAMMING
Numerals containing a decimal point may be used as the dimensional data of addresses related to coordinates (distance) , angle, time and speed. They can be input” from punched tape or MDI.
Decimal points can be used in the following ad-
dress words. Coodinate words; Angle words: A, B
Feedrate word: F, E
Time words: U, P
EXAMPLE
X15.
z20.5—
(G99)F.2t —FO.20 mm/rev or
X, Z, U, W, I, K, R
[mm]
X15.000 mm or
220.500 mm or
(for F32)
[inch ]
X15.0000 in.
220.5000 in.
FO. 2000 infrev (for F24)
The blocks including the following
are not read in advance .
. MOO, MO1, M02, M30 . M codes ( 6 maximum) set by parameter com-
manding to stop advance–reading.
Notes :
M codes
1. This function is effective for G22 and G 23
where the control is provided with Radius Programming for Circular Interpolation option.
2.
Block-to-block stop time due to the time required to compute tool radius compensa­tion is not eliminated or remains. this stopping time, use 2.7.3 Function (M93, M92) (optional). tion of consecutive blocks up to 5 in M93 mode, inter-block stoppage time is reduced to zero.
To reduce Buffering When opera-
2.2 PROGRAM NUMBER AND SEQUENCE NUMBER
(G98)F25.6 F25 mm/min or
G04Pl.—
When data without a decimal point is input, the control regards
LABEL SKIP FUNCTION
2.1.4
In the following cases the label skip function becomes effective, and LSK is displayed on the CRT .
. When the power supply is turned on. . When the RESET operation is executed.
While the label skip function is effective, all data on the punched tape up to the first EOB code are neglected. the MEM (memory) or EDIT (editing) mode, it in­dicates the presence of a pointer at the leading end of the part program.
BUFFER REGISTER
2. 1.5
During normal operation, one block of data is read in advance and compensation is computed
for the follow-on operation.
In the tool radius compensation”- mode, two blocks of data or up to 4 blocks of data are read in advance and compensation computing required for the next operation is executed. One block can contain up to 128 characters including EOB .
(for F50)
Dwell 1.000 sec
11111as o.001 mm (or 0.0001 inch).
When LSK is displayed on the CRT in
F25. 60 mm/min
(for F32)
2.2.1 PROGRAM NUMBER
Program numbers may be prefixed to programs for the purpose of program identification.
Up to 4 digits may be written after an address character program numbers can be registered in the con­trol, and up to 199 or 999 can be registered em­ploying an option.
One program begins with a program number, and ends with placed at the end of main programs, and M99 is placed at the end of subprograms.
ER (or % at 1S0 code) is punched on both end parts of the tape.
Notes :
“O” as program numbers. Up to 99
M02, M30 or M99. M02 and M30 are
PROGRAM WITH PROGRAM WITH PROGRAM NO. 10 PROGRAM No. 1224
1. The blocks for optional block skip such as
/M02; , /M30; ,
of programs.
It & possible with a parameter change
2. (#6201Do) , to make the reading of M02, M30, and M99 ineffective as a program end, and
to make the succeeding ER (EIA) or % (ISO) as a sign of program end.
/M99; are not regarded as end
2. 2.2 SEQUENCE NUMBER
2.3 COORDINATE WORDS
Integers consisting of up to 4 digits may be writ-
ten following an address character N as sequence
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, also not using
any sequence number is possible. sequential numbers are convenient as sequence numbers.
When searching for sequence numbers, be sure
to search or specify program numbers before­hand.
Notes :
Generally,
1. Five or more digits must not be written as a
sequence number.
2.
When two or more blocks have the same se­quence number, only one is retrieved and read, and no more searching is performed.
3. Blocks without sequence numbers can also be searched for with respect to the address data contained in the blocks.
2.2.3.
Those blocks in which “ /n” (n = ( 1 - 9) is in­cluded are neglected between that block, when the external switch for that number “n” is
OPTIONAL BLOCK SKIP (h - /91+]
In and the end of
optional block skip
on.
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
Address of Coor­dinate Words
Main Axis
Radius Value for Circular
Interpolation
Note: When G 90 and G 91 are used, addresses X and Z are
not fixed as absolute value and follow accofdi ng to G 90/G 91
designation. For details, refer to 2. 3.5 Absolute and
Incremental Inputs.
2.3.2 SIMULTANEOUS CONTROLLABLE AXES
commands for movements in axis direc-
COORDINATE WORDS
I
Absolute coordinate position of t~get
x,
z
position
Incremental distance
U, W (U: Direction in X-axis,
W: Direction in Z-axis)
Incremental distance between start point
and center of circular arc.
1, K
(1: X-axis component,
K: Z-axis component)
R’
Radius value of circular arc
+
1 I
I
I
I
Meaning
EXAMPLE
/2 N1234 GO1 x1OO /3
When the switch for /2 is on, neglected, and when the switch for /3 is on, this block is read as if
N 1234 GO1 xlOO; .
With “ 1, “
Notes :
The optional block skipping process is execut-
1. ed while the blocks are being read into the buffer resister. Once the blocks have been read, subsequent switching on is ineffective to skip the blocks .
2.
While reading or punching out programs, this function is ineffective.
The block skip /2 - /9 is an option function,
3. and /1 is a basic one.
1!l!! may be omitted.
Z200;
entire block is
the.
The control provides two-axis control for X- and
Z–axis. axes, when commanded in the same block, is two axes , mands, movement will not occur.
2.3.3
Number of simultaneously controllable
Xand Z. For the axis without com-
LEAST INPUT INCREMENT AND LEAST
OUTPUT INCREMENT
2,3,3.1
The minimum input units that can be commanded by punched tape or MDI are shown below.
X-axis is specified for diameter,
Input Unit and 10 Times Input Unit
Least Input Increment
7
2.3.3.1 Input Unit and 10 Times Input Unit
(Cent’d)
Inch/MM input is selected by setting #6001D0. Inch/MM input selection by G20/G21 is optional. Selection of multiplication factor xl /x10 is made by parameter #6006D 5.
Tool offset value must always be written in O. 001 mm (or O. 0001 inch) , and offset is possible in these units.
In O. 01 mm increment system, the following op­eration must be made in the unit of O. 01 mm.
. Programming for operation in TAPE mode. o Write operation in MDI mode. o Programming for operation in MEMORY mode. . Program editing operation in EDT mode .
Notes :
If NC tape programmed by O. 001 mm is fed
1.
into or stored in an equipment set by O. 01 mm increment, the machine will move ten times the intended dimensions.
If the increment system is switched when the
2.
contents of NC tape are stored in memory, the machine will move by ten times or one tenth of the commanded dimensions.
3.
When the stored program is punched out on the tape+, the stored f?gures are punched out “as stored” regardless of switching of the increment system.
4.
Multiplication factor 10X (10 times the input unit) is effective for distance command only. It does not function on the designation of time, angle”, etc. 10X is set as effective ( #6006D5 = 1) , the same address word is multiplied by 10 or not depending on type of G command.
EXAMPLE G04 U...
GOO U...
;—Not multiplied by 10 (Time) ;— Multiplied by 10 (Distance)
When multiplication factor
2.3.4 MAXIMUM PROGRAMMABLE DIMENSIONS
Maximum programmable values of move command
are shown below .
Maximum Programmable Values
Metric input
Metric Output — -—
Inch input
Metric input
Inch Output
Inch input I
-9999.999 mm.
-3937.0078 in
Y99999.999 mm.
‘99999 .999 in.
In incremental programming, specified values must not exceed the maximum programmable values. In absolute programming, move amount of each axis must not exceed the maximum programmable value. THE MACHINE MAY NOT FUNCTION PROPERLY IF MOVE COMMAND OVER THE MAXIMUM PRO­GRAMMABLE VALUES IS GIVEN.
The above maximum programmable values also
apply to distance command addresses 1, K, R
in addition to move command addresses X , U , W .
2.3.5 ABSOLUTE AND INCREMENTAL INPUTS
Both absolute be used for the control.
Absolute input is specified by the addresses
Xand Z. EXAMPLE: X.. . Z.. ;
Incremental input is specified by the address­es U and W.
EXAMPLE: U.. . W., . ;
Absolute input and incremental input can be used in one block mixedly.
EXAMPLE: X.. . W.. ;
input and incremental input can
u.. . z. ;
2, 3. 3.2 Least Output Increment
Least output increment is the minimum unit of tool motion. Selection of metric system or inch
system is made by parameter (#6007D3) .
Least Output Increment
X-axis
“-”J !
Metric output
Inch output 0.00005 in. 0.0001 in.
--”1-””- ‘-”--””
(Radius value)
0.0005 mm 0.001 mm
Z-axis
“---”-
8
Note :
and W are used in one block, the latter is effec ­tive.
When addresses X and U or addresses Z
The addresses 1 and K for designation of arc­center must be specified by the incremental dimension.
Table 2.5
Address
x
z
u
w
I
K
Increment System
Absolute Input
Incremental Input
incremental
Incremental Input
+x
I
Input
Designation
Diameter
Diameter
Radius
Meaning
Position in X-axis direction *
Position in Z-axis direction *
Move amount in X-axis direction
Move amount in Z-axis direction
Distance in X-axis direction from starting point of arc to
canter
Distance in Z-axis direction from starting point of arc to
center
Direct programming of circular arc
G code Meaning
G9CI I Absolute command
G 91
Incremental command
—+Z
b+--
Xand Z: Absolute Input U and W: Incremental Input
* Since X and U are designated by the
values in diameter, the actual movement is the half of the values.
Fig. 2.1
Cases where G 90
mental commands) are used.
. When special G code I (basic) or II (option) is
selected, G90 and G91 codes can be used.
Absolute Coordinate Values and Incremental
Coordinate Values
and G91 (absolute and incre-
As shown below, G90 and G 91 commands are effective only to addresses X and Z.
Addresses
TAPE, tvfEtvf, MDI modes
EXAMPLE : Incremental move command
. Auxiliary data, 1, K, R, etc. , of circulai
interpolation are always incremental commands.
Note : G90 and G91 cannot be programmed together in the same block. If they are written in the same block, the one written later only is effective.
EXAMPLE:
G 91 is effective, and in this block, commands become incremental in both the X and Z axes.
~+ ,::::al*
G91 GOO X40. Z50. ; o“. . .
GO1 G90 x80. G91 z60. ;
G 90 Command ~ G 91 Command
2.3.6 X-AXIS DIAMETER/RADIUS SWITCHING
2.4 RAPID TRAVERSE RATE
Addresses X and U for X–axis coordinate words are specified by diameter value. diameter designation. used for designation of both diameter and radius . of parameter #6006D s.
o: Diameter designation
1: Radius designation
The switching is made by the setting
The addresses X can be
This is called
I I
w-zPP+z
(a) In the case of Di-
ameter Designation
(b) In the case of ra-
dius Designation
Fig. 2.2
Table 2.6
Diameter Radius
Programming
Programming
2. 4.1 RAPID TRAVERSE RATE
The rapid traverse motion is used for the motion
for the Positioning (GOO) and for the motion for 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.
each axial direction simultaneously, motions in
these axial directions are independent of each other,
ent times among these motions. motion paths are normally not straight.
50% and 100% of the basic rapid traverse rates,
are available. parameter (#6231) .
Range of Rapid Traverse Rate
(1) For each axis, rapid traverse rates can be
(2) The rapid traverse rate can be set to the
When the tool is moved in rapid traverse in
and the end points are reached at differ-
For override rapid traverse rates, Fo, 25%
Fo is a constant feedrate set by a
set by parameters #6280, #6281 at some suitable multiple of 125 p /sec.
Least output increment)
(p:
uPPer limit shown below.
Therefore,
Address X command
Address U command
X-axis position display
Tool position offset value
Nose radius R
Feedrate F, E in X-axis direction
Radius data 1, R for circular interpolation
G90-G 94, G70-G76, Parameters for cornering, and multlple cornering, D, 1, K, P, Q, R
“-*-”-
Diameter value
I
Diameter incre-
mental value ~ ~dius value
I
I
t
~
1 Incremental value
Diameter value
Diameter value
I
1
t
I
Radius value
Radius val uehev Radius value/rein
Radius value
Radius value
Radius value
Metric Input
Inch Input
The upper limit for X-axis speed is half the listed values. The optimum value of upper limit is set according to the machine. Refer to the machine tool builder’s manual,
for the definite value.
FEED FUNCTION (F- AND E-FUNCTION)
2.4.2
G code listed below must be designated before F ,
and E function is commanded.
G code I
G 98
G99
Note : For the details, refer to 2.8.28, “Feed Function Designation.”
Since F, E codes are modal, these codes are
effective until next F , E codes are given.
However, when G98/G99 are switched, new F
code must be designated.
In G98 mode, E code cannot be commanded. If commanded, PROG ERROR “030” will be activated.
I 24,000 mmlmin
i
2,400 inlmin
I
Function
Designation of feedrate in mm/min.
Designation of feedrate in mm/rev.
2.4. 2.1 Feed Per Revolution (G99 Mode)
(1) Tool feed per revolution of the spindle can
be specified with F (normal feed) or E ( fine
feed) .
(2) The feed ranges that can be specified by
the F and E codes are as follows.
Mode, F and E Feed Ranges
G 99
of Feed/Revel ution
Range
Metric
Metric output
Inch
output
These feed ranges are subject to the following restrictions depending on the spindle speed S.
Notes :
1.
2.
3.
input
Inch I
input
Metric
, input
Inch input
Metric output
Inch output
Notes :
1. Program feed per revolution within such a range that the X-axis component remains below 12,000 mm/min or 1,200 in./min.
2. This uppar limit may still be reduced by the performance limit of the machine. Refer to the machine tool builder’s manual.
A command “FO” causes data errors. Any minus value should not be specified for
F commands. not operate properly.
EXAMPLE
F-250 ; . . . . . Wrong
Feedrate commands in the direction of the X–axis must be given in radius.
F 32
E34
F 24
E 26
I
F 32
E34
F 24
E 26 F O.000010-E 50.00C0OO in/rev
F 0.01- F 500.00 mm/rev
E 0.0001- E 500.0000 mmlrev
~
F 0.0301 –F19.6Ek50 in./rev
I
E0.000004–E 19.685000
1
F 0,01 –F1270.00 mmlrev
E 0.0003-E 1270.0000 mmlrev
FO.001 –F 50.0000 in./rev
I F(E) XS~24,000mm/min
F(E)XS S 2,400 in./min
I
If specified,
the machine will
in./rev
EXAMPLE
G99 S350 (r/rein) ; GO1 U1OO. F200 ;
In the above case, the feedrate is:
F x S = 2.0 mm/rev. x 35o r/rein
= 700 mm/m~n
. . . In case of F32.
+x
ql
4.
Values of F command at linear or circular in– terpolation represent the tangential feedrate
when two axes are simultaneously controlled.
EXAMPLE 1
G99 S1OOO (r/rein) ; GO1 U60, W40. F50 ;
In the above case, the feedrate is
x S = 0, 5 mm/reV x Io(lf) r/rein
F
500 mm/min
=
~3002 + 4002
rr
I
I
‘X–axis feedrate component
TANGENTIAL
FEEDFIATE
+x
I
IO’
~ .Z
EXAMPLE 2
G99 s1OOO (r/rein) ; G03 U.. - W.. . I
In the above case,
FxS= 0.2
(mm/rev)
= 200 mm/min . 4fx2 + fz2
CENTER
Lz-axis feedrate component
~.o
#+
@~
~ 300 mm/mln
——-
400 mm/mln
x
(a)
. . F20 ; the feedrate is:
1000
x
(r/rein)
FEEDRATE 700 mm/mn
I
+x
t
L---- .Z
fx
(b)
11
2.4. 2.2 Feed Per Minute (G 98 Mode)
(1) Tool feed can be specified in mm/min or
in/rein with F codes .
(2) The feed range that can be programmed
with F codes is as follows.
Mode F Code Feed Range
G 98
EXAMPLE 1
G98 ; GO1 u60.
In this case,
F =
500 = ~3002 + 4002
(mm/min)
W40. F500 ;
~ ~-a~i~
Lx-axis component
component
Notes :
1. Program feed-per-minute values so that the X-axis speed ccmponent wi II not exceed half the above upper limit feedrates. EXAMPLE
G98 GOI U300. F1200’ (Metric output, metric input)
2. The upper limit value is further subject to the limitation impoeed by the machine performance. Refer to the machine tool build&s manual. This upper limit value is
to be set in parameter #6228
Notes :
Do not write F command in FO or negative
1.
values.
Commands in the X-axis direction indicate
2. speeds in radius.
Example
G98;
GO1 X200. F700 ;
F 700
—!
FEEDRATE
700 mm,’mlq
-!-+
l——————+,
Values of F command at linear or circular interpolation represent the tangential feed-
rate when two axes are simultaneously con­trolled.
EXAMPLE 2
G98 ; G03 X.. . Z.. . 1.. . F200 ;
In this case,
F=200=ifxZ+fz Z
(mm/min)
CENTER
–x
I
2,4.3 AUTOMATIC ACCELERATION AND
DECELERATION
Acceleration and deceleration for rapid traverse
and for cutting feed are automatically performed without programming ,
2.4. 3.1
Traverse and Manual Feed
In the following operation, the pattern of auto­matic acceleration and deceleration is linear. (See Fig. 2.3. )
Acceleration and Deceleration of Rapid
Positioning (GOO) Manual rapid traverse (RAPID) Manual continuous feeding (JOG) Manual HANDLE feeding (HANDLE)
12
Once specified, until the next S-code. M05 (spindle stoD) , memor~ of the u~it.
EXAMPLE
S-code is modal and effective
When the spindle stops at
S-command is stored in
TIME
Fig. 2.3
Rapid traverse rate and the acceleration /decel­eration constant of rapid traverse rate can be set by parameter. ( #6280 to #6287)
As shown in the following operation, the two–step linear acceleration and deceleration can be spec­ified. (independent of each axis) (See Fig. 2.4. )
o Cutting feed (GO1 to G03)
v
G00
.——
P
VELOCITY
TIME
Fig. 2.4
Feedrate time constants are set at 2 msec inter­vals and feedrate bias is set at 2kpps intervals
by parameters. ( #6092, #6093)
Note : The automatic acceleration /deceleration parameters are set to the optimum values for the respective machines. unless it is required for special application.
SPINDLE-SPEED FUNCTION (S-FUNCTION)
2.5
Do not change the setting
t
GOO S11 M03 ;
. . . S command
Spindle CW
Sll:
x.. . z.. . ;
GO1 Z.. . F.. . ;
1
GOO X.. . Z.. . M05 ;
GO1 Z.. . F.. . ;
Note :
2.5.2 S4-DIGIT
(1) Four digits following S (S ❑ ❑ ❑ ❑ ) are used
. . c Spindle stop
..-M03 ;
x.. . z.. . ;
S22 ;
. . .
x
z.. . F.. .
The two-digit machine when is issued.
1
BCD output is sent to the S and two-digit command
PROGRAMMING AT
to specify the spindle speed in r/rein.
Effective
Effective
Sll:
S22: Effective
(2) When S command is given in a block together
with M03 (spindle forward running) or the M04 (reverse running) , the control
to the next block after the spindle speed
reaches the speed given by the S code. For details, refer to the machine tool builder’s manual.
proceeds
2.5,1 S 2-DIGIT PROGRAMMING
(SPECIAL SPECIFICATIONS)
The spindle speed is specified by two digits fol-
lowing the address S (S00 to S99) . For each S code and its corresponding spindle
speed (r/rein), refer tO the machine tool builder’s manual.
When a move command and an S code are issued in a block, execution will depend on the machine
tool design and construction (Whether the S com­mand is executed together with the move com– mand or after the completion of tool movement) . Refer to the machine tool builder’s manual.
EXAMPLE
s
S1OOO M03,
1000 FUMIN
———— . .
1­I
I
I I
u
START OF THE BLOCK
SPEED SYNCHRONIZATION
ACTUAL SPINDLE
~
SPEED
t
13
2. 5.2 S 4-DIGIT PROGRAMMING A+(Cont’d)
(3) S
commands are modal. Although the spin­dle stops at the M05 command, the S com­mand is retained.
Therefore, when M03
(or M04) is given, the spindle runs accord-
ing to the S command.
(4) When S command is changed after the spin-
dle start by M03 or M04, S command should be given within the range of spindle speed selected by spindle gear.
Notes :
1.
The lower limit of the spindle speed depends on the spindle drive. Refer to the machir,e tool builder’s manual for the low-speed limit. Negative S commands must not be programmed.
2.
When the control is provided with the S 4­digit command function, the “Spindle speed override” option can be built into it.
3.
With machine tools with which the main spin­dle gear ratio changes can be specified by M codes, first write the applicable M code to preselect the desired gear ratio, and then, write the S command.
Refer to the data of
the machine tool builder for the number of
gear ratios, the speeds at various gear ratios,
and other details.
4.
When the control is provided with this func -
tion, the spindle maximum speed commanding function with the instruction “G50 S . . . ; “ can be used.
2. 5.3 S 4-DIGIT
This function is to modify the S4-digit com-
(1)
PROGRAMMING B+
mand A output freely through the program­mable machine interface.
(2) Basically, this function is used in the same
as the S 4-digit command A function,
way but it is normally used to set the manually controlled spindle speeds controlled by the
rotary switch on the m“achine control station corresponding to S command speeds. For the details of S command speeds, refer to the machine tool builder’s manual.
TOOL FUNCTiON (T-FUNCTION)
2.6
2.6.1 T 4-DIGIT PROGRAMMING
Four digits following the address T specifies
(1)
the tool number.
TDDDU
(2) For applicable tool number to be specified,
refer to the machine tool builder’s manual .
Notes :
1. When the tool number is changed by the T command, a turret lathe begins to index the tool instantaneously.
Therefore, the turret
should be removed, before the command,
from the area where” an accidental collision
might occur.
Tool offset number 00 cancels the tool offset.
2.
2.6.2 TOOL OFFSET MEMORY+
The area in which tool position offset values, tool radius compensation values, and other compensa-
tion data are stored is called Offset Memory .
(1) The entire memory areas of Offset Memory
including the options are as shown below.
OFFSET MEMORY NO
[
‘TOOL OFFSET
MEMORY ,50 GROUP5MA: f ‘---’”--- ‘--- ~:~i;:;
“TOOL COORDINATE
MEMORY \
(49 GROUPS MAXI ‘g
“TOOL RADIUS
MEMORY
Note :
For the actually usable range within the above Offset Memory, builder’s manual.
(2)
The “tool offset Nos. “ function directly correspond to the “offset
memory Nos. , “
for various compensations. tool coordinate memory Nos. ( for setting the work coordinate system) correspond to the tool selection Nos . in the T function . The work coordinate shift memory is an independ­ent function, not related to the T function. )
Ii –_-–
---
I ;0
51
1
‘I&/
-r-
refer to the machine tool
specified by the T
and their contents are used
However, the
-MEMORY
J SUPPLEMENT
14
Tool offset number
(O - 160r 50)
1
Tool selection
(3) Write these data in the memory, before start-
ing to operate the machine under automatic co; trol. ­to 4.3.5, “ Displaying and Writing Tool Offset Values .“ Memory, follow the procedure described in
6.2.3, “ Work Measurement Value Direct Input *.”
TOOL POSITION OFFSETS
2.6.3
When the tool offset number is specified, the off-
set value corresponding to the tool offset number is added algebraically to the command value in the program and the tool is moved to the offset position. coordinate values of the programmed tool tip and the actual tool tip must be stored into tool offset memory in advance as the offset value.
When the coordinate value of the actual tool tip
has changed due to tool wear or some other rea­sons, the tool position offset values should be set again. attained without correcting the program.
(1) Range of tool position offset value
The programmable range of tool offset value is shown below.
For the writing procedure, refer
For writing into Tool Coordinate
Therefore, the difference between the
Thus, the programmed machining is
Description of tool position offset motion
(3)
As mentioned above, when the tool specified by the address T and 4 digits is moved, the offset value corresponding to the tool offset number is added to the command value in the program algebraically and the tool tip is moved to the offset position.
When there is no move command in the block, the tool moves only by the offset value. Once, the tool offset number is designated, the tool moves always to the offset position until another number is designated. When the other offset number is designated or the offset value is changed, the offset value is compensated for by the amount of the difference between the old and new offset values.
OFFSET VALUE
T101
T
(+6X1, + 6z~)
T115
T
I
(+ 6X2, + 6Z2)
input I o- f9999.999rnnl
Inch out put
(2) Sign of tool position offset values
store the tool position offset values in the Offset Memory. viation from the tool tip position of the reference tool which is determined as zero.
z
Metric
Inch input
tiOLpO’’T’oN
I
I J.
Fig. 2.5
,
O–
I
The offset value is the de-
+x
I I
P~OGnAtMMED
–x
fE@3.&307in.
6“
_
I& DIAMETER)
~
+Z
+x
,,1+
L!x~
+
(X,z)
EXAMPLE
‘Tlol ; . . . . . . . . . . ...+...”..
GO1 X.. . Z.. .
T115 ; . . . . . . . . . . . . . .
(4) Move speed with tool offset
The move speed of tool offset is determined by the feedrate command that is effective in
the block.
(GOO or GO1 F or in the block containing the tool offset number.
Therefore, the feedrate command
{3
8Z2 :
+-
-—
7L?z.
F(E) . . . ; .
..) should be issued before
OFFSET MOTION
1
COMPLETION OF @
.-
-8KL 2
. . . . . .
. . . . .
( Block of the
offset motion)
a
a B
15
---—— —————.
25
3 TOOL POSITION OFFSETS (Cent’d)
EXAMPLE
EXAMPLE
G50 X.. . 2.. . ; GOO S.. .
Instructions for commanding tool position
(5)
offset
Tool position offset is executed by designat­ing the tool offset number corresponding to the actual tool must be designated.
Tool offset starts at the block in which the
a.
T-code is commanded. When T–code is read, the tool selection signal ( BCD) is fed and the tool starts to move by the offset value corresponding to the tool offset number. Since T code is modal, it is retained until the other T code is designated.
EXAMPLE
GOO T0202 ; . . . The tool number N 02 is
M03 TO1O8 ;
x.. . z.. . ;
selected. Tool offset motion is made accord– ing to the contents of the tool offset number 02.
Off set mot ion is
made at the rapid
traverse rate.
~ GOO T0202 ;
GO1 X.. . Z.. . F.. . ;
~ GO1 U+. . . W-. . . F.. . T0216 ;
-x
I
/
T
,.L
DICFER~NcE ,OE ~~L OFFSET l/AL~JE 3ET’,vEEN T0216 AhD T 0202
MOVEMEN” OF COMMAND ~,
, UOVEMENT wITHO IIT CCIMMAN17 T07. R Ih <
-~1 ~- ‘- ‘-” - ‘-
–;y
~
When the T command and the move command
are issued in the same block, the tool nose moves to the offset position. the above case, by the difference of the offset value between T0202 and T0216.
d . When the tool position offset is required to
cancel, the T code with the tool offset num­ber O or 00 (T The tool Dosition offset is instantaneously cancelled~
“-=.
STARTING POINT (BEFOQE THE EXECUTION OF COMMAND ~,,
.Z
Therefore, in
the taper angle is corrected
~ 00) must be commanded.
When the tool offset value must be changed,
b.
the T–code whose tool offset number is re– written should be commanded again.
EXAMPLE
GOO T0202 ; GO1 X.. . Z.. . F.. . ;
GO1 T0216 ;
Note that if the tool number is changed in this case, the tool indexing motion starts.
The angle of taper cutting can be changed
c.
Tool offset number 02
is replaced with 16.
Tool offset motion is made at the cutting feedrate ,
by the following procedure.
T code for change of tool offset number should be commanded in the block together with cuttin~ feed command .
EXAMPLE
GOO T0202 GO1 X.. . Z.. . F.. . ;
GO1 U+. . . W-. . . F.. .
@ GOO X.. . Z.. . T0200
The block ~ of EXAMPLE can be divided into two blocks.
G(IO X.. . Z.. . ;
T0200 ; . . . . . Only cancel motion is made
at rapid traverse rate.
ro216 ;
. . . .
The offset motion is cancelled. Tool moves according to the position
specified by Xand Z.
Notes :
Tool position offset is cancelled by RESET
1.
operation.
2.
The tool offset must be cancelled before M02 or M30 is commanded.
The tool offset should be cancelled also before
3. Automatic Zero Return ( G 28) is commanded.
When the control is reset by M02 or M30 com-
4.
mand or by executing RESET operation,
the tool offset number becomes O (or 00) . When the Zero Return (auto or manual) is ex-
5. ecuted, the tool offset is cancelled automati–
tally.
The tool offset must be also cancelled before
6. zero Return Check ( G27) is commanded. If
the G27 is commanded at the state where the tool offset is effective, the control will be the state of Zero Return check error, because the tool offset value is added to the program– med position.
WORK COORDINATE SYSTEM SHIFT i
2.6.4
With this function, coordinate systems set by
the Work Coordinate System Setting function, can be shifted through desired distances.
Shift values in the X and Z axes can be
(1)
written into the Work Coordinate System Shift Memory (one group ) with which the
offset memory No. is
cedure as for writing tool offset values.
(2)
The written shift values become effective from the moment described below,
G50 coordinate system is set
When
a.
“ 00, ” by the same pro-
G50,
etc.
For positive shift values AX and AZ, the coordinate axes are shifted in the direction shown above. Xo and Zo are original coor­dinate system setting values.
(3)
This shift function is executed at each time
any of the conditions described in a, b, c,
and d is met.
(4)
When the contents of Work Coordinate Sys-
tem Shift Memory are rewritten, the new shift values become effective from the mo-
ment the operation a, b, c, or d above is
subsequently executed,
(5)
The procedure of WORKPIECE VALUE DIRECT INPUT” is effective for the Work Coordinate Shift Memory with an offset memory No, “00. “
Notes :
The shift command by the Work Coordinate
1. Shift function can not be cancelled unless the setting value is changed to “O. “ reset operation is effective in canceling it.
T~noO ;. . . . .
2.
5.2.3, “
Tool position offset cancel
MEASURED
G50 T~UOJ; . . . Work coordinate system
setting
The tool offset No has nothing to do with the contents of Work Coordinate Shift Memory.
3.
When G50 coordinate system is set or when position absolute display is reset by ORG key 1, parameter #6018 D7 determines whether work coordinate system shift amount is effec­tive or not.
00 in these instructions
NO
G50GT work coordinate system is set
When
b.
When
c.
d,
automatic coordinate system is set
Position Absolute display is reset by ORG
key
That is, when these coordinate systems list­ed above are set, the-shift values are simply
added.
-v,
4
. .
. .
~
Tools are not shifted.
-x
20
ORIGINAL COORDINATE
z
AXES
Xoi2
+2
p%
SHIFT ,
8
~+z
SHIFT COORDINATE AXES
I AX,12
Fig. 2.6
NEW COORDINATE SYSTEM SETTING
2,6.5
FUNCTION
2.6.5.1 Overview
A completely new approach to coordinate system setting is employed in this function.
are the features.
(a) A coordinate system is a machine coordinate
system.
(b) The tool nose point can always be displayed
on the current value display (absolute) .
(c) There is no need to set the coordinate system
in the program.
2.6.5,2
What kind of coordinate system setting is performed and at what frequency ?
Functions
The following
17
2.6.5.3 Operation Expression for Coordinate System Setting
2.6.5,5 Timing of Coordinate System Setting under the Automatic Mode
The following
coordinate system setting at various time frequencies ?
X-axis coordinate value = Machine position + tool
is the operation expression for
coordinate memory +
work coordinate system
shift amount
Z-axis coordinate value = Machine position + tool
coordinate memory + work coordinate system shift amount
( 1) The machine position is called the position
machine.
The tool coordinate memory value number is
( 2 )
of two types; the number when the timing for
the next coordinate system setting is manual and when it is automatic.
(3) The work coordinate system shift amount is
called the offset TOO, X, or Z data.
2.6.5,4 Timing of Coordinate System Setting under the Manual Mode
Under the manual mode, coordinate system setting is made with the following times (a) to (c) . tool coordinate memory number is created from the tool number binary value set in 1/0 input #13174
(TP1) to #13178 (TP8) , to be used for operation.
The
The coordinate system can also be set up inside the NC, sequencer.
or by a request from the
When set by a request of the sequencer, coordinate system setting is executed to turn on output #12194 (end of coordinate system setting output) when
system setting request input) turns on.
(a) Upon zero point return. (NC internal setting
input #13127 (coordinate
at label skip, or sequencer setting for other cases. )
(b) On the tool
contacts the sensor upon measurement.
setter, when the tool nose
(NC
internal setting)
Under the automatic mode, coordinate system setting is performed when the turret is called up by the T code. number uses the turret number commanded on the command screen or the offset number for operation.
Unlike the conventional offset method, the T code command in the coordinate system setting specification is given as follows.
The setting of parameter #6011 DO decides
whether to set the tool coordinate memory number
at the front two digits of T4-digit, or at the last two digits of the T4-digit,
The execution of the coordinate system setting differs as follows, by the parameter setting.
(1) When set at the front two digits
(#6011 DO = O)
T** $$ T—
~
,_
—— Tool number
Note :
(tool number + 50).
memory value selects the contents of (tool number + 50).
(a)
The tool coordinate memory number is:
By executing the T**$$ command, the turret
The tool coordinate memory
Offset number (Wear offset)
01 to 16/01 to 49 (Tool nose R)
01 to 16/01 to 49
(Tool coordinate memory number)
Thus, the tool coordinate
is called up wherever the tool post is located, and is moved for the offset amount of the offset number, to execute the coordinate system setting corresponding to the selected tool coordinate memory number.
(b)
By executing the T**OO command, the turret is.called up wherever the tool post is located, and the offset amount cancel movement is
executed, to execute the coordinate system
setting corresponding to the selected tool coordinate memory number,
(c) When turret indexing is performed by manual
operation,
Note : operation, when parameter #6011 DO = 1 [when the tool coordinate memory number follows the last two digits of T**$$I.
Coordinate system cannot be set by manual
(Sequencer setting )
18
(c)
The tool nose coordinate system is always set
by the coordinate system setting.
(2)
When set at the back two digits
(#6011 DO = 1)
T** $$
-l-T
1,
L—
Offset number (Wear offset ) 01 to 16/01 to 49 (TooI nose R) (Tool coordinate memory number)
Tool number
01 to 16/01 to 49
These commands stop the advance reading of the control. For these M codes, M 2–digit BCD code and their respective decoded signals are output.
2.7.2 M CODES FOR INTERNAL PROCESSING (M 90 TO M 109)
M90 through M109 are for internal processing. Even when they are programmed, no external output signal (BCD and decoded output) is sent.
Note :
(offset number + 50). memory value selects the contents of (offset number + 50) .
(a)
(b)
(c)
2.6.6
The tool coordinate memory number is:
By executing the T**$$ command, the turret is called wherever the tool post is located, and is moved for the offset amount of the
offset number, to execute the coordinate
system setting corresponding to the selected tool coordinate memory number.
By executing the T**OO command, the turret is called wherever the tool post is located, and the offset amount cancel movement is executed. performed.
The tool nose coordinate system is always set by the coordinate system setting.
No coordinate system setting is
Thus, the tool coordinate
NOTES WHEN USING THE CONVENTION-
AL G50T **** FUNCTION
When using the coordinate system setting
specification, do not give the G50 T**** command. Error will occur if commanded.
MISCELLANEOUS FUNCTIONS (M-FUNCTION)
2.7
The miscellaneous function is specified with the
address M and a maximum 3 digits.
of each M code (MOO to M99) is determined by the
machine, except for several M codes.
the machine tool builder’s manual for the func-
tion of M codes except for-the following M codes concerned with the control.
I M CODES FOR STOP (M 00, M 01, M 02, M 30)
2.7.
The function
Refer to
M96 -?:
M97 ‘:
M98: M99: M100 to
Tool radius compensation : circular path mode
Tool radius compensation: intersection computing mode
Subroutine program call Subroutine program end
109: Not used ( for special application)
2.7.3 BUFFERING FUNCTION (M 93, M 92)+
The following M codes are issued for
(1)
buffering function.
M93 I 4-tIlock buffering
Note: When power is applied the current M code is changed to the M code maked wirh~. However, it is not changed by RESET operation.
(2)
4-block buffering (M 93)
When M93 enters the 4-block buffering mode, which remains until M92 is commanded subsequent-
In this mode, up to 4 blocks of data
ly . are read in advance for subsequent opera– tion. time for the 4 blocks read in advance is longer than the reading and processing time of the subsequent 4 blocks, interruption between blocks can be eliminated. This function is effective in avoiding a shiny streak on the workpiece caused by feed stop between blocks .
t
; command is given, the control
With programs in which the operation
To stop the NC control and machine, the following
codes are provided.
MOO: MO1: M02: M30:
Program stop
Optional stop End of program End of tape
1-block buffering (M92)
(3)
When M92 command is given, buffering mode is cancelled, buffering mode is restored.
Note :
for with the M93 function , up to two blocks not
containing move commands ar-e permitted , and as
the result, up to 6 blocks may be read in advance.
While the tool radius is
the 4-block
and the 1 block
being compensated
19
2. 7.3 BUFFERING FUNCTION (M93, M92)t (Cent’d)
EXAMPLE
N51 M93 ; —
N52 GO1 U.. - F.. . ; N53 X.. . Z.. . ; N54
M58 M92 ; — Canceling 4–block advance
Start of 4-block advance
reading .
Stop between blocks for tool radius com pensation or other calculation can be avoided.
1
reading .
(3) Commands of M96 and M97 become effective
from the edge in the following command blocks .
a. GO1 X.. . Z.. . F.. ;
(GO1) X.. Z.. . M96
(or M97) ;
b. GO1 X.. Z.. . F.. . ;
M96 (or M97) ;
(G 01) X... Z.. ;
1 From the move
around the edge in this block,
J
From the move around the edge in this block.
-1
2.7.5 SUBROUTINE PROGRAM (M 98, M 99)
2.7.4 CIRCULAR PATH MODE ONIOFF ON TOOL
RADIUS COMPENSATION (M 97, M 96)+
These M codes are effective when the control is
provided with the tool nose radius compensation
option.
(1) The following M codes are used.
M cede
M 96 1 Tool radius compensation circular path on
M 97
Note: When power is applied, the current M code is changed to the M code m=ked with~ However, it is not changed by RESET operation.
(2)
With the tool radius compensation mode by
Tool radius compensation circular path off (Execution of intersection point)
G41 to G44, the locus of the tool (center
of tool radius) for commanded workpiece
contour lines with the angle between tan– gents larger than 180° is in the following two categories.
M96 mode
a
The center of the tool nose radius describes a circular arc around the perimeter in the
contour line.
b
M97 mode
The center of the tool nose radius moves along the locus that is formed by straight lines shifted from the contour line by the
distance equal to the tool radius.
Meaning
lNTFFiSELll ON
With this function, subroutine programs which
have been numbered and stored in advance are called and executed as many times as desired.
(1) The following M codes are used for this
function.
M code
(2)
Call of subroutine program (M98)
M98 P.. . Q.. . L.. . ;
With this command, the subroutine program starting with a sequence No. following Q in the part program with the program No
specified by p is called and is executed L times.
However, when
I
P is omitted:
subroutine program following the sequence No. Q in the main program is called.
Q is omitted: subroutine program starting at the leading end of the program No. specified by P is called.
L is omitted: Subroutine programs can be nested up to
4 times.
End of subroutine program (G99)
Meaning
execution is only once.
.1
I
=Q!c3:000’nO”dO’‘3)
\
—z
M 96 mode
(circular arc)
‘b
M 97 mode (calculation of
Fig. 2.8
~,t~ reference pan! of lmtemacfmn.
\
intersection)
is written at the end of subroutine
;
M99
program to end it. When this code is written, the operation re­turns to the block immediately following the main block in which the subroutine program was called after the execution of the sub­routine program.
M99 P.. . ; When this is written at the end of a sub-
routine program, the operation returns to the sequence No.
program.
(4) Simple jump command
M99 P ‘“” ; When this command is
gram, the operation simply jumps to the sequence No. program. If Q is omitted, the program simply jumps to the leading end of the main program.
I
specified by p in the main
used in the main pro-
specified by Q in the main
N1 G50 XO 20 ; N2 GOO . . . ;
EXAMPLE
Man Program
,1 ,A
, ,/
,/’,!
/’
,’
--
–>:
_,/’‘$
--
—-
‘\
\
-1
--l ‘,
—’——J “-:’.
Subroutine program
t
1 1 1
‘1
\
11
,--.,
ITotlmes
One hme
2.7.6 OTHER M CODES
How to use the other M codes other than
(1)
above depends upon the machine. the machine tool builderfs manual.
N“20 hi 99 ;
Refer
the
to
I
L
Writing multi blocks (10 lines maximum) of this program and executing cycle start make endless operation.
Notes :
When the program No. specified by address
1. P and the sequence No. specified by Q are not found, alarm code 041 is displayed.
While command L for the number of repetitions
2. is under execution, the remaining number of repetitions can be displayed. For details refer to 4.3.2.2.
This function can be used when subroutine
3. programs are stored in the part program memory. through NC tap-es ~r the part program memory.
When subroutine programs are nested more
4. than 4 times, alarm code “042 “ is displayed.
Main programs can be commanded
Tadle 2.7 Typical
M code
M 03
M04
M 05
M 08
M 09
(2) When these M codes are commanded in the
(3) For these M-code commands, the control out-
Spindle forwa’d running
Spindle reverse running
.—.’
same block with move command, execution will, depend on the machine tool design and
construction. (Whether the M commands are executed simultaneously with or after
completion of move command. )
puts M 2-digit BCD codes.
Example of M codes for Machine
Meaning
Spindle stop
Coolant on
Coolant off
I
Direct switching from M 03to M 04 cannot be done, M 05 must be inserted between them.
Remarks
2.7.7 M 3-DIGIT BCD OUTPUT+
When the control is provided with the M 3-digit BCD output option, it can command M 3–digit
codes between MOO and M999.
(1) M codes between MOO and
M11O
and M999 are output in 3-digit BCD
codes.
(2) M90 through M109 are internal processing
M codes, and no BCD code for them is out­put. See 2. 7.2 PROCESSING .
M CODES FOR INTERNAL
M89, and between
21
27
7 M 3-DIGIT BCD OUTPUTt (Cent’d)
With MOO, MO1, and M30, decode signals
(3)
output in addition to the BCD output. See 2.7.1, “ M CODES FOR STOP. ”
The specific usages of the M 3-digit codes
(4)
depends on machine tool design. ‘Refer to machine tool builder!s manual.
2.7.8 HIGH-SPEED M FUNCTION
This function is used to execute the M function at
high-speed without the need of the ending
response.
The M code is not output when the M code is
commanded, but the M decode output is setlreset. Thus, there is no need for the M code decode
processing and
controller.
The M code that perform the high-speed M
function processing is preset in the parameter.
(There are both a setting parameter and a
resetting parameter. )
When resetting
set to hold or reset
2.7.8.1 1/0 Channel
(1) For decode output
~. -—_
F1224 ~
2.7.8.2 Parameters
FIN processing in the programmable
by the parameter, it
the decoding output.
:-” IMD71MD6 MD51MD4 MD31MD2 MD1
——
‘-‘ 7-
are
can be
MDO
(b) #6645 . . .
r?
=1224
36645
‘1 :.~=x ;xm----
(Example of setting)
#6644 . . .
#6645 . . .
(3) M code setting parameter for resetting the
decode output
Sets the following parameters, the same as in the setting parameter of (2),
(a) #6646 . . .
==1
For setting the M code correspond­ing to the decode output 1MD4 to MD7’
MD7 MD6 MD51MD4 ~ ~ ~
n“
l-’-m-l ‘-- --
63 62 61 60 67 66 65 64
For setting the M code correspond-
ing to the decode output ‘MDO to
MD3’
!
1’
i;
–——
(Commanded by 2 digits)
MD3 MD2i MDl MDO
m-m
I
-T-–-–..
lxx~x;xx
FI rl- ~ ~“----xx
(Commanded by 2 digits)
(b) #6647 . . .
For setting the M code correspond-
ing to the decode output ‘MD4 to
MD7’
(1) High-speed M function
#6007D5 . . . . . 0:
M code setting parameter for setting the
(2)
decode output
The 1,4code is set in the parameter corresponding
to the decode output bits.
Up to four M codes can be set in a single
parameter.
(a) #6644 . . .
t!6644
For setting the M code correspond-
ing to the decode output ‘MDO to
MD3’
~- ”--~-” ~
The function is disabled The function is enabled
1:
.xxxlx~
(Commanded by 2 digits)
22
=7 FD7”F===TT7”””i
#q , ~
(Example of setting)
(4)
(a)
(b)
xxix.
‘P- ,,..i
L ——
#6644 . . .
#6645
Decode output holdlreset setting parameter
Sets whether to hold or reset the decode
output upon reset. #6135 DO to D7
When the decode output is to be held, the numerals corresponding to each bit are added to the total.
. . . 77
(upon reset)
Xx lxx
73 72 71 70
?6 75 74
The result is output to #1224.
._.—.—
1
--~ ---
(Commanded by 2 digits)
Loading...
+ 258 hidden pages