Fanuc 0 User Programming Guide
Fanuc 0 User Programming Guide
.i._
.t-."
'-
, iI
'i!
.r ';
-':i,.
*1:r+ "!'
,' -.!,::'l]i :; -' tr
],r'
,
$** r
*.' ... r.i*'
..
it.
i
l.r
'i;
,l
,::,..
i.
r'
:'
I
.'i
.:
'./ '"{,
..
i,'
;'
.
,-5
'.'*":
-';:
'1"
CONTENTS
I.
I
GENEML
I.
PROGRA]4I"IING
I.
INTRODUCTION
CONTROLLED AXES
20
I Controlled Axes
) 2 IncremenE Svstem
3 Maximum Stroke
3.
4.
PREPAMTORY FUNCTION
20
ZU
20
(G
2l
FUNCTION)
INTERPOLATION FUNCTIONS
24
5.
24
25
26
27
29
31
FEED FUNCTIONS
I Rapid Traverse
5.2 Cutting Feed Rate
5.2.I Tangential speed constant control
5.2.2 Cutting feed rate clamp
5.2.3 Feed per minute (G94)
5.2.4 Feed per revolution (c95)
5.2.5 One-digit F code feed .
32
32
32
32
5.
5.3
32
33
33
33
....+
Override
5.3. 1 Feed rate overri-de
5.3.2 Rapid traverse override
5.4 Automatic Acceleration/Deceleration
5.4. 1 Automatic acceler ation/deceleration after interpolation
5.5 Speed Control at Corn ers of Blocks
(G04)
34
34
35
35
36
37
34
37
37
37
(G62)
38
4I
L?
REFERENCE POINT
6.1 Automatic
7.
42
43
43
44
COORDINATE SYSTEM
G59)
45
45
45
47
48
7 .I.6
Systern variables
7.2 Plane Selection (G17,
G18,
49
50
5l
Gt9)
52
R.
53
B.
53
s3
54
56
9. I
56
s6
56
57
57
57
63
64
Auxiliary Functions
II.2
PROGRAM CONFIGURATION .
65
67
67
67
12.
L2.7
;:H:H
;:;'t::
Tape End
Tape
Format
12.8
";'.2
12.9 Tape Codes ...
::
::
::
::
::::::
::
.:::
::
::::..:::::::::::
68
68
72
IJ
/5
::
::::.::
::
77
78
79
79
79
79
80
GB9)
80
95
COMPENSA,TION FUNCTION .
96
14.
vo
96
98
99
99
100
i00
100
....
f01
101
loz
MEASUREI"IENT FUNCTIONS
A ...
I Custom Macro Cou'unand
16.1.1 M98 (Single call)
16.1.2 Subprogram call using M code
16.1.3 Subprogram call using T code
f6.1.4 G66 (Modal call)
16.1.5 Argunent specification
16.2 Custom Macro Body .
L6.2.1 Variables.
16.2.2 Kind of variables
16.2.3 lulacro instrucrions (G65)
16.2.4 Notes on custom macro
Example of Custbm Macro
1 6. 3
.4. . .
16.3. f Bolt hole circle
16.3.2 Pocket machining
16.3.3 Interface signal ...
..;..
f6.3.4 Shearing machine ...
16.3.5 Program examples ...
16.4 Pattern Data Input Functj-on ...
16.4. I Pattern menu display
16.4.2 Pattern data display
16.4.3 Character-to-codes correspondence table
16.
17.
CUSTO}I MACRO
B ...
17.I.7
f07
107
f07
107
i08
108
110
140
l4l
L42
L44
T47
I47
CUSTOM MACRO
16.
103
104
106
L49
... ..
150
150
150
150
150
151
153
153
154
157
L62
f63
163
L64
166
167
167
169
169
172
L75
I77
179
17 9
L82
183
183
184
184
184
185
i86
186
187
f89
200
208
2LI
2IL
2fl
2r3
2L3
2L3
2I4
.'. . . . 2I4
2L4
2L4
OPEMTION
INTRODUCTION
2. OPERATION DEVICES
2.1 CRT/MDI Panel
z.I.L MDI keyboard .
2.L.2 Function buttons
2.2 Machine Operator's Panel
2.3 Tape Reader ..
2.3.I Portable ?'
tape reader ..
2.3.2 Note for handling tape reader ..
2.4 FANUC casserre BI/B?/E|
2.5 FANUC PPR .
3.
203
POWER
ON/OFF
2T7
237
23L
'236
240
240
247
/,')
. )---
4. MANUAL OPERATION
4.L l"lanual Ref erence Point Return
4.2 l'Ianua1 Continuous Feed
4.3 STEP Feed
4.4 Manual Handle Feed
4.5 Manual Absolute 0N and OFF .
5.
232
233
234
236
AUTOMATIC OPEMTION
5.1 Operation Mode .
5. 1.1 Memory operation
5.L.2 MDI operation .
.
5. f.3 MDI operation-B
5.2 Starting Automatic Operation
.
5.3 Executing Automatic Operation
5.4 Stopping Automatic Operation
5.4.I Program stop (M00)
.2 Optional- scop (M01 )
5
^4
Program end (M02, M30)
5.4.3
5.4.4 Feed hold
5.4.5 Reset
5.5 Program Re-Start
5.6 l'lanual Handle Interruption .
5.6-l Handle interrupt operation
5.6.2 Movement by handle interrupt
5.6.3 High-speed reference point return of handle interrupt axis
243
243
244
246
247
249
255
255
255
255
251
259
259
259
259
259
259
260
260
260
263
263
264
265
6.
TEST OPERATION
266
266
266
266
6.3
6.4
6.5
6.6
6.7
7.
...
Feedrate Override
Rapid Traverse Override
Dry Run
Single Block
...
zot
267
267
268
269
SAFETY FUNCTIONS
7.1
269
Emergency Stop
7.2 Overtravel
8.
zoY
270
271
27L
REGISTMTION)
q
o
o
o
q
a
IO.
13 Background Editing .
9. 13. 1 Registration from
MDI
14 Menu Prograrnming . .
15 Program Loading by TEACH IN Mode
16 Conversational Programming with Graphic
9. 16.I Prograroming .
9. 16.2 Confirmation of program . . .
9 . f6.3 Editing of program . . .
17 Nurnber of Regist.ered Programs .
18 Part Program Storage Length
. . .1
27r
27r
271
271
272
272
273
zt J
273
,1
.r'7 a
276
280
281
281
28r
282
282
283
284
284
284
286
Function
288
288
290
290
29I
291
292
I Offset Amount
l0.l.l
Setting and display of t,oo1 offset values
(function key: offset ) ...
L0.2 Setting Parameter (Function key: PAMI'I ) ...
I0.3 Custom Macro Variable
f0.4 System Parameter
10.4. I Parameter dlsplay
i0.4.2 Parameter setting ..
/,
275
294
294
10.
294
295
297
291
291
298
10.5
f0.6
10.7
10.8
1
1.
Pitch Error
Compensation
Data
300
300
300
301
DISPLAY
I 1.
303
Program Display
Displaying Program Memory Used
IL.2
11.3 Command Value Display (Function key: PRGRM )
lI.4 Display for Program Check
Il.5 Current Position Display (Function key: POS )
11.6 Display of Run Tirne and Parts Count
11.6.1 Actual position screen
1 I . 6. 2 Parameter setting screen
Il.7 Alarm Display (Function key: ALARM ) ..
If.8 Pattern Data and Pattern Menu Displav
tI.9
T2.
JUJ
303
305
306
. .t. . . . .
307
309
309
3
10
311
311
Clock
3r3
DATA OUTPUT
314
314
JI4
/82/FI)
3r5
315
f3.3.3
315
parameter output
13.4 Data Input Operation
t3.4.1 CNC program input
13.4.2 Offset data input
13.4.3 CNC parameter input
13.5 File Deletion
Precautions
L 3. 6
i3.6.1 Request for cassette replacement
13.6.2 Cassette adaptor lamp conditions
CNC
3r6
3i6
317
3r7
3L7
3r7
JId
318
318
318
318
319
319
320
320
322
323
325
I5.
JJU
I5.1 Outline
16.
*FLWU
1A I
nicn]arr
L6.2 Operation
327
327
328
329
JJU
330
330
332
???
JJJ
333
IV.
MAINTENANCE
l. I
2.
2,
')
)2
-!
ts ,,rnpuL
unrt
T-^,.
339
339
F:i'
fi'l
339
34L
34L
5+J
APPENDIXES
54
APPENDIX
349
APPENDIX
3s2
APPENDIX
NOMOGRAPHS
351
357
360
363
APPENDIX
TAPE JOINING
364
APPENDIX
36s
I.
il
338
338
General
2 Checking Input Voltage, Peripheral Conditions, Operation,
Programming, Drives, Machine and Interface Control
3 NC System Check (No E.ools required)
7 PARA]'IETER
PARAMETER DISPLAY
APPENDIX
bt
337
APPENDIX
1.
2.
3.
JJ I
TROUBLESHOOTING
337
337
LIST
367
367
APPENDIX
CODES USED
IN
APPENDIX
ERROR CODE
LIST
APPENDIX
10 LIST
APPENDIX
1I LIST OF SPECIFICATIONS
PROGRAM
OF OPERATION
496
497
514
5
r6
I
I
i
l\
GENERAL
This manual describes the programming, operation, and daily maintenance for 0-MB
and 00-MB. This manual includes all optional functions. For the functions
unique to each CNC system, see APPENDIX 11 I'LIST 0F SPECIFICATIONS".
For which options are provided with your system, see machine tool builder I s
,
manual.
1.1
according
the part using the CNC machine tool, first prepare the program,
then operate the CNC machine by using the program.
l) First, prepare the prograrn from a part drawing to operate the CNC machine
too1, Then punch the paper tape to be read the program into the CNC system.
How to prepare the program is described in the Chapter II.
When machining
PROGRA}frIING.
2) Paper tape is to be read into the CNC system. Then, mount the workpieces and
tools on the machine, and operate the tools aceording to the programming.
Finally, execute the machining actua11y.
How to operate the CNC system is described in the Chapter III.
OPERATION.
Part drawing
CNC
Paper tape
CHAPTER
II
PROGRAMMING
CHAPTER
III
MACHINE TOOL
OPERATION
Before the actual programming, make the machining plan for how to machj-ne the
parc.
Machining plan
l. Determination of workpieces machining range
2. Method of mounting workpieces on the nachine tool
3. Machining sequence in every cutting process
4. Cutting tools and cutting conditions
Decide the cutting method in every cutt.ing process
t.
::i,
4':i.
-3-
\-\_
Cutting
Cutting
process
------\
procedure
a
L
Face cutting
Side cutting
Hole machining
1. CuEting nethod
Rough
Semi
Finish
2. Cutting tool
:
Tools
3. Cutting conditions
: Feedrate
Cutt ing
Depth
4, Tool
path
Face cutting
Prepare the program of the tool path and cutting condition according to the
workpiece figure, for each cutEing.
I'
-4-
r:.
rl
il
The function of an
2)
This rnanual addresses as many subjects as posslble. But it would become too
voluminous to point out everything that should not or cannot be done.
Functlons which are not specifically stated as possible are impossible.
CNC machine tool system depends not only.on the CNC, but
on the combination of the machine tool, its magnetic cabinet, the servo
system' the CNC, the operatorrs panels, etc. It is too difficult to describe
the function, programming, and operation relating to all connbinations. This
manual generally describes these fron the stand-polnt of the CNC. So, for
details on a particul.ar CNC machlne tool, refer to the manual issued by the
rnachine tool bullder, which should take precedence over this manual.
3) Notes refer to detailed and speeific items. So, when a irote is encountered,
terms used in it sometimes are not explained. In this case, first skip the
note' then return to it after having read over the manual for details.
-5-
II
PROGRAMMING
lr
il
1.
INTRODUCTION
Progam
GOIY _;
X-Y-;
G03X
--
--
--;
of moving the tool along straight lines and arcs ls called the
interpolation.
Syutbols of the Progratmed commands G01, GO2, ... are called the preparatory
function and specify the type of interpolation conducted in the control unit.
The function
Control unit
X axis
a) Movement along
\n
staight line
_;
X-Y-;
colY
/v
G03X
Note)
-Y-
Y axis
j--t
a) Movement along
(
'\
straight line
R-; t
b; Mo"urnent along
7
b) Movement along
arc
,ll -'
Tool movement
workpiece.
-9-
ilil,
2) Feed
Feed
ilfr
Irll
Itf
lrll
ti':
Iii
I
'
Table
Movement
Program:
F150. 0
The function of deciding the feed rate is called the feed funetion.
-10-
Command
Program
Coordinate system
Part drarving
NC
lviachine
tool
NC
of tool
t
Distance to zero point of
coordinate system to be set
Coordinate system
established on the
- lt -
Fixed
distancc
ii
ii)
Mountl"ng a workpiece
!
tl
iii)
t'
Pallet
-L2-
shall
be
c) How
Tool
A (1s,60,40)
(1030,20)
ii)
i..
e.i
v|,:
*:j;
30
u$,
,/
__J
movement
0;
_13_
4) Cutting speed
ll
,p^'%
,,1w,:.,*
7//)
rool
i-----(2/
IL
L---
Workpiece
--t
I
----J
The speed of the tool with respect to the workpiece when the workpiece is cut
is called the cutting speed.
As for the CNC, the cutting speed can be specified by the spindle speed in
rpm unit.
For example, when a workpiece having a diameter of 100 nn should be machined
at a cutting speed of 80 nrm/nln, the cutting speed in rpm un.it is calculated
to be approx. 250 rprn from N = 1000 V/nD. Therefore, specify the following:
S
250;
Tool number
ATC magazine
I^lhen
is performed, it
is
tool.
For example, when No.01 is assigned to a drilling tool and the tool is stored
at No.0l of the ATC magazine, the tool can be selected by specifying:
T01
-L4-
g
F
Spindle rotation
Coolant
/l
onloff
Workpiece
7) Program
ments.
Blobk'
Block
Block
Program
Block
A group of commands at each step of the sequence is called the block. The
program consists of a group of blocks for a series of machining. The number
for discriminating each block is called the sequence number, and the number
for discriminating each program is cal1ed the program number
The block and the program have the following configurations.
*-
ft
*.
_ 15 _
a)
Block
Block
numDer
preparatory
Interpolation
funltion
function
Spindle
function
Miscellaneous Tool
function
function
cR
End of
block
Program number
Block
BIock
Bloc.k
M3O CR
end of program
-15-
'r.
c)
Mrin program
-----l
I
I
M98Pl@1
I
I
I
M98P'1002
I
Scbpiogrrm#l
----r
-io'oo'
-- )-|
'/"i
--j==-."
l.t'-.----...-.-
....--.--l
#l
Ntsg
-/ --
M98P1001
Subprogram #2
--
I
I
---l- or ooz
----"1
Lryg_
_ ____J
Hob *1
Hole
'\c
Hole
#l
#2
Hole #2
When
Standard tool
-t
I
-t7-
Cutter
If raditrs of cutters are stored in menory, the tool can be uroved by cutter
radius apart from the machining part figure. Thls function is ca1led
cutter radius compensation.
-18-
l---
r__
L_---l
Tutte
____r
L- .t'
tl
-Jl
tTr' -
7/////U//////////Z///////t
Rererencepoint
l,al,
4V
2',,
'44
t,
.- -t-i
',
:l
- ---{
*V
//rl-z7zzzrlzzzzrlz,.zzrzrrr2,
-19-
LJ
LJ
2.
CONTROLLED AXES
2.2
PMC
axes
Max. 4 axes
expansi-on
(Note)
axes
axes
by an option.
Increment System
0.001
mm
0.001
deg
0.0001 inch
In increment
0.00I
mm
0.00f
deg
0.0001 inch
Maximum stroke
99999.999
mm
99999.999
deg
9999.9999 inch
systern 1/I0
ar
0.000f
mm
0.0001
deg
0.00001 inch
Least
command
increment
Maximum stroke
0.000f
rur
0.0001
deg
9999.9999 mm
999.99999 inch
9999.9999 des
0.00001 inch
of the inch system and the metric system is not allowed. There are
functions that cannot be used between axes with different unit systems (circular
interpolation, cutter radius compensati.on, etc.)
For the incremen! system, see the machine tool builder's manual.
Combined use
2.3
Maximum Stroke
Maximum
-20-
99999999
3.
command
Lvsev
- I Y"
Meaning
One-shot G code
Modal G code
srolrD is sneeified.
(Example)
7_.
ut
Y-.
-.
uvvL
The following
t
t
G
G code
c00
G01
0l
GO2
Circular interpolation/Helical
CW
c03
Circular interpolatio*/Helical
CW
c04
UWEIIT
l^dLL
DLvP
Exact stop
G09
00
GLO
n^+^
ud Ld
cll
XY olane selection
17.
GIB
02
ZX plane selection
cl9
G20
T**,,f
rrrPuL
r\)
^^*+i-DE L L r!r5
/. n l2nc
ir!l
qp lparr
on
.'-^L
flruLr
06
Input in
mm
uLt
c28
00
G29
G30
2nd reference
-2r-
point return
same
i:.i
i/
il'
llllj
ll,.lt
illit,,
iil
,lii,
r,j.rlti
i
ii.,i'
iil
G code
Function
Group
G31
00
Skip function
c33
0l
Thread cutting
G39
00
G40
07
G4i
G42
G43
08
G44
c49
G50
Scaling cancel
l1
caling
G51
Gf1+
c55
Gfo
stem 5 selection
c58
I,iork coordinate
G59
c60
G61
sY
mode
G62
I5
Tanni
c63
no
*tat*
00
c65
GOO
la
LL
-.*
Macro call,
F1acro
--*
Ilacro
comman-d-
modal call
c68
LO
G69
mnde
LZ -
G code
Func t i on
uruuP
G73
svA
!Porb
Gl4
tr/O
Fine boring
GBO
Canned
c8l
Drilling
G82
Drilling
09
GB3
Arillino
ur
rrrrrrS
nrrnla
L)Lrc
cycle cancel
GB4
T-*^;'-rdyPf
GB5
Boring cycle
c86
Boring cycle
G87
c88
Boring cycle
c89
Boring cycle
c90
Ab
^.,^1^
116 Ly
Lrs
solut.e
conmand
03
not
lncrement.al command -
aot
00
Programming
Foorl
G94
05
c95
Gvd
nor
minrrt-o
Return to initial
l0
G99
(Note l) G codes marked \ are initial G codes when turning power on.
For G20 and G2l, the G code before turning power off remains. G00 or
G0l can be selected by parameter setting.
ftr^rrn
OO aro nnl- mnd: I .
Therr
ara only effective in the
(Note 2) uT LUUEJ
-^A^UI
rlrsJ
ere
^ F E;rUUy
block in which they are specified.
(Note 3 ) If a G code not listed on the table of G codes is i--..ts+^r
v!
utru ional
tLIPULLEUT
G code not specified in the system is commanded, an alarm (llo.0l0) is
di
sp
lay ed .
(Note 4) A number of G codes can be specified in the same block. l'lhen more than
one G code of the same group is specified, the G code specified later
is effective.
(Note 5) If. any G code of group 0t is specified in a canned cycle mode, che
canned cycle is automatically cancelled and the GB0 condj-tion is
entered. However a G code of group 0i is not affected by any of the
canned cycle G codes.
-23-
4.
ii
I
I
INTERPOLATION FUNCTIONS
4.1
Positioning (G00)
G00
specifies positioning.
A tool
moves
system
with
pos
an
i t ion
Format
GOO
IP-;
{
;
o+------J
g-.
Eno potnt
(Note 1) The rapid traverse rate in the G00 coumand is set for each axis
independently by the machine tool builder (parameter No. 0518 to No.
0521). Accordingly, the rapid traverse rate cannot be specified in the
address F.
In the positioning mode actuated by G00, the tool is accelerated to a
predetermined speed at the start of a block and is decelerated at the
end of a b1ock. Execution proceeds to the next block after confirming
the in-position. (See Note 2).
(Note 2)'rln-position" means that the feed motor is withln the specified range.
(This range is determined by the roachine tool builder) (Parameter No.
0500 to No. 0503).
-24-
4.2
point
final
O+_--__J
End point
one
to left).
G60o
B _\_6_;
coincides with that set by the parameter, the tool stops once before the end
point. (s, B, y, 6 = X, Y, Z or which one of additional axis A, B, C, U, V, W.
Simultaneous 3 axis is option. )
Overrun
End point
Temporary
-25-
4.3
F;
GOl P
This comiland i-ctuates the linear interpolation mode. The values of lP define
the distance of tool travel which will be conducted in absolute or incremental
mode, according to the current status of G90/G91. The feed rate is set to a
cutting feed speed commanded by F code and is a modal data.
(Program example)
(c91) GOl x200. 0
YI00. 0 F200. 0
Y axis
00.0
X lxis
(Start point)
200.0
The feed rate conmanded by the F code is ueasured along the tool path.
not coruranded, the feed rate is regarded as zero.
(Note 1) The feed rate of, each axis directlon is as follows.
o
B
Gole
B
Fc = *
. t
direction: FB = f
Feed rate of y axis direction: Fy =
f
Feed rate of E axis direction: Fe =
*
. t
' f
' t
Feed
Feed
If ir is
y=ffi
(Note 2) The feed rate of the roa"r, axis is commanded in the unit of deg/min
(the unit is decimal point position)
G9l cOi B-90. 0 F300.
(Start point)
@nd point)
\Rotation
-26-
i,
!
4.4
The
command
bel-ow
c,8 ,33it
{-I
}T
,R
tr
}F
crs
r[!]r
p
r
Date to be given
I
trI /
Specification of arc on
cl8
ci9
an.,
Clockwise direction
c03
Counterclockwise direction
G90 mode
Two of the X,
Y, and Z axes
End
G91 mode
Two of the X,
Y, and Z axes
of the I,
J, and K axes
Arc radius
Arc radius
Feed rate
Direction of
rotat ion
End point
Meaning
Command
Plane selection
position
^'
tJ
Tvro
XY plane
(CW)
(CCW)
The view is from the positive direction of the Z axis (Y axis or X axis) to the
negative direction on XY plane (ZX plane or \Z plane) in the right hand
Cartesian coordinate system.
ir.
I \\
lcor\
----\
I
\\co3
"o'
G02\
G17
-27-
point (x, y)
xl
z1
| lt
t_
I
tart
nnin t
j
Center
nni 11i
Start point
Center
I-_--l
I,
The
c02
c03'
In this case, two types of arcs (one arc is less than 180o, and the other is
more than 180") are considered, as shown in the figure below. hrhen an arc
exceeding 180o is commanded, the radius must be specified with a negative value.
(Examp le
).
i8o')
F300. 0;
r=50mm
End point
\-..._
-28-
--/
i!.il!,1:
ir'r.1; I
l:i,,,,";. 'i.
'
(Program examPles)
Y axis
00
60
40
p'
90 r20 140
The above tool path can be programmed as follows:
l) In absolute programming
x200.0 Y 40.0 z0
G92
;
c90# c03 x140.0 Y100.0 r-60.0 F300. :
c02 x120.0 Y 60.0 I=50.0
;
0
X axis
200
or
Helical
interpolation
is
ur/
,G02.
tGo3J
\
c18 ,G02
'c03'
.G02.
cl9 tco:
J
rr\
Lr
!U
rR
tI
,RtJ-
}Y
lv
-29-
t
t
'
l, l,t:-t1,
interpolation
command
axes.
!rr\
so
does
Tool path
-30-
4.6
fIMIDTT
{-.'^L
th-^..-L
L!r!vu6tr
^..!+ jh-
'I
LULLflr6.
l!
f -^r
lluL,
inCOrt.eCt
OCCur.
I
thread leaO will
etc. will produce somewhat incorrect
0.001
innrrf
mm
0.0001
Tnnh
i nnrr
mm
0.000I inch
l-
Lead range
command increment
0.00001 inch
Fl -
F50000
F50000
(0.01 - 500.00
mm)
(0.01 - 500.00
mm)
F1
Fl - F500000
(0.000i - 50.0000 inch)
Fl - F99999
(0.0001 - 9.9999 inch)
Maximum feedrate
Thread Ieao
Allowab le number of positlon
coder revolutions
p.
(Note
(Noce
mm
1002.
3)
4
The converted feed rate applied with the feed rate clamp.
The feed hold is ineffective during thread cutting. If the feed hold
button is pushed during thread cuEting, the tool stops at the end point
of the block immediately following the block in which Ehread cutting is
completed.
5.
FEED FUNCTIONS
5.1
Rapid Traverse
5.2
Feed speed
are
conmanded
5.2.1 Tangential
Starting point
*--
\ \E-
\
/t\
End point
./
rr
/', \l
/ 'xl l\at|
L_J
Fx
Starting
point
End point
Fz
For arc
F:
Fx:
Fz:,
G;ryfrt
cuttlng feed rate uPper liurit can be set as parameter (data No.
rf the
actual cutting feed rate (feed rate with override) is conrmanded0527).
exceedlng
the
upPer limit, it i-s clanped to a speed not exceedlng the upper
linit
value.
The clamped va'lues is set in mr/rnin or inch/urln.
Except during acceleration or deceleration, the cNC arithmetlc
error for the
command value of the feed rate is hrithin +22. This error
is
applied
to the tine
measured for the tool to move a dlstanG of 500 mm or
more'under
stationary)
conditions.
-32-
5.2.3
(mm/min or inch/min)
5.2.4
(mm/rev or inch/rev)
(Note) When the rotation speed of the position coder is I rpm or less, the feed
rate becomes nonunif orm.
In cases where rnachining is not adversely affected by feed rate
nonuniformity, the position coder can be used at I rpm or less.
Though the degree of nonuniformity differs according to the case, the
degree becomes large as the rotation speed becomes low under I rpm.
5.2.5 One-digit
F code feed
feed rate upper limit for Fl-F4 (parameter setEing No. 583)
2: feed rate upper limit for F5-F9 (parameter setting No. 584)
value of l-127 (parameter setting No. 216)
X:any
Fmax
-33-
The feed rate set or altered is kept even while the power 1S
feed rate is displayed on the CRT.
When plural manual pulse generators are available, use the
generator without fail.
off.
The current
Meaning
Address
G code
G94
c95
Override
Clamp
Value
5.3 Override
Refer to machine tool builderfs manual for detai,ls of overrides.
a
5.3.1
Feed rate
5.3.2
override
The per minute feed (G94) can be overridden using the switch on the machine
operatorrs panel by:
0 to 1502 (per every IO7") .
Feed rate override cannot. be applied to functions in which overrj-de 1s . inhibited.
Rapid traverse rate can be overridden using the switch on the machine operatorrs
panel by:
!'0,
25 , 50, 1002.
F0: A constant speed set by parameter (data No.
!
r
i
i
-34-
0533)
5.4 Automatic
Acceleration/Deceleration
Rapid traverse:
control
Servo motor
distribution
(Interpoiation)
Pulse
Acceleration
/deceleration
con!rol
R.Bte after
interpolation
Rapid traverse
F'
RMAX.
T
-R
Rapid traverse
Accelerat ion,/
deceleration time
constant
0s 2s)
t* -l t*"
-35-
JOG feed
I
Speed
FJ
F1
*Ty
Time
TJ
F:c Acceleration/
deceleration
time constant
(data No. 0530)
5.5
For example, if the tool moves along the X axis only in one block and along the
Z axis in the next block' the feed rate for the X axis decelerates while motion
along the Z axis accelerates and the actual tool path is as follows.
Insert a deceleration command here
'/
Programmedpath
If the decele.ration command is j-nserted, the actual tool path matches the propath. The faster the feed rate and the larger the acceleration/
decereration tiine constant, the larger the error at the corner.
In circular lnterpolation, the actual arc radius is smaller than that of the
prograuuned arc. (See the Appendix. 3) This error can be mininized by rnaking
the acceleration/deceleration time constant of feed rate sma11.
grarnmed
-36-
(Note
I)
Prev ious
-----_r_...--. block
Posi t
-------\
ioning
Posi t ioning
Feed
Not moving
Not moving
x
Feed
of
The next block is executed sequentially so that the feed rate is not
changed by very much.
However in the block G09 is specified or G6l mode, the next block is
not execut,ed until the feed rate is decelerated and reached to zero.
5.5.1 Exact stop (G04)
Move command in blocks commanded wiEh the command (G04;) decelerates, and
-in-nnqi t.i nn nhonI is performed. This command (G04; ) is not necessary for
deceleration at Ehe end point for positioning and in-position check is also done
r.l ^ ^ 1 1 ,,
duLUrudLrLdLLy.
This func.tion is used when sharp edges are required
piece corners in cutting feed.
for work-
r'Nnro I ) rrTn-nncigiontt means that the feed motor is within the specif ied range.
(This range is determined by machine tool builder.)
5.5.2 Exact
l.lhen G6 I
of block to transfer to the next block. This command is valid till G6I (exact
stop mode), G62 (automatic corner override), or G64 (cut-ting mode) is commanded.
ii)
iii)
Straight line-arc
iv) Are -
arc
-38-
0.001".
b) Motion area
When a corner is judged as inside,
.-4:
.,,rrA, uviltcr
plrL
Lurlsr
^ohro? -.rh
L
-
-a/
\-
\- -
Programnred path
-39-
(ExarnpIe)
In case of disc
/'/"/a,i\
'/
\,V
'/
",r.'l'r,
./
L,l
Progranrnrerd path
\v
\h
/"
\' -
--/
center path
c) Overri-de quantity
The override guantity is set by parameter No. 0214
l<override quanrity (I7. srep)s100(%)
It is also effective for the dry run and FI digit coumand.
In case of an F4 digit command, actual feedrate becomes
F x (internal corner override) x (feedrate override)
d) Whether internal corner override is effective or not
Whether the internal corner is overridden or not i,s selectable by G
codes. G62 is added to G61 and G64 in group 15 as shown in the fo11owing table. These G codes are also related to whether the exact stop
check mode is effective or not.
Exact stoD check
mode
G61
Effective
Ineffective
c62
Ineffective
Ef
c64
Ineffective
Ineffective
fect ive
(Note 1) G64 functions when povrer is turned on or under the clear condition.
(Note 2) Specify G09, if you want to check the exact stop in G62 mode.
(Note 3) The internal circular cutt.ing feedrate change described in (2)
always effective without being affected by these G codes.
-40-
;tt'
1e
t.
I,
ts
b
i,
I
ogrammed path
However, if
(G04)
With the G04 cornmand, shifting to the next block can be delayed.
Shifting to the next block can be delaved for the commanded minutes.
Format
Per second
c94c04
dwe11
{:.
A
orX
-}
When
P or X
is
seconds
(0.001
0.0001
-41 -
6. REFERENCE
POINT
The reference
Y
I
o
Re ference poin
6.1 Automatic
NIXI. OZ2.O;
N2G28X40.0;
N3G28260.0;
-42-
G29P
(G29)
_;
This command positions the tool at the cornmanded position via the intermediate
point of a conunanded axj-s . In general, it is commanded immediately following
in" cz8 ccmmand or G30.
For incremental programming, the cornmand value specifies the incremental value
from the intermediate Point.
In the G29 block operation, all commanded axes are positioned at thg intermediate point defined by the previous G2B or G30 corunand, and then to the
commanded point from the intermediate point at the rapld traverse speed.
Application example of G28 and G29
Reference poinl
Tool is changed
ai R point.
Intermediate point
X (rnm)
0
(c91)
G28X1300.0Y700.0;
Ttltl.
300
I 300
800
(Program A to B)
G29X1800.0Y300.0; (Program B to C)
As shov,rn in the example, the prograuuer is not required to calculate the actual
nove distance from the intermediate point to the reference point.
(Note l) llhen the work coordinate system is changed after the tool reaches the
reference point through the intermediate point by the G28 or G30 com-
{
Si
s
g
S.
6.2
A reference point is fixed on the rnachine tool and the cutter can be moved to
that point by the reference point return function.
The G27 reference point return check functlon checks whether or not the program
returns to the reference point normal1y, as programmed.
G27lF
:
This comnnnd-positions the tool at rapid traverse rate. If the tool reaches the
reference point, the reference point return lamp lights up and the next block is
executed. However, if the position reached by the tool is not the reference
Point, an alarm is displayed.
-43-
(uote t) In an offset mode, the position to be reached by the tool with the G27
cornmand is the posiEion obtained by adding the offset va1ue.
Therefore, if the position with the offset value added is not the
reference point, the lamp does not light up, but an ararm is displayed
instead. Usually, cancel offsets before G27 is commanded.
(Note 2) when the machine tool system is an inch system wit.h metric input, the
reference poinr return lamp may also light up even if the programmed
position is shifted from the reference point by lp. This is because
the least input increment of the machine tool system is smaller than
its least command increment.
(Note 3) If G27 is commanded with machine lock on, the reference point return
check is not done.
6.3 2nd,3rd,4th
(P2\
II
c30 {P3)
tl
lP4.r
P2,
_-t
This com-and returns the commanded axis to the 2nd, 3rd or 4th reference point
automatically through the specified position. Each reference point return LED
lights after completion of the return.
The positions of the 2nd, 3rd or 4th reference point are determined by
presetting the distance from the reference point as a pararDeter (Dat.a No. 0735
to No. 0738, No. 0780 to,A787) during field adjustment. This funcrion can be
used after the first reference point return has been completed. This function
is the same as G28 reference point return, except that this function returns the
tool to the 2nd, 3rd or 4th reference point instead of the primary reference
point.
If G29 1s commanded imrnediately following G30, the tool is positioned to the
point commanded by G29 through the intermediate point commanded by G30. This
motion is the same as thac by the G29 command following the G28 command.
The G30 command is generally used when the automatic tool changer (ATC) position
differs from the reference point.
(Note I) At least one manual reference point return or automatic reference point
return must be performed by the G28 command after the power supply is
turned on, prior to issuing G30 command.
(Note 2) Like the G2B command, cancel the cutter compensation, and tool length
offset before thi-s command is executed.
-44-
7,
COORDINATE SYSTEM
the position to be reached by the tool is taught, the CNC moves the tool to
that position. The position to be reached by the tool is given as'a coordinate
value in a coordinate system.
The position to be reached by the tool id commanded with a coordinate value of
one of the coordi-nate systems, as required. The coordinate value consi-sts of
one component for each program axis.
If there are t.hree program axes (X, Y, and Z), the coordinate value is expressed
as follows:
I^lhen
I 40.0
Position of
is commanded
Since the number of program axes, that is, the number of components for the
coordinate value, varies with the machine tools, the coordinate value is
referred to as IP
in this manual.
7.1
A coordinate system used for work machining is called the work coordinate
system. The work coordinate system is set by either of the following method:
l) Using G92 command.
2) Using G54 ro G59 command.
In case of 1),'a work coordinate system is established by specifying coordinate
values after G92.
In case of 2), six work coordinate systems are preset from CRT/MDI panel as
setting data and any of them can be selected by G54 to G59 command.
7.1.'l
Setting
1) Establishing coordinate
G92]p
-45-
(Exarnple 1)
c92X25.2223.0;
(Exanple 2)
As shovrn above, G92 is also used to align the base point of the tool holder with
the start poinf and to establish a coordinate system at the beginning of the
program. If an absolute command is issued, the base point moves to the commanded position.
In order to move the tool tip to the comrnanded position, the
difference from the tool tip to the base point is compensated by tool length
offset.
(Note 1) If a coordinaie system is set with the G92 comrnand in offset mode, the
coordinate system is set so that. the position before tool length
compensation is applied becomes that specified by G92.
(Note 2) In the cutter radius compensation, offset is temporarily cancelled by a
G92 command.
-46-
' 'lj:.:i
+,#.;
j.;
If rtlrr is seE to the parameter APRS (No. 0010), the work coordinare systeu is
se! automatically when the manual reference poinc return has been completed.
In this case' set the distance o, B, and y to the parameters No. 0708, No. 0709
and No.0710 so that the machine position (top of the standard tool or the
standard point of holder) after manual reference point return becomes X = o, Y =
B and Z = "y.
It is equivalent to command the following.
G92X a
Zy;
7.1
Work coordinate
Work coordinate
Work coordinate
Work coordinate
system
system 2
systern 3
system 4
EOF54
Work coordinate
system 5
Work coordinate
system 6
re
-47-
2)
Work coordinate
systern
Work coordinate
Work coordinate
system 4
systern 3
ZOF'S
ZOFS
ZOFS
ZOFS I
Work coordinate
system
ZOFS
I'XOFS
ZOFS
Wotk coordinate
systenr 6
EXOFS:
Elternal work zero poig,t offset value can be changed in three ways.
a Using CRT/MDI panel
Using program (cl0)
Q]
(f Using external work c oordinate system shift function.
An input sign enables you to change work coordinate systems. Refer to
machine tool builder's manual for detiils.
(Note l) The external work zero point offset amount can be
set within the
range of 0 and +7.999 nm or 0 and +0. 799 inch for every axis.
(Note 2) When G92 i.s sp&ifi.ed afrer a shlft value has been
specified, the
shift value is ignored.
(Exarnple)
when G92x100.0280.0;
7.1.3
-48-
,
.
, . rr=:,;f;_;
i:!;'.
I :.;
,,1.
Example: G55G00X20.02100. 0;
40.0220.0;
Work coordinate
System 2
Work coordinate
System I
4
0.0
20.0
20.0
I 00.0
7.1.4
When
(Gs4
lP
eoordinate
command
can be used to
systemlto6are
established after
point
reference
return after Ehe
po!r'er. is turned on.
When the power is
turned onr G54
coordinate system
is selected.
G59)
shift them.
1) Using Gl0
clO L2 Pg
p=0
Work
P/ = Gs-'(
P"rJfT
_;
ce2P
By this command, six !/ork coordinate systems move to creatf a new work
coordinate system so that the tool tip becomes the coordinate value IP
commanded by G92.
Since the distance shifteC at this time is added to al& subsequent work zero
point offset values, all work coordinate systems move by Ehe sarne distance.
If G92X100Y100; is
commanded when the
Y'
tool is positioned
ar (200, 160) in
G54 mode, work
coordinate system I
(X' - Y') shifted
by vector A is
created.
100
200
i{hen creating a new work coordinate system with the G92 command, a certain point
of the tool becomes a certain coordinate value; therefore, the new work
-49-
I 2000
G54 work
coordinate
system
G55 rvork
coordinate
s),stem
z'
t
f\
L'
-Z
coordinate system
) Display
-pr.""
a)
l-oFSETl.
b) Press FFacfr tey to display ttlnlork Coordinates" screen
"woRKtt. )
-50-
c) The work
t{Xt<
CIRDII.fITES
Ml.
_ax
z
A
01
(E1B 1.810
f.
MTR
Y
z
A
"PAGE',
L.4
-3.s@
o.&t
a.@
MTA
a.w
a.gzg
a.em
a.m
@,x
z
A
9-m
6X
t4.@
ta,w
L5..m
9.W3
9.WA
9.@B
o.s@
ADRS.
11:S:45
l.rDt
lsr.srll,,*-1 tr*.ln
The following is displayed on each page.
i) Page t
00: Shift amount of work coordj.nate system
01: Work zero point offset amount of work coordi.nate system I (c54)
02: Work zero point offset amount of work coordinate system 2 (G55)
03: Work zero point offset amount of work coordinate system 3
(C56)
'.\
2)
11/ Eage I
04: Work zero point offset amount of work coordi.nate sistem i (c57)
05: Work zero point offset amount of work coordi.nate system 2
(c58)
06: Work zero point offset amount of work coord.inate system 3 (c59)
Set t ing
a) Adjust the cursor to the number to be changed or set.
Step I
Cursor
Press [Tl E.
cursor
next
b)
7.1.6
Page.
Step 2
Key inl No. IINUMBER ll mTur-l
in.E: l-y .l,.[ z I or [E_l
T:y
(Note l) rhe workEoordiiii'tE system
range of 0 - +7.999 mmor0
System variables
within the
51
Work
{t2500
c54
It2sor
c59
{t2506
c54
c59
112606
ll27 00
ll27 0r
c59
ll27 06
#2800
c54
ll28Ar
amount
112600
It260L
I
c54
c59
7.2
offset
#2806
c19.
YZ plane
If GI7, Gl8, or Gl9 is not specified in a b1ock, the plane remains unchanged.
(Example)
G18X
ZX plane
The plane
plane.
-52-
' :,t,::-
,:i#;!ri
B.
8.1
There are t\,to ways to corunand travels of the axes; the absolute command, and the
incremental command. In the absolute command, coordinate value of the end point
is programmed; in the incremental conunand, move distance of the axis itself is
programmed. , G90 and G91 are used to couunand absolute or incremental command,
respectively.
G90: Absolute comrnand
G9l : Incremental cormand
100.0
8.2
G code
Inch
c20
0.0001 inch
Millimeter
c21
0.001
systems
mn
This G code must be specified in an independent block before setting the coordinate system at the beginning of the program. The unit systems of the following
itens can be changed with G codes:
(l) Feedrate comrnanded by F code
(2) Positional command
(3) Offset value
(4) Unit of scale for manual pulse generaEor
(5) Ilovement distance in step feed
(6) Some parameters
(Note l) I^Ihen the power is turned oo, the NC status is the same as that held
before the power r{as turned off.
(Note 2) GzO and G2l must not be swltched during a program.
(Note 3) When the machine unit and the input unit systems are different, the
maxlmum error is half of the least command increment. This error is
not accumulated.
(Note 4) When switching inch input (G20) to metric input (c2l) and vice versa,
the offset value must be reset according to the input unit.
I
-53-
8.3
This control can input numerical values with a decimal point. However, some
addresses cannot use a decimal point. A decimal point may be used with rnm,
inches or second values. The location of decimal point is mm, inch or second.
ZL5.O 215 millimeters or Zl5 inches.
F10.0 10 uun/min. or l0 inch/min.
G04X1 . D,rell for one second
The following addresses can be used with a decj-mal point iXrYrZrIrJrKrQ,
R, 4-th, F.
Use a parameter to select input method; whether to input by pocket calculator
type input, or by the former type decirnal point input.
(Example )
Program
command
000 mm
000 nm
lmm
1000 nm
xl 000
xl 000.
1
1
(I{ote i) In the dwell comrLand, decimal point can be used wj-th address X but not
with address P. (This is because P is also used for a sequence
number. )
(Note 2) The appropriate G code should be specified before the numerical values
are specified {n one block.
l) G20; (inch dimension)
Xl.0G04;.......
Because the value Xt.0 is not regarded as the
number of seconds, buE the distance of motion (in
inches), Xl0000G04 is assumed resulting in dwelling
for f0 seconds. Indication also changes from 1.0
to 10.0 when G04 is input.
G04Xt.0 ..
This is regarded as G04X1000 and dwell is performed
tor a seconcl .
(Note 3) There is a great difference in values with and without the decimal
point, when programned by conventional decimal point progra'nming.
G2L ; (rniillmeter dimensions)
]ll.
,!L
mm
X0.001
G20; (inch dimension s)
..I
xt.
mn
Xl inch
X0.0001 inch
(Note 4) Values with and without a decimal point can be specified together.
Xl000223.7;
X10.Y22359;
(Note 5) Valuef less than the least input increment are rounded off.
When XL.23456 is specified, XI.234 is assumed in rnillimeter input and
XL.2345 is assumed in inch inpuE.
Also, the number of digits must not exceed the ma:<imum number of digits
a1lowed.
XL.23456789
XL.2345678 ...
Jq
$-.o"
':iit;'i'1ffi'
li*i'
(Note 6) When a number ryith a decimal point has been input, the number is converted into an integer of the least input increment.
Example:
Example:
x123456.7
Xl23456700 (input in inch)
An alarm occurs because the converted integer exceeds 8
-55-
digits.
t,_
9. SPINDLE SPEED
9.1
FUNCTION
S 2-digit code
-56-
a,-.;.*lr
10. TooL
FUNCTTON
(T
FUNCTTON)
One T code can be commanded in a block. Refer to the machine tool builder's
manual for the number of digits commandable with address T and Ehe correspondence between the T eodes and machine operations.
When a move conmand and a T code are specified in the same block, the commands
are executed in one of the fol|owing two ways:
(i) Simultaneous execution of the move conunand and T function commands.
(ii) Executing T function commands upon completion of move command execution.
The selection of either sequence depends on the machine tool builderts specifications. Refer to the manual issued by the machine tool builder for details.
1O.2 Tool Life Management
Tools are classified into various groups, with the tool life (time or frequency
of use) for each group being specified. The function of accumulating the tool
life of each group in use and selecting and using che next tool previously
sequenced in the same group, is called the tool life management function.
____
c10T
_L
Meaning
AA
TAAAAH00D
(l)
TAAAAH00D
(2)
T followed by tool
No.
group
rAAAA;ooD
(N)
P___LAAAA;
TAAAAH00D
GII
MN? /M?N\
\rrJv"
End
End
of Program
-57 -
are
TAPE mode
No. of tools
I6
r6
32
64
128
(Note 4) The number of groups and the number of tools per group Ehat can be
registered are combined by setting in one of four ways as follows:
In any combination, up to 256 tools can be registered. Combination i
is selected for up to 16 gruops, each with up to 16 toolsl combination
2 for.up to 32 groups, each wit.h up to 8 tools; and the tike. To
change a combination, change the parameter, then reset the tool groups.
If the tool groups are not reset, former tool groups are selected.
Therefore after changing parameter, execute the group setting program
^ ^^.i *
dXdllt.
-58-
0000i
GlOL3 ;
P001L0150;
T001
lH02Dl3
Data
T0132H05D08;
T0068H14D16;
P002L1400 ;
T0061H15D07 ;
T024LH25D04 ;
T0134H17D03;
T0074H08D21;
P003L0700 ;
T0012H14D08;
T0202H22DO2 ;
of group I
Data of group
Data of group
Gll
M02
codes
Meaning I
Tape format
TVVVV
Group No.
MO6T n
c43H
L-l LJ L-I
6a
c4lH o
TAAAA
by
MO6T
*or- r"rol
_59 _
to
(Note l) From T0000 to TAAAA, stipulated by the tool life management ignore No.
AAAA, are handled as ordinary T code commands, and no tool life
management is Performed. When the T code of AAAA plus the group No. is
designated, tool life management is executed for the related group.
The value of the tool life management ignore No. is set by a parameter.
When the value is 100, for example, from T0000 to T0I00 are output as
ordinary T codes; and when the T0t0l is designated, a T code of a tool,
which has not reached its life end among the tools of group 1, is
output.
(Note 2) The above tape format uses the tool return No. command method (Type A),
which requires a tool return command at the time of tool change. Type
B and Tvpe C are also available.
Concrete examples of the tape fomat when the tool life management ignore No. is
100 are described on each type.
Tvoe
lleaning
Format
(Toloo)
M06T102;
G43H99:
l'
I
I
G4
lH99;
I
I
I
unn.
.'
-60-
TyPe
Format
Tl0l
I
I
M06T102;
I
Meaning
M06T103;
c43H99;
I
I
I
c4 rH99
I
I
I
9rv
H00;
I
I
M06T104;
-61 -
Type
Format
MO6T IO
Meaning
1
I
I
I
I
M06T102;
I
I
I
I
I
I
I
M06T103:
l'
I
I
I
it ion.
I
I
I
I
G43H99;
I
I
G4lH99;
I
rJnn.
(Note l) Whether T code following M06 is used as back number or as waiting code
for next exchange is set by the parameter (No. 0039-I'16TCD).
2) Counting tool life
Tool life is counted by time or by frequency. The life count is executed
every group and the contents of life counter is not cleared by turning off
Po\^/er.
When
-62-
r.,1ri:,; ::;i
r*':
FUNCTIONS)
when a move command and M or B codes are specified in the same block, the commands are executed in one of the following two ways:
i) Simultaneous execution of the move command and M or B function commands.
ii) Executing M and B function commands upon completion of move command
execut ion,
(Example) Nl G0l c91X50.0Y-50.0 M05; (Spindte srop)
L\
tl
F
(i)
Sequence (i)
s0 ---l
Sequence
(ii)
The selection of either sequence depends on the machine tool builder's specification. Refer to the manual issued by the machine tool builder for details.
11.1
Itlhen a 3-digit f igure is specif ied f ollowing address M, a 3-digir BCD code
signal and a strobe signal are transnitted. These signals .ru ,rs.d for 9N/OFF
control of a rnachine function. One M code can be specified in one block.
Selection of M codes for functions varies with the rnachine tool builder.
t
The following M codes indicate special meaning.
1) M02, M30: End of program
i) This indicates the end of the main program and is necessary fnr rooi qfrr-
63
(Note 2) The code and strobe signals are not sent to the machine tool- side for
the M98, M99.
(Note 3) Except for M98, M99, all M codes are processed by 'the nachine too1, but
they are not done by the CNC side. Refer to the machine tool builder's
-64-
$
ltr
t.
-il.
(v)
(vi)
(vii)
Comment
Program End
Tape End
Program -
Section
I
I
hogIam Start
Comment
(if necessary)
Tape End
(Note 1) lI02 can be used instead of M30 at the end of the maln progran.
(Note 2) Wtren in IS0 code, LF is used for ;, while in EIA code, CR is used.
2)
One subprogram on
tape
t'""o"t
\l*Tape Start
*f{- f;ffff
Program Start
Program
Section
-L
ffi
-L-l
Tape End
A subprogram must be used after being entered into the part program
memory
area.
:
a
L
:.
:r.-:il
"'ii*
-55-
-, r.Jlit-fJ;,
,+ $p,iil
and a number
of
subprograms on
taDe
Main Program
Subprogram
ubprogram End
Tape End
of programs on a tape
Program Section
Tape Start
+-
Program Start
Program Section
Program Section
-66-
Comn:ent
being entered
Program
Section
Tape End
Program End
A program number must be put at the first block of each main program section
or subprogram section.
A prograur number is a four-digit number following address 0. (lrlhen in ISO,:
can be also used instead of O. )
Program numbers are not necessarily given. See Secti"on 12. 4'.2 f or details.
0r001c0Ixr2
300.
g-
Prog:am
Number
Start must be punched at the top of the paper tape by using the following code. This section is necessary to stop rewinding the tape when used with a
Tape Reader with Reels. This section may be omifted when the Eape is used with
a Tape Reader without Reels.
The Tape
EIA
ISO
ER
12.2
Meani-ng
Information punched before the first LF (for IS0 code) or CR (for EIA code) on a
paper tape is called the Leader Section. Normally, the CNC is set to the Label
Skip condition when turning the power on or resetting and this section of paper
tape is loaded on a PPR. The PPR reads but skips this section (by the Label
Skip function). Generally, a labe1 for a tape is punched in this section.
Since no parity check is performed on the skipped leader section, any combination of codes other than LF and cR may be punched in this section.
(Note) The 1abe1 skip function is used to ignore all information up to the first
EOB code.
12.3
Program Start
Punching the following code immediately after the end of the Leader section (at
the top of the first block of a program) indicates the start of a program. This
code is necessary to release the LabeL skip function.
EIA
ISO
t, It
L.T
I'feaning
Program Start
-61 -
12.4
Program Section
The part of the paPer tape punched between the Program Start and program
End
code (except the Cortment section explained in Section 12.5) is called the
Program Section. Information specifying tool travel and machine ON/6FF function
is punched in this section. This section is cal1ed the significant section and
is different from the non-si-gnificant section which includes the Leader and
Conrment Section.
l--
u,""u
1) Main program
A program is divided into a main program and subprogram: Norma1ly, the NC
operates according to the main program, but when a comnand calling a
subprogram is encountered in the main program, control is passed to the
subprogram. When a corunand indicating to return to the main prograp is
encountered in the subprogram, control is returned to the main program.
-68-
F'
$t
Main program
Information
Subprogam
Information
Information 2
Information 2
'Fg[o.w m rnrormaRon
tn lne sll rDfOqfam--
Information n
lnfolmation n + I
A total of 125 main programs and subprograms may be stored in the NC nemory,
and the CNC uses one of these main programs to move the CNC machine tool.
cNc
Program
#r a>
/
.7
@
I
#n2
Program
l
E<'
tu
-69-
?l Subprograms
When a program contains certain fixed sequences or frequently repeated patterns, these sequences or patterns may be entered into memory as a subprogran
to sinplify programming.
The subprogram can be ca11ed in AUTO mode. A subprogram can call another
subprogram.
hthen the main program calls a subprogram, it is regarded as a one loop subprogram ca11. Thus, two loop subprograrn call can be executed as shown below.
However, four loop subprogram call can be executed using custom macro.
Main program
program
Sub
Sub propgam
010001
I
I
I
I
r{98P]000;
M98P1 000;
r!{98P3000:
{oop nesting
2Loop nesting
Mqa.
-L5-
M98P00000000
Subprogram number
Number of times the subprogram
is to be repeated.
the repetition times is omitted, the subprogram is repeated once.
(Example) t'tggPS1002;
This command is read "Ca11 the subprogram (subprogram number 1002) five
When
times.tt
(M9BP
- 70 -
be
ffi.
*:.:
4.
&
;{.
follows:
of a main
Main program
NOOI
N0020--_-_-;
number 1200)
program which
calls a
is ca1led after
subprogram
is
as
Subprogram
o10I0;
}t1020
N1030 _;
N0030M98P21010;
N0040 --------;
N0050M98P1010;
N0060 ---------;
N1040
Ni050
N1060
M99;
it is executed in the
tool.
xxrx;
M02;
executi-on.
i)
When
Ilain program
N0010
___a
N0020
N0030 _____1
N0040M98P1010;
N0050 _____;\
N0060
N0070
ii)
---x---
Subprograrn
01010 t-i
N1020
N1030
N1040
N I05O
Nr.060
N1070M99P0070;
- 7t -
N0010
N0020
N0030
N0040 -;
N0050
N0060
/N0070M99P0030;
N0080
Optional block
skip OFF
iii)
Optional block
skip ON
N00901'102; ;
It is possible to execute a subprogram from the start by specifying a
search for it from the IDr keyboard as well as the main program.
(Refer to III 10.4 and 10.9 for the search operation).
In this case' if the M99 command is executed, control returns to the
top of the subprogram and execution is repeated. IfttMggPn;" is executed, control returns to the block whose sequence number is rrnrr and
execution ls repeated.
In the above operation, if you want to stop execution, insert "fl'1021"
or the "/M30;" at the appropriate position. Lrhen the optional block
skip swi-tch is turned off, the above cornmand is executed and the program 1s terminated. In the example be1ow, execution will continue
while the optional block skip i-s on and will stop when the optional
block skip is turned off.
Nl 040
N1050
Nr060
/Nr070
M02;
one Dro-
trtrDD
Program number
Address
011r1...
..M02; I O2222
.....M30;
Progran I1 Il
Program 2222
05555.
....
M99;
Subrogram 5555
72
(Note 3) When lhe program number is not specified at the st.art of the program,
the first sequence number (N...) in that program is regarded as the
program number. However, N0 is not used as the program number.
(Note 4) When nej-ther program number nor sequence number are specified, a program number must be specified from the CRT/IDI when the program is
registered.
(Note 5) When a taPe contains more than one program, an EOB code j-s unnecessary
before the second and subsequent programs. However, when a preceding
program ends with ER (EIA code) or % (IS0 code) r 3o EOB code is
necessary at the head of a program. This is because of the 1abel skip
f eature .
4.\ ru
rnnnn
n
u/
Duure cases, program numbers
----L^-^
9000-9899
are reservEd and cannot be
\L\uLE
used by users.
/rr^+^
12.4.3
!-
nro"r.
Brock
-f-
CR
--l
l-
Block
requiring them.
It is recornmended that sequence numbers be specified sequentially at important
points such as when a tool is changed and a ne\^r tool is used.
(Noce i) Sequence number N0 should not be used for compatibility with other NC
equ]-Pmenc.
- t? _
The
lr
l-
Range ignored
Example:
0N.
Nr00XI00;
/2Nl0lZi00;
/213Nr02x200;
/3N1032200;
In the above example, the blocks of NlOl and NI02 when switch No.2 is ON,
the blocks of Nl02 and Nl03 when switch No.3 is ON, are skipped.
(Note
1)
(Note 2)
(Note 3)
(Note 4)
(Note 5)
(Note 6)
(Note 7)
and
Error
Gooxlo.o;
-m
Correct
--7TTz cooXro.
o:
''t
Address
Numerical value
Word
The address is a letter which indicates the meanins of the numerical value
following the address.
Addresses and their meanings are shown below.
Some addresses may vary 1n meaning depending on preparatory functions specified
in the program.
&
fiL
,:
1,.+.
I
74
Function
Address
: (ISO)
Program number
Meaning
/o(nre)
Program number
Sequence number
Sequence number
Preparatory function
Dimension word
xrY ,z,ArB,
I, J,K
command
Feed function
Spindle
Tool function
.F
ON/OFF
Designation of offset
Miscellaneous function
Offset nunber
PY
Dwe1l
speed
number
Dwell time
Program number
Repetitive count
designation
Parameter
'Q'R
Sequence----r-heparatory
number
function
Dimension
rvord
-_-f_
Feed
Spindle Tool
function function function
Miscellaneous
iunction
In the next Process sheet example, one line represents a b1ock. And one frame
in a block is a word.
-75-
Progran
name
-Note
Test Program
Proglam number
o(:)
x1 96. 0
Da
te
'85.10.10
Programmer
zooz
Y3
15. 0
\
I
(Note )
End
CR
#r
B
F.'
Sri
12.4.6
The basic addresses and command value range are listed in Table L2.4.6. Note
that these figures give the maximum numerical liurit, not the mechanical limit of
the CNC machine tool. Under CNC control, the tool rnay traverse up to 10 m (in
millimeter input) along the X axi-s, but actually travelling distance may be
lirnited to 2 m for the specific machine tool. Sirnilarly, CNC control may permit
a maximum cutting feed of 25 m/min., but the CNC machine tool may be limited to
3 m/min. The manual issued by the machine tool manufacturer should be closely
consulted' in addition to this rnanual when programming to ensure that the actual
limitations of the specific machine tool are not exceeded.
Table 12.4.6 Basic address and command value range
Funct ion
Program number
Input in
Address
:
(IS0)
(ErA)
Sequence number
I, J,
9999
- 9999
0-99
L-
9999
R,
0-99
+99999.999
nrn
+9999.9999 inch
+9999.9999
mnr
+999.99999 inch
K,
L-
X, Y, Z, Q,
9999
Preparatory function
Dimension word
Input in inch
mm
100,000
mm/min
t2,000
mn/rnin
0.0i rim/
5m.00
rev
0.0r -
400.00
inch/min
0.01 - 480.00
inch/min
0.0001
9.9999
inch/rev
0-
Tool functions
0-99
0-99
Miscellaneous functions
0-99
0-99
Dwell
o-
o-
Designation of sequence
number, number of
ranafil-innc
0ffset
number
r-
- l7 -
0-
99999.999
sec.
9999.9999
sec.
o-
9999999
| -
0-
0-
999999
9999
99999.999
sec.
9999.9999
qoa
l-200
II
B
9999
9999999
l-200
o-
999999
12.5 Comment
Section
The information punched between the control out and the cont.rol in codes shown
below is all considered as a comment and is skipped . Since a TH check is not
performed, a heading, cofi[nents, and indications for the operator can be punched
by combining any code of arbitrary holes. The TV check is oerformed on the
conment section.
EIA
Meaning
ISO
nrrf!
(efarf
\eLur
2-4-5x
Cnntrnl
z-+- I ^
Control in (end of
nf
vr
nnmmontLvrLsrre!rLl
'\
comment)
oo
o o
Channel 4
Channel
Channei 2
a\
v
o o o
-)
o o oo
a)
Control In
Control Out
(MEASURE
Nl00
1G0
lx
WORK.........)
LF
LF
LF
LF
LF
When a command
comment section
)N 110
F1000cR(
Significant section
u
c
l^'
Signficant section
(Note l) The rewind stop code (Z or ER) cannot be used in the comment section.
Reading this code resets the CNC.
(Note 2) When a connent section is in the middle of a Program section and is
long, movement is interrupted for a long time. Therefore, insert
corment sections in a place where movement can be interrupted or a
place specifying no movement.
- 18 -
Program End
The end of a program is indicated by punching the following code at the end of
the Program Section.
EIA
T.
Meaning
SO
I'1O2CR
I'1O2LF
Program End
M3OCR
M3OLF
M99CR
M99LF
Subprogram End
the End of Program is sensed during the execution of a programr the CNC
unit terminates the execution of the program and enters a reset state. In case
of M30CR or I'130LF, the program is returned to its beginning (in l'femory Courmand
rrL^-L.e
Wrrgrl
Ltr
subprogram. end code is sensed in a subprogram, control is
IIUUE,/ .
-^r^\
returned to the program which called the subprogram. (Whether or not the tape
is rewound by exeeution of I'130 depends on the machine tool.)
When
Meaning
ISO
Tape
ER
End
(Note) If M02 and M30 are not at the end of the program section, and ER (EIA) or
Z (IS0) is about to be executed, the CNC enters the reset state.
12.8 Tape Format
The variable block word address format with decimal point is adopted as tape
format.
12.9
Tape Codes
Eit,her the EIA or the IS0 code can be used as tape codes
code is distinguished with the first end of block code.
Appendix l.
fn
13.
13.1
A canned cycle siruplifies the program by using a single block with a G code to
specify the nachining operations usually specifleci in several blocks.
Table 13.1 lists canned cycles.
Table
G code
Drilling
(-Z direction)
c73
Intermittent
13.'l
Canned cycles
Operation at the
bottom of a hole
feed
c74
G76
Dwel1 + Spindle
Feed
CW
Oriented spindle
Feed
top
Re trac t ion
(+Z direcrion)
Rapid traverse
High-speed peck
drilling cycle
Feed
Left-hand tapping
cycle
Rapid traverse
c80
c8l
Applicat ion
z,e
Cancel
Feed
Rapid traverse
pla
Drilling cyc1e,
sp_s!_ !r:llling
cycle
c82
c83
Rapid traverse
Dwe1l
Feed
Intermittent
Rapid traverse
feed
c84
Feed
Dwell + Spindle
Drilling
cycle,
(3)
Tapping cycle
Feed
Boring cycle
Feed
c86
Feed
Spindle stop
Rapid traverse
Boring cycle
c87
Feed
Spindle
Rapid t.raverse
c88
Feed
Dwell + spindle
Manua
Boring cycle
c89
Feed
Generally,
below.
Operation I
Operation 2
Operation 3
Operation 4
Operation 5
Operation 6
Dwe1l
Boring cycle
Feed
-80-
point
(l)
Peck driIllng
cycle
Feed
top
eac
(2)
c85
Ih"
co111-1T,!erlnc
cycle
CCW
CW
seL
rvi c'l
F
Operation
Initial point
I
2 *l
Operation
I
I
Point
l+
Operation 6
I
I
9
I
Operation
3-l
l*
Operation 5
I
I I
I
--
-+
Rapid traverse
Feed
/
Operation 4
:..
:.'
t
*i
f:
(3) Drilling
node
c73
c74
c76
c80
.9t
c89
- 8t -
a) Fig. 13.1 (b) shows how to specify data according to the rnode (C90 or
G90
G9I)
G91
v____*"
I
z=o
I Rl
-|ts-T1
!ll
PoinrR"ll
lir
Point Z
-r
r.in'n-
tit
O-
Poirt
llt
*L--i
Absoiute
Fig. 13.1
Incremental
(b)
b) Whether
G98
V---
Initial
Initial
,z
level
-*o/ rlrl
rl
rl
Ir
lr
ll
t!
ll
sz/
level
Point R
level
llo'
Fig. 13.1
(c)
[tr
+{f
lll.--.
I
II
Drilling
r.
.\'
."
I
- Hole position data
mode
-82-
-Dritlingdata
LNumber of
repeat s
llrl
lllno
m^dp
[[
C
x
coo
@ G8IX
Mo3;
c82x
_;
and
; .....
F speclfy
necessary
K-;
to
G8l.
ThE
-83-
/;\
\)-/
G80
G85
G89
Mq.
L LJ
RP
Ox
X.
O colx
data (excepr
F)
machining position
Present
I
First
machining position
G81 X
K5F
_;
-84-
1)
cycle)
3
i
G73 (G99)
G73',(G98)
:':
.e
u_*,
Initial point
iJ
Point R
I
I
I
I
I
I
+
i,
{}
I
I
:"t
.:
I
I
I
I
I
I
I
I
I
I
\l
Ir
The
Point Z
int"TmiiiEnr--Itad simplifies
2)
(c98)
c74 (c99)
Spindle
i ,/'"*
tr@
*''.
I
| |
ol
O\
:
j
!
E
Point
Rapid
traverE
Feed
spindre
cw
At the bottom of the hole, the splndle rotates clockwise and left-handed
tapping perforroed.
(Note) During left-handed tapping speclfied in G74, rhe feed rare override ls
i-gnored and the cycle does not stop until the end of the return
operation, even if a feed hold is applied.
-6)-
3)
G76
(fine boring
cYcle)
G76
)l
(G98)
G76 (c99)
Spindle C\!
"'*F1
Initial
pornt
Point R
Point Z
l+
Point Z
Shift amount
oss
Since a spindle oriented stop is performed at the bottom of the hole and the
spindl.e retracts after shifting i-n the direction opposite to the cutter
direction, high precision and efficient boring is performed without scratching the workpiece surface.
(Note) The shift value is specified by Q. The Q value is always a positive
value. If a negative value is specified, the sign is ignored. For
the shift directionr dny of +X, -X, *Y and -Y is selected by setting
parameter (data No. 0002). The Q value is modal in the canned cycle.
Since it is also used as the cut-in value for G73 and G83, specify it
carefully.
-86-
/+)
GB9) is cancelled and normal operation is subsequently performed. The points R and Z are aI'so cancelled.
(That is, R = 0 ar,d Z = 0 for the incremental command.) other drilling data
is also cancelled.
G81 (c99)
'\ ./
n
v______*?
Imtial
polnt
Point R
:.Glr.-,
1t
ll
llll
o
Point Z
Point Z
---*Rapid
travelse
feed
6) c82 (drilling
___---*
G82 (G99)
Initial
?
pornt
tilr
Poirt R
'@
Point Z
llll
lr
,'Jr"{
-Cutting
Point R
Point Z
6--
D well
This is the same as G81. Dwell (specified by the P code) is performed at Eire
bottom of the hole and the spindle is raised. Dwell at the bottom of the
hole improves the hole depth precision in blind hole dri1ling.
cYcle)
c83 (c98)
r:
tl
c83 (c99)
r:
|./
ll
Initial
point
v-----?
lts
Tql
-t
cf It i li tt
of-"-i-llT
qT- ----iJ-T
A-
o>
qlT-:-
^TYI
At
r-
Point Z
G83
_;
The coromand above specifies the peck drilling cycle. a is the cut-i.n value
each time and specify with an incremental value. When the second and subsequent cut-in is performed, rapid traverse- is switched to feed by d nn (or
inch) before the position where cut-in is performed. The specified Q value
G84 (G98)
'
r:
V----+
o
I
v____+o
Initial
t:""'
tG). spinare cw
Ii/
li
li'-17
tl
ll
I ,snittar" c*
i@/
ll
po.,z
O-- rni*.*
*'-'*
il Pottz
$- rn"u," ".rn
tl
RaPid traverse
Feed
The spindie is reversed at the bottom of the hole and the tapping cycle ls
perrontreo
(Note) During tapping specified in G84, the feed rate override is ignglad,;tnd
the cycle does.-not _s:9-p-_""!i!_,the-snd.-o-f the reTTrrfrEeTefi-on, .even lf
feed hold is applled.
-88-
+-rr.
0____*"
..-9
I
I
I
il
il
ti
I
I
I
I
ll
This is the
hole.
to
same as C84,
i,s
r:
U
,
1l
snndtec$
',*
-9
I
I
I
I
I
Rapid traverse
Feed
:.
:
*
F
3:
s
a
G:
G.
G
*-
_89_
1l)
11 @s5)f=1
/L--=6 =+ I
/ + tti
Spindle CW
t
,,=:
!l
+ |
vlt
^\Y:Yi
lr<-
Initial
point
pointZ
Rated traverse
Point R
\Spindte CW
Shift
After the tool is positioned along the X and Y axes, the spindle stoPs at
the orientation position. The spindle i-s then shifted in the direction
opposite to the tool and is positioned at the botton of the hole (Point R)
at the rapid traverse rate. At this position, the tool returns only for the
shift value and the spindle rotates clockwise. Machining is performed up to
the point Z in the positive direction of the Z axis. At this position, the
splndle again stops at the orientation position and shifts in the direction
opposiEe to the tool and the tool is withdrawn from the hole. After the
tool returns to the initial point, it returns only for the shift value. The
spindle rotates clockwise and the tool moves according to the command of the
next b1ock. The-shift value and direct.ion are the same as those for G76.
(Direction setti;g is common to both G76 and G87.)
L2)
I
I
spindle cw
,..'
SPindle CW
II
I
Point R
I
{
Poht z
'...-(D
spindle stop
after drvell
o-
Spirdle stop
after dwell
Rapid iraverse
Feed
Manual feed
-90-
#.
Sr
E,5
c89 (c99)
9,
Initial
i!rl
I
I
ll
rl
IIr
Point R
ll
Ir
tltl
6',
II
PontZ
rDl
same
Point Z
(P)
uweil
This is the
Point R
next.
l'129
operation.
I
I
I
M2qS**XX.t
G7 4
-]
/c84X-Y Z._R-P-F-K-
XY
_____t
XY
Rigid
mode
G80;
Precautions on
camrnand
a) F /5***x is a screw
b) 5T-*** nusg be lower
Otherwise, p/S alarm
for the alarm No.)
c) F must be lower
(piraureter No. 527) .
lead.
91
limit
value
d)
e)
cases.
and
GBO.
cycle specifications)
(Note 1) The spindle must be rotated by the miscellaneous function (M code)
before a canned cycle is specified.
M?.
Spindle CW
(NoEes on canned
n
r-1 t-]|
v I ll
Co
....,
UU
Spindle stop
Nfq.
rrec
fl n
Incorrect
block.
(1.13
or
M4 must
G81X
E.
-92-
*o{_-*,
Tl-
til
ltJ
GOOM :
GB6X
Y
Z
F
R
:
GOa P ];
is perforrned, but drilling
-(Dwell
XY:
(Dwell is performed, but drilling
G04 P
;
XY:
aais performed, but drilling
-tlwell
j -t
is not performed)
is not performed)
is not performed)
9)
Operator precautions
a) Single block
a canned cycle is performed in the single block mode, the control stops at the end of operation l, 2, and 6, as shown in Fig.
f3.l (a). Therefore, it must be started three times to dri1l one
ho1e. The feed hold lamp lights at the end of operations I and 2.
When the number of repeats is left at the end of operation 6, the
system stops \,iith feed hold state, and when not, the system stops in
stop state.
D) feed nord
When a feed hold is applied between operations 3 to 5 in canned
cycle G74 or GB4, the feed hold lamp imrnediately lights, but the
control continues to operate up to operation 6 and stops. If a feed
hold is applied again during operation 6, it immediaEely stops.
c) Override
The feed rate override is assumed to be 100% during the operation of
canned cycle G74 or G84.
When
F
+
ie
=
-93-
ffi
ffi
Reference point
ffi
r
F:-i
Ft*
[.:
F.r,'
I
I
3t:
E.:
t#6
T-
,lYi
| +r'
/+.
ffi
/T\ #10
il
/t\ #9
t_
I
tr
H
l/1ru
ll 7*19
/lll t
13
Retract position
Z
l-x
Initial level
F
F.
F
E
Tll
/--s
tl
tl
rF=
_T__
fF=
Fr__-__J
T-T-
L_u
Ti5
-n -E
i-U Ln
-94-
No.
l5,
and
F
ft
Program example
,
Y-350.0 Z-t53.0
R47.0 F50;
N024 G91 Y-200.0 K2;
N025 G28 X0 Y0 M5;
N026 G49 Z0;
N027 M0;
Thi;
]P
".ur*t"a--Lnables
machine
tool side from the
the
and
and
eionel
ic sent every positioning until
it is cancelled with a G80 and G
-.;
code in group 0i command. The external motion signal is not sent during execution of block that does not contain neither X nor Y. Parameter (No. 0011,
MCF) determines whether G8l ls used as an external operation function or as a
canned cycle.
Thie
;
*.
t
G:
5,
-95-
14. COMPENSATION
FUNCTION
.z
or
G43 r
,r
trq 4
The position of the terminal point of the movement command in the Z axis can be
shifted + or - by as much as the value set in the offset memory. This function
can be used by setting the difference between the tool length assumed during
progranming and the actual tool length of the tool used when the work is
performed into the offset memory. It is now possible to apply compensation
without changing the program. Assign the offset direction with a G43 or G44,
and designate the offset amount that has been set in the offseE memorv with an H
code.
l) Direction of offset
C43 + side offset
C44 - side offset
rrrr drrJ
LdDE
of absolute or incremental commands, the offset amount thag has
been set into the offset memory assigned by H code is in G43, added to, and
in G44, subtracted from the coordinate value of the terminal point of tlne Z
axis movement command. The coordinate value after the calculation becomes
the terminal point.
When the movement cornmagl for the Z axis was omitted, it is taken in the same
way as:
.1, 1
uaJ
^,
tr.+
1 cqt znu
J
vl
LUvLL
and the tool moves by the offset amount in the * direction in G43 and in the
- direction in G44.
G43 and G44 being modal codes, are effective until another G code in the same
group is programmed.
2) Assignment of offset amount
^EE^^+. number by H code. The offset amount that has been set in the
ADDrErr
^^^i^- Vr!JCL
nffcar mamnr\7 is added to or subtracted froro the programmed command value for
tlr.re Z axis. The offset number can be assigned by H00 - H200. However, there
are 200 offsets to be used jointly with the H codes used for cutter
compensati-on.
The offset amount may be set in the offset memory through rhe CRT/I,IDI panel.
TL^
^t
-^--^
rrrs lerr6e
wr
values that can be set as the offset amount is as follows:
mm
Offset
amount
input
o - +999.999
'in^1'
rrrLrr
mm
fi-^,,+
rrPu L
0 - +99.9999 inch
-96-
:k;
F:
3j
&'
ry.'
Dr.
f,.
't
/\
.+
Example
+
a-
";l
/t
I
'-----vT-r
-\{
i-- I v--
I
i;
-,6
,--'I -1
z\i\G|
\9
-rr
-\/ a
\t)
-
+Y
1...
t\
+z
N3 c01
z-2I.0
e
/t\
;\
\,
F1000;
N4 c04 P2000;
N5 c00 22t.0;
/?\
(,
N6 X30.0 Z-50.0;
N7 c01 Z-4t.0;
N8
GOO
@
@
@
Z4L.O;
N9 X50.0 Y30.0;
rn
K_v
rfa
(Note 1) When the offset amount 1s changed due to a change of the offset
number, the offset value changes to the new offset amount, the new
offset amount is not added to the old offset amount.
HOI
... Offset anounr 20.0
H02
... Offset anount 30.0
c90 c43 2100.0 H0t; ...
Z vtLLL go ro 120.0
c90 c43 2100.0 H02; ...
Z witl go to 130.0
t
tt
-97-
ci7) ^,^\
ci8l
GIgj
:i;l
b'+'+., Y
]'
or
GITl
Grsl
nrr\
::ll H
Glgj u'+'+J
The end point of the move command in Z, Y, or X axj-s can be shifted + or - by as
much as the value set i-n the offset memory by the above command. The offset
axis is specified by Gl7, GI8, or Gl9, and offset direction is specified by G43
or G44. The offset, amount that has been set in the offset memory is designated
by an H code.
1) Offset axis
The axis being vertical to the plane specified by Gl 7 , GI8, or Gl 9 is
designated as offset axis.
Plane selection
Offset axis
^11
Z axis
c18
Y axis
c19
X axis
The tool offset irtwo or more axes can be commanded bv two or more blocks as
shown below.
(Exarnple) 0ffset 1 n X and Y axes.
G19 G43 H
Offset in X axis
,
GI8 G43 H
Offset in Y axis (Offset in X and Y axes is
,
performed)
2) Direction of offset
* side offsec
G43
G44
- side offset
In any case of absolute or incremental commands, the offset amount that has
been set into the offset memory assigned by H code is in G43, added to, and
in G44, subtracted from the coordinate value of the terminal point of the
specified axis movement coumand. The coordinate value after the calculation
becomes the terminal point.
When the movement command for the specified axis was omitted. 1t is taken in
the same way as,
and it moves by the offset amount in the + direction in G43 and 1n the
- direction in G44.
G 43 and G44 being modal codes, are effective until another G code in the
same group is programmed.
Assignment of offset amount
Assign offset number by H code. The offset amount that has been set in the
offset memory is added to or subtracted from the programmed command value for
the specified axis. The offset number can be assigned by H00 to H200.
However, there are 200 offsets to be used jointly with the H codes used for
cutter compensation.
The offset amount rnay be set in the offset memory through The CRT/I'DI panel.
The range of values t.hat can be set as the offset amount is as follows:
-98-
mm
0ffsec
input
0 - +999.999
amount
inch input
mm
0 - +99.9999 inch
It is
(Note 2) In the case of the offset in three axes, if t.he of f set is cancelled
by G49 code, the P/S alarm 015 is generated. Cancel the offset by
usinq G49 and H00.
14.2 Cutter Compensation
B {G39
G42\
Thic ffinnfinn nolssits the tool to be offSet by the tool radius value given, that
is, to pass through the offset path. Thls offset command is specified by a
G-code function on CNC tape or on the MDI unit.
The offset amount (tool radius
previously
value) shall
be stored in the memory correspondingly to the H code
via the MDI unit. This memory is called the Offset memory, and it can be stored
maximum 200 kinds of offset value.
Offset number is specified by the H code. H code is modal.
The G functions related to this offset are as in Table 14.2.L.
a
Table
G code
c39
G42
Group
Frrnction
00
G40
L:4 I
14.2.'l
07
al
movement (Offset).
The program sha11 always terminate
;,
E
-99-
mode.
The offset amount can be set in the offset memory up to max. 200 offsets.
(However, they are 200 offsets in total for tool length offset and cutter
compensation.) The offset amount depends on the two digit number following the
H code commanded on the program, and shall be set via the CRT/l-DI. (For
details, refer to item III I0. I. l).
The range of values in which the offseE amount can be set is as followsl
mm
Offset
amount
input
0 - +999.999 mn
inch input
0 - +99.9999 inch
Ir is
Offset calculation is carried out in the plane determined by Gl7, GIB and GI9,
(C codes for,plane selection.) This plane is called the offset plane. For
instance, when the XY plane has been selected, the offset calculations are
carried out using (X, Y) in the program tape and the vector is eomputed. The
coordinate values of an axis which is not in the offset plane are not subject to
the offset, and the command values programmed is used as it is.
In the sequel, what vector is created, what offset calculation is made, by an
offset command, will be discussed on assumption that an XY plane is selected.
This discussion applies also when another plane is selected. The offset vector
is cleared by reset.
-r00-
&
&
g:
$a
I
J
; in c0l, c\Z or c03 mode
pernits eieiuiing offset circular iit.rpof"tion wittt the tool radius at a
eorner. A new vector is created to the left (G4i) or to the right (G42) looking
toward (X, Y) from the end point at right angles therewith, and the tool moves
along the arc from the polnt of the old vector toward that of the new vector.
(X, Y) is expressed in a value according to the G90/G9L respectively. (I, J) 1s
expressed in an increment.al value from the end point.
New
(X, Y)
or (I, J)
Gr_ ___
center path
,Tool
1T
ord
vecto/
tl
New vector
*(*,")
or (r. J)
Fig. 14.2.5
t\
,'ha- Tool
center path
Old vector
\\
(a)
In case of G41
Fig. 14.2.5
(b)
In case of G42
This command can be given in offset mode, that is, only when G4l or G42 has
Whether the arc is to turn clockwise or
already been specified.
counterclockwise, is defined by G4I or G42, respectlvely. This command is not
moda1, and executes circular interpolation, whatever the G function of group 01
nay be. The G function of group 01 remains even through this conmand is
specified.
14.2.6 Cutter compensation cancel (G40)
i:
;:
Y
; in G00 or G01 specifies each axis to move
straightly from tnlpo-int o}-tn. old vector on the start point toward the end
point in G01 mode and eaeh axis to move at rapid traverse in G00 mode. This
command speeifies the eguipment to enter from the cutter compensation mode into
the cancel mode.
=i
:J
*-
Old vector
Start point
{g':
::
+
i
I
When
moves
only
**
ri
*.
*t
-rot-
ThecommandG4lX
specifies a
of
(I, J) on the end point, and the tool center moves toward the point of the
new vector from that of the o1d vector on the start point.
(I, J) is expressed in an incremental value from the end point, and is
significant only as a direction, and its amount is arbitrary.
center
patl
New vector
\
Start
point
(I , J)
programmed path
In case the old vector is zero, this command specifies the equipment to enter
from the cancel mode into the cutter compensation mode. At this time, the
offset number is specified bv the H code.
New vector
Start poinl
(x
*o(r.J)
Programmed path
New vector
rY Yl
Programmed path
Old
vector
Start point
If, however, G00 is specified, each axis moves independently at. the rapid
traverse rate.
2) Case of c02, G03
'1'
The commald
;
G02(c03)X
specifies a tteffitorE-be
cEl-ea to the left looking toward the direction
in which an arc advances on a line connecting the arc center and the arc end
point, and the tool center to move along t,he arc advancing from the point of
the old vector on the arc starE point toward that of the new vector. This
is, however, established on assumption the old vector is created correctly.
The offset vector is created toward the arc center or opposite direction
agalnst the arc eenter.
-102-
*:
fe
(X,Y)
New vector
(X,Y)
Progammed path
R
Old vector
Start point
G42, contrary to G41, specifies a tool to be offsec ro the right of work looking
toward the direction i.n which the tool advanees. That is, the vector created by
G42 is toward the direction opposite to that created by G41. Except for this,
Ehe o.ffset method is quite the same as in the case of G4L.
1) Case of G00, c01
G42XYIJ
P$,J)
I
Programmed path
/t/'-
x
I
New vectot
t
$
G42X
New vector
Start point
Tool center path
Old vector
In the case of
Eraverse rate.
G00,
-r03-
moves
z) Case
of c02,
G03
G42X
Programmed path
(x,Y)
New vector
New vector
-_\R
Start point
Programmed path
Old vector
Example 14.2.8(a)
Y axis
I
I
-xoi,
Unit:
mm
Y axis
**,
Unit:
mm
-104-
2) Change
4)
Newvector 2$'t)
/' / -/ --
Tool center
path
New vector
(X, Y)
(Generally not
straight)
Programmed path
Old vector
vector
c41
GOOG42X Y
c42
GOlG41X
5)
Change
of the offset
amount
The offset amount is changed generally when the tool is changed in the offset
caneel mode' but can be changed in the offset mode only in positioning (G00)
or linear interpolation (G01).
Tool center
pa*r
New vector
Nerv vector
Programmed path
Programmed path
,/
,t6
GO1X _Y_H05;
Old vector
OId vector
-105-
Tool center path made in accordance with positive or negative value of tool offset
axis
t
I
I
X axis
Unit: mm
Zero point
@ G}I Z-25.00
Y2o.oo rio8;
F100;
o Y40.00 F250;
@ c39 r40 .00
/:\
\) x40.00
J.20
.00
Y20.00;
G39 r40.00;
@
@
@
@
-106-
;'. ., .'
14.3 Cutter
Compensation C (G40
G42l
The offset amount can be set in the offset memory up to 200 offsets.
(However,
they are 200 offsets in total with tool length compensation.) The offset amount
depends on the two digit number following the H code commanded on the program,
and is set via the CRT/MDI.
.
The range of values in which the offset amount can be set is as follows;
mm
Offset
amount
inch input
input
0 - +999.999
rnn
0 - +99.9999 inch
Ir is
The offset vector is the two dimensional vector that is equal to the amount
assigned by H code. It is calculated inside the control unit, and its dj-rection
is up-dated in accordance with the progress of Ehe tool in each block. This
offset vector (hereinafter called veetor) is produced insi.de the control unit in
order to find out how much the tool motion should be offset, and is used to comPute a path offset from the programmed path by the tool radius. The offset
vector is deleted by reset.
This vector always follows the tool as its progress, and it is very important,
when making a program, to understand the siatus oi the vector. Read Ehe following description carefully to understand how the vector is generated.
_, 1^l
6ut usitg (X, Y) )t (I, J) in the program tape and rhe vector is comThe coordinate values of an axis not in the offset plane are not subject
lf.lEli;"'offset, and the command values for that axis on the program tape are used
aa theY are.
in stmuttaneous
comPensated.
The offset Plane must be changed dur:ing the offset cancel mode. If it is performed during the offset mode, an alarm (No. 37) is displayed and the machine is
s topped.
G code
Offset plane
Gl7
X-Y plane
GI8
Z-X plane
GI9
Y-Z plane
Using G40' G4l and G42, the deletion and generation of cutter compensation
vectors is commanded. They are commanded simultaneously with G00, G01, GOz or
G03 to define a mode qhich determines the amount and direction of offsec
vectors, and the direction of tool motion.
G code
c40
Function
G42
A G4l or G42
command causes the equipment to enter the offset mode, and a G40
causes the equipment to enter the cancel node.
The offset procedure, for example, is explained in the next figure.
The block Q) is called the start-up. In this block, the offset cancel mode is
changed to the offset mode (G41). At the end point of thls block, the tool
center is translated by the cutter radius in the direction being vertlcal to the
next block path (from Pl to P2). The cutter conopensation value ls specified by
H07, namely the offset nurbber is 7, and G41 means the cutter compens"li-otr 1eft.
->
After being startiup, when the workpiece shape is programmed as PI + p2
P8 + p9 + Pl, the cutter compensation is performed automatically.
command
In the block (! , the cutter returns to the start_ point by corornanding G40
(of f set cancel) . At the end point of the block @-, the cutter center is
translated vertically to the prograrnmed path (from P9 to pl).
At the end of the program, the G40 (offset cancel) must be commanded.
-108-
cr (700,
1300)
Ps(900,11s0)
P4(s00,11s0)
c3
(-l
c2 (1sso , 1sso)
s0
izso , soo)P3
(4so eoo)
'
(1
r0\
\:/
(^/
"l
ls0 , s50)
Unit: mm
/'(\
Y a-ris
a7\
tol
art poin
G92 XO YO ZO;
rn
\v Nl c90 c17 c00 c41 H07 X250.0
/l
\:/ N2 cOl Y900.0 F150;
o
/;\
\v
/:\
\)
Y550.0
N3 X450.0;
N9 X700.0 Y650.0;
109
*"i$fj
compensation C
Inner side
Workpiece side
Progtammed
180"
Ou:er .side
hoglammed path
-110-
a)
When
i) Linear + Linear
s0)
Programmed path
path
/t
Linear
Programmed path
Type A i) Linear
.\
\\
corner
rnd
R.
dL
and
an obtuse angle
Programmed paih
Type
i) Linear + Linear
Programmed
parh
II
Programmed
/ ll
;3/.[_
/\.
'r
In tersectlon
III
Programmed path
c)
the outside of
Ilp" A i) Linear
an
Programmed path
.,
Progr'immed paih
When
Programmed path
deg.
LTz
acuce angle
*
E.
{'
1
i
In offset mode
In the offset mode, offset ls performed correctly, if non-positioning commands such as auxiliary functions or dwell would not be prograrutred in two or
more successive blocks. Otherwise overcuttlng or undercutting wi1l,occur.
Offset plane must not be changed during offset mode. Otherwise an alaru is
displaved and the tool stoDs.
3)
a)
When
i) Linear + Linear
Programmed path
L Tool center
,,S
Intersecting
,/
/ L Point
iii)
path
Arc + Linear
,r lr,r"rr..rir)r\
t t,
/ LPont
\
,'-
Programmedpath
Programmed path
/S
lntcrcaa+in-
Ct..
point
Plogrammed
fc
I
I
Progranrmed
- lI3 -
to arc,
b)
i) Linear + Linear
r{.____
i-i
t"l
polnt
iii)
Arc + Linear
lntr$ecting
pornt
lqteriecting
point
path
T,
\
C"
ho$ammed path
-IT4-
- - -.r+!'.,r
c)
L4ren
Programmed path
t.r,
Programmed path
iii)
Arc + Linear
Programmed path
d) Exceptional cases
i) The end point of arc is not oq the arc
Imaginary
-\
Programmed
End oi arc
Lead
arc\
\l
\ \ \,i
u.S
,.\'
{^o'
- ll5 -
,:+siF..
'_' ;1a:
' lil: rl'-;i
ii')
\\rhen the
off \EL
amount is lar
When the offsel amo
small
Progranrmed
parh
iii)
fn. centel
.of t he arc B
The center
of the arc A
The center of the arc is identical with the start Doint or end Doint
If the center of the arc is identical with the start point or end
point, Alarm No. 38 is displayed, and the tool will stop at the end
point of the preceding block.
(G4I
F
rnode)
N5 c01 X1000;
N6 GO2 XIOOO IO JO;
N7 c03 Y-1000 J-1000;
An alarm is generated
and the tool stoPs
Programmed
4) Offset cancel
In the offset mode, vrhen a block which satisfies any one of the following
conditions is executed, the equipment enters the cutter compensation cancel
mode, and the action of this block is ca11ed the offset cancel.
a) G40 has been commanded.
b) H00 has been commanded as the offset number for cutter compensation.
Lhen performing offset cancel, circular arc commands (G02 and G03) are not
available. -'If a circular arc is commanded, an alarm (No. 34) is generated
and the tool stops.
In the offset cancel, the control executes the instructions in that block and
the block in the cutter compensation buffer. In the meantime, in the case of
a single block mode, after reading one block, the control executes it and
stoPS. By pushing the cycle start button once more, one block is executed
without reading the next block.
Then the control is in the cancel mode, and norma11y, the btock to be
executed. next will be stored in the buffer register and the next block is not
read into the buffer for cutter compensation-
116
a)
When
i) Linear + I.inear
Programmed path
o,l0
/(\
Programmed
Tool center
path
b)
When
path
Programmed path
(o{ 2)
Ig0')
/L
Programmed
path
o40
Programmed path
/L
Programmed
..t C
path
,/
,f
- I17 -
Intersection
c)
When
going around
path
path
i) Linear
Programmed
path
Linear
ii) Arc
->
path
Linear
d) L4ren
- ll8 -
.:i'
F.
F
))
Change
(inolo
--t=\
com-
nf nffcor
amOUnt
G code
G4l
\r4 L
/
Programmed path
Programmed
path
Tool center
Path
iii)
Arc + J,inear
- il9 -
v) Llhen an intersection
performed._
and
Programmed
path
Tool center
path
Programmed
path
Tool center
Path c'
L --'
Programmed path
-120-
iii)
Arc + Arc
Block A
(G42)
(G42)
rl
/\
An arc whose end
point is not on
the alc.
^-
w./
Progtammed
path
TooI center
path
\
Center
iv)
the length of tool center path becomes more than a circle because
of cutter comDensation
@Stnopossibi1ityofgeneratingtheabovesituation. However, when G41 and G42 are changed, or when a G40 was commanded with address I, J, and K the above situation can oecur.
When
Programmed
path
Tool center
path
(G42)
/D
p\
L'
circle circumference: an
arc is formed from Pl to
P2 as shown. (Depending
on the circumstances, an
alarm may be displayed due
ttlnterference
to
the
Check" described 1ater. )
To execute a circle with
more than one ci.rcumf erence, the circle must be
specified in segments.
121
6)
Tennporary
offset
cancel
rf the commands below are speclfied in the offset mode, a temporary offset
cancel is actuated and thereafter the system will restore the offset mode
automatically.
Refer to 14.3.6(4) Offser cancel and 14.3.6(2) Starr-up, for detalls of these
operati-ons.
a)
G2B
28
lntermediate point
-5
(G42 G00)
s
Reference point
F
after
G28
lntermediate poinl
-t
(G42 G00)
Reference point
-122-
$
A
When cornmanded
G28
lntermediate point
7)
G42 mode)
f
+--I
Arc + Linear
(G42 mode)
,/c-ts
-L23-
t-4'
-/\
(In!ersection)
/-\
'
I\
-t\
)'-
--r
/t
\ssl-
G92 block
N7
(G4l
rnode)
(lJote)
SS
indicates the polnt where the tool stops twlce ln the single block
mode.
M code outpur
S code output
Dr.'ell
@ Geo;
@ cel XO;
C code only
Move cornmand
Move
-r24-
distance is zero.
No movement
Move distance
ls zero.
at start-up
If a block withouL tool novenent is
vector is not produced.
a) When commanded
commanded
N6 X1000.0 Y1000.0;
N7 G4I XO;
N8 Y-1000.0;
N9 Yi000.0 x-:1000.0;
mode
When
-t25-
However, when the move distance is zeto, even if the block is commanded
singly, tool motion becomes the same as that when more than one block of
without tool movement are commanded, which will be described subsequently.
N7 Nq..
(Note 4)
N9
\
\
Blocks N7 and N8
/N6
(Note)
SSS means
-126-
+'
t!-
&,
P.
fi
*Y.
c)
i)
When
the
mode
E (x,y)
Tool comes here
by G40 block.
(I, J)
Programmed path
(G 42)
N1 tu4z mode)
N2 b.+ ul\
^.J.,
-t27-
the
In this case, note that the CNC obtalns an intersection of the tool
irrespective of whether inner or outer wal1 machinlng ls specified.
_/ _/
-.
x-/
a+c\
--/ --/
--\ -
path
--
mmed path
-\
--tt\
-\
-
CAz
_r_
(l,J)
When
-_
Programmed path
0, J)
128
11) When the length of the tool center path becomes more than a clrcle.
,1,/
:r
,P2
Programmed
(G41)
In the above case' the tool center path does not go around a circle but
moves only from point PI to p2 along an arc.
According to under some ci-rcumstance, an alarm may be generated by the
interference check described 1ater. (if lt is ddsired to move a tool
around a circle, a circle must be conrnanded with partitions.)
ll) Corner
movement
When two or more
if avx< aV limit,
avy<av limit
-129-
However, if
P2
/-,
P3,P4
above
P5
N4
\
\
N5
N6
N7
N8
x1500 Y2000;
x1500 Y2000;
G02 J-6000;
c01 xl500 Y-2000;
G40 Xl500 Y-2000;
)
Tool
center path
l\/
\-/\--
-130-
P3
1C
-s;
:,
*i:'
j
Example
t::
g'
of condition O
,:i
Programmed
path
The directions of these two
paths are quite different
;?;
Programmed path
1f
Example
of condition @
/
Tool center
oath ,/- -
Programmed
Path
,,/
t.'
f
,/"ou
\
I
Center
(c41)
N5 c01 c9l x8000 Y2000 HOi;
N6 c02
X3200 Y-r600 r-2000 J-8000 H02;
N7 cOl
x2000 Y-5000;
(Offset value corresponding to H01 : r-1 = 2000)
(Offset value corresponding to H02 : t2 - 6000)
In the above example, the arc in block N6 is placed in the one quadrant.
But after cutter compensation, the arc is placed in the four quadrants.
b) Correction of interference in advance
O Removal of the vector causing the interference
When cutter radj-us compensation is performed for blocks A, B and C and
vectors Vl, YZ, V3 and V4 between blocks A and B, and V5 , V6, V7 and
V6 between B and C are produced, the nearest veccors are checked
first.
If interference occurs, they are ignored. But if the vectors
to be i-gnored Cue to interference are the last vectors at the corner,
they cbnnot be ignored.
Interference check
between vectors V6 and Vc -- Interfere
V4 and V5 are ignored
Check
between V3 and
VU
Interference
Check
Ignored
Interference Ignored
Interfere
Cannot be lgnored
If, whl1e checking, a vector wlth no interference is detected, subsequent vectors are not checked. If block B is a circular movement, a
Ij-near movement 1s produced
if the vectors are interfered.
-
between V2 and V7
Check between V 1 and Ve
-132-
Exarnp
le
I)
c--/
Tool nose
center path
Programmed
path
(Example 2)
, V6: Interference
Y2,Y1 Interference
V1 , Vs: No interfere
V3
V4, V5 : Interference
\ I
or O2
vl
v2
su,
L
!l
v6,
I'if---
Tool nose
\C
center path
Programmed path
or o:
-133-
V4, V5 : Interference
V3, V6 : Interference
V2, V7 : No interfere
stopped
wi-th an alarm.
If the interference occurs after correction O or if there are only
one pair of vectors from the beginning of checking and the vectors
interfere, the alarm (No.41) is displayed and the tool is stopped
jmmediately after execution of the preceding block. (If the block is
executed by the single block operatj-on, the tool is stopped at the end
of the block.)
Tool nose center path
Stopped
v2, v5
Interference
v1,v6:
Interference
Stop
Programmed path
-134-
path
Stop
I
Like O,
l3) Input
command
B.
MDI
"t, (
Programmed path in
absolute command
NTDI
operaLlon
VB
\'
/
;\
When points Po, Po and P" are programmed j-n an absolute command, the tool is
stopped by thb single block function after executing the block from P^ to
Pp and the tool is moved by MDI operation. Vectors V-, and V-. ^are
t?anslated to V'-, and V'-^ and offset vectors are recal3illated fBi the
vectors V^,
ana 4,t^ betweenbflock p--p^ and p^-p*.
t"lrr""
lr3"tto, Vo, is not scalucutatef, afain, compensation is accuHowever,
rately performed from po{n-t P".
I
135
15) If the tool leneth compensation is executed during cutter compensation, the
compensatlon amJunt of the cutter is regarded to be changed.
16) General precautions on offset
a) Offset value command
The offset value is cornmanded by a H code which specifies an offset value
number.
Once eomnanded,
(a)
136
Programmed path
An alarm is generated
and the operation stops here
in single block operation.
'
Programmed
{
Z*\
137
iii)
machlning in the
a
step
smaller
case of a program containing
than the tool radius, the
path of the center of tool with the ordinary offset becomes reverse to
the programmed dj-rection. In this case, the first vector is ignored,
and the tool moves linearly to the second vector position. The single
block operation is stopped at this point. If the machining is not in
the single block mode, the cycle operation is continued. If the step
is of linear, no alarru wil1.be generated and cut correctly. However
uncut part will remain.
Linear movemenl
Prosrammed path
Circular
-.
iv) Ttre start up and the movement in Z axts on the cutter compensation C
It is usually used such a method that the tool is moved along the Z
axi-s after the cutter compensation is effected at some distance from
the workpiece at the start of the machining.
In the case above, if it is desired to divide the uotj-on along the Z
axi-s into rapid trave.rse and cutting feed, follow the procedure below.
Nl c9t c00 c41 x50000 Y50000 Hl;
N3 G01 2-30000 Fi;
N6
Yi00000 F2;
138
Move command
in Z axis.
Start up
N3
x50000 Y50000
Z-25000i --r
N5 cOl 2-5000 Fl:r
N6
Y100000 F2;
Hl;
As there are two move command blocks not included in the selected
plane and the block N6 cannot be entered into the buffer storage, the
tool center path is calculated by the information of NI in the fi-gure
above. That is, the offset vector is not calculated in start up and
the overcutting may result.
The above example should be modified as follow:
The move command in the same direction as that of the move command
after the motion in Z axis should be programmsd.
N2 Y10000;
N3 2-25000;
N5 cOl 2-5000 FI;
N6 Yi00000 F2;
N6
N3, N5
lvlove command
in Z axts
executing the block Nl, the blocks N2 and N3 are entered into the
buffer storage and the correct comDensation is performed by the relationship between Nl and N2.
When
- rJ'-{ -
14.4
The offsec amount, which are used in tool length offset and cutter compensation,
can be set by G10 command in programming. The command format. is as follows.
G1OP
R
t
P: OffseT number
R: 0ffset amount
The offset amount is absolute or incremental depending on the G90 or
respectively
14.5
G9l
Pa
P3
\.Po'
l-T
Pe'
l,'t1t: -l-
,/ P!'
P2'- --
-140-
---\
l12 scalng
L)l
(Note l) Specify G51 in an independent block. Cancel G5I by G50 without fail
after scaling.
(Note 2) The position display represents the coordinate value after scaling.
(Note 3) If a setting value is employed as a scale factor r^rithout specifying P,
the setting value at G5l courmand time is employed as the scale factor,
and a change of this value by another command, if anlr is noL
effective.
it after rotation.
- l4i -
Center
of
rotation
t
,i
Icl7 ]
cl8 |
RR
c68
G19.'
After this command is specified, the subsequent cosmands are rotated by the
angle specified with R around the point designated with cr and B. Command the
angle of rotatj.on within the range of -360,000<R5360,000 in 0.001 deg.
increment.
,/
(a,0)
-r42-
The rotation plane depends on the plane (G17, Gl8, Gl9) selected when G68 is
designated. Gl7, GIB or Gl9 is not required to be designated in the same block
as G6B.
When o and B are omitted, the position where G68 is commanded is Set as the
center of rotation.
As for the incremental commands up to an absolute position command' following a
G68 cornmand, it is assumed that the rotary center were not specified (the point
where G68 was commanded is the center of rotation).
When R is omitted, the value set to parameter is regarded as the angle.
The coordinate system rotatj-on is cancelled by G69;
G69 may be designated in the same block as the other commands.
Tool offset, such as cutter compensation, tool length compensation, or tool
offset, is performed after t.he coordinate sysLem is rotated fo? the command
p
rogram.
As for the incremental position commands designated between the G68 block and a
block with an absolute comnand; it is regarded that the center of rotation is
not designated (that is, it is regarded that the point where G68 was designated
is the center of rotation).
(Note l) When a value with a decimal point is designated for R, the position of
the decimal point becomes the unit of angle.
(Note 2) If a movement command is specified with G69, the following lncremental
command does not move the tool in the incremental motion.
(Exarnple I )
a/-\
/
\
N4 G91 X10000;
N5 G02 Y10000 R10000;
N6 G03 X-10000 r-5000 J-5000;
N7 G0r Y-10000;
N8 c69 c90 x-5000 Y-5000 M02;
.\
Origimlly programm.d
tool palh
60. \
{
a
Center
0f
.otalion
(7000,3000)
(-5000, -5000)
(Note 3)
-I43-
G68
mode (command
Gl7, G18 or
C.
The
(Exarnple 2)
H01
\*)r-
(0, 0)
Tool path
1)
0N)
-r44-
i@
Repetitive Commands
It is possible to store one Program as a subprogram and recall the subprogram
by changing the angIe.
(Exaurple 4) Setting the parameter RIN (No. 4I ) to I
G92 X0 Y0 G69 Gi7:
GOl F200 H01;
M98 P2100;
I"198 P072200 L7;
c00 c90 x0 Y0 M30;
2200 G68 X0 Y0
c9o M98 P2r00;
c9l
R45.0;
MqQ.
.r42 Y-10.0;
x7.07r Y-7.071;
x4
G40;
M99;
(
I
When offset is
not applied
I
{
\l
\_-_
l___
f-
_ _J
S$b-!loSB$r
-146-
wn.n offset
awned
is
(Example 2)
(
Cut
G51
c68
uar
0N)
C)
(Example 3)
G92XOYO;
c5 1X3000Y1500P500;
c68x2000Y I 000R45000 ;
c01x4000Y1000.
Y1000;
X-2000;
Y-i000;
x2000;
When only coordinate system
rotation is applied.
-r7-z'B'
- -1
/l
When
only scaling
is applied.
' A cutting
-145-
program
Actual motion
Motion without
skip signal
Skip signal is
input here.
\\4'
t'
\t-//
(3oo,1oo)
1"
\//
L<:- - u',
100
200
300
The coordinate values when the skip signal is turned on can be used in a
custom nacro because they are stored in the custom mrcro system variable
#5061 to /15064, as follows:
#5061
. X axis coordinate value
1t5062 . Y axis coordlnate value
115063 . Z axls coordinate value
115064
4th axis coordinate value
The skip functlon can be used when the movement distance is not known as in
the standard-size feed in grinders.
Refer to the manualg published by the machine tool bullder.
(Note 1) If G3t comnand is issued while cutter compensation C is applied, an
alarm is displayed. Cancel the cutter compensation with the G40 command before the G31 comrnand is specified.
(Note 2) Dry run, override and automatlc acceleration/deceleration are in_
effective for skip function. However, it is possible to make effective
them by parameter setting (SKPF, parameter No. 0015)
-r4B-
15. MEASUREMENT
FUNCTTONS
Skip signal is
5
Motion without
0.0
skip signal
\ \ .\
-=\2)
100.0
--
the next bl-ock is an absolute command with only one axis specified:
The specified axis moves to the commanded position. The axi-s which was not
specified remains at the position when the skip signal is input.
When
(Example)
c31c90X200.0Fr00;
YI
00.0;
Actual motion
Motion without
skip signal
Skip signal is
irput
here.
A
3)
signal is input.
(lixample)
6x = zoo.or
C31C90X200.0F100;
x300.0Y100.0;
-r47-
Command
The custom macro command is the command to call the custom macro body.
Custom macro or subprogram can be called by the following commands.
16.1.1 M98 (Sinsle call)
Command format is as follows:
M98P_;
t- Called macro body program No.
With the above command, the macro body specified by P is called
16.1
.2
following command:
N_G_X_...
M.mt;
The correspondence of M code <m> which calls subplogram and the program number
<P> (09001 - 09003) of the called subprogram shall be set by paramerers (tlo.
0240 UMMCDI - No . 0242 UMI'ICD3)
ffi5p"Cram
caff , E -maiirnuru of 3 among M03 - I'1255, except M30 and t"l code
which does not buffer (parameter No. 0035,'0036 MBUFI, MBUF2) can be used.
(Note l) Sirnilarly to M98, signal MF and I"1 code are not output.
(Note 2) Delivery of argument is not possible.
(Note 3) Subprogram call M code used in the subprogram which is called by M or
code does not,executes subprogram call but as an ordinal M code.
When parameter (No. 0040 TMCR) is set beforehand, subprogram (09000) can be
called using T code.
T<t>;
N G X
the above command resul-ts in the same operation of command of the following 2
blocks
i/I49 = <t> i
N_G_X_...
M9B P9000;
The T code <t> is stored in a
common
variable
/10149_as
j1"_:ryIsrrl.
is as follows:
G66P :
L Called.macro body program No.
The above command selects the macr.o modal call mode for NC. In other words,
every time each block subsequent to the above command is executed, the macro
designated by P is called. A1so, an argument can be designated by a block
subsequent Eo the above command. For this argument, refer to 16.1.3. The macro
modal call mode is cancelted by the command below.
G67 ;
r50 -
s
re,.
Gt
Gr
&:.
*g
1
&
g
16.
CUSTOM MACRO A
il
ti
Request
Machine tools builders are requested to attach your custom macro program tape
or program list to the CNC unit without fai1.
If. it is necessary to replace part program. storage memory due to a failure,
FANUC sert'icemen or end users operators in charge of maintenance should know
the contents of custom ruacro for the purp-o-56-oTElTiring the trouble immedi-
li
i
:
ately.
A group of instructions
for a certain function
Custom macro
instruction
without having
The three most significant points on custom macros are that [yg!Se?
can be
used in the custom macro body, .$!'Ei?ITin$ can be performed on-EiiaLles and
actual values\ can be asslgned to cne vartabl-es in custom macro instructions.
'1
-r49-
Table 16.1.5
Variable
number
(value)
(b)
Variable number
(flag)
G code group
Remarks
number
#8030
#8130
00
#803
#8131
01
#8032
tt8t32
o2
#803
#8133
03
c90,
#8035
#8135
05
G94
#803 6
#8136
06
c20,
#8037
#8137
o7
G40, G4l,
#8038
#8i38
08
#8039
#8
r39
09
#8040
#8 140
t0
coR
vtvt
coa
v//
#804 r
"?18141
l1
G66,
G67
#8045
#8 145
I5
8046
tt8L46
16
c68,
c9
G2
I
G42
c8g
G64
c69
//8I00rs variables are flags to indicaEe whetehr an argument has been speci f ied
or not every call. These variables are I if an argument is specified, and 0 if
no argumenE is specified.
#8000's variables show a specified value, if an argument is specified. However,
they become as specified below, j-f no argument is specified.
i) Reference in NC command
The address itself is neglected.
2) Reference in macro command (G65 block)
This value is undefined. Use it after confirming 8f00's numbers.
If plural G codes are specified a arguments in the same block, a value is input
to variables in each group as shovrn in Table L6.1 .2 (b). In rhis case, /18010 is
the smallest group nuuber out of the numbers specified at a time. No value can
institute into //8100's and 8000f s variables.
-L52-
Variable
number
(a)
Vari.able
number
(flag)
Address
#8004
#8104
#800s
#8105
#8006
#8 106
#800
#8 109
-f
#80 r0
#8i10
#80rr
#8llt
#8013
#81
l3
#80r4
#8r14
#80r6
#8rl6
#8017
#81i7
#8018
#8IIB
#8019
#8rl9
#8020
#8120
{t8024
tt8l24
#80 25
#8125
8026
{t8r26
(value)
tf
- l5l -
Remarks
conmon vari-ab1es
and system
variable_s according to
variab1enumbers,andtheiram;,,d"h'...i:.'"romeachother.
1) Common variable //100 to ilt49 and //SO0 to ii 531
Common variables are cornmon to main programs and each macro
called from these
main programs. That is, i/i in a macro is equal to /li in another macro.
Common variables //L00 co--_il_I49 are cleared when the power is turned off, and
reset to "0" jusr after por6Fw66 turned on. Cbninon v-arial tEslSOO ro rI53l
clea:9{,= _:ygl
2)
"jg_,r'-otunchanged
51'stem variable
_ i{"."._poy_er
zrs 2r4
DI
UI
2r2
":
#1014
#1015
r1o 29 28
2rr
1
2l
26 25 24 23 22 2l
UIlO UI9 UI8 UI7 UI6 UI5 UI4 UI3 UI2 UI1
zo
UIC
1013
i/1009
10
Input signal
#L007
/l
l00s
1003
/i1001
Variable value
Contact closed
Contact opened
By readi.ng system variable lt1032, all the lnput signals can be read at
once.
l5
tt'L032: L /t(i000
-f t)
x I^1
i=0
(Note 3)
uncti-on.
-154-
PMC
ss
3
Body
]n the custom macro body, the CNC command, which uses ordinary ala command
variables, calculation, and branch command can be used.
The custom macro body starts from the program No. which irunediately follows 0
and ends at M99.
c6EoT-.
G90c00x/r 10 r
c65H82
,
,
De^^e^..
r
rl^
Calculation
command
CNC command
using variables
rvSr4ur
Branch
rrv.
command
16.2.1 Variables
(Note 1) No variable can be quoted at address 0 and N. Neither 0#100 nor N//120
can be programured.
(trtote 2) IT-Is not possible to command a value exceeding the maxi-mum comnand
value set in each address. When #30 = I20, M/130 has exceeded the
maximum command value.
3)
How
-r53-
CRT screen
or set
e) Number
Kind
System
and
variable
Number
of machined parts
#390I
Number
of necessarv parts
#3902
Model information
#400 r
114002
#4003
#4022
tt4L09
lf
4t13
tt4rt4
{t4IL5
tt4t19
ll4t20
F code
M code
Sequence No.
Program No.
S code
T code
(Note l) The unit will be the one being used when .the
command
is given.
156
u0l2
u01
28 27 26 25 24
29
I)
to u0l5)
i5
I|LL3Z
= L
can
/11106
{trro7
I 109
Variable value
(uoo
I /il104 |
#1 105
#1 1
.,
23
l5 for
1n
2' 2'
2"
u01 uoc
#1102
#r103
#rro
111101
Output signal
Contact closed
Contact
opened
#(1100 -tr-)xz
to
By substituting
#1100
output signals
^I
r-v
32 interface signals
to
(UO100
#II33 at
once.
^n
JU
#ii33= r il(24*vi)
i=0
Vi = 0 when
Vl = 1 when
-z3L
UO (100+i) is LOW.
UO (100+i) is HIGH.
(Note 4) If
any other number than '0' or ' I ' is subsEituted into system
variables #1100 to /ll1l5, it is treated as 'l'.
(Note 5) It is possible to read the values of sysrem variables /llt00 ro /lll33.
(Note 6) System variables /lll00 to #1115 and #1133 can be displayed by
diagnostic function.
DGNOS No. 126 UOO to UO7
No. 127 U08 to UOl5
No. 196 U0100 ro u0107 No. 197 u0108 ro U0ll5
No. I98 U0116 ro U0123 No. 199 UOl24 ro UOl3l
(Note 7) System variables #1f00 to llll3z can be used only when FANUC PMC is
combined.
Year, Month,
#3Alz
Second
L98l 4: 17 5"
It30L2
variable
#3011
Day
Hour, Minute,
(Example)
System
PM
16r705
-155-
(Meaning) i/i
(Exanple) p/l100
P#
i00
P# IOO
P# 100
P# 100
(Note
I)
(Examp
le)
(Note 2)
ttj @ #k
I
Operator
Q#l0l
Speci f ied
Hm)
Rii 102
Q/i l0 r
Q-100
RI5
#r00
R/i 102
# 100
Qr 20
R-50
100
R/i i 02
/r
I00
Q-# l0
100
= //l0I
= //l0l
= -100
= 120
t02
I5
l!r02
+
+
+
en
-JU
= -/1101
tno2
/1100 = i0
X#100
0.01 mm (metric input)
Those indicating an angle must be expressed by degree, and the least
input increment is 1/1000 degree.
(Example) 100
(Note 3) H code
0,1"
amount
G code
H code
Definition
Function
inition,
lti = lli
substitution
H0l
Def
HO2
Addition
tl
H03
Sub
tt
H04
Produc
tt
H05
ni.,i^i^-,,'
uLv L>LwLL2/
ili=i/jx/lk
HII
Logical
{t1
il
Hl2
Logical product
#i = #j.AND.
tl
HI3
Exclusive
Iti = llj
H21
Snrrrro
ll
H22
Absolute value
#i = {tE
//i = I/rjl
tl
H23
Remainder
#i = #j - rrunc (//j///k) x
trunc: Discard fractions
tl
ili=#j+i/k
li]-=#J-ilk
tract ion
lli=lll+tlk
sum
0R
rnnl-
= tij .0R. #k
/lk
.xOR. #k
less than I
tl
tl
tl
tl
H24
H25
/ii =
nzo
Cornbined
divislon
multiplic
aLion /
BCD
BDC
(#j)
lli=(#ix#j)+/ik
H27
Combined square
root I
*i = frjz-a16r
H28
.^-L-'*^r
uurlutLlcu
root
tli='fr42-1;pz
>Yuot
-158-
llk
Q\/cl-pm
rl ev-"'
variab
#500
Re:d'ino
Position information
1e
while moving
X axis (ABSI0)
Block end point position of
115002
Possible
Not considered.
Position of tool
nose (program command position)
Impossible
Considered.
Y awi q
#500
#5004
It502L
tf 5022
#5023
{t5024
{t5041
#506
I frnnccl
#5062
#50 63
tf
h I a
Position of tool
raFaranaa
nnini
as ABSOLUTE
indication at POS)
(Same
Possible
Considered.
Position of tool
roforanno
#508 0
{t5082
#508
Considered.
nninf
5064
#508
nninl-
(Machine coordinate)
#5043
{ts044
Position of tool
roForanoo
(ABS0r)
tt5042
Possible
(Note !.)
Generar I orm
G65 Hm e/i
m
tti
ltj
Itk
i qili
n/ik;
-r57-
h) Exclusive 0R /fi
G6s H13
(Ex.)
= //j .xoR. #k
P#i Q/ij Rifk;
c65 Hl3 P#l0l Q/i102 R#103; (#I0l = ttroT .XOR. #i03)
j)
nUsolute value
(Ex.)
/i
i = l#j
(//l0r = l+rozl
k) Remainder lli- = ltj - trunc (/lj///k) x i/k trunc: Discard fractions less than
(Ex.)
BIN (//j)
f) Conversion from
(Ex.)
= BrN (#102))
(Ex.)
G65 H25
1l
= ltltoZ2 +
/1103)
1lLO32
= /llL022 - llLnz
SrN (#103))
Tangent
(Ex.)
= llr02 cos
(#103) )
lli = ltj
#ro2
TAN (#103))
(rx.;
(Note
(Note
(Note
1) Angle in (q) to (t) must be indicated by degree and the least f rrPu L
increment is l/1000 degree.
2) If .either Q or R necessary for each arithmetic operation was not indicated, i-ts value is calculated as t0t.
3) A11 figures below decimal point are truncated if each arithmetic result
includes decimal point.
160
._."_*4$ry
U LUUE
H code
Function
Definitlon
c65
H3l
Sine
tr
H32
Co
H33
Tangent
ttj-
tl
H34
Arctangent
tl
H80
Unconditional divergence
G0T0n
H8i
Conditional divereence
IF i/j = llk,
H82
Conditional divergence
rF #j + lfk, Go TO n
H83
Conditional di.vergence 3
rF
H84
Conditional divergence
rF #j < llk, G0 TO n
H85
Conditional divergence
rF /ij z /ik,
GO TO n
H86
Conditional divergence
IF /ij : /lk,
G0 T0 n
H99
It
tl
!l
It
sine
I) Variable arithmetic
lli = ,'Jlli
crN
/ilr,\
ultl
\rrN/
tli = ,,J
ll:
(il1,\
nnc
vvu
vN/,
= ltj .
TAN (//k)
GO TO n
command
d) Product i/i = #j x
(Ex.)
r = #102 -
#103)
(//l0l = #ro2 x
/1103)
(//10
#k
f) Logical
(Ex. )
c6s
c65
-i59-
#103)
2)
Control command
a) Unconditional branch
G65 HBO Pn; n: Sequence number
(Ex. )
c65 H80 PI20; (Diverge ro Nl20)
b)
(Ex.)
(Ex.
fn
Ql/5
(Note
n/tt; n:
SequencE number
- 16l -
9) When a custom macro is loaded from a paper tape in the EIA code, '&' code is
treated as t'//tt, because there is in no "//t' code in the EIA code.
-162-
Reference
(n- I )th
hole
Present position
-163-
Custom macro
o90
t0;
instructions are
programmed
as follows:
{-n
I_U
ie = l"l
I
I
I
)
'l
)
.360o x
tJ].=at-
Xi=Xo*rCOS (ei)
Yi=Yo+rSIN(0i)
Positioning to the i-t.h hole
Output of hole machining M code
r -
lr
l-
Wheni<ie,branches
ie pieces of holes
to N200 to dri1l
M99;
r0;
c92 X0 Y0
lI98 P9010'
;0"
;6f
be
as
follows:
Xn = 100 nrm
Yo = -200 mm
r = 100 nm
a=
20"
Counrerelockwise (n = t2)
Z0
Custom rnacro
.r
call
M02;
i1500
necessary
A pocket milling cycle to machine the area illustrated below can be programmed
by custom macro. Area cutting is done with a certain depth and another area
cutting is done after the tool is cut-in along the Z axis.
Rapid traverse
FeedrateSxe
Feed r3le e or f
(e : Z direction
f : XY plane)
z
I
I
---r-I
I
I
I
"l
-164-
lil
lii
M99;
-165-
Used for
other
27
//100.
26 25 24 23
22
ign
Purpose
-
Structure of
DO
zB 27 26
25
Used for
purPose
instructions are
prograrnraed
c65
HT2
c65
H01
N20
c65
H8l P10
Address
Q//10r3
00 Q-/1100; I
HI2 Pltrr3z Q//1132
ON
R0;
20
as follows:
N10
G65
2r
Custom macro
09 I 00;
24 23 22
P// r
R495;
-166-
OFF
I
I
X axis
+ _---
I
I
I
I
I
I
Cutter
Workpiece
(r)
(o)
First margin
{t502
(Ax)
Shearing width
#503
(B)
margin for grasping workpiece
lf )u4
Distance from reference point Eo cutter (h)
Custom mac ro instructions are programmed as follows:
#
500
#50
Width of workpiece
091 10;
c65
uo)
H03
H85
P#100
P-10
Q#
100
Q#r00
n/i502 ;
n/i
503;
M99;
0-n
//r00
X axis positioning
Cutting command
ilr00 -A{
IF #100 : B, c0
TO N10
G92
M98
XO;
P9110;
rr v t
Mo?.
-167-
coordinate
Common
variable
=X
ll5o2 = Y
//505 = r
//506 = e
i1501
{1507
employed:
c66
G90;
P8000;
N1600 x0
Y-I00.0;
call
cOmrnand
Absolute
command
in
hrell I
N8000 G67 i
N9000 M02;
Modal
sec.
call
lm.0
-168-
node cancel
poinr
point
poinr
16.4
With the aid of this function, a machine tool builder can freely prepare a
hole machining cycle (boring cycle, tapping cycle, or the like), for example, by
utilizing the custom macro function, and load the hole machining cycle lnto the
program memory.
f) This cycle is designated as pattern names like BORI, TAP3, DRL2, ....
An operator can select a desired pattern out of the menu of pattern names
being displayed on CRT
2) A cycle should be prepared by using variables (pattern data) which are
specified by the operator.
The operator can identify these variables as depth, return relief, feed'
blank, and other pattern data names. The operator gives values (pattern
data) to these names.
16.4.1 Pattern menu display
ffi sl'l t"y again after selecting an offset or custom macro variable
screen by depressing the m
k"y, Ehe following pattern menu screen is
Pr*'rl
When depressing
IJFS
displayed
: HOLE PATTERN
1. BOI-T FLE
2. GRID
3. LIIE NFE.E
4. TNPPII
5. DRILLII.G
5. EmIfS
?. PMGT
8. PEG<
FNJ
>.
OtW NLw
tESl
1O. BrcK
SELECT =
title
HOLE PATTERN
Menu
BOLT HOLE
Pattern
name
EIT
1S
settable within
1S
settable within
The machine tool builder should program the character strings of menu title and
pattern name by the custom macro, and load it into the program memory as a
subprogram of program number "9500".
l) Macro instruction to describe the menu title
Menu title
ci cz t3 c+ cs ce cl cg cg cto cii
Cl, CZ ....
ctz
CtZ : Characters of menu t.it.le (L2 characters)
-169-
l'lacro i-nstruction
c65
H90
p
TJ
H90P p Q q R
UJNKi
: Specifies the menu ri_11e
: Assuure a, and a, be the codes of characters C, and C^,
L
Z'
P=atx1O3+a,
p CCO OOO
-L
a, of character c.
Code a, of character C
Code
See 16.7.3
for character
codes.
Assume
c6s H90 Po72 079 Q076 069 R032 080 1065 084 J0B4 o0g K082
078
HOLEL_IP
ATTERN
For codes corresponding to these characters, refer to item i6.8.3.
2) Macro
ct
t3
'z
cl' c2 ""
to
name
tg tg tto
'4
'l
cto
Characters of pattern nane (10 characters)
L1acro ins truct ion
G65 Ii91 P n a
qRrI
iJiK
H91
Specifies the pattern name
n
Specif ies the menu number of pattern name (n = I to I0)
Assume a,
Y
., be the codes of characters C., and C,r,
"lO
'q=atxl0-*a,
r
.=t3xl0-+aO
f
Assurne
a_ and a)?b
be
be
t=u5xi0-+aU
Assume a_ and
t?d
a^
j=arxlo-'+au
Assume
"g
"rd
Cg,
k="9x10"*r,,0
170
macro
;
(Example) Assume that the pattern name of menu No. I is "BOLT HOLE", and the
macro instructlon ls glven by;
G65 H9t pl Q066 079 R076 084 1032 072 JO79 076 K069 032 t
BOLTLJHO
LEL-l
(Note) If a part of characters are not specified by P, Q, R, I, J or K which
designace character strings, but they are omitEed, the characters (two
characters) at that part are regarded as space characters.
CRT
Etr
The selected pattern number is set to system variable "//5900". The custou
macro of the selected pattern can be started by starting a fixed program
(external program number search) with an external signal and then, referring
to system variable #5900 by the program.
4)
Menu title:
09500;
Nl c65 H90
Nl2
HOLE PATTERN
i.
2.
171
GRID
3. LINE
ANGLE
4. TAPPING
5. DRILLING
I
M99;
BOLT HOLE
6.
BORING
7.
8.
POCKET
PECK
TEST
IO.
BACK
a pattern
menu
t.,FRIABLE
}.tr.
qf'ENT
*E[LT Fg-E
Y
5A3 RADILF
5er s. $E56 l{-E. l.
%a
g7g
5@ KlJll.l
01@ N1@
DnTC
t*HE
5@ Tm-541 KIJIN
CIRCLET
SET
DATA TO
UR.
r',5@-585.
6
6
x
z
f.5. W=
@.w
@.w
PRTTERN
@.m
S
6T
MDI
BOLT HOLE
TOOL
is
settable within
12
l-s
settable within
10
characters.
: Variabl.e name
An optional character string
....
characters.
*BCLT HOLE CIRCLE* : Comnent statemelit
A comment of an optional character string can be
displayed up to 12 characters/line, and B lines.
The machine tool bui,Lder should program t.he character strings of pattern data
titler pattern name, and variable name by utilizing the custom macro A, and load
them into the program memory as a subprogram of program number "9500 * pattern
number" (O9501 - 09510).
1) I'lacro instruction to describe patlerrr data title
ct cz t:
ts
"4
cLz'
H92
Y
Hq?pn
t6
te
tto tr t 9n
"t
'g
Characters of nenu title (12 characters)
qRr
t'
JjKk;
-:-^
t - o7 xI0r+aU
Assume
x 10" *.10
i-^
J*O
Assume
11
and a
*;- L2be the
codes of characters C
and C
1r "^'- "12'
x l0'* a,^
LL
For codes corresponding to these characters, refer to item 16.8.3.
IN
-'
-
^
dr
172
Variable
t,
name
t,
t, au ,-, ag a,
',C2...- Cl0
'o t Variable
Cl'
a,.
Macro instruction
G65H93P n
He3
n
r r
e
: sp.lfri!" tllGri"rfGur"
and
c2'
codes
of characters C,
and
c4'
cod.es
of characters C,
and
c6'
codes
9=arx10"*a,
Assume a" and a, be the
J?4
t="3x10"*aO
Assume a. and a - be the
)?6
t="5x10"*aU
Assume a, and a. be the
l^O
j=a7*IOJ+au
(Example)
c65 H93
(Note)
{l
-R--T- -D-T
/1500
aro art
Characters string of one
c6sH94_p_LQ q R r
H94 : Specifies the couunenT
p
: Assume .lO a, be rhe
",
p=alx10-*a,
T2
comment
JjKk;
codes of characters C, and C,,
Assume
a. and
J^r1
q=a3xl0"*aO
CO,
Assume a_ and
CU,
j
k
).b
r=.5x10'*aU
Assume
Assume
- lt53I which
comment
a,. ,, a, ,o a, a6 ,, aa an
.,
"lO a, be rhe codes of characters C, and CU,
,=^7x10-*a,
: Assume g
.
" "lO ,0 b. the codes of character" C9 "rd Cl0,
i="9x10r*"10
tr,
""X.r,
1=rlrxl0-*^12
and
bu the codes
-173-
of characters cll
"nd
cl2,
A comment can be displayed by 8 lines. The comment consists of the lst line
to Sth line in the programmed sequence of G65H94
(Example) Assume that the corunent is "*BOLT HOLE", and the macro instruction
is given bY;
c65 H94 p042 066 Q079 076 R084 032 T072 079 J076 069 ;
*BOLTL_]HOLE
of the prerrious CRT
Example
macro
4)
of custom
o95Or;
Nl
r74 -
VAR:
BOLT HOLE
/1500 TOOL
/1501 KIJUN X
#502 KIJUN
#503 MNIUS
#504
S.
ANGL
#505 HOLES
Coroment
*BgLT
NO
instruction
H6LE
CIRCLE*
SET PATTERN
DATA NO VAR.
No. 500 -
505
Character
Code
Character
Comment
065
066
067
068
069
070
IJ
F
G
07r
072
057
032
033
034
035
036
Exclanation mark
Quotation mark
037
Percent
038
039
040
Ampersand
1f
077
N
P
078
079
080
081
082
083
084
T]
085
086
087
088
089
090
048
049
050
J
a
w
X
Y
Z
055
056
Conrmgnl
054
073
074
075
076
Code
)
&
041
042
043
044
045
046
o47
058
059
060
061
062
?
063
064
091
051
052
053
093
094
09s
175
092
Space
Sharp
Dollar
svmbol
ApostroDhe
Left parenthesis
Right parenthesis
Asterlsk
PIus sign
Comma
Minus sign
Period
Slash
CoIon
Semi-co1on
Underline
Functlon
Subprogram No.
o9500
o9s0 I
09502
o9503
o9504
o9505
o9506
o9507
o9508
o9509
o9510
G code
Function
H code
c65
H90
c65
H91
Specifies pattern
G65
H92
c65
H93
Specifies variable
c65
H94
Specifies
name
name
comment
Svstem variable
Meanlngs
"\.,1*.:
,,]:ts_i. :
#5900
r,.1,,. $i.l'
176
EO
17-
CUSTOM MACRO
Request:
Machine tools builders: You are requested to attach your custom macro
program tape or program list to the CNC unit without fail.
If it is necessary to replace part program storage memory due to a failure,
FANUC servicemen or end user operators in charge of maintenance should know
the contents of your custom macro for the purpose of repairing the trouble
immediately.
A group of instructions
without having
The three most significant points on custom macros are that variables can be
used in the custom macro body, operations can be performed on variables and
actual values can be assigned to the variables ln custom macro instructions.
r77 -
G55P9011A101s:
X=l
I
Z = 4:
()
I
I
l
i
)/'
#4 10 and 5 respectively.
This enables the user to improve the CNC performance by themselves. Custom
macro bodies may be cprovided by the machine tool builder, but they can be
created by users, EOO.
Bolt hole circles as shown in the above figure can be rnade easily'.
Once a custom macro body for the bolt hole circle is programned and registered,
the CNC can operate as if it has the bolt hole circle cutting function.
Programmers can use the bolt hole circle functj.on by using the following command
only:
c65P Pr.R t A o B B
r
Macro number
Radius
k ;
"
of Em-hole
circle
li
Start angle
Angle between
Number
circles
of circles
-r78-
body
#19
T
#20
#21
#22
In
1t
zJ
#24
I
#25
#26
b) Argument assignment II
ABCIJKIJ
In addition to the fact that arguments can be
addresses A, B, and
C, a maximum of ten sets of arguments can be -ssigGE--in
set for addresses I, J and K.
When several numbers are assigned in the same address, they must be assigned
in the determined sequence.
Addresses not requj-red can be omitted.
Addresses assigned jn argument assignment II and the number of the variable
used in the macro corresDond as follows:
Address of the argument assignment II
1rL
1tJ
r1
Jt
tt5
Kt
#o
l^
tf/
,z
tt8
Kz
#9
#t0
tfll
K^
#12
lf L)
-4
-r80-
bodv
17.1
A macro can be called from a single block, or modally from each block in the
call mode
Note) A macro call command cannot be specified in the MDI rnode.
17 .1.1 Simple calls
When the following command is executed, the custom macro body identified by P
(program number) is ca11ed.
G65 P(ptogr"*
f(it.r.tio"
ti*"") <argument assignment>;
""*b"r)to transfer arguments
When it is necessary
to a custom macro body, the argument
is specified by <argument assignment>. The followlng tTr/o types'of <argument
a) Argurnent assignment I
A-B-q
...
.z
lt L
B
1tJ
L
D
#8
tt9
#11
I
lft
ltO
flJ
ttLT
//
r79 -
18
body
(Example)
G65AI
.082.0r-3.014 .0D5.0Pi000;
;l?iT":-]-
It). )
{t3:
ll4 z-3
i/5:
#6
tl7 :
)bt{
5.0
In this example, even if arguments I4.0 and D5.0 are specified to variable
ll7 , rhe latter is effective.
17 .1.2 Modal call
The macro call mode can be specified by executing the followlng command.
G66P program number L repetitive count <argument assignment>;
The <argument assignment> is the same as for a simple call. The macro call mode
can be cancelled by executing the following command;
G67 ;
(Note
1)
(Note 2)
During the macro call mode, the specified macro call instruction is called
every tj-me a motion command is executed..
(Example l) Drilling Cyele
At each positioning-point, the drilling cycle is operated.
Auxiliary
function
X move
Flow of program
ll
ll
1l
1l
ll
lr
li
ll
Ir
Dwell
uoo P9082R(R
X
point)X(Z point)X(Dwell);
The drilling
G67 ;
Macro is
o 9082 t
as follows.
GOO Z
//tB;
GOI
GO4
#26;
#24:
GOO
Z- lROUND
Mqq.
Dwell
[/ilBl
+ ROUND
ttt26));
182
end
of
Address
of the
argument assignment
II
body
ttr4
t4
It
1f
Jl1 /
#1r)
{ttt
J.
#18
T.
#L9
ll2A
b
o
K.
JI.
lILL
Tl
1I
Jl
tt L)
K.t
tt24
I^at
ll2s
J^
It26
Jlaa
LL
o
6
I^9
#28
J9
#29
K^
#30
rto
)l.
'IJI
Jto
ttJZ
Kto
#33
-181 -
NGXY
M98PAAAA;
The correspondence between the calling M code xx and the program number AAAA of
the ealled subprogram must be set as a parameter.
Up to three 11 codes can be used for a subprogram call.
hrhen these M codes are specif ied in a macro called wit.h a G code or in a
subprogram called with an M code or a T code, the subprogram is not ca1led, but
these M codes are treated as ordinary M codes. Set the following parameters.
FI
i."f
F-t
M code used
to ."ff subprogram:
9003
,rffi--
" .....T
N
G
X
Z
M98P9OOO;
r-coae t ir ETea-lT
.n argument in comnon variable 1ll4g. The T code is
displayed on the program check screen, but TF and T codes are not. transmitted.
When this T code is specified in a macro called with a G code, or in a
subprogram called with an M or T code the subprogram is not called; buE this T
code is treated as ordinary T code.
Set. the following parameter.
0
When parameter
code.
No. 0040,
TMCR
TLICR
17.1.7 Difference between M98 (subprogram call) and G65 (custom macro body
a) G65 can include arguments; I,198 cannot.
calt)
r84 -
!,.,':j
?r.
Gxx<argument. assignment> ;
correspondence
between the calling G code xx and the program number AAAA of
The
the called macro must be set. as a parameter.
-\ calling G code xx and the program number AAAA of a called macro are set in a
parameter.
Up to ten G01 to G255 commands can be used to call macros. G00, G65 to G67
cannot be used. In case of macro call by G code, the P code does not indicate a
program number but an argument. The P code is stored in lfL6 as an argument.
These G codes cannot be specified in a macro called with a G code. These G
codes cannot be specified in a subprogram called with an M code or a T code.
Set the following parameters.
Data No.
G code used to call macro: 9010
G code used to call macro: 90il
Macro can be ca11ed with an M code set by a parameter, namely, the following
a
command:
N
G65 PAAAA <argument assignment>1
ifQ-nivalent to the following -ommand:
N_
M X X <argument assignment>;
Coordinate with t.he M code X X which executes macro calling and the macro
program No. AAAA accessed with a parameter. I'IF and M codes are not issued the
same as to call the subprogram with an 1"1 code.
When this ll code is specified in a macro called with a G code, or in a
subprograrn called with an M or T code, the macro is not called; but this M code
is treated as ordinary M code.
Up to l0 codes of l10l - M97 can be used to call macro. Set the following
parameEers.
M code
to call macro:
9020
!1 code
to call macro:
9021
9029
(Note) These
- lB3 -
Macro
(Level I )
Main program
Macro
(Level 2)
Macro
(Level 3)
o--
G65P
G65P
G65P
G65P
M99
Local rariable
(Level 0)
(Leve1 1)
Macro
(Level 4)
M99
(Level 2)
(Level 4)
l) The main program is provided with ill to /133 local variables (leve1 0).
2) When the macro (leve1 1) is called with G65, etc., the local variable
(level 0) of the main program is stored, and llI to #33 local variables
(level 1) for lihe macro (1evel l) are prepared. Argument transfer is
possible for this purpose. (This also applies to (3) below).
3) The loca1 variables (level I, 2,3) are stored each time the macros (leve1
2,3,4) are ca11ed, and new local variables (level 2,3,4) are prepared.
4) When the operation returns from each macro with M99, the local varlables
(1evel 0, l, 2,3) stored in (2) and (3) are set in the same conditions as
when they were stored.
17.2 Creation of Custom Macro Bodv
17.2.'l
shown
belorv.
(Prograrn Number);
Commands
(Variables, arithmecic
operation and control
'' instruction can be
sPsLrr
rcu.
,l
Mqq.
LL,2
2) 09020
edited.
-.09899
-iB6-
n'i!k;i
.8 Multiplex calls
l) Multiplex ca11s
Similarly to a subprogram ca11ed from another subprogram, a macro can be
called from another macro
The multiplicity
should be less than or equal to four including simple and
modal calls.
2) Multiplex modal calls
In modal calls, the specified macro is called each time a motion command is
executed. When several modal macros are specified, the next macro is ca1led
each time a motion command in the first macro is executed. Macros are
successively called from those assigned later.
17.1
(Example 1)
G66 P9i00;
z 10000; (1-r)
G66 P9200;
z i5000 t (L-2)
G67;
G67;
z-zsooo; (l-3)
P9200 cancelled
P9100 cancelled
9100;
X 5000; (2-L)
Mao.
9200;
z 6000; (3-i)
z 7000; (3-2)
MAO.
this chart.
(1
(Note )
1)
)
ft -?\
-185-
3) Undefined variables
The value of a variable whi,ch has not yet been defined is called <vacant>.
Variable #0 is used for a variable that is always <vacant>.
An undefined variable has the following naEure:
'a) Quotation
When an undefined variable is quoted , the address itself is also ignored.
//l = <vacant>
When
//l = 0
When
c90x1002/l l
c90x1002/l l
c90x100
G90X10020
b) Operation
#l = <vacant>
When/il=0
tl2=lll
ll2=#r
I
/12=<vacant>
It2=0
ll2=lllx5
ll2=lll*'5
*zlo
I
112=0
ll2={lI+lll
llZ=lll+ttt
It2=0
1t2=0
c) Conditional expressions
<vacant> differs from 0 only for EQ and
When
/il = <vacant>
ill
NE.
When
ill = 0
#1 EQ
EQ #0
I
/10
Established
Not established
#lNEO
#lNEO
Established
Not established
#i cE /i0
#l
cE
#0
Established
Established
/ll cr 0
ill
Not established
Not established
-lB8-
cT
CRT screen.
Variable values
can
gariables can be used j.n a custom macro body. Also arithmetic instructions
control instructions are commandable.
Actual values for variables are specified with a macro call command.
and
17.2.2 Variables
Variables can be used in the macro instead of numerical data. The user can
assign any value (within the allowed range) to them. Using variables allow
custom macros to become much more flexible than the conventional sub-routines.
Several variables can be used, and each variable is identified by a variable
number.
1) Varlable expressions
A
(Example I ) lt5
tf
Lo9
#1005
The following format can also be used where numbers are replaced bv <Formula>
(Example
il [<Forrnula> I
2) # t#1001
#[#1001-ll
# ltt6l 2l
ll
[<Forrnula> ]
Quotation variables
The numerical value following an address can be replaced with a variable.
<address>i/i or <address>-ili indicates that the value of the variable or its
complement is substituted for the command value of the address.
3) F#33
If /133 = 1.5, ir is rhe same as FI.5.
Z-ltl8
If i/18 = 20.0, ir is rhe same as 2-20.0.
c#130
If //130 = 3.0, ir is rhe same as G3.
a) using a variable with addresses/,:, o and N is prohibited, (i.e.,:1127 or
N/f I cannot be used).
The value of n(n =l to 9) in an optional block skip/n cannot be used as a
(Exarnple
variable.
A variable number cannot be replaced by a variable. when 5 in tls is
replaced with #30, it does nor become llll3O but ii t#301.
The value of a variable cannot exceed the maximum set for each address.
For example, when #140 = 120, M// 140 exceeds the maximum (an l"t code must be
less than 99).
d) When a variable is used for address data, its value is rounded to the
significant digit.
e) By using <Formula>, as explained later, a numerical value following the
address can also be replaced with <Formula>. <address> [<Formula>] or
<address>-[<formula>] indicates that the value of the <formula> or its
complement is substituted for the command value of the address.
Note that a constant with no decimal point used between brackets is
assumed to have a decimal point at its end.
h\
(Example
4) xI li24+ltl8*c0s t/lr 1
z-l
#18+1t261
-187-
List'of
Variable
#1000
#1015, llro32
System Variables
Variable
number
Dr
D0
number
#5041
#506I
#3000
Llacro alarm
1f2500
l/3001
, lf3}02
#3003
#3005
//301
Clock
Setting
it2600
(Y axis)
112606 Work
offset
value
Work
offset value
112806 Work
offset value
lf27O0
- #2706
#2800
(Z axis)
#3901
(X axis)
(4th axis)
a) Inrerface signals /1f000 ro /ll0f5 and tlL032, /i1100 ro /lir55 and llLl32,
/ill33
T--..+
IrrPuL
^-i ^'.^1
-rStrdr
190
narl
hrr
rorrl
i no
the
.;.i,..:4,
17.2.3
TYPes of variables
Variables are classified into local variables, conmon variables and system
variables, depending on the variable number. Usage and properties are different
for each EyPe of variable
l) Local variable lll to il33
The local variable is a variable local1y used in the macro. That is, a local
variable /li used in the macro and called at one point in time, is different
from iii used in the macro (whether it is t.he same macro or not) ca11ed at
another point in time. Accordingly, when macro B is called from macro A, as
in a multiplex call, a local variable used in macro A is not destroyed by
beins rrsed in macro B.
A local variable is used for an argument transfer. For inforfnation on the
correspondence to the argument address. A local variabie without a
transferred argument i-s vacant in its initial status and'can be used freely.
2)
another macro.
The use of common variables is not specially determi-ned in the system.
can be used freely.
3) System variables
Use of a system variable is fixed in the system.
-rB9-
They
Output signal
System
#1101
tf
2\
2;
2;
26
2;
2;
2;
2in
2;;
2;;
4
llrr04
r05
#1i06
#rr07
#IIO8
#i109
I
I
#1110
#i111
#1
I
I
IIt2
#1113
#rl I4
#1ir5
System
,0,
2;
I
I
ILo2
#r r03
tf
Interface
output signal
Point
#1r00
2;;
2::
2::
z')
II
variable Point
r6
u00
I I JJ
32
u100
Value of variable
uoooo
uo00r
uo002
uo003
u0004
U0005
rj0006
u0007
u0008
u0009
uoOr0
u001 r
uoor2
uool3
uoot4
uoor5
Interface
output signal
lt1 i'1.')
'T
system
uols
- uol3l
Output signal
Contact closed
Contact open
(HIGH)
(LOW)
= j tI
#f
" L"ll0o+il
xZL
l-v-n
an
JU
-
r^a
* Vi) - 2-' * VrrrrJJ = L tz
JI
r-w
Jlrraa
When
When
UO[100+il
is Low,
Vi=0
-r92-
System varj-able
Po
I
I
I
# 1000
//r00r
#1002
#1003
#1004
#1005
// r
I
I
)"
-q
#10i4
I
I
I
I
i/1015
l0r3
variable
t032
ong
^
)Lv
-t
Ur009
)rz?
-t
rTTnr?
ITTor o
2:: uroll
1
2::
2r,
2^'
laJ
Point
urOi3
UrO14
ur015
Interface
input signal
UIO
lo
Value of variable
a:
ur001
ur002
ur003
ur004
ur00s
ur006
ur007
rTT
2:
#r0r0
#i0l I
tf t0L2
2;
2;
2;,
2;
2;
2;
2;
006
System
'1
#1007
#1008
#1009
Interface
input signal
o rTr nnn
?
inL
UI15
Input signal
I
Contact closed
ConEac! open
(HIGH)
(LOW)
Since the variable value read is 1.0 or 0.0 regardless of the unit system,
t.he unit system must be considered in preparing a macro.
The readlng system variable 1t'1032 is used to read 16 points lnput signals
at one time.
15
:
li
1032 = I
/l
j
[1000+i] *2'
t-u
'j.
i;
a!
System
i-n a calculation
command.
i;
d
F
q.
&
191
rerm
(rn case of
Offset
number
Variable
lt2001
{t2002
1f
199
200
20.03
2199
{t2200
tf
(Note) The value of variable number /i2000 is only used to read the value.
value is alwavs 0.
c)
The
System variables for work zero point offset values tt2500 - 112906
By reading the values of system variables ll25OO - ll29O6, work zero point
offset values are determined.
By assigning va,lues to these variables, work zero point offset values can
be chansed.
Axis
#25.0r
112506
#2600
*zZoo
#27 00
lf 27
4rh
variable
lt2500
ti260l
lt2t 0I
06
ll2800
1)
-194-
System
#280
{t2806
No.
-;r;ts;:#
The last values of the system variable #1100 to #Ill5, ltLl32 and #if33
issued are stored as 1.0 or 0.0.
(llote) When a value other than I.0 or 0.0 is assigned to //1100 ro //1115,
<vacant> is assumed as 0 and values other than <vacant>,and 0 are
assumed as l. A value under 0.00000001 is indefinite.
(Example l)
1) llacro used to read three digits of BCD data with a sign by address
switching.
Structure of DI
zLs 2r4
Used
2r3
for
e2E 21 26 2s 24
2ro
Stgn
23 22
10r
102
2L
100
other purposes
Structure -of
DO
2E
Not used
27
26
Used
2"
24
for
23
2'
22
20
Address
other putpose
is specified as follor.rs:
09 IOO;
N9 100M99;
2) Read eight types of signed 6-digit BCD data (three digits to the left
of the decimal point and. three digits t.o the right of the decimal
point) by address switching in #101.
Machine tool composition
When D0 2 = O, three digits to the right of the decimal point
? - l. r I three digits to the left of the decimal point
When DO 2- to 2- = 000, data No.l
001, data No.2
11
Macro call
, data tlo. 8
command
c65P9l00D I lt7*2+I) i
/f
l0l=/l100;
x2] ;
L)r=lf r0 l+/r r00/ l 000 ;
c6 5P 9 l00D I lt7
#
1199;
-193-
(Example 3)
llacro call
programming)
command
#3003=l;
c00w /llB;
G0lI^I i/23
c00w-[RouND[#r8] + ROUND
/t3003=0;
llt23)l;
Mqq.
3004
U
! eed nolcl
0
0
0
0
l
0:
F'f f o n t i rra
L:Yv'
V.
Suppressed
-196-
.iil
d) Alarm #3000
hlhen detecting an error in the macro, an alarm can be generated. When an
alarm number is specified in the system variabte /i3000, the alarm lamp is
turned on and the alarm status is entered after the proceeding block is
processed.
/l 3000=n (ALARI
MES
SAGE) ;
Kind
System
At the time of
Counting
Power-on
Clock
/i
3001
msec
Reset to
Clock
lf
3002
hour
Same
Always
as at the time
of power-off.
overflows at 65536
msec.
(Example 2)
Timer
I'licro call command
G65P9l0l T (Awaiting time) msec;
This macro may be specified as follows:
09I01;
/f 3001 = 0;
wHrLE[#300r LE ll2OlD0l;
:
:
Initial setting
Wait for the prescribed. length of time
ENDI;
MOO.
LLJ
+l
The suppression of the single block stop and the wait for the auxiliary
function end signal.
lrrhen the following values are assigned to the system variable #3003, the
single block st.op function is suppressed and execution advances from one
block to the next without awaiting the end signal (FIN) of auxiliary
functions (S, T, 1"1 and B). When the end signal is not awaited, the
distribuEion end signal (DEN) is not transmitted. Be careful not to
specify a subsequent auxiliary function without awaiting the end signal.
#3003
Not suppressed
Awaited
Suppressed
Av/aited
Not suppressed
Not awaited
Suppres
Not awaited
ed
-i95-
"
?'.:
{I
'd
.{
1l
I
{
j
:
Sv
stern variab
#400
Modal information
of preceding block
le
114022
{t4L02
B code
F code
H code
#4 109
#4i11
lt4Lt3
ll4LL4
tt4LI5
tf
lt
M code
Sequence number
Program number
4It9
4t20
code
code
{t5002
#5003
#5004
lf
502r
#5022
{t5023
#5024
1i5025
it5026
Its04r
5042
5043
i|5044
{t5045
t!5046
tf
lf
#506
lf 5Ub. Z
#506 3
{t5064
Reading in
Positional information
during movement
(ABSI0)
(ABSI0)
(ABSI0)
(ABSI0)
(ABSMT)
(ABSMT)
(ABSMT)
(ABSI'{T)
(ABS0T)
(ABSKP)
(ABSKP)
r98 -
Possib
le
Impossib 1e
(PI"IC)
(PMC)
(ABS0T)
(ABS0T)
(PMC)
(PMC)
(PMC)
(ABSKP)
(ABSKP)
Impo s sib 1e
Possib
le
ii.
07
SEQ
06
05
15
03
ISO
INCH
ABS
REVX
REVY
TVON
ISO
INCI{
ABS
SEQ
04
X axis mirror
Y axis mirror
02
TVON
0l
00
REVY
REVY
image
image
TV check
Changeover of code system ISO/EIA
Changeover of input unit system inch input/uun input
Changeover of absolute/incremental command
Automatic insertion of sequence No.
L4
13
12
lr
10
09
IAPEF
REV4
08
Kind
Year, Month,
#30rr
Day
Hour, Minute,
ll3roz
Second
J) Number
system variables
Kind
Number
of machined Darts
#390
Number
of necessary parts
{t3902
-t97-
(Exaurple 4)
The tool moves to a point appropriate to the machine tool (xp, yp, zp
distant from a reference point) through a programmed intermediate point;
and after processing a sequence of operations, returns to the original
point.
Macro call command
G65 P9300 X(Intermediate point)Y(Intermediate point)Z (Intermediate
point) ;
The custom macro body is specified as follows:
09300;
ill=//5001;
ttZ=tt5002:'
//3=/i 5003;
G00 z1126;
xll24 \1125;
G04; (Move is interrupted to read ll502l
G9 I x Ixp-//502i lY Iyp-i|5022]zlzp-115023)
to
/i5023)
./
:
,ntocessr.ng/
"
!t2..
J,
Mqq.
... . ,
17.2.4 Arithmetic
commands
2) Addition arithmetic
ili=il j+#k
lli=#i-#k
Iti=lll OR /lk
lli=llj XOR /ik
3) Multiplication arithmetic
llj-=ll
jxtlk
ll.l=lfi llfk
tti=lti AND #k
4) Functions
i=srN
#i=cos
li
[/ij
j
/i i=TAN Iil j
[ /l
ili=Rreni#j l/ t#kl
i/i=sQRr[/lj]
/li=ABS [//j
/li=BrN
[#
/li=Rcnfrli
//i=RouND I /lj I
/li=FIX
[ /l
jI
#i=FUP
[,/l
Definj-tion, subst.itution
Sum
Subrracrion
Logical
Product
Quotient
-200-
,$,iffi#
System
variable
#508 r
{t5082
#5083
#5I01
ll5LOz
#5103
#5104
Abbreviation
Meaning
Coordinate
-J
LEU
Reading in
during
movement
Impos
Irnpossib 1e
ABSIO
ABSl'17
ABSOT
sib le
ABSKP
End point
Command
Couunand
coordinate
of the preceding
block
present
coordinate
Position
PresenE
where skip
coordinate
signal has
turned on in
the G3l block
Work coordinate
system
Machine
tlork
coordinate
Work
coordinate
sysEem
sysEem
sysEem
coordinate
Tool offset
Not considered
Considered
Considered
Considered
Tool length
Tool top
position
Tool standard
point
Tool standard
point
Tool standard
point
of f set
Cutter
comPen-
sation
(Note 1) The tool length offset amount is not the amount. in effect just
before the block is executed; it is the amount for the current
block.
(Note 2) The block end point (ABSI0) of the skip (c31) is the position where
the skip signal has turned on or the end point of the block if the
skip signal has not turned on.
-199-
t) Prgcision
Always consider the precision of a custom macro function used for Preparation
of programs.
a) Data format
Numeric data handled by a custom macro is in a floating decimal point
format as follows:
F.
"
1"1* 2
where M: l-bit sign + 31-bit binary data
E: l-bit sign + 7-bit binary data
b) Operational precision
An operation executed once generates the following error. These errors
are accumulat.ed with each repeated oDeration.
Average error
Operation format
a =
I.))
b^"c
.
X IU^-10
q.oo x ru -10
a = b/c
^-./vd-fu
i.24 x l0-q-
a=b*c
a=b-c
2.
^ l0
,IU-
Maximum
error
rU -10
1+.OO
1.86 x l0-g-
5.32 x I0-I0
5.0 x 10-q-
I.U X IU -R
a=
1.8 x 10-6-
3.6xI0" -6
b/c
(note) Function
TAN
Relative error
e
3.73 x l0-q-
a=SINb b=COSb
ATAN
Type of error
mln.
(;,:)
Absolute error
degrees
perforrns SIN/COS.
precision
a) Addition and subtraction
Note that when absolute values are used subtractively iloaddition or
subtraction, the relative error cannot be held under l0 ". For example,
suppose that the real values of /iI and JlZ are as follows.
ttr = 98765432L0123.456
ll2 = 9876543211711 .777
Performing operation ll2 - /ll does not produce
8) Notes on decreased
tlz-lll=67654.321,'
since the custom macro has a precision of only eight decimal digits, the
values of /fl and ll2 have a precision as lcw as approximately
tir = 987 6543200000.000
liT
respectively. (The internal values differ
=.9876543300000.000,
somewhat from the above values because they are binary numbers.)
Consequently,
-202-
How
Example)
i/r=RouNDlr.2345l;
/ll becornes 1.0.
rF[#1 LE ROUNDlllZll G0r0 l0;
ROUND [//2 ] is 4. 0 it
ltz is 3 . 567 .
2) If function ROUND is employed in a command to an address, it is rounded
off to the least input increment of the address.
l
Ytmn
case.
(Exarnple)
Program to move incrementally by /11 and ll2 oni-y and then return to
N5 X -lll].+ll2l;
: X moves -3.58, since #l + llL is 3.5g01.
Since I.235 + 2.346 = 3.581, the progr.oo d6e" not return to thE-starting
point by N5.
Assume N5 X- IROUND Iii I ] + ROUND tll2ll ;
It becomes egual to N5 X-[1.235+2.346]; and the program returns ro rhe
starting point.
I
5) Combination of arithmetic operations
The above arithmetic operations and functions can be combined. The order of
priority in an arithmetic operation is function, multiplication arithmetic
then addition arithmetic.
/ii=//j+/lk*srN llltl
\[xampre L )
fF
__-4\_
\:-/
_rt\_
\7
Sequence of
,4\
_-_-\1/--
arithmetic operations
in t l.
(r)
{?)
/^
\J/
v
Sequence of
arthimetic operation
- 201 -
(Lxampre l)
tn
ttI20=I;
NI WHILE #T2O LE
N2 WHrLE //30
IO
EQI
DO 1;
Repeated ten
times
DO2;
Repeated while
variab le //30= I
N3END 2;
llL20=ltl20+l
N4END
(Note
1)
Notes on
OO
I;
REPEAT ptograrnming.
END m.
END 1;
(No)
nn l.
D0 m and END m must correspond to each other in one program.
DO
(No)
DO
END
I;
DO
F\TN
1.
(No)
END 1;
-204-
b) Logical operation
EQ, NE, GT, LT, GE and LE are basically the same as addition and
subtraction. Therefore, be careful of errors. To determine whether or
'
not //l and ll2 are equal in the above, for example,
rF ltr EQ ll2
is not always evaluated correctly. When the error is evaluated as in
IF ABS IIL _ II2 LT 5OOOO
and the difference between /i I and tl2 f.a1-1s within the range error, both
values must be considered equal.
c) Trigonometric functions
Absolute_Frrors occur in trigonometric functions; but, since they are not
under l0 " be careful of integration or division after using'a
trigonometric function.
17.2.5 Control commands
1) D;{ergence (G0T0)
tiJ IF [<Conditional expression>] GOTOn
the next operation is
When <condltional expression> is satisfied,
executed in the block with the sequence number n in the same program.
Sequence number n can be replaced by a variable or <Formul-a> .
When the condition is not satisfied, the control proceeds to the next
b
1ock.
#j EQ#k
#j NE iik
#i cr /lk
#j LT /ik
/li cE i/k
#j LE ltk
<Formula> can be used instead of lli and /lk, and a variable or <Formula>
can be used instead of n.
(Note l) In the block with the sequence number "n" which will be executed after
a GOTO n command, the sequence number must be at the top of the block.
Branching in the reverse direction takes more time than that in the
forward direction.
2) IteraEion
WHILE l<conditional expression>] D0 m (m = L,2,3)
END
-203-
DO
no l.
DO
?.
-- -,
(No)
FNtn I!t .
F\]n
LL| v
L ,
nn t.
.f
coTn qnnn.
'vvv,
.
F\tn
(yes)
1
rt
N9000.....;
-206-
D0
range.
(?)
The
same
iden
be
no r.
tr'I\in r
(Yoe\
no r.
[i\u I;
DO
statement can
nn r.
nn ?.
Dn ?.
\ tcD/
END 3;
,c,t\U I;
trNn r.
be
arar t
c65. . .
(Yes)
G66.....;
(Yes)
G67.....;
(Yes)
FNIN
!L!U
1
I .
nn t.
MOa
rrlv.....
(Yes)
END 1;
-208-
GOTO 9000;
D0
1;
(No)
N9000.....;
FI\IN
1.
nn 1.
N9000.....;
(No)
END
I;
GOTO
9000;
207
(Example 3)
N lXl 000;
N2i/ t0= 100;
N3Y I 000;
N4/11 100= 1 ;
N5/i l=
l0;
N6X- 1000;
I'tacro statement
Firs t
alreadv executed
statement
I'lacro statement executed
Iulacro statement executed
Second CNC statement
CNC
Execution of
macro stalement
Execution of
CNC statemcnt
When the second CNC statement after the block currently executed is
the no-movement b1ock, macro statements up to that and next to the
second cNC statement (i.e. the no-movement block) aft.er the block
currentlv executed are executed.
(Exarnple 4)
N lXi 000;
Bfock currently executed
N2//10=100;
Macro statement already executed
N3Y 1000;
N4/iIr00=1;
NTilli0l=1;
u8il2=20;
N9X-i000;
Execution of
macro statement
N4
N5
Execution of
CNC statemenr
(b)
When the firsr- CNC statement after the block currently executed
no-movement block, the macro stat.emenE is not executed.
(Example 5)
N lY 1000;
Block currently executed
N2ilI100=l;
ll3/i l= i0;
N421000;
N5/l1l0l=l;
N6i/2=20;
N7X-1000;
Exccution of
CNC sratenrcnt
-210-
is the
Blocks other than macro statements are sometimes referred Eo as CNC statements.
The nacro stat.ement differs from the CNC statement, in the following points:
i) In the normal single block mode, the single block stop does not occur.
(See item (3), Chapter 8)
ii) The macro sEatement. is not regarded as the no movement block in the cutter
iii)
compensation c.
The time of execution differs.
iii) j-s described below in further detaj-l.
a) The macro statement existing next to the block which does not buffer the
next one (b1ock of non-buffering M code, or G3l block) is executed after
that block is executed.
(Example l)
NlXt000M00;
Block currently execut.ed
N2i/1100=l;
Macro statement
Execution
of macro statement
Execution of
CNC statement
b) llacro statement existing next to the block buffering the next one.
i) When not in cutter compensation C mode
When the current. block starts to be executed, the nexE nacro
statement is imnediately executed. The macro statement up to the
next CNC statement is executed.
(Exarnple 2)
N1G0 1X1000;
N2/il i00=1;
N3i/ l= l0;
N4X2000;
CNC
statement
Execution of
macro statement
Execution of
CNC statement
ii)
When
(a)
in cutter compensation
C mode
rT)
\j.,/
When t,he second CNC sEatement i-s
-209-
A block including a macro call command (G65, G66, G67), arithmetic command
and control command is not stopped even by single block operation.
The following parameter setting executes a single block stop for commands
other than macro call commands. This function is used for testins a custom
*^^-^
ulo!!v
L^l-,
uugy.
SBK}I
PRG9
Reset
I^lhen a cleared
7)
8) Feed hold
M98.
Macro statement execution stops at the end of the biock by turning on feed
hold. (It also stops by resetting or by alarm generation).
9) Other llmitations
a) Usable variables
//0, llL to /i33, #100 to tll49 , #500 to /1531, sysrem variables.
c) Constant value-rralid in
<FormuIa>
.value +99999999
Minimum value +0.0000001
Decj-mal point can be used
I'laximum
'
Precls].on
Eight-digit decimal number
e) I'tacro nesting
,t\
v) Arithmat-ir --i
Maximum of four
f) Iteration identification number
1to3
g) Nesti-ng of
Llaximum of five
h) Subprogram nesting
Eight (Subprogram call and macro call)
-2r2-
17.2.7
*t
'i
;,
*-
of the
cust.om macro
in addition to
*I
:.
Meaning
::
ll
+.
*
o
z)
OO
o
o
0
0
nl
UJ
0
0
oo
oo
f!
Character
0
0
o
o
0
0
o
0
tl
1l
.*
0
o
ErA
Meaning
Parameter
Parameter
Parameter
Parameter
Parameter
Character
0, the same code 0 as in the program number, must be used. The hole pattern
ll, + and = in EIA code must be set as parameters (Data No.
for .
0042 Eo 0044, 0053, 0054). Ilowever, the character with no punched hole
eannot be used. Note that alphabetic characters can be used, but when used
as /1, they are not used in their proper sense.
Special words used in custorn macro are:
.
OR, XOR, IF, GOTO, EQ, NE, GT, LT, GE, ANd LE.
AND, SIN, COS, TAN, ATAN, SQRT, ABS, BIN, BCD, ROUND, FIX, FUP, WHILE,
i
1
s
DO,
END
I
i
1)
macro.
E
i;
- 2rl -
trtrtrtrtr
tr trETE tr
B-4rh-D
+l
trMMMM
18.4
1
L/
\ rf
Parameters
follows:
TAPEF =
Ot
as
PARAMETER
(SETTTNG 2)
PWE :O
_TAPEF = 0
No.
TAPEF
(0:
DISABLE
I:
ENABLE)
MDI
18.6
1) Subprogeram call
To call .61 srrlrnrnorom i f a command of more than 4 digits is used for
designati."
*". (address P), the last 4 digits become the
";"i;"""
subprogram No.
and"lfot"*t"*
if the times of repetitive calling (address L) is not
specified, the tj-mes of repetition becomes one.
.
-214-
18.
Memory
b)
c)
18.1 Difference
G89)
Difference of tape format between 0/00 and 10/11 is shovm in TabIe below.
F
i
IO/II
Function
rGl7.
Cutter comDensation
rG40r
r Gl7
D-;
ictsir ic+ri
LG42)
L
(One
call
of X, Y, Z or 4th)
D: Offset
M98
No.
P_r_
rG73r X
iCllrt, Z
ic76i 0-
rG8lr
F
I'
l-
R_
pL
ttGT4tl
1G76
i cgr
RP.n
L.Atl
LG89I
G19
P: (One of X, Y, Z or 4th)
H: 0ffset No.
rlt
n.
M98 P 1l1pppp ;
P: Subprogram No.
L: Times of repetitive call
Canned cvcle
r rG40r
H-;
icrair ic+ti
LG42)
G19
P:
Subprogram
OM
L:
&
K: Tirnes of repetition
Times of repetition
18.2
t
which could not be used for 0/00 series can be used by format
conversion. In this case, even if format conversion is set, restriction of 0/00
format is applied to the range of conaand values being used for the basic
address, and if a value out of the 0/00 fornat range is registered, a P/S alarm
is generated.
Added basic addresses and their range of command values are mentioned in Table
below. 0ther addresses will have the same specification as address in 0/00
series.
Some addresses
Function
Times of repet.ition
0ffset
Address
L
No.
t
e
ii
-2r3-
rnm
input
I - 9999
0-999
ineh input
l - 9999
0-999
III
OPERATION
iii)
Program
Automatic operation is to operate the machine according to the ereated program. It includes memory and MDI operations.
i) Memory operatiorf
Memory
Memory operation
After the program is once registered in memory, the machine can be run
according to the program instructions. This operation is cal1ed memory
operat ion.
2IB -
F
I
1.
INTRODUCTION
1)
Manual operation
a) Manual reference point return (See Sectlon III-4.1)
The LNC machine tool has a position used to deternine the machlne posi-
tion.
This position is called the reference point, where the tool is replaced or
the coordinates are set. Ordinarily, after the power is turned onr the
tool is moved to the reference polnt.
Manual reference point return is to move the tool to the reference point
using switches and pushbuttons located on the operator's pane1.
Op"r"tor's panei
ooo
Orrl
|
oo
ooo
The tool can be moved to the reference point also with program cornnands.
This operation is called automatlc reference polnt return. (See Section
rr-6.
b)
I)
Operator's panel
ooo oo
'i
Manual
handle
Orrr
oorrr
ooo
Work
j
a
-217-
Feed hold
Automatic operation
reset
Program
Program
stop
end
Stop caused
by program
I
I
Workpiece
Depth of
manual
handle
feed
-220-
Depth-ofcut specified
by the program
&
a
g
MDI operation
After the program is entered, as an eornrnand group, from the I"IDI keyboard,
the nachine can be run according to the program. Thls operatlon is called
MDI operation.
3) Automatic operation
1) Program selection (See Secrion III_5.2.I)
Data format in
0 1001
memory
Program number
Work-l program
I
M30
0 1002
Program number
Program number
search
Work-2 program
Automatlc
operation
M30
0 1003
Program number
I.lork-3 program
select the program used for the work. ordinarlly, one program is prepared
for one work. rf two or more progra*s are in me'ory, select the progran
to be used, by searchlng the progra' number (Sectron rrr-10.4).
-2t9-
ili)
w
Cycle
Tool
(.r/,/
r,/,4
(/^
t,/ ,/ )
lLz-t
Stop
Stop
is
checked
in this manner.
Single block
b)
the machine
ll*rT
w.zt
(//)
CRT/TTDI
V7j tool
V)
VA
Change caused by
machine movemcnt
Machine lock
r-i:,'i=T
::,:l:
4) Program test
i'l----- --
It
|t;
Drv run
ii)
50 mm/min.
than
that specificd
Program.
Feed rate after feed rate override:
l0
mm/min.
Overside is 20%
-221-
by
the
i)
Off
set value
(See ,sectlon
III-10.1.
Tool compcnsation
number I
Tool compensation
number 2
Screen
Tool compensation
Keys
number
CNC memory
The
lrl
-] | |r
I i
-224-
orir.t
value of
the 2nd tool
5)
can be correct.ed or
Program correction
or modification
Program registmtion
Nl
T/MDI
N2.
h
{}
NC tape (program)
PPR
be
Data display/setting
Section III-10.)
Data setting
display
Screen
CRTi
Keys
Data
NTDI
CNC memory
reen.
NC
-223-
CRT/MDI
Parameters
Screen
KeYs
CNC memory
Machine
operation
functions have versatllity ln order to take actlon in characteristics of varlous machines. For example, CNC can specify the following:
The
CNC
I ) Ra,gld-l:la;zerse-rat-e--of=each, axis
2) Whether incre.qe_ilE-sy-stem is based on metric system or lnch system.
3) How ro ser @Avg -'
Data to make the above speclfication is called pardmeters. (See Sectlon
III-10.4) Parameters differ dependlng on machine tool.
-225-
iii)
Setting data
M^irror image machining on/
olt
Screen
setttng
Keys
CNC memory
Operational
characteristics
Machine
operation
Apart from parameters, there is data that is set by the operator rn operation. This data causes urachine characteristics to change.
The above data is called setting data.
iv) Data protection key (See Section III-I0.6)
Operator's panel
Data
protection
key
CRT/MDI
Program
Offset value
Parameters
Setting data
CNC memory
A key called the data protection key can be defined. rr is used to prevent the program, offsetr pararneters, setting daEa, etc. from being
registered, set, modified, or deleted erroneously.
-226-
Display
I . 1. )
Active program
number
Program.tontent
01
002
01 046
Program list
The contents
played.
"l
ir
ti.,
ll'
+x
(See Sectlon
III-11.3)
I x OOOO @O
I Y oo@ ooo
I z OO@ OOO
I
Work coordinate
CRT screen
system
iii)
AJqRI
iSSISE
518
SA
O.ER TRA\jEL
OUER TRFIJEL
:
:
I'W
+X
+Z
a2@@@ NATSA
x
Y
z
RLN
-1,2.54@
-42.5@A
@.a@@
rrF *r-
.r.,-ETT,Sfl
r;-ir;ln;tffit
-228-
*.J
and
number of parts
.'. .'i::{
Display on the
Display on the
XZ plane
YZ plane
Display on the
XY pla4e
2) Yz plane
3) XZ plane
4) Three dimensional display
229
"tr'
-
.,--l-..:
B)
FANUC PPR
/A\
V
Paper tape
Memory
Reader/puncher
interlace
Floppl,disk
Automatic programming
system
-;:.'Ir-.
'
1.:
:,.
'-;'1.--.:
-230-
2.
OPERATIONAL DEVICES
2.1 CRT/MDl
Panel
following illustration.
l)
CRT/MDI
panel for
of a
CRT
display (9"
as in the
0-I1B
CRT character display (9")
Reset key
EAEEE
EEE
EtrEB
tilEtr
trBE
Program
edit key
Input key
@BOONME
Page
change key
Function key
Start/output key
Cursor
moYe key
2) Full
key
Reset keY
Program
edit key
POftR
l,*l
lo*'
rtrtr
rtr
EMMBBMH
Cursor move key
Page change
trEtrE
@tr@E
Function key
key
23r -
Input key
Start/output key
2.1.1 MDI
keyboard
Table
No.
Name
ions
( 1)
RESET key
(2)
START key
(3)
(4)
INPUT key
(5)
Example:
I,Jhen
(CAN)
played.
(6)
a')a
LJL
Table
No.
(7)
Functions
Name
scribed be1ow.
+ : This key is used to changeover the page
on the CRT screen in the forward direction.
i : This key is used to changeover the page
on the CRT screen in the teverse direction.
(8)
chapters in a document.
lTffid-l
I opsnr
memory
@
t-otrR--l
ALARM
GRAPH
and
dlsplay of diagnostic
daEa.
of soflware operatort
Graphic function.
Several pages are inciuded in the chapter selected wlth each function button.
The page is selected with PAGE button.
(Note) The data displayed on the screen disappears when one of the function
buttons and the lffil
key are pressed. Thereafter, when either function
button is pressed, the corresponding screen is dlsplayed again. When the
unit is not used with the povrer turned on for long time, turn off the
screen. This ls effective to prevent the image quality from deteriorating.
-233-
2.2
The operatorrs panel varies in functioning and switch arrangement between the
different tools. Operations of a typical operator t s panel are explained as
shown Fig. 2.2. However, for details, refer to the manual issued bv the machine
tool builder.
ra
v
/A
((
.\j/
)'i
Si^'-'f
roL&sTEpFr:Fr)
v(o66
\/ v \r'
FEED
+?
,#,'JRu
HOLI)
o
OFF
""2
,ffi \r'*"^""6
+x +\'
I
o,''
\ltll 1,n,, lt ri
ON
(N)
-
\z/
\)l7N \)Z
DR'Rt
'?'J!"!i,"
rHIiH{it*
((\l
\r/
r
rFF
,.-=\
nN z'
\)/
MACHINE
LOCK
AMOUNT
,/
i
dlD)
dlD\
\tll'
.t,,. o \lIeY
o-\
FEEDRATE
OVERIDE
JOG FEEDRATE
m/mm
-234-
HA\DLE
STEP FEED
IOO
""(N"'i
-,,0.
,*vlR,, *,.,,
ovERRtDE
panel
r:ro
N,
v
HANDIE AXIS
I /-1\
xloo
/rN-\
\\\/
r"TJil3.',?*
Table
2.2
Element functions
Function
Name
By selecting an execution program then pressing this pushbutton, automat ic operation is started . During automatic
operation, the lamp inclicating automat ic operation is on.
hlhen
Mode selection
but ton
Rapi-d traverse
Handle
Single block
h rrr
".J
rr rn
this pushbutton is pressed drrring automatic operation, the tool decelerates then stops.
Reference point
return
Rapid traverse
override
Emergency stop
Lock selection
llanual
ab
solute
opera t ion.
Handle axis
Handle multiplying
selection
selectlon
-235-
manual
of the
2.3
Tape Reader
t)
Name
Tape
6.
reader
Grips
3.
opera.tlon
swrtcn
Capstan
,1
r sourcell
Light 1| t[
lll
2.
Optical
reader part
Metal ll lil
fittingA ll lll
Twinderll lil
)3.".,
lock
fl] ,111_
1- Cable stored
p a11
i _
l-ll
I
ll
lj
l:
.l ,
_-]---r
,lr
ii
13.
Readeri
puncher
interface
lll
10.
Lowering
Photo
Iock
amplifier
Iever
5. Tape
box
Fig.
Tabte
2.3.1
2.3.1
Functi-ons
Light Sources
for
An LED (Light emitting diode) is mounted
each channJl and for ihe feed hole (9 diodes
A built-in Stop Shoe functions
in total).
to decelerate the taPe.
The light source is attracted to the optical
reader by a magnet so that the tape will be
Optical
Reader
Capstan Roller
-zJo-
by
Table
No.
4.
Functions
Name
Tape
Reader.
RELEASE
AUTO
...
MANUAL
Tape Box
6.
Grips
7.
I^linder
-237-
Table
2.3.1
Functions
Metal fitting
Push
be
-238-
Tabf e
No.
2.3.1
Functions
Name
ll
1')
Photoamplifler
'I ?
Reader/puncher interface
adapter
are rolled
up.
+ reader/
Feed hole
<\__ -----l
the tape until the top of the tape goes past the capstan roller.
!y1rcheck that the NC rape is correctry pbsllionei by the Tape Guide.
(q) Lower the Light
Source.
(6) Turn the switch to the AUTO position.
}x
\1-i Suspend the top and rear-end of the tape in the Tape Box.
c) Un1 oading the NC tape
(i)
Turn the switch to the RELEASE position.
X
(2) Lift the Light Source and remove
the tape.
/1\
Lower the Light Source.
(41
d) Sto rage
rr ) Store
(2) Press
-239_
2.3.2
(
Ir
tt
window.
CR
2.4
FANUC CASSETTE
CASSETTE ADAPTOR
NC connecting
connector
Fio^f
l-"-.
See the FANUC CASSETTE Operatorrs Manual (B-53484E) for rhe FANUC CASSETTE operat ion.
See Chapter III-12 in this rnanual for data input/output operation from and to
FANUC cassette.
-240-
2.5 FANUC
PPR
An I/O device with paper tape reader, tape punch, and prlnter in'one systep.
Interface is reader/puncher interface.
Printer
Reel unit
tape punch
Switch unit
FANUC PPR
speed
FANUC
PPR
1.2 line/sec
for the
FANUC PPR
Operatlon.
3.
POWER ON/OFF
1)
builder.
CRT
screen.
pressing the POWER ON k.y, do not touch any other CRT/l-DI panel
Ja -^+
ts^"^L
keys. Until the positional or alarm screen is displayed t uv
llvL
LvuLll
keys
are
them. Some
used for the maintenance or special operation purpose. When they are pressed, unexpected operation may be caused.
NOTE: When
j
I
-242-
,*
'd
t
5
't,
-:';tj
:.i:,i:;.t
4.
4.1
,t-
MANUAL OPERATION
Manual Reference Point Return
Ser the
MODE SELECT
swirch to Ehe
JOG
position.
MDI
POINT
switch.
RETURN
OFF
ON
Jog Feed
The tool Boves along the selected axis to the decelerated point
rapid traverse rate, then moves to the reference point at the FL at the
speed.
A rapid traverse override is effective during rapid traverse
moti.on.
-243-
REFERENCE POINT
/A/n\/A\
Yl\/_Y
(Note
Once the
1)
4.2
The
MDI
o"'o
\'rEP/HANDLE
{ {N
uo,,
lS1,o"
A\
A
A
V V V
+X
-X
/A
(())
+Z
+Y
_Z
/A
/A V
-Y
\r'
\\
))
-244-
{^frtl\
.\ \t'Jy I,,uo
JOG
FEEDRATE
mm/min
Feedrate
Metric input
Inch input
mrn/min
inch/nin
)n
0. 08
1t
0. t2
5.0
n,
7.9
0.3
12.6
0.5
20
0.8
32
r+
t
?
F
3
1.2
50
2.0
79
3.0
10
t26
5.0
lt
200
8.0
L2
320
l2
t.3
500
20
t4
790
30
l5
L260
50
i
I
a
"{
:
i
t
*
$
(Note 1) The feedrate error (about +3%) affects on the feedrate in the table
above.
-245-
@ Rapid traverse
TRAVERSE
button
.RAPID TRAVERSE
command
/;\
u, Set MODE SELECT switch ro
STEp
posirion.
MDI
STEP
movement.
x1000
x10000
xr0
x100000
XT
Input system
l\|
Millimeter input
0.
Inch input
0.000I inch
xl0
001
rnm
0.01
xl00
run
0.001 inch
0.1
x1000
rnn
rnm
0.01 inch
0.
I inch
'i
-246-
:9
lt:
3
the switch is pressed once, the axis Eoves by the anount speclfied in
lts direction.
Then when the switch ls pressed after releasLng it once, the axis moves by
the specified amount.
Wtren
(Note 1) The feed rate is the same as the jog feed rate.
(Note 2) The rapid traverse button is also effective. Rapid traverse over-
feed rate can be adjusted precisely by usLng the manual pulse generator.
ri)
s./ Set the MODE SELECT swltch to the IIANDLE position.
The
Awo
//
----l-t-
srep/HaNor-e
..*( @),""
O Select an axis.
i'
t
I
tt
F
-247-
/A
v
a
clockwise rotation
counterclockrrise rotation
(The
* direction
direction
direction varies with the machine tool builder.)
Movernent amount
In some cases, thejperatorrs panel is provided with the following
switch. xl0 nultiplies the movement amount.by l0;x100 by 100.
selector
xl0
X100 (Note 2)
Handle Multiplier
Movement amount
Input
per degree
XI
xl0
x100
Metrlc input
0.00I nn
0.01 nn
0.1
Inch input
0.0001 inch
0.0O1 inch
0.01 inch
system
nsl
-248-
4.5
Ihis switch selects whether the amount of manual movement is to be added to the
absolute value.
1) Wtren the switch is ON.
Yaxis
Xaxis
the switch is
of
manual operation.
OFF.
x2
x1
G0lc90xr00. 0Y100.
0F0 10;
x200.0YI50.0
a)
x300.0Y200.0
Wtren
;
;
Manual
r2o.o,2oo.o)
opetation-
Qzo.o '250.0)
200.0 , 150.0 )
-249-
(X-axis +20.0'
b)
( 200.0 ,225.0)
( 150.0 , 200.0 )
Manual operation
+
(
1ioo.o,2oo.o)
200.0 , r s0.0 )
( 1s0.0 , 125.0 )
c)
(300.0,275.0)
( 200.0 ,
(l
sos ,200.0
225.0)
.-\ -e_
Manual operation
(
( 1s0.0
( r 00.0 , 100.0
,I
200.0 , l 50.0 )
2s.0 )
-250-
300.0 , 200.0 )
Fd, axls
When
cornmand,
returns.
only the
-ri
conmanded
N2 X200.0;
N3 Yl50.0;
?
I
I
Manual absolute switch ON
OFF
1)
Tfre I{ANUAI ABSOLUTE swl-tch ts OFF and cutter compensatlon is being performed.
Afteilnanual operatlon ls performed with the MANUAL ABSOLUTE switch ln the
OFF position durLng cutter compensatlon, autonattc operation is restarted
then the tool moves parallel to the movement that would have been performed
if nanual novement had not been performed. The anount of separati;n eguals
to the amount that was performed nanually.
""'ot
oo"r"rrol
-251-
" ,.t:il
.- l.-+T;i*
vaz
VO
,/l
t,
a\
VBl
-/1vc2
\--r6
,/,
Pp
\
\
Absolute command program Path
VBl'
-(\
\
\rn
)\
'\l'I '\
(\
.'i-t'I
Manual operation
\/
PH'
-252-
that the feed hold was applied at. point Pr. whlle moving from p^ to
of prograrmed path P^ , Po, and P^ and that th6 tool was manually ntved
td PHr. The block end^polfrt Po moVes to the point Po'by the amount of
nanudl movement, and vectors V-i and V-^ at P- also mo'7e to V-,t e.nd V-^t.
Vectors V.' and V", between tff6 next tfso blo"cks Po - t,- anf,!,- - prrofre
discarded "alnd new "vbctors V^r t and V^"t (V..rt = Y ni in t'he examlle aSove)
are produced from the relaUton betwE'en Po*'- P""?nd Pn - Pn. However,
since Vor t is not a newly calculated vecflor, co"rrect olfset "ls not performed trf block Pr' - PC. 0ffset is correctly performed after PC.
Assume
i
Po
t'
(Example 2)
l'B2
lrBl
\..
t''cz
\,-'
t"\
--\
vB2'..t
/\\
/\
vBl
i.\.Y
r. _==\41
\
,,.
\YB\
*
(r
'.
/,
Y.-.--
\\\\\
tt\
a\
\\
\\
\
_t
Tool
\
)
center puth t
l'A2
ru\,i
VAI
\
Manual operation
t.
l/rt
V,aZ'
Pn'
V.A.
F
E.
ft
-253-
l'
This is an example when manual operation is performed during cutter compensation cornering. VAZt, VBlr' and Vg2t are vectors moved in parallel
wlth V62' VBl and Vg2 by the amount of manual movement. The new vectors
are calculated from VCt and YCZ. Then correct cutter compensation is
performed for the blocks following Pc.
b) Manual operation was performed when execution of a block was terminated
single block stop.
l'B2
by
VCl
VBl
Manual
operation
Vn
t'
,/
\/"
vst'
/4
vectors Vg1 and vg2 are shifted by the amount of manual operation
Subsequent processing is the same as case a) described above.
An MDI operation can also be interveneted as well as manual operation.
The movement is the same as that by manual operation.
-254-
5.
AUTOMATIC OPEBATION
5.1
Operation Mode
Awo'/--r---.-\
,o,,(
@ Press the cycle start button.
srpp/rHNor_s
),""
Cycle start tamp lights
/A
@
Cycle start
hltren
pressed, automatic operat.ion beglns and the cycle start larnp lights.
MDI mod.e.
/--]\
srEp/HANDLE
/ ,4)t \-
uo,,\
b)
il\
\tt"y
^t
I burton.
-255-
1,o"
c)
(|'{]DA_)
|W
tr
GAR
G1? P
G96 A
G94 H
G21 N
GzlAS
BI9
GBA
GE
?
Are.
I'IDI
d) p""h
nl, H, H, E'"0 E
push tt'tFEFl
keys
in this order.
e)
I' L.l'
p)
o/
l'
I'
I
1_3l'"dl ; I
rnstr l-rllFuT-l key. The dara, y200.5 is input and displayed.
If you pushed $tong number keys, correct the operation following the
instruction described above.
I
PRSRtr'1
0,'rDI)
X
Y
(F0m_)
LS.WB
M.ffi
TW
GMR
GT? P
G96 e
GgI
E1
t'l
G4A S
G49 T
B8
9=
Rm.
I{D I
-256-
on
2) canceling Y200.5 of XI0.5 Y200.5; before pressing tn" I-SfAnfl button (cycle
D
+L4r
^' F
L
r rlVrr/
''
UUL
^- \
L.
u",
a)' Push the lTl
tY
rator t s pane1.
(Note) Modal G codes cannot be cancelled. Enter the correct data again.
(}DI)
00010
shown.
N0010
00000
(MODAL)
c00
c17
F
R
c90
G2t
G94 c40
1000 P
Q
G49
c80
c98
G67
H
M03
G54
G64
5300
T0i01
ADRS
I'IDI
CURRNT
a CRT screen.
In the above case' the longest program is 6 lines with specification of
the Parameter (No. 0028 MMDL), if the mode is switched to Ehar of no
modal information display, up to t0 lines of program can be prepared.
If the number of lines of program exceeds the limir, Z(ER) will
disappear and insertion and modification operation will
become
impossible.
Note 3) To erase all the prepared program, operate O "DELETE".
L)
2) Program execution
(mr1
00000 c00 xr00.0
I'103 i
c01
2L20.0 F500;
P9010 ;
M98
20.0 ;
c00
00010 N00r0
PROGRAM
Y200.0;
o/
(I'IODAL)
G49
c80
G9B
G67
H
M03
G54
G64
s300
r0r01
ADRS
MDI
CURRNT
Set the cursor on the head of the program. (Start from an intermedi.ate point
is possible. )
Push "START" key or Cycle Start button on the operatorrs panel. By tiris
action, the prepared program will start. When the program end (M02, M30) or
ER(%) is executed, the prepared prograrn will be automatically erased and the
operation will endr.
By command of M99, return to the head of the prepared program is performed.
3) Cautions
a) Programs registered in the program tnemory can be called as subprogram. In
thi-s case, the nest of subprogram is up to 2-loops combined with automatic
operation (AUTO) program. (If a custom macro option is provided, up to
4-loops combined is possible.)
b) If the custom macro option is provided, even in the MDI mode, custom macro
program preparation and execution is possible.
However, macro call is not possible.
c) A program to be prepared in the MDI mode uses program memory vacant area.
If there is no vacancy in the program memory, program preparation in the
MDI mode is not possible.
d) Programs prepared in the MDI urode will be erased in the following cases:
i) In MDI operation, if M02, M30 or ER(%) is executed.
ii) In AUTO mode, if memory operation is perforned.
iii) In EDIT mode, if any editing is performed.
iv) Background editing is performed.
e) The editing operation during the stop of MDI operation will start from
Ehe cursor position which makes start, but not from the current cursor
Dosltion.
-258-
d
rif
5.2
i
r)
5.3
ry operation
Select AUTO mode.
Select execution program.
Press cycle start button on the machine operatorts
pane1.
e
6
executi-on.
5.4
a;\
\v'
There are two means to stop the automatic operaLion. One is to command a stop
command in a program where the exeeution is to be stopped (See 5.4.1 - 5.4.3)
and the other is to stop the operation at any time by pushing an appropriate
button on the operator's panel (See 5.4.4 and, 5.4.5).
5.4.1
Cycle operation is stopped after a block containing M00 is executed. When the
program is stopped, all exlst.ing modal information remains unchanged as in
single block operation. The cycle operation can be restarted
by specifying an
|
NC start. (This differs with the machine tool builder.)
5.4.2 Optionat stop (M01)
l) This indicates the end of the main program and is necessary to store NC commands from tape to memory.
2) Cycle operation is stopped and the NC unit is reset. (This differs with the
machine tool builder.)
3) OnIy M30
The control is rewound to Ehe start of the program in memory operation.
(This differs with the machine tool builder. Some machines indicate rewind
with M02.)
-259&,
button on the operatorrs panel is pressed during automatic operation, the tool decelerates to a stop at a time.
I Press the feed hold button.
Fecd hold lamp lighrs
I{hen pressed, the feed hold lamp lights and the cyc.le start lamp turns off.
Turns off
t()l
Cycle start
At
i)
ij-)
iii)
5.4.5
this tine,
tF
Reset
Automatic operation can be stopped and the system can be rnade to the reseE
state by using RESET key on the CRT/IDI panel or e*ternal reset signal.
5.5
'i
!iat
il
l!
fi
Program Re-start
P.r
2 3 4 0 r 2
Frequency Sequence
No.
-260-
GA IM1B
RESTffiT
6tL @ gls
cDESTtMTIfi) I'fls a1a
@r9 gv 6 w u4
x [email protected]
65wgnwffi
Y Ln.w
d7? @. w2 @. gLs
z L@.@
A&.444 UA 955 ...
A
A.W
(DlSTFr.tCE TO @) ..r r.. r..
2 x [email protected]
3 Y Lg3.@L r gLgL @.
s w
4Z
e,@.
8...."
A.@
1A
FR@Ffi
l"**l
**l
machining re-start posi-tion. The figure at the left side of the axis name
shows the order (parameter settj-ng) described later when the tool moves to
the re-start posit.iotr.
M..... Shows M-code commanded recently 35 tirnes in the past.
Shows M-code commanded recently 2 tiures in the past.
T.....
S ..... Shows S-code command in the last.
B' . . . . . Shows B-code command in the 1ast.
Display the most previously commanded code in the head. Each code is cleared
with the program re-start command and the cycle stalt command in reset condi-
tions.
g) Turn the program re-start switch OFF.
At this time, the figure at the left side of axis name (DISTANCE T0 c0)
flickers.
h) Check the screen, and if M, S, T or B code should be output, select the
MDI rnode, and output M, S, T or B code from MDI. Each code in this case
is not displayed on the program re-start screen.
During
memory operationr select "AUTO" mode, and check that the distance
i)
of (DISTANCE T0 GO) is correct, and that the tool does not hit against the
work and others. If it is about to collide with an obstacle, move the
tool manually to the location where it does not collide, then press '?Cyc1e
Start" button. At this time, the tool moves to the machining re-start
position in the dry run mode by one axis in the order set to the parameters (No. 0124 to OI27), thus re-starting machi.ning operation in succes-
2)
sion.
When
i)
ii)
iii)
When
When
When
/h
a)
When power
is turned 0N or emergency stop is released, perform all necessary operati-ons at that time, including the reference point return. (See
Notes )
b) Move the tool manually to the program starting point (machining start
point), and keep the modal data and coordinate system in the same conditions as at the machining start.
c) lf necessary, set and modify the offset amount.
d) Turn the program re-start SW on the machine operation panel ON.
e) Press "PRGRM" to display the program.
hhen it is not the specified one, search the specified program.
f ) Find the program head. Press t'RESETtt. Du::ing memory operation, select
t'AUTOtt mode, and press o t.
C) Press Q t'Sequence No.t' +, and search a block with Sequence No. to be
re-started. When the same sequence No. appears many times, specify the
frequency of a block with its sequence No. in upper 4 digits, and specify
Sequency No. in lower 4 digits.
h) Upon completion of block searching, the display on the CRT screen is
+^
^L^'.^^l
cnangeo
Eo tne program re-start screen.
i) Turn the program re-start switch OFF.
At this time, the figure at the left side of axis name (DISTANCE T0 G0)
blinks.
j) Check the screen, and select the MDI mode if there are M, S, T or B codes
to be specified, and output M, S, T, or B codes from MDI. In this case,
each code is not displayed on the program re-start screen.
k) During memory operation, return the operation mode to ttAUTO" mode, check
that the distance (DISTANCE TO GO) i-s correct, and thar the tool does not
Ljr
rrI L d6qrrlD
'^''r-^t a fork and others when moving to the machining re-start position. If it is likely to hit against an obstacle, move the tool manually
to the position where it does not collide, then press the cycle start
button. At this time, the tool moves to the machining re-start position
in the dry run mode by one axj-s in the order preset to the parameters (No.
0124 to 0127).
(Note l) Under the following conditions, the program re-starting of P type is
not executed.
i) l{hen no autornatic operation is performed after power ON.
ii) When no automatic operation is performed after releasing the
iii)
emergency stop.
Lhen no automatic operation is performed after the coordinate
system is set, modified or shifted (the external work zero point
-262-
{
*
Il
*.
(Note
4)
(Noce 5)
(Note 6)
(Note
7)
"Feed Hold" is applied during searching or when re-setting operation is performed during searching or after searching, re-start Ehe
program re-start operation frorn the beginning
However, after search completion, resetting operation in the MDI node
is according to the parameter No. 045: CLER.
When the program re-start SI^l is 0N, the cycle start is ignored.
Perform manual operation with "Manual Absolutett ON before and after
the machining.
As a rule, the t.oo1 cannot be returned to a correct posit |on under the
following conditions.
i) When the tool is operated manually with "Manual Absolute" OFF.
ii) when the tool is operared wich the machine ro6t and Z-axis
Lrrhen
ignored.
(Note 8)
(Note 9)
(Note
10)
(Note I l) When the 4th axis is a rotary axis, the reference point return direction is rr-rr, and G28, G30 or subsequent incremental couunand is given
just before a block for which re-start is commanded, the absolute
position of 4th axis may deviate 360 degrees.
(Note l2) When an absolute pulse coder is provided, no operation for reference
poi-nt return is requi-red when poTrer is turned ON or emergency stop is
released.
-263-
$
a
x
t:
This move amount is overlapped with the move amount by the automatic operation in the automatic operatj-on mode.
2) Relation with various signals
The following table indicates the relation between various sienals and the
movement by handle interrupt.
Relation
u r6.rdr
l-fachine lock
Interlock
not
move when
this sisnal
turns on.
Mirror
3)
image
Relation
added.
{
.r.
-264-
:5i
E
5
?
(DISTANCE TO GO)
HANDLE INTERRUPTION
02000 N0150
(INPUT UNIT)
(OUTPUT IJNIT)
x 25.400
Y
0.000
z -10.000
(DISTANCE TO GO)
x
5.9706
Y -13.4680
z
0.0000
x r.0000
Y 0.0000
z -0.3937
(RELATIVE)
x 10.2468
Y -5.9713
z 2.3358
BUF AUTO
The handle interrupt move amount ls cleared r"rhen the low speed reference
point return ends every axis.
5.6.3
l[hen the lnput unit and output unit are different from each other, the machlne
coordinate value (MACHINE) does not always become 0 when the high-speed
reference point return (G28) i-s executed on the axis in which the handle
interrupt move amount is not 0. However, the reference polnt return end signal
is output even ln such a case. (The devtation of the nachine coordinate value
is maximum 2 pulses when the high-speed reference point return ends.)
If the handle interrupt ls done during the reference polnt return, lt is possible that the reference point return end signal ls output, even if the nachine
tool does not return to the correct reference point yet.
-265-
6.
TEST OPERATION
6.1
the switch is set to the MACHINE LOCK position, move conmand pulses are
suppressed. Consequently, the position dlsplay is updated as specified by the
program, but the tool does not move.
This function is used to check a program.
When
OFF
DISPLAY LOCK
MACHINE LOCK
(Note 1) When a G27, G28 or G30 command ls specified, the tool does not go to
the reference point and the REFERENCE POINT RETURN COMPLETION LED does
noE go on.
(Note 2) The M, S, T and 2nd auxl-liary function (B) are executed.
6.2
the switch is set to 0N position, the axis does not move during manual/
automatlc operation.,r
Position display updat.es as if the axis were moving.
When
SINGLE BLOCK
Lock
the Auxiliary function lock switch is turned on, on the machine operatorts
panel, M, S, T and B function operations are locked.
This switch is used to check a program together with a machine lock switch.
(Note) M00, Mol, M02, M30, M98 and M99 are executed, even if the switch is on.
When
-266-
6.4
Feedrate Override
With this dlal, it ls posslble to overri-de the feedrate designatdd by the program.
6.5
The rapid traverse override switch of lO0"A, 502, 25il and, Fo is provided. When
the rapid traverse rate is 10 n/min and this dial ls set to 50y", actual rate
becomes 5 n/nin, t'Fo" is a constant value specified by the mnchine tool_ builder.
6.6
Dry Run
If thls sv/irch is set to ON in the Cycle Operatlon, the feed rate specified
the progran is ignored and becomes as follows:
by
OFF
Prograu
Conrmand
ON/Opf'
Rapid traverse
Rapid traverse button
0N
Rapid traverse
OFF
JOG
(Note
l) This
RDRN
Cuttlng feed
I'Iax.
1)
JOG
JOG
feed rate
feed rate
-267-
Single block
(Note 1) For G28 and G30, the single block function is effective at an lntermediate point
(Note 2) I! a canned cycle, the single block stop points are the end of O,
@, and (0 shown below. When rhe single block function is
eFfective a-points O or @, the feed hold lamp lights.
F-------
t!)
+?
(D
G)l
,A
I'
- .-
/A
Rapid traverse
.'-..-..-..-------.-...* Feed
(Note 3) Single block stop is not performed in blocks conraining M98P_; M99;
and G65. However, single block stop is even perforrned in a block
with M9BP or M99 command, if the block contains an address other
than O, Nir P.
-268-
7.
SAFETY FUNCTIONS
If
you press Emergency Stop button on the machine operatorts panel, the rnaghins
stops in a movement.
movement
EMERGENCY STOP
This button ls locked when pressed. Although it varles wlth the machlne tool
builder, the button can usuaily be unlocked b-y twisting Lt.
(Note 1) EI"IERGENCY sroP interrupts the current to the motor.
(Note 2) Causes cjf trouble must be removed before the button ls released.
7.2 Overtavel
the tool tries to move beyond the stroke end set by the nachine tool linit
switch' or when lt enters , the stored stroke linit inhlbltion area spectfled by
the setting data or the program, an OVER TRAVEL ls dl.splayed and the tool slows
down and stoPs. In this case, press the reset button to reset the alarrn after
moving the tool to the 'safety directlon by manual operation. For detalls on
operation, refer to the operatorfs manual of the machine tool bullder.
When
-269-
-2lo-
$ ttt.tt '
9.
9.1 Preparation
&
The following preparatlon is necessary for the part program storage and edltlng
operation.
l) Set the reader/puncher.
2) Set the data on reader/puncher. (See il.3)
3) Turn on the data protection key (KEY).
Some system doesntt provide this key.
4) Set the operation mode to EDIT rnode.
5) Press the PROGRAM key and display the program.
g.2
Registering Program
to Memory
R\
f\U)
9.2.1
(B)
0222
M30;
n?1?1
Mn?.
rrv4,
program No.
b) When a program having no 0 nor N appears on the NC tape, a value obtained
by adding I to the previous program No. is set as the program No.
2) When the program No. is set from MDI before the NC tape is registered.
The value of 0 on the tape is ignored, and the set value ls set as the program No. The subsequent program Nos. are set by sequentially adding l.
27r
9.4 Program
trrlhen
Number Search
there are
many programs
.-
Program No.
is searched.
1) Method t
a) Select EDIT or AUTO node.
b) Push the PRGRIi button.
c) X.ey in address 0.
d) Key in the program No. to be searched.
CURSOR
. r---'button.
e)' Push
l+l
f) When searching is over, the program No.searctred is indicated at the right
top of the CRT screen.
2) Method 2
a) Select EDIT or AUTO mode.
b) Push the PRGRM button.
c) Key in address O.
CURSOR
Push
1fr"
lnnl
on
(See the
zAr
\v/
272
DELET
I button.
9.6
(9)
To delete
.gi
t'1
and
Fl
and push
;Punching a Program
3)
4)
5)
6)
7)
ER
Program
Q)t
be
ER
t (z)
CR
CR
3) If the feed of 3 feet is too 1ong, push the TeAil button to stop
ing feed holes nidway.
(Note 4) pushing the I RESETI iutton stops punching.
(Note
27_1
punch-
6) Key in
and l-srARr
lbutton
I foot of
spaces
Program
- -
Program
Fp.
/o/\
\/o)
rogram
rogram
I foot of spaces
9.9
ol1
11
02222 . ,. N4030
...
Object sequence
number
Selected
program
number
1\
274
menory
03333 ....
I,II'
\/")
c) Select the program number to which the sequence number to be searched for
belongs.
Program selected
Range searched
d) Key in N.
e) Key 1n the sequence number to be searched for.
. CURSOR .button.
f) Push the
61
lYl
g) The sequence number searched will be displayed top right on the
(Note
CRT when
Coordinate values and modal data are not altered during a search.
Specify these data from the MDI after the search ends as requlred.
(Note 2) During a search, the following items are checked.
o Optional block Sktp
' P/S Alarm Check (Alarur No. 003 to 010)
(Note 3) M98Pxx:o<(subprogram call) is not executed during a search. Searching
for a sequence number within a subprogram called frou a currently
selected program in AUTO mode generates alano No. 060.
1)
Subprograu
01234
05678
M98 P5678
N8888
Turn on the protect k"y, execute the same operation as the registration of NC
taPe lnto memory, and the reglstered progran and NC tape will be co1lated.
1) Select a mode (EDIT or AUTO).
2) Lock the protect key.
3) Load the program tape to be collated into the t.ape reader.
4) Push PRGRM button to display the program directory screen.
5) Push fINPUfl burron.
6) When the tape contalns several programs, collation ls performed rrntil ER (7")
is encountered.
275
(Note I) A rnismatch during collation generates rhe alarm (p/s No. 79).
(Note 2) If'the above operation is executed wi th the protect key released, the
program will be registered into the memoryi the prograrn will not be
co 1lated.
:.'
'1
j
+
:
9.11
,.1
F
.*
?:
{.L
11
*aE
.
*
:
t
Nl 234X1
'tcey
3 S I 2 ; N5 67 8M03
00 . Ozl250
tr TTEE E
The cursor moves forward word by word on the screen; the cursor
displayed below the address character of a selected word.
It:
276
.
o) vusn cne
CURSOR
I-T_l
burron
N1234X100
. 0z L250;
S5
6;
N56 7BM0
E tilEE
'-1-
=-J
The cursor moves backward word by word on the screen; trrie cursor is displayed below the address character of a selected word.
(Example)
Scanned here.
PRGRFT4
CEEffi t
lllz34 X1n.6 ZIm
s12 ;
FE6?t I'[l3 ;
ffiB N123
t
YPP. t
r--l
c/
CURSOR
.
or the
EDIT
CURSOR
r-;t
f)
Keep pushing
.n" ffi
tvtt+
o. ffi
-217 -
2)
Word search
forward
direct ion.
. 0ZI
Nl 234Xi00
Currently searched
word (word indicated
by the cursor)
a) Kev in address S.
. f-t]
b) Key an I H
I ano I F l.
.l ..
(Note i) Keying in only SI does not execute a search for Sl2.
(Note 2) Keying in 59 does not execute a search for S09. Key in S09 to search
for S09. "0" of S09 cannot be omitted.
CURSOR 1---- -!n\
k"y starts the search. The cursor is displayed
..." -il"
! uolrrrr6 rhv,/ Prrchino
below S in SL2 at the end of the searctr.
Til
I
Search
for
backward.
addresses only
A specified address is searched for from the current position in the forward
direction.
M03
to
be searched
for
in address M.
CPT9 key starts the search. The cursor is displayed below
Pushing
-l+l1ir"
M aE the end of the search.
. CURSOR key, the search starts backward.
If pushing the
;:-1"
a) Key
I 1 0'0
0 0 0 I X L 2 . 3 4 3 Z I 5 . 6 7.; c 0 I X I 2
Head of
program
5;
Current searched
word (word l-ndIcated by the
cursor
*
i
(r
-218-
::
..{
't
a)
Merhod I
Press th" I ngSET I key when the EDIT mode is selected and E.he program
screen is selected. f,he program will be displayed from its head after
completing the heading.
b) Method 2
c)
Push the
AUTO
or
EDIT.
u"r.
ffi*
( I )
\u/
T15
Nl 2 34xl
to be inserted
00 . O21250;
S1 2 ; N5 57 8M03
To be searched for
1)
Search for or scan the word immediately before the insertion location
in T (an address to be inserted.)
2) Key
l-r I . l-tl
Keyinlrlandl.
r:r
4)
LJ-l'
NI23/ xLn.A
s12 :
W
Zlm
t66?Er 1tr3 ;
j422. ,
N}1.
EDIT
Before Insertion
-279-
NL?5/.
PRmRFf1
Wj
N1234 X1uB.6
s12
t'66'Ul
j@.,
z
ttt3
0ffi8
Zrm Tl5
N123
EDIT
After Insertion
By a push on "INPUT" k"y instead of ttINSRT" continuous words can be inserted
according to the setting of parameter (No. 18, EDTB=1). However, finally,
press ttrNSRTtt or t'EOBtt key.
(Example)
Key
Froo
Iroal'
cotxt23.
N1234Xl
00 . Ozl 250T 15 ; S I 2
To be changed to Ml5
N123
4x I
00
. oz L 2 5OEJJ; s I 2 ;
Modified program
-280-
M.
9.11.4 Deleting .
*rrd (
8)
UI
Nl 234X1 00 . 0zI250T
21250
word
I 2;
to be deleted
to be deleted.
after deletion
Program
I 5;
a\
D)
23
4l
x I 0 0 . 0 z L 2 S 0 r I s M r 3 ;l s I Z ;
deleted
ffi1
Pushing the I flR I and the I DELET I key deletes up to an EOB and causes rhe cursor
l_"* I
to move to below the address character of the next word.
e.11.6 Detetins arcars
( 8 )
\u/
The area from the currently displayed word to the block with a specified sequence number is deleted.
Current searched word
(word indicared by
the cursor)
N2233 to be keyed in
I
N1234M10;M15xl0
0;
Tt2;N2233'S12;
Area to be deleted
1) Key in address N.
2) Key in, 2, 2.3, and 3 in this example.
3) Push the l-5ftEt I key. The program up ro the N2233 block is deleted.
cursor moves to the address next Eo the deleted block.
281
The
P,n
I
'j
i'g.lZ
\__
i,)l
to automatically
I
" it is possible
insert a sequence No. to each block-when programming
via the MDI keyboard in
EDIT mode.
When EOB is keyed in and ttren [-ttqSRtl key is pressed, the sum of the current
sequence No. and Ehe incremental value (value set to SEQINC of parameter No.
) Push [_]N$!J key. EOB is stored in the memory . In case 2 is set at the
incremental value parameter, Nl2 is inserted to the next line and indicated.
PRmRFT'1
Wt
NlBG92nYAnt
cEtulS
twrz
ul2
EDIT
(Note
(Note
9.13
l) If
Background Editing
This function permits background editing regardless of mode selection and CNC
nnn.lirinnc (in automat.ic operatlon or not, etc.). No alarm which takes place
during background editing affects foreground operation. Conversely, background
editing is not'affected by an alarm in foreground.
-282-
key "BG-EDT't
after pushing El
". the right side on the
editing screen.
PPO@fr1
B.i-EDIT
Eq^eq NZZgq
Ql,{=.
FiUT|]
,-*.1;\[;"lf-_-][_-lE;;1
2) Specify a program to be edited.
a) When generating a program:
01234 trNSERl-], f or example
b) When edi ting th.e existing program:
0L234
[TER-fl, for
example
3) Program edit
The program editing is' the same as with the foreground program editing operation. Graphic conversational programming can also be carried out in the
same manner as with the foreground program editing operation.
PRmRFf4
BG-EDIT
W.t
AAAA2 NAZZA
xB YA AA t
r@ W xLA6. YtW. t
l.EB @1 ZLA. FtA.s ,
N16 G92
Mg Y1g.
rB T61S1
f'133
r'5 t'114 ;
Y7AWXAY8,
t@;
ADRS.
NUTO
memory.
r3-d:END-l
':1i4::..j
5:
-283-
--
1.
CNC taPe
(Note
operation) .
background editing is carried out, a vacant area (not used) may be
present in the program memory. This area cannot be used as program
memory as it is.
Therefore, it is necessary to compress program memory
in order to eliminate such a vacant area. This program memory
compressing operation can be performed by a push on the soft k.y
ttC0NDNS" or ttRESETt' on the foreground program direcEory screen.
(Note 5) During background editing, all programs cannot be erased.
(Note 4)
9.14
When
Menu Programming
To assist programming in EDIT mode, the following menu is displayed on the CRT.
1) When G is keyed in, the G code menu is indicated on the lower half of the CRT
s creen.
2) htren a G code selected from the menu in (t) is input, the standard format of
the one block corresponding to the G code is indicated.
For example, when G is keyed in after inserting N102, the G code menu dD
shown below. is indicated on the CRT.
-284-
PROGRtrI'1
8L% ,
N10G92ruYAz3t
r@ W xlw. Y-fi.
NPB
NWI38
bFa
./
Gffi : POSITiSIIi
: 1i1.g1A 1P1.
: CIRCLLAR IH_. ClJ
: CIRCLL-CR IH-. Ccl.t
@4 : DITELL
G81
FA2
<O)
GA3
l.r_t'1.
<O>
G
ilt
PRIERFI1
UI@ t
N1BG92}Y8zlJt
f@ GPB XLW. Y-9.
fa6 861
X(Z,Y)_
4re.
@1
ffitffi
l2B3
tl_ s_ T_
EDIT
Insertion of
x
one
_ l-IffiTl,
-rr^nm
III\JKI
Ir -I
l-NsnT-],
TltrnDl
I
PRmRFr.l
ffi7n
Btn t
N1BG92reYAZIjt
FeA GA Xtn. Y-fi. t
fBa Ga1 >@. Y-&. FW M ;
N48
EDIT
-285-
12248
lvu
'.)^'^'
..g.q.-Program Loading by TEACH lN Mode
HANDLE mode
Note 1) After entering the address X, 'I or Z, enter a numerical value and push
I INSRT I key, then the value entered is added to the machine position.
This is used to correct the machine position through key entry.
Note 2) The coordinate value registered in this way will be an absolute coordinate value. Enter G90 (Absolute programming) at the beginning of the
program.
{r
Note 3) The command to be entered before and after machine position shall be
by the same operation as that conducted in the EDIT mode before
' entered
and after registering the machine position, respect.ively.
f t tn
Note 4) Insert the EOB ( l;6; | ), the block registration completes.
Example) 01234 Ni G92 X Y Z ; ... Point P0
N2 c00 c96-x-v-;
... Point Pl
N3 cOl Z_Fm;
...
- . . Point P2
N4 1402:
P0 0-----
{P
t^
I
I
t
I
I
I
rz
:l
i
ii
'*
*
:#
-286-
E
s
7) Enter the address G, numeric value 92, and push tn" Fllffl
tey. Then the
G92 is stored in the memory.
8) Enter the address X, and push tn" f-iGiill t"y.
__lEnter the address y, l-rNSRTl, address Z and push rhe I l;l I u"r.
Then the machine position at p0 is stored in rhe memoiyl9) After the step (8), the EOB is inserred and inpur of rhe block AL234 Nl G92
X Y Z ; completes.
10) ny ttre step (g), NZ is stored in the memory by the sequence number automatic
insertion function.
ll) Make positioning at Pl by rhe manual pulse generat.or.
12) Enter the address G, numeric value 00, IINSRTI k.y, addrels__lQr_ numeric
^ r--=:----------value 90,
I rxsnt I key, address X, ENSRI_I k"y, address Z, ana I i;i I in this
sequence so that the 2nd block N2 G00 G90 X
i3)
memory.
lEUpl
; is stored in the
PRIERF}T
CRELATILE)
x
3.ffi
Y 23.T23
z 4.fi
OIZU
OLZU
(AESO-UTE)
x
Y
z
69 XtWY8ZIZzffi,
f Gm Gg >gEP5 Y2Tf8 t
fS m1 Z-fr FW t
t.]4l'@i
N1
Are.
Tlt{D
-287-
3.ffi
-a.ffi
rW
23.723
9.16
9.16.1
Programming
l) Depress the PRGRM function button. The screen will be displayed shown as
follows if the other program has not. been entered.
If the other program has already been entered, the currentlY selected
program will be displayed on the screen wi th the usual format.
W
PRGAI1
IAM
OT
EDIT
Fis.9.16.1 (a)
2) After inputting address O and the program number of the newly registered
program for entry, depress the EOB key. When desired to entry the program of
program No. 10, forFinstance, depress the EOB key after inputting 0, 1, 0 by
key operations. A new program is then entered.
3) L{.hen depressing the soft key "IAP" on the screen of Fig. 9.16.1 (a), G code
menu shown as following in Fig. 9.f6.1 (b) is displayed on the screen.
wla vm
PRIERFI1
Gffi :
POSITIONING
<o)
<0)
<C)
EDIT
After Ehat, when depressing the soft key "I,IENU", a detailed screen of the G
code inpuE by key operations is displayed. An example of the detailed
-288-
WrA tWB
Gm : POSITIONIT
c@GG6
x
L@. Y
56.
_z
-H
OFFSET NO,
t1
,'
(x,
,'
Y,:,
the
WL 122ffi
PRMRff
STCNMRD
of
FORT'IAT
-GGGG
XY
HF
R14
JI
1/
B/'
JK
P8
E.'-'-rlnn
EDIT
Fi9.9.16.1 (d)
OFFSE
WBLA
54.
ISLA
<x,Y,z,
f NO.
>
r' "
J.
7/
B
ull
E'B{,lnf-_.1
Fi9.9.16.1 (e)
b)
?\
With screen 9.16.1 (e), depress the INSERT key. Thenr orr block of data has
(b) is
registered in the program nemory. G code menu in Fig.9.16.I
displayed on the screen, and another block of data is permitted to 'be
entered, so repeat the operations from (4).
After the registration of all programs is completed, depress the leftmost
The programs that have been registered are then displayed on
soft-key S]
the screen, converted into the conventional format. Depress the RESET key
to return the programs to the program head.
-289-
:,1?ff
9.16.2 Confirmation of
program
1) Depress the PRGRM function key. Search the program for which confirmation is
desired by using the MDI key. (Depress the cursor key l-+l after inputting
address 0 and the program number which you desire.) The program is displayed
on the screen in the usual format. (See following Fig. 9.16.2 (a))
PROGRRh
WLA t
frtw eaa xraa. Yffi.
tffi t"t?.2 ;
owlg tW
:
gI
EDIT
Fis.9.16.2
2)
(a)
After allowing the cursor to travel till the heading of the block for which
confirmation is desired on the interactive conversation type screen, depress
the soft key rrIAPrr, and then contents of its block are displayed by changing
them onto the inte;:,active conversation type screen. (See following Fig.
e.16.2 (b))
When contents of a block are displayed on the interactive conversarion type
screen, eontents of its next block can be displayed on the interactive type
screen by depressing the Page Key | * | (for instance) on the screen of Fig.
9.16.2 (b). Besides, by depressing the Page Key | + I as the same, contents of
one block before can be also displayed on the int.eractive conversation type
screen.
F@r4
ffi : POSITIOTIING
G G
ffi-6
z
H
11
5,'
OFFSET
wlg rwm
<x,Y,z,
.r'
NO.
z'
J/
B/
ull
Fis.9.16.2 (b)
9.16.3 Editing of
program
While displaying the contents of the one blockr s program on the interactive
conversation type screen, their contents can be edited.
Editing of the program with the usual format was executed by one word units,
including basic insertion, replacement and deletion. On the oEher hand, on the
interactive conversation type screen, they are all edited by one block uniE.
-290-
Replacement of block
Number
Number
9.18
of Registered Programs
of registered
programs:
125 programs
(Standard; 63 programs)
Lo / 20 / 40 / 80
I r20 / 320 n.
can
be seleeted
-29r-
from
the
followine:
9.19 Editing
and
number
A program is edited when the program protection of EDIT mode has being cancelled
in the same way as in normal editing. But the following points differ.
a) Shift key
Press thettSHIFTttkey once to change the key i-nput cursor, which appears next
to the key input data, from norm"t tt.tt tottntt. In this status, press the key
with symbols or characters marked on the lower right corner of key top to
a11ow those symbols and characters to be input.
Input one character to a1low the key input cursor to return to normaltt<tt.
Also, the key input cursor can ret.urn to the normal tt.tt by pressing the shift
key again after pressing it once.
b) Cancel key
Press t.he eancel key I'CANrr once to delete one character in the key lnput
area.
If the key input cursor is shifted, namelytt<tt, one character is deleted and
the shift status is cancelled at the same time. (The key input cursor
returns to the normal tt.tt.)
c) Deletion, changej-and insertion of prograrn
When the custom macro which has already been input is editedr the cursor can
be moved to the position where only t.he following characters and symbols are
located:
I) Address
2> // of top of left side of substitute statement
3) /, (,=,
N00I xr-//100
?Ft =
Tzt
5oo7 12 ]x .r2til31 ;
N003 x-sQRr t#313 x ltt4
i-itz z+r :
NOOS 7S = 1 +1 - /t10 ;
rr itlT Ne 0l coror0 ;
wHrLE ufz LE 5l DOl ;
Ttzooo + +2) = +7 * To ;
Noo+
+ rll
Itz=#2+I;
lnoT
-292-
( XI00. Y100.)
within
parentheses.
following:
in
the
Cursor forward
LTo' jto9-tti"
Cursor backr"rard
( x100. Y100.
- T---:f-
Note
Example) By
two
Namely,
c0 SQ BI R0 -
wD
XO
\^II{ILE,
XOR,
cos,
SQRT,
BIN,
ROUND,
TA AB FI EN -
WH
AN
WI{rLE,
AND,
TAN,
ABS,
FIX,
GO
S] -
GOTO
SIN
- ATAN
BC - BCD
FT] - FUP
AT
END
Exaurple) Keying in WI{ [AB [/|2]LERO I#3ll is rhe same as rhar of WHILE
[/lzl LE ROUND t#31 l. A1so, rhe program is indicared in rhis
IABS
manner.
e) Control out/in
Comments can be
wri-tten in programs.
0 SERIES) ;
Note l) The words of macro cannot be abbreviat,ed. However, do not input them
by dividing them into two or more sectors since they rnay be converted.
Note 2) The ttOtt, tt tt can also be input. Hotrever, cautions must be taken when
inputting them by dividing thern into two or more sectors.
Note 3) No period can be input af ter the rort and rtNrr even within the
parent.heses ( ) .
f
-293-
10.
10.
Offset Amount
10,1.1 Setting and display of tool offset values (function t eyr lottretl)
Parameter IOF (No. 0001) selects absolute input and incremental lnput.
I) Input of absolute offset value.
a) Push [oFsgTl tey. (For the soft key, press the soft key lorrsEfll when the
other screen is displayed.)
b) Push a PAGE button to display the requlred page where the requlred offset
number is given.
W }'W
FFSET
Fn. mTA
mTA
ttr.
ffi
A-W
LA.W
_ffir
Atg ta.effi
w
-L.ZzB
a.w
af. -n-w
n3
g.em
a.w
atz
w
n.w
813
ffi
A.W
a.m
a14
re
8.2ffi
6.m
Bls
w7
a-?ffi
g.w
aL6
m
0.828
MTLFI- POSITIO.{ (RELRTIL)
x
a.w
Y s-m
s.w
l.O. Wl
=
I'IDI
Continuously
the
push
CURSOR
key.
The
cursor will
move in seguence.
CURSOR
Movine the
Page.
Method
Key in
[Tl
l+l
and
offset
l-rNFilfl tey.
d) Input the offset value (input with decimal point is also possible) with
the data input keys.
e) rush [-tNPuT I key.- The offset value is input and indicated.
(Exanple) I,"hen 15.4 is input for offset No. 25.
W |W
FFSET
h0.
mTA
mrA
t'tr.
g.w
!5.M
ar?
Jffi
m
A.W
8.W
a1B
@7
A.m
s-wB
619
@
a-m
a.wB
w
@
6.WB
A.?n
at
a3a
a.zffi
6.w
@.
a-m
431
a3
z.nB
g.w
632. a-m
w4
(RELATILE)
rcTLH- PGITISI
Y 8.w
x
s.w
g.w
z
htr. m=
MDI
-294-
MDI.
MDI
STEP/HANDLE
key.
2) Push
3) Push
PAGE
PFRFT'ETER
(SETTII.G 1)
=6
-FEu(
RELn/
A
=
TIIN = O
IS[l = I
(6:EIA
IlGl = A (g:l'tl
l/o =g
r.o. RE\x
lsu )
Ir.0{)
4) Push a CURSOR key and move the cursor to the iten to be changed.
5) Input I or 0 according to the following description.
a) REVX
Setting X axis mirror image
I : X axis mirror image 0N
0 : X axis mirror irnage OFF
b) REVY
Setting Y axis mirror image
I : Y axis mirror irnage ON
0 : Y axis mirror irnage OFF
-295-
'
-}.'.\
-(Note) If X and Y axis mi.rror images become effective, the X and Y axis movement
directi,on in AtlTO mode is opposed.
However, the movement direction in manual operation or the movement {
direction between the reference point and the intermediate point in auto- i'{{
matic reference point return are not opposed.
i
-1
c)
d)
TVON
e)
{
1
l-tna
f) L/o
- Setting reader/puncher device for prograrn input/output with reader/puncher
/' interf ace.
Select a device of a channel I set by parameters NFED, ASR33 and
STEP2 (parametaer No. 0002) and BMTED (parameter N0. 0552) .
Select a device of a channel 1 set by parameters NFED, ASR33 and STP2
(parameter No. 0013) and BMTE1 (parameter No. 0553) .
Select a device of a channel 2 set by parameGrs NFED, and STEP2
(paramet6,er No. 0050) and BRATE2 (parameter N0. 0250).
SeIect a device of a channel 2 set by parameters NFED, and STEP2
(parameter No. 0051) and BMTE3 (parameter No. 0251).
g) ABS
c.-.l+nL'i-^
between absolute and incremental comrnands in MDI mode.
owrLgrrarrS
I : Absolute command
0 : Incremental command
h) sEQ
Qarrino eequence number insert.ion automatically when registering a program in the memory using the keys on the MDI panel. (See section
III-14. ll for details)
I : Perform automatic sequence number insertion.
0 : Does not perform aulomatic sequence number insertion.
i) Setting the tape format of l0/il series conversion.
I : Tape format is converted.
0 : Tape format is not converted.
6) Push I INPUT I key. Each paramerer is set and displayed.
-296-
control unit.
In CNC control unit, the nachine movement is followed up as if move conmand r{ere
com-anded. So, when the servo po\^rer is turned on, the uachine position and the
NC coordinate system value match each other.
So, by using this function, it is possible to move the machine by hand using the
mechanical handle. For this function, PMC is required.
15.2 Follow-up
DGN.
Signal *FLWU
No.
*FLWU
0104
*FLWU
I
0
This signal becomes effective when the system is provided with the mechanical
handle function (optlon) and PMC.
When the circuits for signals SVFX - SVFZ are closed, the servo off (No current
flows to servo motors) condition is set. Since the positioning control does not
function under thiF condltion, an error is produced when the machine tool moves.
For thls deflection arnount processlng, the following remedles are selectable
according to whether the clrcuit for signal *FLWU i.s open or closed.
o When the circuit for signal *FLWU is closed;
No follow-up function is alive.
The servo error amount ls recorded on the error counter. In this case, the
machine tool moves to cancel this error when the circuit for servo-off slgnal
has been reset to be open.
o When the clrcuit for signal *FLWU is open;.
The fo11ow-up function is a1lve
The present posltlon of the control unlt is changed to reset the error counter
to zero, assumlng that the command has been applied by the moving amount of
the machine tool.
In this case, the machine tool remalns devlated even after the circuit fot
servo-off signal ls reset to be open. However, since the present position of
the control unit changes ln correspondence to the rnachine tool position, the
machine moves to the correct position when the absolute cormand is applied
next.
No
15.3
emergency stop
or servo alarm.
Input'Signal
0
DGN.
No.
SVFZ
0105
svFx, Y,
zo
XrYorZaxls
X,YorZaxls
-330-
SVFY
SVFX
key
GRAPH/AIIX
wt rcnLz
xY a.m
g.w
z a.w
BT
flJTO
the automatic
operation.
Note 1) Since the graphic drawing is done when coordinate value is renewed
during automatic oPeration, etc., it is necessary t.o start the program
by automatic operation. When necessary to execute only drawing,
'
mode.
Note 2) rn case the feed rate is high, drawing may not be executed correetly,
decrease the speed by dry-running, etc. to execute drawing.
Note 3) When the aut.omatic operation is started under reset condition, the
program is executed after deleting the previous drawing automatically.
Note 4) When necessary to display a part of the progran, search the display
start block by the sequence No. search, and set the sequence No. of the
end block to the PROGRAI'I STOP N of the graphic parameler before starting
I
the program under continuous operation mode.
-329-
1) AXES
2)
AXES=0Select(1)
AXES = 1 Select (2).
AXES = 2 Select (3).
AXES = 3 Select (4).
AXES = 4 SelecrJ5).
AXES = 5 Select (6).
The rotating angle (horizontal , vertical) for isometric di.spaly of 5 and 6
is fixed at 45" in both cases.
RANGET (uax.
(MrN.
xJ=
l=
),
)(=
l=
on
.ENTER
[=
|=
/,=
Set the coordinate value on the work coordinate system at graphic center.
Llhen MAX and MIN of MNGE are set, the values will be set automatically
once drawing is executed.
s)
.t
PROGRAI"I STOP
Set the sequence No. of the end block when necessary to partially
The value is cancelled automatically once drar.ring is executed.
dispaly.
6) AUTO ERASE
*
-328-
Example
Gc (=30mmJ0mm)
Graphic origin
of
cutting feed.
moved
and
as
origh
shown by the
is depressed, Ehe
parameter setting screen is displayed.
In case the screen ls not displayed, depress the soft key
the screen is displayed.
I
following graphic
FGlffil, by
which
PNRfl'ETER
92ffi2. NO',$
AXES
4
-ts
(XY 4, YT- t, ZY=z, )C=3, )C/Z-:4, Z{y=S)
R$GE
ct'p<. )
x= 115@F
rWS
(NIN. )
RFI.GE
)F
AY=
ab
SCFLE
K=
n
GRTFHIC
GRFFHIC CENTER
X=
5?5m
PRTERFI1
fl.JTO
Y=
ST(P IF
ERffiE F
mF8
g'
1
P=
t'oI
oT
4)
-327 -
As shom in the example of the above flgure, the maximum drawing range will be
the area of approx. 144 nrn (wldth) x 108 mn (length).
In case the range to draw ls greater than the maxlmum drawing range, the drawlng
magnification is used.
The drawing ruagnificatl-on is 0.01 to 100.00 times, which is usually determined
as follows;
o Drawing rnagnificatLon = Drawing magnification (H),
or drawing rnagnificatlons
(V), whichever is smaller
o Drawing magnification H
(length on program to horlzontal dlrection axis)
o Drawing magnification V = o/
= R/(length on program to vertical direction axis)
c : 144 nrn
B: 288mn
The drawing magnification is always based on the center of screen.
Gc: Center of screen
magnification
Program
Gc
After magnification
In case the tool path will not exist near the center of screen, enlarging the
screen will cause the tool path to be drawn out of the drawing range.
To avoid such cases, the following four graphic parameters are prepared t
(range: X MAX.)
" RANGE x (MAx.)
(range: X MIN.)
"O RANGE x (MIN. )
(MAX.
(
MNGE Y
range : Y llAX. )
)
(range: Y IIIN. )
" MNGE Y (MIN. )
O RANGE z (MAX.
( range :
Z I'{AX. )
)
(range: Z IIIN. )
" MNGE Z (MIN. )
With the above parameters, the center of screen (Gex, Gcz) can be calcuLated as
follows;
Gcx=X(MAX.)+X(MIN.)
Gcz=Z(MAX.)+Z(MIN.)
The value will be 0.001 rnm or 0.0001 in. depending upon the input unit.
The graphic origin and graphic center point will not be changed even if the work
coordinate origirr is changed.
In other words, the work coordLnate origin is always consistent with the
graphic origin.
-326-
14. GRAPHIC
14.1
FUNCTION
Drarruing Range
It is possible to draw the prograrmed tool path on the 9-inch cRT screen, which
to check the progress of machining, while observing the path
makes it possible
on the screen.
The size
t
I
54 mm
72nm
?2 mm
54 mm
I
I
-325-
Library screen
Software key
READ
.Software key
PUNCH
Software key
DELETE
Software key
SRHFIL
Software key
RET
-324-
3) Delete
File
No.
DELETE
FILE
Input File No
e
(?)
FILE NO. = I
NUM.
EDIT
First,
the file
ttEXECrr.
screen.
13.7.3 Other precautions
t) "CAN + INPUT"
6) When an improper data is entered into FILE NO. AND PROGRAM N0., an alarm
(P/S 71, P/S 86) is produced. -9999 and -9998 of FILE N0. becone invalid.
7) Program read . with KEY (edit protect) signal OFF corresponds to program
check.
8) The parameter is input and output on the parameter screen in the same
manner as usual. Ilowever, the output file naue is reglstered as
''PARAMETER''.
9) The offset is input and output on the offset screen in the same manner as
usual. However, the output file name is registered as "OFFSETi'.
l0) Enter 0 in FILE No. and PROGMM No. "1" is displayed.
1l) On the program screen (not exclusively for the floppy cassette), no program
can be selected autonatlcally for punching, and the program is punched at
At this time, the designated prograrn No.
, the last of registered file.
becomes a file name. (The file name for 0 to 9999 is registered as "ALL
PRGMM". )
-323-
(Example)
FLOPPY A
Means Itcontinuerl
Means ttlasttt
(No.):
L (No.):
No.
:
NO.
NO.
READ
_FILE NO, = I
PROGMM
NO.
NI]M.
EDIT
2)
No.
PIJNCH
_FILE NO. =
PROGRAM
NO.
NIJM.
EDIT
Input
Program
name.
At this time, if no File No. is entered, punch a program at the last of the
registered file
rf F1le No. is entered, the program is punched at File No. designated.
However, i-f File No. already in use is designated, subsequent files are
deleted and .File Name is registered as ttFCA3".
when all programs are punched in one fi1e, input -9gg9 to program No.
-322-
DIRECTORY (rLoPPY)
NO.
FILE NAME
0001.
0002.
0003.
0004.
0005.
0006.
0007.
0008.
0009.
(METER)
20.5
40.7
32.2
7.5
PARAl"lETER
OFFSET
ALL. PROGMM
00002
00003
00004
o0010
o0020
o0030
t0.2
2.6
4.9
11.8
5.5
EDIT
SRHFIL
"RLAD|'
is
6.
7.
8.
9.
FILE
00001 N0001
(METER) VOL.
NAME
20.5
40.7
32.2
PARAMETER
OFFSET
ALL.
are
depressed:
DIRECTORY (FLOPPY)
NO.
i.
2.
3.
4.
5.
"PROGR.M,t
PROGRAM
'
7.5
00002
00003
00004
10.2
2.6
4.9
1r .8
OOOIO
00020
00030
.5
C01
READ
_FILE NO.
=I
PROGRAM
NO.
NIIM.
N0.
FILE
NAME
(METER)
VOL.
321
Fig. 13.6.3
(b)
Display
input
and
13.7:1 Display
The directory is displayed in the edit and background edit nodes. Following
the display operation.,_
1) Display a normal pfogram screen.
2) Press the soft key "FLOppy" or selector key "pRoGRAM" twice.
3) Screen format No. I is displayed.
1S
0000r
DIRECTORY (FLOPPY)
NO.
FILE
NA},IE
(I,TETER) vol,.
N0001
-320-
il
for cassette
Note 2) When reset operation is applied to the CNC during a request
cassette
the
after
reset
but
replacement, the CNC is not reset at once,
has been rePlaced.
13.5.2
5)
6)
cassette uPward
(RECORD
side).
Note
is in progress.
alano
No. 86.
Fig. 13.6.3
(a)
r:
-319-
The following operation enabl-es offset data input from the cassette to the
1)
Z)
3)
4)
CNC.
CNC
CNC.
l)
2)
3)
4)
5)
in the cassette
1) Select EDIT node. -
can
be deleted as follows:
2) Push I-PRGRI,I l.
3) Turn off the protect key r@\
\ lt ).
4) Key in address N.
5) Key in file No. I to 9999 to be deleted.
6) Push ttre l-sffiTl tey.
With this operation, the k-th file input in (5) is deleted.
Note I) After the k-rh file is deleted, file Nos. k+l to n change to Nos. k to
n-I.
Before deletion
After deletion
t to (k-r)
I to (k-1)
k
Deleted
(k+1) ro
k ro (n-l )
Note 2) Deletion is possible only when the write protect key of the cassette is
set to the upper posirion (RECORD side).
13.6
Precautions
i
:{
-318-
The following operation enables the output of offset data to the cassette.
i
l) Select the EDIT mode.
2) Select the tool offset data display sereen by pressing OFSET key.
3) Press the START key.
4) Specify file search-out when required.
For which file the offset data is output to, refer to 13.3.1.
13.3.3 CNC parameter output
The following operation enables the output of CNC parameters to the cassette.
I) Select the EDIT mode.
2) Specify file search-out when required.
3) Select the parameter display screen by PARAM key.
4) Press che START key.
For which file the offset data is output to, refer to 13.3.1.
CNC.
A program can be input fron the cassette to the CNC by operatlng as described ln
"CNC tape input" after searching the file head in EDI'T or AUTO node as described
above.
INPUT
button. )
(Note) If the above input operation is conducted by turning on the protect key
(r(d\.V ) the program in the memory is collated with that in the cassette
'
tr*"rpriiti;*r"."ring
(Operation I)
N2 [-rNPUr
N2
frNFur I
N-9999
Ns
N-eeee
ITTFI-fl]
| ?t\lDrrT
I rrrr ur
I
I
I rNPUfl
f rNPUr I
Slow
(Operation 3)
l-rNPUfl
INFUT-I
...
Second
file
FN-FU-f-l
...
Second
file input
N2
l-iNP-uT-l
rTN'mrl
N4
(Operation 2)
t-irFdf-l
N3
second
head searching
[TN-mtl
|_Txmtl
l-rNPufll
N-9998
t-ffi]
N-eeee l-lNFtrT-l
frNpur
Quick
fTFmil ...
Quick
-317-
c)
N-9999
output F
A program can be output frorn the cNC Eo the cassette by the folrowing
operation.
1) Output of one program
. o + program No. + [-srenFl tey
2) Output of all programs
o + _e999 * l-stenFl ruy
lfith this operation, the program is output as the. new file after
files
existing in the cassette. A new cassette or a cassette in which old the
files
are
made invalid and new files are to be written from the
beginning,
use
the
above
output operation after the N0 head searching.
Note
Note
Note
Note
Note
r) when P/s alarm 86 occurs during program output, the cassette i,s restored
to the condition before the outpuc.
2\ when program output is conducted after
NI to N9999 head searching,
new f_ile is output as the designated n-th position. rn this case, the
r to
n-1 files are effective, but the files
the
old
n-th
one
are
deleted. rf an alarm occurs during output,"rt",
only the 1 to n-I files are
restored.
3) The cassette is provided with the wrj.te protect
slide.
the slide to
the upper position (RECORD side) and inserr the cassetteset
ro
rhe
adaprer.
rn thie condition, make sure that the red lamp lights.
Then,
start
output operation.
4) Head searching with the file No. is necessary when
file output from
the cNC to the cassette is again input to ir," cNCthe
memory or conpared
with the content of the CNC memory. Therefore, irnme4i3g"1, after the
file is output from the CNC to the cassette, record the file No. on the
memo sheet of the cassette.
5) To efficiently
use the memory in the cassette, output the program by
setting parameter NFED of parameter No. 0002 or 0012
to 1.
.a
-316-
..1r"r,
13.
13.1
What is a File
unlt of data, which ls lnput/output between the cassette and the CNC by one
input/output operation (pressing the l-REID-l or l-?ffiettl k"y), is called a ttf iletr.
When inputting CNC programs from, or outputting them to the cassette, for example, one or all programs within the CNC memory are handled as one file.
Files are assigned file numbers I,2,3r4 and so on, with the lead file as 1.
The
Flle I
One
File
File
File n I
Blan]c
Cas-
File I
sette I
Onee
ntinuation
of file k
Cas-
sette
File
File
File(k-1) I
File n I
File (k+l )
can subsequently
FrLE k
Blank
NC parameters
File
Offset data
File
NC
Ftle (n-1)
NC program 00500
FiIe
NC program 00600
13.2 File
When
progran
00100
Heading
the program is input from the cassette, the file to be input first nust
searched.
a)
N0
-3r5-
be
12. DATA
OUTPUT
Parameters
The parameters set in NC memory can be output to the output device. The output
data format is the same as the parameter tape format.
1) Setting the data ousput interface
Set the data output interface in the parameter.
Data can be output via the FANUC PPR, FANUC casserte, or ASR33/43.
-314-
be
11.9 Clock
Time is displayed on the status indication line (line l5)
setting I screen.
00001
PARA]"IETER
(SETTING
=
REVY =
TVON =
REVX
0
0
0
and
thg parameter
N000i
I)
rS0 =0 (O:ErA
INCH=0 (O:MM
(0:INC
ABS =0
sEQ =0
1:rSO)
1:INCH)
1:ABS)
Maximum
Year
I'1onth
99
value
L2
31
23
59
59
Day
Time
Minute
Second
Note) The time at the status indication line (1ine l5th) is not displayed
rhe "NOT READY'I is displayed.
313
when
HOLE PATTERN
Menu
title
UAR.
566
a
5A?
a
ACTUq- POSIT IOI.I (RELRTITE)
x
6.ga@
g.w
z
f,. W=
I1D
BOLT HOLE
TOOL
....
@.w
S gT
I
up to 12 characters/line, g lines.
The machine tool builder should program the character strings of variable
name and comment statement by custom macro, and load thern inlo the prograrn
memory.
vdruE.
r '
q
|I _
rr\rul
- lltl J llo
il v llll Tl\.]F"h
I, Iof
example
cuRSoR
tf
After inputting all pattern data, select the AUTo mode, and depress the
cycle start key, and the desired machining can be done.
-3L2-
,i*Ffi;i
b)
Usage
When
the
command
of
M02
or
1,130
is
executed, the
re
total number of
dbv one.
machined
xs
$e:e
When the
11.7
IEAF'M])
I'EsSME
514 GrR 1gq-n :
536 o|.,|:R TRT.E- :
ALARM
WEB IWB
CL.RI,I
+X
+Z
Note) When an alarm occurs the alarm message is usually automatically displayed.
11.8 Pattern Data and Pattern Menu Display
b)
Depres"
key again.
I.E}{.J
: HX-E PNTTERN
Ot@ NIWB
1. Bg_T t-g_E
2. GRID
3. LIF NN-E
4. TAPPII.G
5. DRILLII.
6. Bmlls
?. FOQ<ET
8. PECK
9. TEST
1el. mK
el=IFCT=
S
MDI
311
gT
Et#rlo.r.
I
PART COUNT
RUN TIME
CYCLE
1.6.2
TIME
(m1 h@
PrnflIER
(SETTIhG 2)
pt = 1 (O:DISAH 1:ElRHl)
g
=
-RElr4
TNPEF= A
I
TgTfl- =
A
15
PART CIII.IT =
1Ht6r,l cYol Tll anlgtE!;
Ftl.t rric
fO. RE\4 =
FDI
29:3:l:43
PffiT
Pffif FFT|JIROE
lPffi*4
llFGll
ll
ll
-310-
Fact
r (fi)z
i=I
where,
n
fi
: Number of axes
: Cutting feed rate in the tangential direction of each axls or rapid
traverse rate
Fact: Display speed
The display unit: mm/urin (Input in units of mn).
In the case of per revolution feed and thread cutting, the dtsplay speed
is displayed by the speed per minute rather than that per revolution.
Note 2) In the case of shift of rotary axis, the speed is displayed in units of
deg/min but is displayed on the screen in units of input system at that
time. For example, when the shift speed of rotary axis is 50 deg/rnin,
the following is displayed: 0.50 INCtiiM
Note 3) Display is made only during automatic operation on the program cheek
Note 1)
screen.
When this option is selected, two types of run time and number of parts are
'
screen
o2@@@ NA19A
x
Y
z
RrN
-1,2.5@A
-42.5@@
@.@@@
t;_ll-.*lr*Jfun
-309-
key I REfl. )
a@@@L
x
Y
z
224.359
285.449
TIt
Ff,T.F tw
29: 18:21
R.H
N@A@@
[email protected]
PRT qINT
1H1$1 Crc-E
llv'tl
-l[*'11-ll-l
t"* lf*l'lDI
an
Reset oDeration
ffi;
lii)
Overall display
'
simultaneously:
(REIJTII)
xY &.*
G. 156
4I.45
(Fm{r)
x 34.35Et
Y
.234
z &L.g?
tE61
(SEILIJTE)
r.@
xY &.*
S. 156
Z 4r.97
(DlsTF}G
TO Gn)
X E_641
Y W.Tn
7 1g,.5E,62
PRT CCI.|.|T
15
R_N TIt
ltAl CYCLE TIl Or 61455
FCT. F
t@ rwtl
21:35: S
llDI
ll
ll
-308-
W2 IW,
CHECK
Wt
ira egz ><B Y8 F8 ,
t@ w xLffi. YLa. t
t{fi @l Z16. FL6.5 t
(G)
(PFSA-UTE) (DIST TO GO)
6.@A W VA 6?
'/, -ts.na x
a.w GL? g9 Gg
'(
-5.%6 Y
a.qaa G% w 64
z -15.n4 z
A.AW G94 GS
A -a.sw A
GzL t=Jg
trPHS
ttr657
P
o
PRMRFfl
RDRS.
f,JTO
f*l
The data is displayed only in |'AUTO" mode. For the display of a Page of block
being executed withi.n the memory, the block being executed is displayed at the
(2) Push a PAGE key. Data will be displayed in one of the following three ways.
i) In the work coordinate system
(It can be displayed by pressing soft key I-AEil.)
rruH.
PCSITI(N CNF(IUTE)
N@A@A '
22A.261
o@@@1,
xY
z
27I.58?
339.483
6
PrRT CofiT
TtrG 1Ht3,| Crc-E TIt An il'ets
ACT.F ten l'nfl
llDI
2g:15:B
RrN
I"*ll
*"-
ll*ll-lt-l
-307-
r
I
111)
il
Command
PR$RFr'r
0'1D I )
x
Y
(]2m
(ttrDnt_)
La'fl2
M.ffi
&B
G@R
G1?
GgB
G21
GgtH
. BlaS
G49 T
fi
M138
15
w.
GM
Gga
6?
Are.
I'IDI
iiil
Hii
il
program
ls dls-
TPM tg138
\g m. t
VB Y-'78. :
t
Nlz Z-n.
N13a G1? 4L GaL X1?.5 l FnzB t
N74Z U2 G39 l-l?.s :
N1@ G32
N11A G!f1
Nr? GzP
N18[| G61
N1*t
BErt
Are.
A cursor
11.4 Display for
YEt ;
flJm
Program Check
The program check screen is displayed by pushing the CHECK soft key. The
display includes the page for a program block in memory being displayed at
present, th'd present positi-on, and modal value previously conuranded.
-306-
[FR-GF-M)
tP@ l130
PRGRFT.I
(CI-RRENT)
x
L?.v9
G61 F
XEB
G1?H
2
(l'nDfl-)
uL
F
R
6I?P
G91 0
63lH
@1 M
er1 s
G8A
GBA
GA1
G49 T
SEl
s6?
Bf
AJTO
PRGRFT,{
(ORRENT)
x
I?.frB
G61F
W
G1?H
2
(FEfi)
G3Er
tP@
I.813B
-t?.VB
G41
BA
Ef
RUTO
l'-*''11""...-l[_*;lnn
-305-
a)
PRoGRAM
NO.
USED
FREE
b)
C)
PROGMM
LIBMRY LIST
Also, the program name can be displayed in the program table by setting the
parameter No. 0040 (NAMPR).
0n the program name display screenr. the program number and program name are
displayed.
PROGMM
SYSTEM EDITION
PROGMM N0. USED :
I'IEI'{ORY AREA USED :
PROGMM
00001
00002
8 FREE :
321 FREE z
0615
00010
N0001
01
I
!
55
37 44
LIBMRY LIST
(MACRO-GCODE. I'lArN)
(MACRO-GCODE. suBl)
OOOIO (TEST-PROGRAM. ARTHMETIC NO. 1)
00020
00100
00200
or000
(TEST-PROGMM. FrO-MACR0)
(INCH/Ift,1 GNVERT CHECK NO. 1)
(MACRO-MCODE. MArN)
(MACR0-MC0DE. SUB1)
ADRS.
EDIT
Note l) Always register a program name beEween the control out and control in
codes irnmediatelv after the program nunber.
oDfrl
(aaaa.
-__I
to 31 characters.)
Program number
Note 2)
Note 3)
Up to 3l
-304-
11.
DISPLAY
11.1
Program Display
A progran number
in the photo.
and
sequence number
PRMRtrI
@;
seen
T:BL?9.
Yg Zn. t
m1 6n Y-79. ,
lll?fj Z-',n. t
N138 Gl? BI1 GB1 X1.?.s IJaP. FAEB
'
Nr4E H2 Gi39 I-1?.5 ;
N158 Bl1 m3 X-1?.5 Y1?.5 R1?.5 ;
N16g GA1 X-8. t
N1'7g GEP }u7.5 Y27.5 p7.5 ,
N1E[| GA1 X-15. ;
N1*t G@ ru YA t
N1@ G92 \i<9
N116
ADRS.
IIJTO
Wtren
Used
Proceed as follows:
4)
p"strlrllpurlbutton.
Or re-push the
PRGRM
(]2@ l.o1$
WB _ 6L
:
S
I FREE :
36 FREE 2 37TO
I'E}.FV ARSR IJSED :
PRTER*I LIMFff LIST
EEBI WzB CEEEB VE$) BtN OT&
u9@. wB3
PRGRtr'I
S/STE}I EDITI$I
PRmRfl1 l.O. LEED
EDIT
-303-
#
6)
;",' ;'J:l#
7) Depress
rrNpur r
played as an offset value.
::ij.
JJj
same
way as in setting
r---T,1
::r"ffi..:Jr:r|,*+1":n,,.
".,0
o,"-
Reference
tool
This difference is set
as an offset value.
I
I
I
I
Fixing point
(Note)
n", is depressed
"'E
H
or Y axis relative coordinate value is
rf
either
insread or
t.r in 6), the
l-9-l
input as an offset value.
.:
,t
!t
-302-
FFIL
OLW IW3B
SKIP : IOFF El.l
-B-OA<
Sltg-E B-OCK :
FF l0.l
lGCtlll LOO( : IFF
S{
: IFF
S{
DRI Rtfi
PROTECT KEY :
TPROTECT RELEffiE
: IOFF til
FEED F0-D
CPERITO?'S
MTLNL
x
z
P6ITIO{
g.w
g.w
(ABSO-UTE)
g.w
6T
t"-"".lffi--il_-1l---1n
[Tl or fTl key, and march rhe cursor ro the position of the desired
Push l-Fl or [Tl key to march the mark ! ro an arbitrary positlon and set
c) Push
switch.
d)
Note l) When the CRT indicates other than the software operatorrs panel screen,
jog feed is not conducted even if the arrow key is pushed.
Note 2) The feed axis and direction corresponding to the arrow keys can be set
with parameters (paramerer Nos. 0f30 to 0135).
3) General-purpose switches
Eight optionally definable switches are added as an extended function of che
software operatorts panel. The name of these switches can be set by parameters as characEer strings of max. 8 charact.ers.
For the meani.ngs of these switches, refer to the manual issued by machine
tool builder.
I/
--l:I Setect a reference tool, and attach the reference tool to the rnachine fixing
point (or fixing point on the workpiece) manually.
2) Display the relative coordinate positlons by depressing l-pOS I and PAGE keys.
tAl
3) Preset the Z-axis relative coordinate value- to
depressing |)L |ana
a.by
-zero
a,t.,t.1 |
l-aAN
4) Select an offset
U"t.
l_&_l
5) Select a tool to be measured, and aitach it to the
page by depressint
same fixing point manually. A difference between the reference tool and the tool to be measured is
displayed as the relative coordinate va1ue. (This is also displayed on Lhe
offset page)
-301-
Data
The pitch error compensation data is set according to the characteristics of the
machine connected to the NC. The content of this data varies according to the
machine model. rf it is changed, the machine accuracy is reduced.
In principle, the end user must not alter this data.
key
A data protection key can be installed on the machine side for protection of
parE program input and editing.
For where the kev is mounted, refer to the manual issued by machine tool
builder.
1O.7 Software Operator's Panel
I^lith this function, functions of the switches on the machine operatorrs panel
can be conducred from the CRT/MDI pane1.
The following can be conducted via the CRT/MDI panel.
a) Group I : Mode select.ion
b) Group 2 : Selection of jog feed axis, jog rapid traverse
c) Group 3 : Selection of manual pulse g"o"irtor feed axis, selecgion of manual
pulse magnification xl, xlO, xl00
d) Group 4 : Jog feedrate, feedrate override, rapid traverse override
e) Group 5 : optional block skip, single block, machine 1ock, dry run
f) Group 6 : Protect key
g) Group 7 : Feed hofd
Whether to operate from CRT or uachine operator's panel can be determined bv the
parameter OPGI to OpGT (No. 017) for each group.
I) Setting of mode selection, etc.
t-- EE-r
a)- Push | ALARM
| .."::t-1.I.
b) ry"n ffi
key to display rhe necessary page
(rr can be"I1a
disptayed by pressing soft t"v ftpft-l]l
Pfl\FL
01@ tt&I3A
;
_IODE IF1DI FUTO EDIT t+{U_ JG ZRN
FFNq-E RXIS : IFrX I{Y IZ.
f-FND-E FllT. : l*1
'L@
RnPID O,RD. I ate2Y. gz 'f@
n4, FA
Jm FEED : 5cE1 tt'l,,t'ltN
Err
FEED O.RD. :
fff-r......
ACTI-H- PGITIS.| CNBSS-UTE)
g.w
x
Y
9.@
UcEqqTO?'S
a.w
g1
t"tDI
-300-
i
I
'
?)
Key
the setting
screen, and return the PWE setting to i
i) Depress the RESET key ro release the alarm condition. When alarm No. 000
has occurred, turn off the power supply and t,hen t.urn it on, otherwise Ehe
alarm is not released.
Setting of parameters using a tape
This method is effect.ive only when the reader/puncher i.nterface option is
combined. Parameters can be input from the tape reader or teletypewriter
ASR33/43.
7o
L
F
L N
L N
F
(a)
Vo
(e)
N
L
F
\+
(b)
(c)
(d)
a) Punch 7" (ia case of ISO code) or ER or CR (in case of LF of EIA code) at
the start of the tape.
b) Punch the data number following address N next to the end of block code
(lf i.n ISO code or CR in EIA code) .
c) Punch Ehe data to be set after address P. Punched data at the address
should correspond to the parameter number punched at address N.
d) Punch the end of block code. Continue steps b), c), d), as required. A
data number following address N must be punched at the start of each
block. Leading zeros of parameter data following P are omittable.
F
LF and Z (in case of rso code) or cR or ER (in case of ErA code)
t )--f) Punch
finally.
Data input from the tape is finished with'the input of these
t
codes.
E
t
Parameters not speclfied on the tape renain unchanged even if the parameter setting tape is input
The Parameter setting tape prepared by the above procedure can be input
f
according to the following proeedure.
i) Ser PWE = I (CRT/MDI lanet).
ii) Select EDIT mode on operator's panel.
iii) Select PARAI'I on CRT/MDI panel.
iv) Turn on INPUT button on CRT/MDI panel.
v) SeE PWE = 0 (CRT/MDI panel).
vi) Turn on RESET key on CRT/I'{DI panel. (Turn on and off the pov/er of CNC,
if alarm number 000 occurred.)
(rf
?.
Note l) The tape stops traveling when any of the following alarus ls detected.
i) TH or TV (with TV check rurned on) is in pariry error.
ii) An address other than N and P was input.
iii) An N or a P value is disallowable.
Note Ll Depress RESET k"y, if iE is desired to stop setting from the tape
halfway.
Note 3) A part of parameters doesnrt become effective unless power supply is
turned off (when alarm No. 000 occurred).
Note 4) Parameters related to the reader/puncher interface must be set from MDI,
etc. before inputting paramet.ers from the tape.
-299-
IWB
(SETTI}S 2)
m.
PlEi
TT-] _
Press cursor button and set the cursor ro PI^IE. Key
l rurut l, and
- in Ii jn ft-parameter is able to be written. NC is placed to P/S alaru No. 100 con-
dition.
PARFTTM
f0.
mTF
_mt wtffi
w.
wffit
@3 Wt
w
ww7
w6 w^r
ffiwr@t6w
w7 wwffi!
w@w@raw
wE w
@74 Wtn
I'O. @11
|IPRR4 il
W IefEN
hn. mTA
e6tl w
taIz w
@13 W
@74 W
@ts w
eftt1 11111111
e3L9 W
@
@
=
MDI
r-----l
lloaruos ll
u
e)
--_-.|
Method I
CURSOR
number
to be changed.
Depress FdGsoE-l tey. If this button is depressed continuously, the cursor shi.fts sequent ia1ly . If the cursor
exceeds a page , the next page appears on the CRT screen.
Parameter number
a.'a
lrxFirill.
!
I
I
I
I
e
-298-
The
\NRIRH-E
mTA
fn.
fo.
rw
1@
_l@
T61
6
LW
L@. -W
LLA
143
6
ItI
IU
t?sffl.L LIz
166tL3f,
16
a
L14
fn6115A
rcI,.H- PGITIO.I (RELFTIl,E)
x
s.w
Y
z s.w
hE- L@
CRT by
|WEb
mTA
A
$EM
L$Pffi
1
mffi
6.WE
lrDl
When
(c)
k.y.
lLl
System Parameter
motor charact.eristlcs,
are fulIy displayed when
Since contents of paraparameter table prepared
-297 -
15.4 Caution
1) Work coordlnate system revlsed by follow up becomes effective {rom the next
automatlc operation.
2) Inch/uretrl.c converslon functLon can not be used with this function.
.:
;'Jd;*t4t*ciuz
, / .,.
, ".r*;ii!'i"'
-331-
'
16.
OO-MB
The CRT/IDI panel of 00-I{B consists of a CRT display (14" color) and keyboard.
Reset key
Shitt key
Start/
output
key
Program
edit key
Input
key
Function key
Fig.
16
-332-
*63ii'#
^:'!6*^
16.1 Display
Press "CNCtr key on the CRT/MDI panel to display the CNC screen when the MMC
screen is displayed on the CRT display of the CRT/I{DI panel. The bnC screen
consists of a variable section and a fixed section. The variable section is the
part that is surrounded by the fraue at t.he bottom right, and its display
contents are the same as displayed on the 9" CRT display of O-MB. Therefore'
the screen selecEed by function k"y, page k"y, cursor k"y, and soft key is
displayed.
The fixed section is the rest of the above variable section, and its display
contents are position data, operation time (optional)' modal data,. and S, T
command value, as shown on the screen in the Fig. 16.1. Display -iterns of this
section cannot be changed by the screen selecEion operation.
However, its display contents are always renewed.
N.E F(EI'IOI 6EOIJIE)
c!'|rn e
.@60 0a@a9 ffi
Er' rl' zn ,i
a . oo@
@,a@a N@aag cl.'E'fc o'i"'6
z
I
omt
64@F
61?
649
BP
840
EIH
64n
I
F
*?
N}.
_@1
@
@
a4
E
G
g,
@
@
ale
DfiN
!@tE
@11
EW
011181t1
t11t0111
XT
ott
@12
613
a14
A!5
81118111 @15
at1!R111 017
4$
@Ll
ef,t9
u@!4
&D
!t@1ss
hTA
@
q&nt
rogfim0
m
@
@&D
0111111t
@@
@94
@
61
l-|r-rrqnntrlrl[ti-ll--l
Fis. 16.1
16.2 Operation
Key operation can only be done when the CNC screen is displayed on the CRT
display of the CRT/MDI panel. Address keys and numerical keys are independently
arranged on 00-MB. However, inputting data is exactly the same as that of 0-l'IB.
The page key t *, cursor key t *, and selection key <- + on the software
Press the
operatort s panel are of combined use wich the function k.y.
page
key,
and
key
on the
key
for
use
key,
cursor
selection
as a
corresponding
software operatorrs panel. Press the corresponding key while pressing the
ttFUNC" key as the function key.
Five keys on the righc half ten keys are effective for the varl-able section, and
Ehe other five keys on the left half are effective for selecting position
display data in the fixed section.
-333-
.t
-i
:t
a
:l
.l
tt
,,.,,,
, -:i!#
.::.1
IV
MAINTENANCE
i-
1.
a fuse blows ln a part of the CNC unit, find and correct the cause of
failure and replace the fuse. Fuses used in the CNC unit are as follows:
When
1.1
Specif ication
Fuses used
in
of
Fuses
CNC
of unlt
Nrtne
Power supply
the
1.1
Parts svmbol
F11, Fl2
Capacity
5A
-0194 #5.0
Fr3
3.2
A60L-0001
-a046
F14
5A
113.2
Use
A60L-0001
-0046 #5.0
Additional
I/O 81
Input unit
F5l
Fl,
F2
1.6
l0A
A60L-000r
Protection from an
external defect of
machlne side 24V DC
line
A60r-0001 -0901
-0046 llr.6
PCB
#P41C0H
F3
0.3 A
A60L-000i -0r72
/iDMo3
1.2
1.2.1
3.2 A fuse
(Fl3)
5A fuse (Fl4)
5 Afuse
(Fll,Fl2)
-337-
supply
Fot' power
ON/OFF
control clrcuit
81
DI/DO connectors
*:n ll+ll
:\J
l-l
>n
-'t'
without
servo
-l
F--l .-
=b
:L
rpz
0.3A
Fuse
(F3)
10A Fuse
(Fl, F2)
;
G
.;
-338-
-_
*
f
2.
TROUBLESHOOTING
2.1
1)
General
Check
2.2
Checking Input Voltage, Peripheral Conditions, Operation, Programming, Drives, Machine and
Interface Control
.
l)
-339-
Is
':
r-
it
'z
-340-
9)
Check
Is
Is
Is
Is
Is
was opened.
range?
5)
Check
all
cables:
2.4
l-t seems that the CNC is executing nothing during cycle operatlng status,
the current status of the CNC is displayed on CRT screen at the diagnostic
number 700, 701 or 712 by pushing the DGNOS burton.
When
-341-
F'
Diagnostic llo.
0
CSCT
CITL
COVZ
CINP
CDWL
CMTI\
CFIN
Diagnostl-c
0
No.
CRST
CRST: One of the followlng: The reset button on the MDI panel, energency stop,
or remote reset is on.
Diagnostic
No.
,,
STP
REST
RSTB
EMS
EMS :
:
CSU :
RSTB
2.5
ing
(a)
. (b)
(c)
(d)
(e)
RESET:
CSU
Diagnostic
805)
No.
SVERRX
(X axis)
SVERRY
(Y axis)
SVERRZ
(Z axis)
-342-
No.
SVERR4
(4th axis)
SVERR5
(5th axis)
SVERR6
(6th axis)
i;
No. 820
'
8251
No.
ABSMTX
(X axis)
ABSMTY
(Y axis)
ABSMTZ
(Z axis)
ABSMT4
(4th axis)
ABSMT5
(5th axis)
ABSMI6
(6th axis)
The machine position from the reference point can be displayed on the CRT screen
as fol1ows.
i'
PtlSITI0.t
(RET.CTII)
x
19.868
Y -?.*t
z -27.?L6
(FM{IF)
x
5.141
Y -48. LZ?
z
L. r73
@24 tWffi
mTLH_
t.
CABSA-UTE)
X
Y
Z
18.86A
-7.W
-27.7L6
(DISTFTG TO E])
X
Y
Z
O.qBB
A-zBB
A.@B
T;_ll;-l|;_]T**ll-___l
The values displayed under "MACHINE'| are these value.
-343-
APPENDIXES
APPENDIX
,naracter
I
S0 code
t'
o o
o o
o o
o
o
3 2
Character
EIA code
8
'l
0
o
o
o o
o o
o
o o
o o
o o
o o
at
3
4
o o 3
o
4
o
o 5
o
6
o o o 7
o
o
o o
o o
o
o
o
b
o o
d
o E
o
f
o c
h
o lo
J
o o k
o o
o o
o o
o
o
o o
o
o
o
o
o
K
o
o o
o
o
T.
!1
o o
o o
o o
o
o
o
o
o
o
o
o
o
o
o o
o o
ti
A
I
DEL
o o
o o o
o o
o
o o o
o
o
o
o
o o
o
o
o
o o
or
NL
o o
o o o
o
o
o o
o
o o o
]P
CR
o
SP
o ER
o
o
o
or
EOB
o
o
(2-4-7
-347-
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
P
Q
R
S
T
U
V
l.rl
X
Y
Z
Delete (cancel an
error punch).
x Not punched. Can not
be used in significant
section in EIA code.
* Back space
* Tabulator
End of block
Carriage return
:t Space
o
o o
o
Jr
(2-4-s)
o o o
BS
o o
o
o
o
o o
o o o
o
o o
o Tab
o
o
o o o
o
z
o o o De1
o
o
Nuneral
cant information
section in ISO code.
Assumed as program No.
tn EIA code.
o
o
Blank
BS
o
o
o o
o c
x
o t
o o
o
o
o o o o
o
o
o
o
o
o
NUL
-F
Numeral
Numeral 6
Numeral 7
Numeral 8
Numeral 9
Address A
Address B
Address C
Address D
Address E
Address F
Address G
Address H
Address I
Address J
Address K
Address L
Address M
Address N
Not used at signifi-
o
o c
o o o
Nuneral 2
Numeral 3
c
o
o o
p
o
o o
Nurneral 0
Numeral I
o
o
o
o o
o o o
o o o
o
1
o
m
o o
n
o
o o
o
o
o
Meaning
I
I
o
o o
3
0
o o
IS0 code
Uharacter
.-
6 5
o
o
o
o o o
o
o
o
Characte
o o 1-
EIA code
8 7 6 5
o o o
3 z
Meani-ng
o
o
o o o
o o
Colon
o o
o o
Positive sien
Neqative sign
Optional block skip
Period (A decinal
poinE )
&
o o
o o o
o
o
o
o o o
o
o
o
o o
o o o
o
o o
o o
* Ampersand
* Apos t rophe
* As teri sk
>t
1t
o
o o
o
o
Comma
* Semicolon
* Left angle bracket
* Equal
Rj-eht ansle bracket
Js
Ouestion mark
o
o o
Commercial
Ouotat ion
Left brace
o o
o o o
.?
, Dollar sien
&
o o
o
o
(Note
* Sharp
o o
It
at
mark
Risht brace
t
t
r
-348-
APPENDIX
The symbols
IP_:X
A ...
Illustrations
Positioning
Tape format
GOO ]P
(c00)
Start point
Linear interpolation
GOI]P
(c0r )
Start point
Circular inter
polation
(c02, c03)
c17
GI8
Gl8
Dwel1 (c04)
{:33}'
f G02't
lco:l
'
{:33
{X
Exact stop
G04;
of offset value by
GIOP
Change
,- [=-_i'
(c04)
' - {l - , _ }' _t
program (ClO)
-349-
- i'
-;
_t
-,{} - * _ i' -,
;#
Functlons
Cutter
sation
(c3e
compenB
o4t
/-\/
$lorz
/'l'v
c42)
Cutter compensation C
(c40
c42)
Itl
Tape format
rcrTl f c40'l
1c18flc41l
lcl9J \c42)
H: Tool offset
Yo40
Tool length
offset A
(c43, G44, c49)
c43l 7 vl
--"-'
[c44J
Jc43 \
lc44 J
"
H: Tool-'offset
Cancel
G49;
Tool length
offset B
(c03, c44, c49)
{:ii}t:n}ii
No.
':,
{:[]t:n]
H: Tool offset
G49z Cancel
Inch/metric
conversion
(G20, G21)
Reference poin
return check
(G27 )
-t-/"
Start point
Reference point
G28 IP _;
G30 IF _;
rerurn (G28)
2nd reference
point return
(c30)
G29 rP
Return from
reference point
(c2e)
lntermediate Doint
Skip function
(c31)
i:Tl'-s*
-350-
_;
functions
Custom acro
(c55, c66, c67)
Illustrations
General format
R/i k;
m : Specifles macro
c6sHnP#IQ/ij
functlons with
01 ro 99
/11: Variable number
Tape fornat
c6s HnP/llQ/ljRi/k;
Modal call
G66 P
G67:
...
-;
Cancel
c80
c73
c74
c76
c81
...
Cancel
of operatlon
result
(Meantng)
lfi=llt @ #t
+
Operatlon
IIm
Canned cycles
c80
c89)
xYz
P_-a_R_F_K_;
c89
Absolute/incre-
G90
mentaL program-
G91
G90 _
ming (c90/c9l)
Change
of
coordinate
work
G92 IP'
G91
-; -;
(ce2)
Initial point
return/R point
return
(c98, c99)
I point
c98
c99
point
-t
Z point
-351-
_;
Ab'solute
rncremental
Combined use
#i.
APPENDIX
(a)
Linear axis {in case of metric thread for feed screw and metric
input)
Increment system
lou
Standard
o. 1u
Least input
0.01
0.001
0.000r
Least
0.01
0. 001
0. 000 I
+999999.99
+99999.999
+9999.9999
240,000
24,000 rnm/nin
increment
command
inerement
Max. programnable
di,mension
Max. rapid
traverse
*l
Feedrate range
*l
Step feed
I -
urm/min
150,000
mn/urin
100,000 nrn/nln
0.01 , 0. 1, 1,
l0rnm/ step
Tool compensation
0 - +999.99
Backlash
compensation
0 - !2.55 m
Dwe1l time
rnm
99999.999
sec
0 0001
mur/step
0l,
+999.999
*0. 255
- 10.255
nrn
99999.999
sec
-352-
12 , 000
nrn/urir
0.001
0.1
rnm/ step
999.9999
rnrn
urn
9999.9999
sec
Table 1
(b)
Linear axis (in case of metric thread for feed screw and inch input)
Increment svstem
lou
Least input
i-ncrement
Least
cornmand
increment
Max. programmable
dimension
Max. rapid
traverse
*1
Feedrate range
*1
Step feed
t{.
Standard
o. 1u
0.001 inch
0.0001 inch
0.00001 inch
0.01
0.001
0.0001
+99999.999 inches
+9999.9999 inches
-F393.70078 inch
240
'
000 n'n/min
0.01
100
6,000
inch/rnin
,000
rnm/min
0.01 - 4,000
inch/nin
0.001, 0.01, 0.
1 inch/step
0.000r,0.001,
0.01, 0. I lnch/srep
24'000
01
mm/min
480
inch/min
0 00001,0.0001
0 001
0 .01
inch/ step
Tool compensation
Backlash
compensation
Dwell tirne
0 - t99'.999 inches
0
+99.9999 inches
!2.ss
+0.255
99999.999
sec
99999.999
sec
l:
p
F'
|:i
-3s3-
199 .99999
+0.255
inch
mn
9999.9999
sec
:FG
Table 1
(c)
Linear axis (in case of inch thread for feed screw and inch input)
Increment svstem
Standard
Least input
0.00I inch
0.0001 inch
0.00001 inch
0.001 inch
0.000I inch
0.00001 inch
+99999.999 inches
+9999.9999 inches
+9999.9999 inch
9,600 inch/rnin
4,000 inch/rnin
960 inch/urin
0.01 - 6,000
inch/rnin
0.01 - 4,000
inch/rnin
0.01 - 480
inch/min
0.001,0.01,0.i,
I inch/step
0.0001, 0.00I,
0.0I, 0.1 inch/step
0.00001,0.0001,
increment
Least
command
increment
Max. programmable
dimension
Max. rapid
traverse
*l
Feedrate range
*1
Step feed
Tool compensation
Backlash
- 40.255 inch
+99.999 inches
0.00r,
0.01
inch/ steP
0 - +0.0255 inch
0-
0-
comPensation
Dwell time
o-
99999.999
sec
-3s4-
99999.999
caa
9999.9999
sec
Table 1
(d)
Linear axis (in case of inch thread for feed screw and metric input)
Increment system
I0u
Least input
increment
Least
command
increment
Max. programmsflg
Standard
0.0r
0.00r
0.000 l
0.001 inch
0.0001 inch
0.00001 inch
+999999.999
+99999.999
19999.9999
9,600 inch/urin
4,000 inch/urin
960 inch/min
di-mension
Max. rapid
traverse
*l
Feedrate range
*1
Step feed
o. 1u
I50,000
rrn/min
01, 0.1, 1,
10
mrn/ s t ep
100,000
rnm/uin
001, 0.01, 0. t,
rnrn/ s
tep
0
0
12,000
mm/min
0001,0.001,
01, 0.I
nm/
Tool compensation
+999.99
+999.999
uur
tep
999.9999
mm
Backlash
comPensation
*0.255 inch
+0.0255 inch
Dwell tine
99999.999
see
99999.999
sec
-355-
- +0.0255 inch
9999.9999
sec
-!G
qF
Table 1
(e)
Rotation axis
Increment svstem
Standard
0.0001
0.001
deg
0.0001
deg
Least
0.001
deg
0.0001
deg
command
increment
+99999.999 deg
+9999.9999 deg
deg
*l
100,000 deg/min
24,000 deg/rnin
Feedrate range
*l
1 - 100,000 deg/rnin
L - L2,000 deg/min
Step feed
deg/min
Backlash compensation
0 - +0.255
deg
deg/ scep
+0.255
deg
*l The feed rate range shown above are limitations depending on CNC
interpolation capacity. When ragarded as a whole system, limitations
depending on servo system must also be considered.
t
i:
;
t
Z
it
t
-356.t
APPENDIX
1.
MONOGRAPHS
The leads of a thread are generally incorrect tn 61 and 62, as sholrn ln Fig, l,
due to automatic acceleratlon and deceleration.
Thus distance allowances must be made to the extent of d1 and 62 in the program.
Fig.
a=T AL
when the value of rrarr is determlned, the time 1apse, t, until the thread
accuracy is attained can be calculated by formula (3) r The tine "t" is substituted in (2) to determlne 61. Constants V and T1 are determined in the
same eray as for 62.
Since the calculation of 61 is rather complex, a nomography is provided on
the following pages. Instructions on how to read the appropri.ate 6l value on
the nomography is shown below.
-357-
F.
{G
a
,tr (V = lgpp/sec
y: !Q6p/sec
y: dQ66/sec)
<lr
First specify the cl4ss and the lead of a thread. The thread accuracy' a,
will be obtained at C, and depending on the time constant of cuEting feed
acceleration/dece1.r"iion, the 61 value when V = 10 urn/sec will be obtained
at @. Then, depending^on the speed of thread cutting the approach distance
O, witt be obtained ar @ for other speeds than 10 mm/sec.
(Note) The equation of 6-1, 62 is for when the acceleration/deceleratlon ti-me
constant for cutting feed ls 0.
Simple Calculation oll Incorrect Thread Length
ffi
l) o, =
2)
o,
=#'.
to.)
(-1-1na) =
6z
. (-1-lna)
;
d
- 1- lna
0.005
4.298
0.01
3.. 60s
0.015
3.200
0 .02
2.9t2
T
(Exanple)
R = 350 rpn
L=1trmt
a = 0.01
350xI
^ =ffi
Oz=
= 0.194
6l= 62 x 3.605 =
-358-
nm
0.701
J
tl
,.1
.l
6
a
FI
-.t
6
trc
{{
eo
dtr
;6
76
Y>
oo
tr>
&d
'F9
N-
@
N
^O
Aa
(o
o
(,
N
@
.ri
.!
.3
!,
C'
o
o
-o
d
,ui Gt
.9s E
o
{3
6zl
2 EeeE 3
I
t-
1c;
;
3
:^
.!9s
R
g
4..^
6
.,o-
_q6
I
I
I
q)
l-
-;3
ld
Ei
Ea
I
I
>J:
'r
il'
I
I
3?
oq
I^
l.E
Ec
Ei:
E
E
oh
3
ll
>J:r!
lo
l'
I
N
ll
-359i
o,
.E
o
(!
gt
o
E
=a
>{r
to
.E
i""Ei'
rEc{6 6:
Jhh9d
Ec
3?
d>
Ei;
R\
>::
Ea .9^
E
2.
I) Descriptfon
Inhen
Yz
Programmed Path
Tool Path
",f'
Fig. 2
(a)
2) Analysis
The tool path
t ions
shor^m
in Fig. 2
*
t
,{
i:
t
*
.
*
{
i
,1
t
t
{
!
tt
-360-
b) The
(The
Fig.2
(b)
Gommand
(Conditions exPressions)
Vxl=V'cos,/1
Vyl=V'sin91
Vx2=V'cos92
Yyz= V. sin q2
n-(4r-{2)=o
(Description of synbol)
V : Feedrate at the block before and after cornerlng
Vx1: X-axis comPonent of feedrate of preeeding block
, Vyr: Y-axis conPonent of feedrate of preeeding block
Yx2: X-axis comPonent of feedrate of following block
Vyit Y-axis comPonent of feedrate of followlng block
. 0 : Cornerangle
block and X-axis
tt:. : Angle forned by comrnanded path dlrection of preceding
block and X-axis
following
of
path
direction
,!; : Angle forned by connanded
-36r-
Fig. 2
(c)
Initial value
(I)
Vx1 (Tl + T2)
:
Q)
Y; vyi(r1 + 12)
time eonstant. (=0)
fi, Exponential acceleration/deceleration(Inverse
of position loop gain)
system
positioning
Tz2 Tj-me constant of
Xs =
d,}
t'l - rt' exp,t
Vxr.
,
-Vx2L1-fr{r1
'exP(-r,i) - 12 ' exp (- i))
T1+T2
t.
ttr. ""p (- d)l-tr.exp,-t'rr]+vyz
vy(t) =ffi
vx(t) =
(Vx2
- vxr) t r - #h;
{rr'
exP CE
+ vx1
(3)
(4)
Therefore, the coordinates of the tool path at time t are calculated from the
following equations:
Tt -
Tz
l'
Y(y) = ,ilU-Vv(t)dt
VY^ - VYr
{r?
'z
exp
t', - ta'
,- ,tJ - r?
exp
(-
+ ] - vx2 (r1
'exp (- + )
-362-
- vyz (rt
3.
a servo motor is used, the positionlng system causes an error betyeen lnput
commands and outPut results. Since the tool advances along the cornnanded
segment' an error ls not produced ln linear lnterpolation, but when especially
high speed cutting is performed in circular interpolation, an error is produced
in the radius dlrectlon. This error can be sumnarized as follows:
When
^r=+
since the machining radlus r (m) and allowable error Ar (rm) of the workpiece
ls given in actual machining, the allowable lirnit feedrate y (m/sec) ls determined by equation (1).
Since the acceleratlon/deceleration time constant at cutting which ls set by
this equipment varies with the machine tool, refer to the machine tool builder's
i.nstruction manual.
-363-
'q
APPENDIX
TAPE JOINING
If a loop of
,
_-lr
3 pitches
Direction of feed
c) l'lake sure the punched holes of the overlapped cape sections at the joi-nt are
correctly aligned. IIse special care with the feed holes.
fi-t.ll
\Jl-.,
F
Correct
Incorect
them.
Trim
e) Ilake sure punched holes are not clogged up with the paste.
-364-
APPENDIX
Parameter (No. 045,. CLER) sets whether clear condition by reset or reset
condition.
I tem
Other
data
turning
power
When reset
clear
When
Parameter
Programs in
Contents in the
buffer storage
mode
mode
Display of
o: MDI
x: Other
o
(Note
1)
o (Note
1)
sequence number
One
shot G code
Repetition
codes.
(G20 and G21
are
noE
changed. )
Zero
Inirial
Initial G codes.
(For G20 and G21
the one eftectivi
before cutting
off the power is
effective.)
I"lodal G code
S, T,
Zeto
Zero
count
specification
(K)
Action
oper-
ation
Movement
Dwe11
Issuance of
and T codes
M,S
Tool length
compensat
o: MDI mode
ion
Other
modes
i
I
-365-
Depending on
Parameter
ttRS43tt
When
on
Item
Cutter
Action
in
turning
power
When
o: MDI mode
x: Other mode
o: MDI mode
x: Other mode
compensation
oper-
Storing called
ation
clear
When reset
x (Note
2)
(Note)
output
Extinguishes if
there is no cause
for the alarm
ALM
signalsl
for
indicaEron
of
Extinguishes if
there is no cause
Extingui shes
if there is no
cause for the
d!4lur
NOT READY
(Lights in
LEDs
Extinguishes
BUF
REFERENCE POINT
emergency stoP)
o: MDI
Extinguishes
mode
mode
x: Other
(x:
RETURN COMPLE-
TION LED
(Llghts in
emergency stop)
Emergency
stop)
(x:
EmergencY
stop)
S, T and B codes
I'1 code
M,SandT
strobe signals
ON
CNC
ready signal
(MA)
Servo ready
signal
CYCLE
LED
.START
0N (When other
than servo alarm)
0N (When other
than servo alarm)
ON (When other
than servo
alarm)
x
-365-
ir
's.
APPENDIX
1.
7.
t:
PARAMETER LIST
PARAMETER DISPLAY
No;
too.
Set parameters to 0 without fail,
CNC
,l
'I
.{
-:1
e'.
1
I
I
,l
;l
.l
il
Parameter No.
Bit
RDRN
Remarks
No.
1:
0:
DECI
1:
oRc
IOF
TOC
RS43
DCS
ir
E.
F
i
i'
it
I
\
t
't'
F'
-367-
Parameter No.
PROD
1:
0:
1:
scI\I
Remarks
0:
power.
NFED
TJHD
NFED
TJHD
IiSLE
ASR33
PPD
STP2
Pi'OfY2
Ploryt
ASR33
PPD
STP2
)
Bir
No.
NFED
1:
0:
TJHD
t:
O:
When
HSLE
0:
(Note)
PI'O(Y2, I
PlorYl
Shift direction
+x
-X
'1-
-Y
-368-
Ine Daucl
rate is
set with
parame ter
No. 0552.
,
*J
.i
I
tt
T
{
Parameter No.
I:
ARS33
I:
Bir
PSG2,
PSG2
PSGl
HSLE
TLCP
OVRI.
zt{,4
zM3
ZI,4Z
ztfi.
OVRI
zyw
zlu
ZI,[Y
ztff.
No.
Gear
0:
2l
PSGI
xl
x2
x4
x8
Magnification
l:
GST
s43
Magnification
I{SLE
M series)
1:
0:
Remarks
0:
STP2
Lower
0:
PPD
: T series,
Parameter (Upper
r=
When
-369-
Parameter No.
TLCP I:
0:
t:
GST
0:
OVRI
21"ff, z\N
zl4z,
zl44
(0M)
The reference point return direction and the backlash initial direction at power on for X, Y, Z and
4th axis in order.
l: Mlnus
0: Plus
zux,
zttz
ztq3,
zl{,4
(0r)
The reference poi-nt return direction and the backlash initial direction at power on for X, Z, 3rd and
and 4th axis i-n order.
l: Minus
0: Plus
-370-
Remarks
Parameter (Upper
Pararneter No.
: T series, Lower :
M series)
Contact status
Machine side
kov
Parameter OVRI=0
Over-
ride
10
20
30
40
50
o
o
60
o
tr
J
tti
.o
1)
(Noce 2)
(Note
o
o
o
3)
Over-
ride
nm/
inchl
1507"
min
2.0
3.2
5.0
min
0. 0t
0.1
140
130
70
t2.6
20
30
50
continue
feedrate
Me tric
Inch
0.2
0.3
0.5
0.8
L20
L.2
L2 6 0
50
nm/
min
790
inch/
min
500
30
20
320
L2
tl0
200
8.0
100
90
80
LZA
).u
79
3.0
50
JA
70
32
20
1')
120
320
o
o
o
130
500
20
30
20
12.6
7.9
5.0
3.2
140
790
30
t0
2.0
0.8
0.5
0.3
0.2
0.1
0. 0i
150
r260
50
continue
feedrate
Metric Inch
z.o
3.0
5.0
8.0
t2
o
o
o
(Note
70
I'tanual
svstem svs t en
07"
o
o
Parameter OVRI=l
Manual
on
80
90
79
I00.
r26
110
200
60
50
40
switch.
(Note 4) In the above table, the speed error is +32.
371
Remarks
Parameter No.
Bir
Bir
Bit
Bir
DMRX
GRDX
DMRX
GRDX
DMRZ
GRDZ
D},IRY
GRDY
Dl,lR3
GRD3
D},IRZ
GRDZ
D},IR4
GRD4
.+
No.
No.
No.
No.
-372-
Remarks
DMRX
to
DMR4
Setting
Detective rnultiplier
code
Digital servo
Analogue servo
654
0
0
0
0
0
0
r/2
t
I
I
I
3/2
s/2
GRDX
3
2
0
0
0
0
0
0
0
0
0
0
0
0
I
I
5
7
/2
4
code
Analogue servo
3210
I
I
I
I
3/2
r/2
0
0
0
0
I
I
0
0
0
0
0
0
0
0
I
I
I
1
I
I
detector for
Digital servo
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
I 1000
I 2000
I 3000
14000
15000
I 6000
2000
3000
4000
5000
6000
8000
10000
I
I
-373-
for Digital
servo
10000
20000
30000
40000
50000
60000
7 0000
80000
90000
r00000
r 10000
I 20000
I 30000
140000
r 50000
t 60000
Relationship
Metric
T)
system
l,loving distance
Axis
Counting
(de tec tion)
unit
Detect multiply
Command
ratio
nult iply
ratio
(cm1
(um)
X
Capacity of
(DMR)
Pulse
Pulse
Pulse
2000
2500
3000
ference
counter
re
/0.5
6000
6000
mm
,t
I
r/0.5
10
10000
10000
8mm
I
r
/o.s
8000
8000
zl'+
6000
6000
1i0.s
2/4
5000/ 10000
tI
5000
1/0.s
2/4
4000/8000
'|
4000
nrm
4mm
,
X
/0.s
I
1/0.s I
L.5 /3
r/2
3000 / 6000
1.5
3000
r/2
1
2000
2000 / 4000
ntm
0.5
2/r
2000
0.5
2000
lmm
Note 1)
Note
*I
374
'&
1/0.
6mm
3mm
*g
6
mn
.I
t*,
Relationship among DMR, CMR, and GRD. (In case of series T)
Inch svstem
ltoving distance
per I revolu-
tion of motor
Count
Axis
(Pulse coder)
tion)
unit
(
10-4)
Command
urultiply
ratio
(CMR)
Pulse
2000
2500
3000
2l+
6000
6000
/o.s
L/0.s
2/4
r/0.s
L.s /3
I
I
2/a
s000/ r0000
5000
4000/8000
4000
r/2
I
t\
3000/6000
3000
/O.s
r/2
5000
0.5
n
L
5000
r/0.s
r/2
0.5
I.5
3000
0.5
1.5
3000
0.5
2000
0.5
2000
0.25 lnch
0.2 inch
0.15 inch
L)
Pu I SE
0.4 inch
Note
Pulse
Capacity of
reference
counfer
l\
Note r)
rario (DlR)
1/0. s
0.5 inch
0. I inch
Detect rnultiply
0.6 inch
0.3 inch
ing
(de tec
2000/4000
2000
375 '-
Metric
M)
system
oving distance
er I revoluion of motor
Pulse coder)
12
mm
l0
mm
Counting
(detection)
unit
(um)
Detect nultiply
ratio (DMR)
Command
mult iply
rat io
Pulse
Pulse
(CMR)
2000
2500
Capaclty
Pulse
3000
1,1
re f eretr1,1,
counter
6000
8mm
6mm
5mm
rI
4m-
3mm
I
I
t.5
2mm
2000
lmm
0.5
.'
2000
r0000
8000
6000
5000
4000
3000
Note l) Data in the above table is standard. Command and detect multiply
ratio can be changed, but in that case there is linit for maximuur
feedrate.
Inch system
Moving dj-stance
Counting
(detection)
unit
0.6 inch
0. 5 inch
1o-+r;
0.4 inch
roult iply
ratio
Pulse
Pulse
Pu 1
(cl,IR)
2000
2500
3000
0.5
0. 15 inch
0.5
0. I inch
0.5
0.2 inch
ratio (DlR)
3
Capacitv of
reference
counfer
6000
5000
0. 3 inch
0.25 inch
Detect rnultiply
Command
4000
2
1
3000
5000
2000
I
1
3000
2000
Note 1) Data in the above table is standard. Comrand and detect mult ip lyratio can be changed, but in that case there is lirnit for maximun
feedrate.
376
:'ij
-.
r:.-
.'.
Parameter No.
E
l
r
EILK
I
F
I
BiE
NOFC
ROVE
I4FPR
OTZN
ROVE
ADW2
8
ADWI
ADWO
No.
l: Interlock is
EILK
(FANUC PMC-MODEL
NOFC
OTZN
ROVE
is
R0V2
is effective.
}MPR
ADW2,
ROV2
ADI4I1
Name
ADWO
ADW2
ADWI
ADWO
Name
I
t
t
I
t\
-377 -
noE
Remarks
Parameter No.
Bit
TMF
TFIN
TMF
TFIN
l0
43,2
No.
TMF
TFIN
T code
TF
FIN
LI
TFIN
setting
msec
32 msec
,0
48 msec
64 msec
80 msec
96 msec
12 msec
I
I
128 msec
144 msec
160 msec
II
I 76 msec
192 msec
l6
msec
-378-
Remarks
Parameter No.
224 msec
rnsec
240 msec
256 rnsec
WSFT
DOFSI
PRG9
OFTVY EBCL
ISOT
PRG9
OFFVY EBCL
ISOT
0
APRS
Bir
setting
208 msec
APRS
Parameter
TFIN
TMF
No.
l:
setting is conducted
return is performed.
setting is not
APRS
WSFT
DOFSI
PRG9
(l) Deletion of
program
When
(2)
Punch of program
These subprograms
number
(3)
(4)
i
I
t-I
-379-
Remarks
Parameter No.
0:
OFFVY
1:
PRDY
n.
1:
EBCL
0:
l.
ISOT
0:
MCINP
MCINP
Bit
SBKM
G0l
MCF
SBIO,I
ADNW
PMLI
ADLN
PML2
PMLl
2L0
543
No.
MCINP
PML2
1:
Program input
is started with
0:
Program input
MINP.
MINP.
-380-
Remarks
Parameter No.
c0t
SBKM
1: Machine
Remarks
command.
MCF
ADNW
(1)
JOG
same AS
(1)
rate
rates of basic axes and rotary axis can
be set by different parameter (No. 565, 566).
When an additional axis is moved with another axis
in simultaneously 2 or more axes control, feed rate
is the same as that of another axes.
JOG feed
JOG feed
-38r-
Parameter No.
Remarks
ADLN
When
cannot be performed.
PML2, t
PML2
X1
x2
I
(Cornmon
Bir
NFED
Fo
x4
X8
to all axes)
No.
1:
0:
G84S
Magnification
PMLl
-382-
Baudrate
is set
by
parameter
No. 0553.
Parameter (Upper
Parameter No.
I:
l:
l:
o:
1:
ZTLK
0:
0:
TCW,
TCW
CI.IM
ORCW
INHMN GOFC
TCW
CWM
ORCW
INHMN
No.008i
GOFU2
JHD
J}lD
No.
CWM
cI.]M
I
1:
0:
Output code
TCI,J
M04.
Minus output
for
M04.
M04.
-383-
w
parameter
0Rct^l
GMOFS
Remarks
Relative
1:
Bit
M series)
ASR33
0:
Lower
0:
FXCS
: T series,
EILK..
is
.::,*
Parameter No.
INHMN
Remarks
l:
0:
option is provided.
The tool geometry offset is also cancelled with
the designation of offset No. 0.
0: The tool geometry offset is not cancelled with the
designation of offset No. 0.
l:
GOFC
GMOFS
1:
0:
l:
GOFU2
0:
1:
0:
JHD
T2T4
0
i$i
':t1
vI
I\JA
OFSB
STDP
SMCL
T2D
Bit
No.
T2T4
I:
0:
3210
the T code is designated with a 2-digit value,
it is regarded that the two high order digits are
equal to the two low order digits and the T code is
set to the 4-digit value.
When the T code is designated with a 2-digit value,
the two high order digits are regarded as 00, and
the T code is set to the 4-digit value.
I,ltren
WIGA
OFSB
1:
Parameter
No. 014:
ir is
e
ffec t ive
only
when
T2D=0
o:
-384,i
Parameter No.
t:
STDP
displayed.
0:
always displayed.
1:
GMCL
0:
Does
T2D
0:
Bit
CPRD
REP
PRWD
MORB
CPRD
REP
PRWD
Lvt2
NWCH
SKPF
No.
l.
0:
REP
CPRD
CBLNK
1:
RILK
CBLNK
memory
n.
PRWD I:
0:
MORB
'I .
Lr42
button.
n.
The
t:
0:
RECORD
switching signal
2 switching signal
-38s-
Remarks
Parameter (Upper
Parameter No.
: T serles, Lower :
Remarks
1:
0:
RILK
NWCH
't.
0:
CBLNK
blink.
I'{DEC
M series)
NPRD
NPRD
Bir No.
MDEC
NPRD
SUPM
RSTMB
RSTMA
SUPM
(not available)
V.
RSTMA
*
*
by
-385-
Parameter No.
Bit
Parameter (Upper
: T series, Lo\rer :
M series)
OPGT
OPG6
OPG5
OPG4
OPG3
OPG2
OPGI
OPGT
OPG6
OPG5
OPG4
OPG3
OPG2
OPGI
No.
OPGT I:
0:
operaEorts panel.
OPG5
1:
0:
OPG4
1:
0:
OPG3
1:
0:
software
operatorts panel
Protect key is not actuated with the software
operatort s panel.
Optional block skip, single block, machine 1ock
and dry run switches are actuated with the software
operatorrs panel.
The above switches are not actuated with the sofcrdare operatorf s pane1.
Jog feed rate, override, and rapid traverse
override switches are actuated with the software
operatorts panel.
The above switches are not actuated with the
software operatorts panel
.
OPG2 I: Jog feed axis select and jog rapid traverse buttons
are actuated with the software operatorrs panel.
'
0: The above buttons are not actuated with
software operatorts panel.
OPGl
l:
n.
the
-387-
Remarks
:{!l'eFfF
Parameter No.
EDITB
TVC
EDITB
TVC
Remarks
Bit No.
SQTYP
EDITB l:
TVC
SQTYP
N)O{P2,
NYI'IP2,
NZMP2,
NZMP4
(Note) The magnification of an axis whose rnagnification xl00 is ineffective becomes xl or x10
by signal MPI.
MPI=1:x10
I
MPl=0:x
Bit
1:
n.
l:
0:
MO2NR
NEOP l'102NR
DBCD
XRC
DC4
DC3
I:
O:
C4NG
}lHPGB
No,
DBCD
NEOP
DCZ
DBCD
9
-388-
M02.
1'
a
Parameter No.
Lower : M series)
l.
SRGTP
0:
0:
XRC
1:
0:
DC4
l.
0:
1:
C4NG
DC3
0:
t:
0:
MHPGB
B.
0:
NCIPS
0
SFOUT
Bir
SFOUT
to
No.
1.
0:
NCIPS
NCIPS BCD3
1:
0:
checking) .
The control proceeds to the next block after the
spcified speed has become zero and confirms that the
machine position has reached the specified position
in deceleration.
BCD3
l.
0:
(Inposition ckecking).
i
-389-
Remarks
.re:
l
ma
Parameter (Upper
Parameter No.
: T series, Lower :
APCZ
APCX
APCY
APCX
Remarks
APC4
Bit
M series)
APCZ
16
No.
APCX, 1:
Y, Z, 0:
When
When
tt
3
.t
ABSZ
ABSX
ASSY
ABSX
ABS4
ABSZ
t
f
*
a
Bit
No.
A3SX, l:
Y, Z,
0:
4
ttled
;
&
not settled.
(It is automatically set to "1" when manual
reference point return is executed. Do not change
the setting without changing the detecEor')
Set "0" without fail when primary field
installation and adjustment and when position
detector exchanging. And execute manual reference
point return after Power on/off.
DITA
DCHI
DFRN
DGRM
DJPN
DITA
DCHI
DFRN
DGRM
DJPN
Bir
5432
No.
DITA
CRT
DCHI
CRT
DFRN
CRT
DGRM
CRT
scteen is displayed in
DJPN
CRT
(ROC) -
German.
-390-
Parameter No.
EDILK
0
SCTO
UWKZ
Bit
QNr
IGNPM(
LII
IGNP}I(
1O
765
Data format: Bit
No.
EDILK
scTo
.+
0:
1:
1:
done
0:
0:
I.
When
NEGWSF 1:
UWKZ
0:
When
1:
INOUT
0:
GNSR
SCTO
0:
1:
1:
,Progranmed
0:
LIIlO
1:
0:
(Usua1)
IGNPMC
t.'..F
I
RSFT
0
)ACTF
]RCMSG PRCPOS
EXTS MMDL
)ACTF
?RCMSG
8
PSG2
Blr
EXTS MMDL
PSG
EXI
OD
No.
391
PRCPOS
Remarks
!F'
Paraneter
PSGl,
No.
Remarks
Scale factor
1:
RSFT
0:
EXlOD
1:
0:
EXTS
1:
0:
DACTF
M}!DL
PSGI
xl
x2
x4
x8
0:
1:
0:
1:
PRCMSG 1:
0:
PRCPOS
PSG2
I:
0:
On
-392-
PMC
Parameter No.
DSPSUI
ADRC
DSPSUi
Bit
G604
G6OZ
G6OY
G6OX
1:
ADRC
axis
PMC
0:
0:
DSP3
No.
DSPSUB
c60x
DSP4
sequence.
I: Minus direction
0: Plus direction
DSP3
ADW4O
ADW3O
EACl
Bit
EACO
No.
ADW30, 40
-393-
Remarks
It, | ,,fr,,
,
l,/rr,tt
uoo .
",
"l,'
Irtr
axis control
ConErolled axis
EACO
0
0
l,E
PMC
4th axis
X axis
Y axis
Z axis
CNRST
ESFC
ADDCF RTCT
ILVL
TAPM
11o.
lllr1,,
l.
n.
SDRT
SNRL
rll'r
l:
o:
Alt11,
t:
l'ltl
GR2
(DGN
123) of
address.
tl.
t;
t|:
tt\,1
t.
tl.
(DGN 118)
In the drilling
In the drilling
cycle,
updated by resetting.
updated by resetting.
no
^l,ll
t.
lt:
b=
-394-
Reuarke
Parameter (Upper
Parameter No.
Lower
l.
SDRT
: T series,
0:
M series)
IS
IS
plus.
l.
SNRL
n.
resetting.
BLIN
ROTiO
0
?NGMLK
LIN4
LIN3
a
L
?NGMLK
Bit
R0Tl0
No.
1:
0:
.BLIN
l.
n.
PNGMLK
In
In
1:
n.
PMC axis
PMC axis
LrN3,4
Linear axis
1:
0:
Rotary axis
ACMR
ACMR
Blr
ACMR
LGCM
LGCM
No.
l.
0:
Optional
Optional
1:
0:
CMR
Cl"fi.
is used.
is not used.
-395-
Remarks
Parameter No.
Parameter (UPPer
X, Y, Z and 4th
Z, \, X, whether the current positions of
axes are disPlaYed or not
l: The current Position is not disPlaYed.
0: The eurrent Position is displaYed.
NDSP4,
Bir
No.
SCR
1:
be 0.001 .
The scaling rnagnification incrernent sha1l
be 0.0001.
The scaling magnification increment shall
1:
type'
Special G code system "1"11 be C
B
type'
be
shall
system
Special G code
n.
GSPC
0:
SCLX,
SCLY,
1:
0:
SCLZ
Bir No.
PLCOI
SPTPX
to
SPTP4
be used'
1: A pulse coder of 0'1u detection is to
(Va1id for OG onlY)
to be used'
0: A pulse coder of b'1u detection is not
TypesofpositiondetectoroftheX,Y(Z)'z(ct)andthe
fturth axis in this order'
as a
1: The separate tyPe pulse coder is to be used
detector.
be used as
0: The separate type pulse coder is not to
a detector.
-396-
Remarks
Parameter No.
Remarks
In
No.
Paraueter
0504
SERRX (X)
0505
SERRY (Z)
0506
SERRZ (3)
0507
SERR4 (4)
0508
GRDSX
(x)
0509
GRDSY
(Z)
r0
GRDSZ
(3)
05
Contents
GRDS4 (4)
051i
when
RSCMDl DEVFL
0
RSCMDl
Bir
RSCMDl:
DEVFL
RSCMD2:
DEVFL2
No.
DEVFL3 DEC34
channel
l-
Sett ing
channel
RSCMD
DEVFL
I/O device
Bubble cassette,
Floppy cassetEe
-397-
used
PPR
Parameter (Upper
Parameter No.
FLKY
t:
CRT/MDI
0:
CRT /},ID
return
*DEC3/*DEC4 addresses
DEC34
DEC34
=I
:IDEC3
xI9.7
x16.
*DEC4
xI9.
xI7 .7
M6TCD
Bit
M series)
Changes
DEC34:
: T seriesl Lower :
IGIN
IGSK
GRST
TLSK
LCTM
GST2
GSTl
32
No.
1:
0:
IGIN
1:
0:
IGSK
1:
same
block T
code
as the next
same
block T
code
as backnumber.
managed
0:
GRST
1:
0:
TLSK
1:
0:
-398-
Remarks
Parameter
LCTM
No
Remarks
1:
0:
GSTI /GST2:
No. of groups
No. of tools/group
GST2
GSTl
r-
16
i-16
l-
32
l-
r-
64
r-
t -
128
1-
././.---*--.,--,^\
0
J/
Bir No.
LOCC 1:
0:
coMc t:
0:
T},TCR
LOCC
coMc
TMCR
RWCNT
NAMPR
LOCC
COMC.
TMCR
RWCNT
NAMPR
1:
0:
.- RrtefrFl (i.i
*/-/
0:
76
s4i,
2r0
'J
<> 'i
c)
//
Does not place 1oca1 variables (/tl to 33) in
<vacant> state during resetting.
Places local variables (lfl to 33) in <vacant>. state
during resetting.
.>
i'"i
to 149) ln
in
<vacant>
NAMPR I:
W:
6:
-399-
':
Parameter
No
RIN
Bir
No.
RIN
1:
Commands
0:
command.
ASTCD
ASTCD
I
EQCD
{+
EQCD
I
SHPCD
SHPCD
l
Bir No.
ASTCD/EQCD/
SHPCD:
Bit
HSIF
432
t
f-
macro B
custom
HSIF
CLER
NUASS CCINP
RAL
RDL
HSIF
CLER
NUABS
RAL
RDL
No.
I:
0:
CLER
1:
0:
76543210
14/S/T/B code processing sha11 be a high-speed interface.
l{/SlT/B code processing shal1 be a normal interface.
-400-
Remarks
Parameter No.
1:
NUABS
0:
CCINP
1:
0:
RAI
Parameter (Upper
Lower
M series)
Remarks
I: Registers only
puncher.
0:
: T series,
l.
RDL
0:
GRPOS
Bit
IGNAL SBAB
RSTSW
No.
GRPOS
1:
0:
I-S
only
0TT
IGNAL
only
0TT
SBAB
only
0TT
RSTSW
l:
only Ofi
0:
-401-
,t
Parameter No.
!13LMT
2SP
SEPH
SP2C
Remarks
TlST
Bir
No.
M3LU[
1:
only 0TT
The range of the waiting M code is.
(Parameter No. 243 value) x (100) to 999.
The rane of the waiting 1"1 code is (parameter No. 243
value) x 100 to subsequent 100 pieces.
0:
0:
I:
SEPII
0:
0:
TIST
only
only
0TT
only
0TT
1:
0:
0TT
t4,
GraphiqS;
1:
SP2C
Two
1:
2SP
l
.
*
n
Bir
No.
IFE
76
ITO
IFM
FY1
TYO
,t
,I
'$
54
.!
ri'
ti'
7
!
!,
-t
v
E
-402-
Parameter No.
TYI
00
Parameter (Upper
: T series, Lower :
M series)
-1-
TYO
TYI
0l
TYO
-d-t*'oot
not'
TYI
l0
TYO
TYI
tl
TYO
IFE
ITO
n.
l:
When
[:
0:
Even when
-403-
Remarks
Parameter No.
I:
IFM
Remarks
Bit
1:
n.
1:
Even when no
10000.
0:
EFML
1O
DILK
No.
FML1O
NPRV
RDIK
1.
0:
1.
RDIK
pMC
axis
0:
va1id.
l.
DILK
0:
Blt
NFED
RSASC]
>Lrz
NFED
RSASC]
STP2
NFED
RSASd
PARTY STP2
NFED
RSASC]
PARTY STP2
No.
-404-
Parameter
Parame t
No
NFED
0:
1:
RSASCI
0:
l:
STP2
When
interface.
puncher
puncher
PARTY
$'{
When
Stop
IIODIC3
\toDIcz
BirNo.
NODICX-NODIC6:
NODIC
1:
0:
'IODICY
NODICX
-405-
Remarks
\
L
5*e
Parameter
No
Remarks
LBLCD
0
LBLCD
I
RBLCD
RBiCD
I
Bit
No.
LBLCD /RBLCD:
3210
t
:
Bit
PRORCA
ETX
ASCII
?ROTCA
ETX
ASCII
I: ao.
0:
0:
ASCII
10
No.
1:
EXT
1:
0:
]ROTCA
5
D]C
protocol, protocol
For "ororlication
communication protocol, protocol
is
is
used.
used.
:
I
il
7
"
u(\
$t'
tt
'b
-406-
.tt
&-
*,
-_
Parameter No.
CMRX
0
CMRX
CI,IRZ
I
CMRY
cl'IR3
0
2
CI',IRZ
CMR4
cuR4
When
a corwmand.nultiply 7s I/2 to
presetvalue=*+Ioo
(Comand rnultiply)
1)
When
2)
$fben
|127z
-407-
Remarks
Refer to
parameter
No. 00040007.
Parameter No.
CMRX,
CMRZ,
for
Remarks
X,
C},IR4
Setting
code
I'lultiplier
0.5
l0
20
10.
SPLOW
d
SPLOW
SPLOW
Maxi-mum
*oaoffi
'
rprn)
THDCH
THDCH
G92.
ts
-408E
t'
.?
Parameter (Upper
Parameter No.
: T series, Lower :
M series)
SCTTIM
SCTTIM
SCTTIM
Spindle speed
reach signal.
distribution
a
}{BUFl
0
}{BUFl
}{BUF2
0
I,IBUF2
MBUFI,2
Up to two
14
-409-
Remarks
Parameter No.
Parameter (Upper
: T series, Lower :
M series)
Remarks
PSORGX
PSORGZ
PSORGX,
PSORGZ
OFCMP
H4NO+HZNO
tt
0
TLCMP
8
NUMHG
OFMAX
TLMAX
OFCMP
TLCMD
NU}4HG
OFMAX
Maximum
TLMAX
Maximum
in multi-handle is set.
Setting value z l/2/3 (unit)
-4r0-
number
,3
!j
Parameter No.
Remarks
HZNO
ified.
Setting value:
spec
1, 2 or
H4NO
specified,
Setting valuei
l, 2 or
1S
settlng
method
Second digit:
First digir :
H4NO
HZNo
Setting value.
32
MOLHPG
I
I
MOLHPG
},IOLHPG
OFSNO
.l
I
I
OFSNO
- 4II -
Parameter No.
GRPAX
GRPAX=0
GRPAX=1
GRPAX=2
GRPAX=3
GRPAX=6
GRPAX=4
LrJ(fA
=/
PSRNQI
5
PSRNQ2
6
PSRNQ3
-4L2-
Remarks
I
I
Parameter (Upper
Parameter No.
: T series, Lower :
M series)
PSRNQ4
PSRNOI
(eg)
UPKY
a
DWNKY
DLINKY
RGTKY
)
RGTKY
LFTKY
0
LFTKY
FWDKY
J
FWDKY
-4r3-
Remarks
Parameter No.
BACKY
BACKY
KEEHHE
Setting value: I to
Setting Value
+x
-X
+z
-z
+;t
-5
(Exarnple)
when
serri"c
ro *x,
f
Trl
+3
anal
-t,
.
l*i1.. I ulto
f-il
RTDKY
LTUKY
RTDKY=7, LTOKY=8
-4L4-
Remarks
Parameter (Upper:
Parameter No.
a) In
case
of T series
Sets the jog feed axes and directions on the
software operatorts Danel corresponding to
UPKY,
DWNKY,
trEHH;.'
RGTKY,
LFTKY
Axis, direction
Setting value
+X
-x
+Z
-z
(Examo 1e )
*"'
""..r",
to *x,
ro -x,
H.'
*2,
and
b) In
URKY
LTUKY
case
DWNKY=2,
RGTKY=3, LFTKY=4.
of M series
Set the jog feed axes and directions on the
software operatorts Danel corresponding to
teY?'
EEtrEtr Eil EE
Axis, direction
Setting value
+X
_X
+Y
-Y
+z
-z
+4
-4
(Exanple)
When
setting
to
to -X,
to *Y
+2,
and
to -2,
to *X,
-4r5-
Remarks
Parameter No.
Parameter (Upper
: T series, Lower :
NSWI
NSWI
M series)
\
NSW88
J
NSW88
The names of general purpose switches (SIGNAL 0 SIGNAL 7) on the software operatorts panel in the
following figure are set as fo1lows.
OPERATOR'S
SIGNAL0
SIGNALI
SIGNAL 2
SIGN.trt 3
SIGNAL 4
SIGNAL 5
SIGNAL 6
SIGNAL 7
PANEL 02334
:
:
:
:
:
:
:
:
N5678
ON
IOFF
OFF fON
OFF ION
ON
IOFF
ON
IOFF
I0FF
ON
0N
IOFF
OFF ION
AUTO
-416-
Remarks
Parameter No.
No.
140
PRM.
of
SIGNAL
0 in the
above
figure is set.
PRM. No.
146
PRI"I. No.
L47
tt
above figure.
PRM.
No. 0156-0163
PRM.
No.0164-0171
PRM.
No.
OL72-0179
PRM.
No. 0180-0187
PRM.
PRM.
above figure.
above figure.
-4I7-
Remarks
Code
065
054
066
055
067
056
068
057
069
032
Space
070
033
Exclamation mark
071
tl
034
Quotation mark
072
tl
035
Sharp
073
036
Dollar
074
o/
037
Percent
075
&
038
Ampersand
076
039
Apostrophe
077
040
078
041
Left parenthesis
Risht parenthesis
O79 F
042
Aster j-sk
080
043
Plus sien
081
044
Comma
082
045
083
046
084
047
Minus sisn
Period
Slash
085
0s8
Colon
086
0s9
Semi-co1on
!l
087
060
088
061
089
Conment
Character
Code
Comment
l
i
:
i
t;
i
i,
svmbol
.i
I
062
,|
090
048
049
050
051
093
Yen srrmbol
052
094
0s3
095
Underline
UOJ
uo4
09r
A
t
1
Question mark
Commercial at mark
Left square bracket
092
4
n
-4rB-
{
.:
I
Parameter (Upper
Parameter No.
: T series,
Lower
M series)
CCLMP
.+
POSTNi
5
POSTN2
6
POSTN3
POSTN4
INTPLN
0:
INTPLN
1:
2:
G17
G18
CCLMP
Setting value 00 to
POSTN1
cycle
99
-419-
Remarks
Parameter No.
3
AO\IMDR
AOVMDR:
4
AOVOR
AOVCR:
AOVTH
AOVTH:
'1
f
1
1
-420-
Remarks
Parameter (Upper
Parameter No.
: T series, Lower':
M series)
FIDN
FIDN:
command.
AF=
Fmax i
100n
Fmax
when
Preset value
I to
I27
trhax
Fmax
1:
2:
Upper
Upper
linit
linit
value of Fl to F4 feedrate
value of F5 to F9 feedrate
MCDCNT
9
MCDCNT
I,Ih_en
MCDCNT:/
E
F:
la
i]MGCDO
0
II}IGCDO
UMGCD9
----.-
UMGCD9
.-42L-
Remarks
Parameter (UPPer
No
Parameter
: T series'
Lower
Remarks
: M series)
macro'
Set uP fo l0 G codes calling custom
calling
G code calling
G code calling
G code calling
G code calling
G code calling
G code calling
G code calling
G code calling
G code calling
G code
U},IGCDO:
UMGCDI:
UMGCD2:
UMGCD3:
UMGCD :
UMGCD5:
UI"IGCD6:
UMGCDT:
UMGCD8:
U]'IGCD9:
Setting value:
001 to 255
(with G00' no custom macro can be
l
I
UMMCDlO:
UMMCDIl:
UI'IMCD 12 :
UMMCDI3:
code calling
M code calling
M code calling
M code calling
1"1 code calling
M code calling
M code calling
!1 code calling
M code calling
U cbde calling
1"1
UMMCD4:
,
Setting value:
006 to
255
(with M00' no
cuscom macro
can be
0 is set'
called.
to
ic is equivalent no setting.
Even when
-422-
*:,
't.
Paranoe
ter
Parameter (Upper:
No.
Remarks
UMMCDl
UMMCDl
UMMCD2
I
UMI'TCD2
UMMCD3
2
UMMCD3
Set up
to
UMMCD1:
UMMCD2:
UMMCD3:
M codes
1.1
M code
M code
255
be
I.IAITM:
-423-
only
OTT
i-{F
ifJ+*F.+i-a4
Parameter No.
Parameter (Upper
: T series, Lower :
M series)
BRATE2
0
BRATEz
.-
BMTE2:
BRATE3:
F*used
SettiFg No.
Baud rate
50
2
3
r00
110
150
200
300
600
6
7
8.
POFF
TPSUP
TPSUP:
-424-
Remarks
Parameter (Upper
Parameter No.
: T series,
Lower
M series)
Remarks
BKL9
Spindle backlash
amount
Ln the
6
MCODE
MCODE:
M-code
mode
Data
Standard
rNPx
0
setting
20 (netric
INPX
outPut)
12 (lnch
outPut)
INFZ
0
I
INPY
INP3
0
INP3
INPZ
3rd axls Ln-posltion width
Settlng value O to 32767 detection unit
:.i
-425-
Parameter (Upper
Parameter No.
: T series, Lower :
M series)
Remarks
INP4
Setting range:
for X,
to
Y,
32767
Position
deflection
Next block
value
In-position width
In position check is performed when the feed mode
changes from rapid traverse to rapid traverse,
rapid traverse to cutting feed , or cutting feed to
rapid traverse.
SERRX
4
SERRX
SERRZ
5
SERRY
SERR3
6
SERRZ
SERR3
ril
-426-
Parameter (Upper
Parameter No.
: T series,
Lower
series)
SERR4
SERRX,
SERRY,
SERRZ,
SERR4
is
10 n/nin.
the error is
s=-IG
GRDSX
8
GRDSX
a
GRDSZ
GRDSY
.!
GRDS3
U
n
GRDSZ
GRDS3
amount setting
+32767 detecting
unit
I
GRDS4
GRDSX,
GRDSY,
GRDSZ,
GRDS4
this parameter is
necessary.
-427-
Remarks
<;;llP
Parameter No.
11
series)
Remarks
(i)
ffi---
+X
(Reference point
is reached with the
tr
pL
No.0534)
criollllllllllt
/ on)
i (Set Darameter
\r
*DCX
(One.rotation signal)
'IDCX
ON
PX
'ii
-428-
{_
.i
Parameter No.
series )
PSANGN
I
PSANGN
PSANGN
i0
1000
= setting value
LPGIN
LPGIN
RPDFX
8
RPDFX
RPDFZ
r.l
RPDFY
-429-
Standard
setting
3000
; ,{aE}F.
Parameter No.
RPDFZ
RPDF4
PPNFY
Setting
30 to
30 to
Note i)
RPDFY,
range
RPDF/32,
RPFD4
same.
'F
LINTX
LINTX
LINTZ
0
LINTY
LINT3
0
LINTZ
LINT3
-430-
Remarks
Par'ameter (Upper
Parameter No.
Lower
M series)
Remarks
: T series,
LINT4
LINTX,
LINTY,
LINTZ,
LINT4
traverse.
Setting range: 8 to 4000 (unit:
msec.)
THRDT
THRDT
cycle (G92).
Setting range: I to 4000 (unit: msec.)
Set the most suitable value to this parameter in
combination with the parameter THDFL (pararneter
No. 0528)
FEDIO(
FED}fl(
FED}fl(
axes)
Setting range
6 to 15000 unit:
6 to 6000 unit:
rnn/rnin (m outPut)
THDFL
-43r-
same.
See
parameter
No. 0526
Parameter No.
Remarks
FFFDT
0
FEEDT
FEEDT
FEDFL
5
FEDFL
FEDFL
r'.
!
!
'1l/
same.
-,
;'-----SPALW
/ f--'1:--T--1
CYCR
SPALW
of soindle function.
Setting range: I to 100 (7")
(For constant surface sPeed control)
Setting of relief amount in canned cycle G73 (high
speed peck drilling cYcle)
Setting range: 0 to 32767 unit: 0.001 mn ., /
(rnrn input)
0 to 3/767 unit: 0.0001 inch
CYCR
-J
trf,iii.-i;p'u11
.,
CYCD
SPLMT
-432-
speed
=:=
Parameter No.
CYCD
G73 (peck
drilling cycte)
input)
Note) In increment
(inch input)
system
same.
RPDFL
0
3
RPDFL
RPDFL
ZRNFL
0
4
ZRNFL
ZRNFL
6 to 6000 unit:
BKLX
0
BKLX
BKLZ
0
BKLY
-433-
Rernarks
n+rq'
'ffi*ffftf*
Et,
Parameter
Parameter No.
Remarks
BKL3
0
BKLZ
BKL4
BKLX,
I)I\LZ / I t
BKL3IZ
BLK4
Backlash amount
respect ively.
of X, Y, Z and 4th
Setting amount
0 to 2550 unit:
0 to 2550 unit:
0.001 nm
(rnm
axes,
output)
3-stage
gear
GRIO
Low
Low
GR2O
GR3O
Hieh
l'liddle
Hieh
Remarks
t.
i;
l0v
Voltage (NC) corresponding
to the upper limit of the
spindle motor rPm
GR2O
(GR2q
Spindle rotation
command
,x
A
76t5
vmin
lBf
V*""
*?ffi
(S code input)
Vmux
*?0ff
multiply is used.
-434-
Parameter (Upper
Parameter No.
: T seri-es,
Lower
M series)
Remarks
lirnit of
the
= 4095 x
J TU
L\,
GRHYJ,\
SPDLC
GRH}IA.X
Maximum
i
I
10V)
--'{'+Tc
e{4ilEF:
Parameter No.
0
GRHMIN
GRI'fl(2
GRLMAX
GR}D{3
SPDMAX
GR}D(4
0
SPDMIN
ae
GRI'D(I
GRHMIN
GRLMAX
SPDMAX
SPDI'TIN
when using
-436-
Remarks
.{
Parameter (Upper
Parameter No.
: T series,
Lower
M series)
Rem:aft5
ii
I
DRFT3
0
DRFT3
JOGFL
0
(+
JOGFL
JOGFL
Ehe
srme.
FINT
FINT
AUTO rnode
at turning
po\.rer
on.
Setting range
6 to 15000 unic: mn/rnin (uru input)
6 to 6000 unit: 0.1 inch/nin (inch input)
(Generally, set ttO" to this parameter and change it
by program command. When the feedrate i.s constant
and it is not necessary to change, set the feedrate
to this paraDeter. )
SEQINC
0
0
SEQINC
SEQINC
Number increment
sequence No.
Setting range:
9999
-437-
,*rf,l|;F*
Parameter No.
Parameter (Upper
: T series,
Lower
M series)
LOI^lSP
LOWSP
in constant surface
speed
rpm)
BRATEO
BRATEO
BRATEO
Settiff
I
2
3
4
5
6
7
B
value
Baud rate
50
100
110
150
200
300
600
1 200
2400
480096 00
-438-
Remarks
Parameter No.
Remarks
BMTEl
BMTEl
BRATEl
Setting value
I
2
3
4
5
6
7
8
9
ln
l',.2
0
Baud rate
'k
1)
150
200
300
600
I 200
-24Sq
-<-jJgaq)
f e600 \
GRTMAX
GRTMAX
SCLMP
GRTMIN
SCLMP
GRTMIN
".t* |.?
50
100
110
when using
-439-
speed
n/*
F,
Parameter No.
Remarks
CRCDL
CRCDL
CRCDL
amount.
Setting range:
0 to 16383 unit:
0 to 16383 unit:
(AY)
ACAIFL
-440-
n
:
Parameter No.
RPDJX
0
RPDJX
RPDJZ
0
RPDJY
RPDJ3
0
RPDJZ
RPDJ4
RPDJX,
RPDJZ/Y,
PFDJ3 /2,
RPDJ4
JOG
used.
Note 1) Set
Note 2)
same.
JOGF
JOGF
JOG
(Metric ouEput)
Setting value I to 800 Unir 0.1 inch/min deg/nin
(Inch output)
Note) In increment system 1/10, the unit is rhe
same.
-44r-
Remarks
i6;aar*ii,'.
- .....*"crl|ff;F
Parameter No.
Remarks
Rotarv
SW
hrhen parameter
When parameter
los iEion
conditions
0VRI=0
*ov8 *ov4 *ov2 *ov
Metric output
I
*ov8 *ov4 *ov2 *ov1 Me tric Inch
input
Inch output
Inch
Me tric
input input input
mrn/
inch/
OVRI=
0
o
min.
o
o
o
o
I1
L2
l3
L4
15
o
o
o
o
rnn/
inch/
min.
min.
r0
0.4
25
t.0
t4
0.5
35
t.4
20
0.8
49
2.O
27
1.1
68
2.7
37
1.5
9s
3.7
52
2.0
t32
5.2
72
3.0
r83
7.2
250
t0.0
r4.0
100
140
5.0
3s0
8.0
490
270
rl.0
bdu
27 .O
370
15. 0
950
37.0
520
20. 0
r320
57.0
720
30. 0
I 830
r000
40. 0
500
2.0
100.0
(Note) O in the table above shows that the corresponding signal contact
is open, and Ehe blank shows that it is closed.
-442-
Parameter No.
Parameter
5
JOGFAD
JOGFAD
Rotarv
SI.I
conditions
I{hen parameter
Pos t_-
tion
OVRI=0
uous
feed
*ov8 *0v4 *0v2 *ovi *ov8 *ov4 *0v2 *ovl rate
Note
contin
When parameter
OVRI=I
(Note l)
Manual
tr
ll
L2
l3
l4
l5
10
o
ro
r00
140
@
?7i
o
o
52
72
27
37
L4
20
deg/nir
370
520
720
r000
-443-
Remarks
Parameter
No
FEDMAD
FEDMAD
same.
RPDFLAD
RPDFLAD
same'
ZRNFLAD
ZRNFLAD
same.
SPDLC
SPDLC
Set the
spindle
control
Setting
option)
-444-
VELO
Remarks
Parameter (Upper
Parameter No.
: T series,
Lower
M series)
Remarks
SLPG},I1
AOVLE
AOVLE:
SLPGM2
AOVLS
AOVLS:
SLPGI'13
I
SLPGM4
0
F1DMAXl
SLPGIN
0
F1DMAX2
FIDMAX1
FID}4AX2:
FIDT'IAXI:
FID}(AX2:
linit of Fl to F4 feedrate
Upper limit of F5 to F9 feedrate
Upper
-445-
!G
Parameter No.
{i
216.
-4
4 in sequence.
Setting value = 2048 x (E/L) x a x 1000
where: E = Voltage when spi-ndle motor is rotating
at 1000 rpro (V)
L = Angle per spindle motor rotation
(normally 360)
s = Detecting unit (deg)
SLPGIN
)
SPDI"DI
SRPDFL:
Minimum speed
SPD}fiL:
Setting value: 1 to
4095
-446-
4095
Remarks
(FO)
t.''-_
_i
ii
: M serles)
Parameter No.
Remarks
SZRNFL
0
-t-
5.
ll
tt
It
I
I
SPD}O(H
1
SZRNFL:
s,q
F-fl
r-.
Setting value: 1 to
F"t
'i
4095
4095
'*
MORT
+l
i.a
MORT
I1
$
MSRES
-I
1'
MSRES
G
F:.'E
\I
I
G',1'
MSINDX
n
I'
M-code inlrial
MSINDX
Setting value 06 to
$:
92
#
MSDEG
{9.
MSDEG
*l
t.i
fG
-447-
itffie:'
Parameter No.
Parameter (Upper
: T series, Lower :
M series)
Remarks
PDWEL
PDWEL
command
in
PECKC
PECKC
1/ 10
STPEX
STPEZ
STPEY
STPE4
STPE4
qTDFY
Z, 3,
Y,
4
h'
&
t
-448-
---*
t-
I
I
-t.
Parameter No.
Parameter (Upper
: T series, Lower :
series)
Remarks
PCHK
0
PCI{K:
in
TLCNEC
TLCNEG:
No.
PARTRQ
0
PARTRQ
9eqs--llrg number
PARTRQ:
Setting value
of
0_ rg_
machined
99pj
parts required.
PEXPJX
0
I
l-
PEXPJX
PEXPJZ
0
PEXPJY
PEXPJ3
6
PEXPJZ
-449-
oply
0TT
I;rF
Parameter No.
Pararneter (Upper
: T series, Lower :
M series)
PEXPJ4
0
PEXPJ4
PEXPJX-
PEXPJ4:
PFLJGX
0
PFLJGX
PFLJGZ
0
PFLJGY
PFLJG3
0
PFLJGZ
PFLJG4
0
PFLJG4
PFLJGXPFLJG4:
Unit:
Unir:
INPDX
0
INPDX
INPDZ
0
INPDY
-4so-
rn/min
inch/min
Remarks
Parameter (Upper
ParameEer No.
: T series,
Lower
M series)
Rem:rks
INPD3
0
I
INPDZ
INPD4
0
INPD4
INPDZ
to
INPD4
and
POFF
TPFDT
TPFDT:
POFF
TPFFL
TPFFL:
Srandard
settlng:
30
10
-45r-
ttPoFFtt means
that power
should be
turned off
whenever the
parameter is
changed.
Parameter (Upper
Parameter No.
: T series, Lower :
M series)
ttPOFF" means
that power
should be
POFF
TPLPG
turned off
TPLPG:
Remarks
whenever the
parameter is
changed.
POFF
LPGM9
LPGM9:
(motor
L =
SPINDLE
of
6000 rpm
at 10 tvl)
360"
I\'lOTOR
l:l;2
La = 720"
(Spindle must make two rotations
= 360o * 2 for rot.ating the
position coder one turn. )
4096 = Detection pulse per position
coder rotation
-452-
Parameter No.
Gea
r ratio
cod er
I
I
I
I
serie s )
I ... 0.
2 ... 0.
4 ...0.
8 ... 0.
0 8 7 8 9 deg
I 7 5 7 8 deg
3 5 I 5 6 deg
7 0 3 I 3 deg
0.17578
= L667
1000
POFF
TPS}'(
Maximum
TPSMX:
tapping.
Data type: Word type
Set value: spindle: position coder gear ratio
1: t
0 - 7400
l:2
1:4
,\"
t..
1:8
: PRM
Standard setting:
Unit
1r'
000-
9999
9999
9999
3600
TPIPZ
TPIPZ:
Setvalue:
l-32767
Unit
: DetecEion unit
Standard setting: 2O
-453-
ttPoFFtt means
that po\ter
should be
turned off
whenever the
parameter is
changed.
G.*96
4{
,fi
Parameter (Upper
Parameter No.
: T series, Lower :
M series)
Remarks
.:
t
I
*
9
.x
INP9
t
Spindle in-position width in the rigid tapping
I,'{ren this is too much increased, the threading
accuracy is affected.
Data type: I^lord type
SeEvalue: 0-32767
Unit
: DeEection unit
Standard setting: 20
INP9:
.n
:I
:
*
0
TPERZ
TPERZ:
DetecEion
unlt
movement
-4s4-
Parameter (Upper
Parameter No.
: T series,
Lower
M series)
Remarks
TPER9
t
TPER9:
S:
rigid
G:
G:
Spindle:
x l/G x l/G x
s . ..
3600
3000
@...
0.17578
(Gear
ratio
coder l: 2)
1.5
I : I ... 0. 0 8789deg
I : 2 ...0. I 7578deg
1 : 4 ... 0. 3 5156deg
I : 8... 0.
TPER5 =
tapping
(Value of paraneter No. 0517)
Axis loop gain in the rigid node tapping
(Value of parameter No. 06f5)
Detection type
Position coder Gear ratio
Calculation example:
G ...
100
0313deg
(3600
TPESZ
TPESZ:
setting:
500
ril
.ll
if;
.t
jl
il
'l
I
-45s-
FF?9.8!{4S':.
q
Parameter (Upper
Parameter No.
: T series, Lower :
M series)
Remarks
TPES9
TPES9:
Setvalue:
0-32767
Unit
: Detection unit
Standard value: 500
ttPoFFtt means
that power
should be
POFF
LGM9M
LGM9M:
SPINDLE
MOTOR
turned off
G=
T^
Ld-
La/ 4096
720" 14096
7
2A"
= 0.17578"
-456-
-whenever the
parameter is
changed.
-t
i
Parameter No.
Parameter (Upper
: T series,
Lower
M series)
J
i
Remarks
ttPoFFtt means
that power
should be
POFF
LGM9H
turned off
No
ERR9
ERR9:
IPL9
IPL9:
-457-
whenever the
parameter is
ctianged.
a=,$*8*.
i'+'
il
Parameter No.
Parameter (Upper
: T series, Lower :
M series)
Remarks
LTIXl
0
LTlXI
1
,.
LTTZI
0
I
;
i
LTiYI
.t
.,
LTIZl
LTI41
LTlX2
0
LT 1X2
LTIZ2
0
LTlY2
LTLZ2
LTI42
-4s8-
Parameter (Upper
Parameter No.
Lrlnll
TI-
: T series,
Lower
M series)
nth top in
axis
.)v
)-t
2
10x115=2nm
Axis
(Exarnple) LTIZI =
-1
and LTIZZ
name
becomes
infinite.
-459-
Remarks
d
Parameter No.
I
Remarks
'+
{
0
PRSX
PRSX
'1
PRSZ
PRSY
PRS3
0
PRSZ
PRSX,
PRSY,
PRSZ,
PRS4
AC
PRS4
-460-
sfs
Pararneter No.
SPTIME
2
PECINTX
PSGRDX
PECINTY
PSGRDZ
I
PECINTZ
PECINT4
SPTIME
PECINTX,
PEXINTY,
PECINTZ,
PECINT4
(run output)
0.001 inch
(inch ourpur)
Note) Unit
becomes 1/10
-461-
Remarks
F.
rr
I
t
t
rt
[,
I
Parameter No.
MRCCD
1
MRCCD
I to 99999999 unit:
L to 99999999 unit:
G72.
MRCDT
PESCZ
DFC'Y
PESCZ
'462-
Remarks
Parameter No.
PATIM
Number
G73.
PATIM
cyc1e.'
GROVE
GROVE
Setting range:
0 to 99999999 unir:
O to 99999999 unir:
C75
3
t
THRPT
THANG
7
TIIANG
-453-
G76.
Remarks
F.
f.r
ti
Parameter No.
THCLM
l"linimum
G76.
THCLM
Setting range:
0to 99999999 unit:
0to 99999999 unit:
Note)
Unit
becornes 1/ 10
TT{DFN
c76.
Setting ?.ttg"
O to 99999999 unit:
0 to 99999999 unit:
Note) Unit
becornes 1/10
0.00I
I{IMAX
-464-
Remarks
Parameter No.
WOMAX
0
PROTAG
MIRSS
unit:
PROTAG:
I
PSCRT
GANMAZ
-465-
command
Remarks
Parameter No.
Remarks
The value of e on the X ar.d Z axes in the automatic tool compensation function' respectively.
Setting range:
I to 99999999 unit: 0.001 uun (mn output)
I to 99999999 unit: 0.0001 inch (inch output)
The X axis value should be set with a radius value.
GAN]"IAX,
GANMAZ
PSCRT:
EPCX
EPCZ
The value of e on the X and Z axes, in the autornatic tool compensation functi-on, respectively.
Setting range:
L to 99999999 unit: 0.001 nun (urn output)
I to 99999999 unit: 0.0001 inch (inch output)
The X axis value should be set with a radius value.
EPCX,
EPCZ
REF2X
REF2Z
0
REF2Y
-465-
GF
Parameter No.
REF2Z
REF24
REF2X,
REF2Y,
REFZZ,
REF24
ABSXP
ABSZP
0
0
ABSYP
F,
I
ABSZP
ABS4P
ABSXP,
ABSYP,
ABSZP,
ABS4P
-467-
Remarks
Parameter No.
Parameter (Upper
: T series, Lower :
TLSXP
LT2X1
TLSXY
0
LT2YI
TLSZP
0
{+
LT2ZI
TLSZM
0
LT24I
LT2Xl
0
LT2X2
LT2ZI
0
LT2Y2
LT2Z2
LT242
LT2X2
5
I
EXOFS
-468-
M series)
Remarks
;l
Parameter No.
LT222
0
EXOFS2
LT2
FF
T
'
of square area
Represents the axis
Set the stroke limit represented above.
Setting value 0 to +99999999 Unit 0.001
Apex No.
Setting value
to +99999999 Unir
urn
(l"letric output)
0.0001 inch
(Inch output)
TLS)O{
TLSZP
TLSZM
(Xm)
|
(Zrn)
value.
X axis
surface
Z axis
X axis
,_1)
,J
contact surface
-469-
Remarks
T
I
T
Parameter No.
LT2XI
LM2=1
EXOFS3
EXOFS4
EXOFSI
ZOFlSl
PECINTX
U
ZOFlS2
PECINTZ
0
ZOF
-470-
S3
Remarks
,?
j
.,t
;
Parameter No.
series)
PECINT3
0
zoFls4
PECINT4
0
ZOF2S
zoE2s2
t
zoF2s3
zoF2s4
zoFlsl
-4
-47r-
3
Q
Parameter
PECINTX,
PECINTZ,
PECINT3,
PECINT4:
ZOF2S
No.
Setting value:
hrlren the radius is designated
8000 - 99999999 (Metric outPut)
4000 - 99999999 (Inch outPut)
Ilowever' set in diameter value for the diameter
designated axis.
hhen the diameter is designated
I6000 - 99999999 (Metric outPut)
8000 - 99999999 (Inch orrtPut)
2nd work zero-point offset amount of X-axis'
Y-axis, Z-axis and 4th axis in sequence.
-4
(css )
Setting value
to
+99999999
Setting value
to
+99999999
(Metric output)
Unit 0.0001 inch
(Inch output)
Nornally, data are inputted from the work coordinate
system setting screen.
Note) Unit becornes l/10 in increment system 1/10.
z0F3s
ZOF3S2
ZOF3S3
ZOF3S4
ZOF35
-4
-472-
Remarks
1it
...tr
Parameter No.
Remarks
zoF4s
IDSTX
0
zoE4s2
IDSTZ
0
zoF4s3
ZOF4S4
z0F4s
-t+
t.o
only
0TT
IDSTZ:
only
0TT
-473-
's
Parameter No.
Parameter (Upper
: T series, Lower :
M series)
Remarks
-j
q
t
ZOF5S
0
ZOF5S2
zoF5s3
ZOF5S4
zoF5s
-4
ZOF6S
ZOE632
474
Parameter (Upper
Parameter No.
: T series,
Lower
M series)
zoF6s3
ZOF6S4
ZOF6S
-4
(cse)
ri:1":":::il:1"
PARTAI
0
REF3X
-475-
Parameter (Upper
Parameter No.
: T series,
Lower
M series)
REF3Z
0
REF3Y
REF33
0
2
I(-L.r
JZ
REF34
0
REF34
REF3X REF34:
ing;rralue
o - +99999999 Unit:
o - iggsggggg Unit:
Set t
REF4X
REF4Z
0
tJ
REF4Y
REF43
n
REF4Z
476
Remarks
Parameter No.
Parameter (Upper
: T series,
Lower
series
Remarks
REF44
1
REF44
REF4X REF44:
Setting value
0 - +99999999 Unit:
O -1SSSSSSSS Unir:
FIDFl
9
F
IDF2
FlDF3
-,
IDF4
1DF5
IH
|[
iii
il
ii
tl
rl
-477-
ll
Parameter No.
J
F
IDF6
FIDFT
9
F
FlDFI,2,
3, 4, 5,
7,8,
IDFS
FIDF9
6, Setting value
0 - 15000 Unit:
0 - 6000 Unit:
9:
coflrmands
FI to F9 in
sequence
When
A3S9
ABS9:
478
Remarks
Parameter No.
PECORGX
I
PECORGX
PECORGX
I
I
PECORGZ
PECORGY
PECORGY
PECORGZ
to
2
PECORG3
PECORGZ
'
PECORGZ
PECORG3
-479-
Remarks
Parameter No.
.)
to
3
PECORG4
PECORG4
PECORG4
to
q
PECORG5
0
PECORG5
PECORG5
I
<
t
5
t+'
PECORG6
0.
PECORG6
PECORG6
-480-
Remarks
Pararneter (Upper
Parameter No.
M series)
: T series, Lower :
Blr
DECIS
SCWS
DECIS
SCI^IS
76543210
No.
DECIS
1:
0:
scws l:
1n
0 1n
0:
PPDS
2
PPDS
Bir
43
No.
PPDS
Relative coordinate
setting.
Relative coordinate
setting.
1:
0:
zr0
IS
l-s
ZYL6
zt't5
ZIT6
ZYL1
Bit No.
543210
Ii
I
I
-48r-
t"
.ry'
Parameter No.
'l
D!{R5
GRD5
DMR5
GRD6
Bit
32t0
654
No.
DMR6
GRD6
Bir
43
765
No.
Bir
APRSS
OFFVYS
APRSS
)FFVYS
76543210
Sets automatic coordinate system at reference point
reEurn.
Does not set automatic coordinate system at
1:
0:
OFFVYS
GRD5
No.
APRSS
2L0
l.
0:
PRDY.
BiI
APC5/
APC 6
SUB
APC6
APC5
SUB
APC6
APC5
NO
SUB
APC5,
APC6
l:
0:
PMC
PMC
.1
t'
:
:
:
D}G.6
and
DMR5
-482-
Remarks
Parameter No.
A3S5
ABS6
ABS5
No.
ABS5,
1:
0:
defined.
ABS6
ABS6
2
Bir
series)
PNGMLK
ROT6
ROT5
PNGMLK
ROT6
ROT5
Bit
not defined.
(The signal becomes r'1r' automatlcally if the
reference point return is performed by Pl'tC axis
control. Do not change setting by the time the
detector is replaced.)
When installing the CNC or replacing the position
detector, always set these Parameter to 0, turn off
and on the power then perforn manual reference
point return.
No.
PNGULK 1:
0:
MLK
CMR5
0
CMR5
CMR6
7
CMR6
Comnand
multiplier
Cl,lR6.
DSPSUB
DSPSUB
-483-
CMR5 and
ii:
F-
#'
ilt?
Parameter No.
DSPSUB2
DSPSUB2
DSPSUBl,
2z
Usable characters:
(x, Y, z, u, V, w, A, B, C, H, 0 - 9, O, N, D, -, .)
Note)
When
INP5
0
INP5
u
7
rNp6
I
INP6
In-position width for 5th/6th axes in the order of INP5 and INP6.
SERR5
1
5LKK]
SERR6
5
SERR6
8
GRDS5
-484-
Remarks
Parameter No.
Parameter (Upper
: T series,
Lower
M series)
GRDS6
GRDS6
GRDS5 and
GRDS6.
LPGINS
5
LPGINS
RPDF5
RPDF6
1
RPDF6
LINT5
5
LINT5
LINT6
7
LINT6
I
I
-485-
Remarks
Parameter No.
Parameter (Upper
: T series, Lower :
l'1
series)
FEEDTS
9
FEEDTS
common).
FEDFLS
0
FEDFLS
4
ZRNFLS
Low feedrate
common)
l-n
BKL5
1
BKL5
DT\LO
7
t-*
STPE5
7
STPE5
-486-
BKL6.
Remarks
Parameter No.
STPE6
5
STPE6
Linit value of positional deviatlon for 5th and 6th axes at stop
in the order of STPE5 and STPE6.
PSANGNS
6
PSANGNS
PSAI{GNS
SPDLCS
1
9
SPDLCS
SPDLCS
LTI5 I
7
LTI5 I
LTI6l
1
LTI6I
LT152
7
LT152
-487-
Remarks
1q*[ *!flprr{pee
!
I
.i
Parameter No.
Remarks
_"-
LTI62
7
LTI62
PRS5
1
8
PRS5
PRS6
PRS6
PRS5,
PRSS
-488-
The
servo
Axis
Parameter No.
Product
OT/OG
X axis
OM
X axis
or/oc
Z axis
OM
Y axis
lst axis
8100
8200
8300
8165
8265
8365
Cf axis,
PMC axis
Z axis
Cf axis,
PMC axis
The fourth axis
OT/OG
OM
8400
8465
are
OT/OG
OM
Data
sBoo
DGPRM
BirNo.
DGPRM
Data
Parameter No.
8Eo
AMR5
Bit
No.
-489-
AMR4
AMR3
AMR2
AMRI
AMRO
_r'
,'d
AMRO
AMR5
&
No. of pulses/pulse
coder rotation(p/r)
Motor type
2-0, 1-0: 0, 5,
10,
AMR
2000
2500
3000
2000
l.
1000
I 2500
20000
t
I
25000
20,20M,30,30R
4-0,
3-0
5-0
Data
Parameter No.
8E oz
Btr No.
6s
Since the set value has been fixed as in the following, never change lt.
setting value of the PSSEL is 1, While that of the VFSEL is
The
Data.
Parameter No.
8Bo3
Bit
No.
Data
Parameter No.
sEo4
Bit
No.
-490-
Parameter No.
Data
8E2o
t'totor type
Parameter input
Data type : Word axls type
Data unit :
Data range: L to 32767
i
)
1
I
:
The standard values of the parameters related to the Digital Servo are stored
in the menory of the NC corresponding to each motor type. Set them for each
axis.
When
Motor type
Parameter No.
sIz
5-0
4-0
3-0
2-O
t-0
Motor type
Parameter No.
eflz
t0
20M
20
i0
11
L2
Motor type
Parameter No.
aIz
30
30R
13
L4
Parameter No.
sEzL
Data
Parameter input
Data type : I^Iord axis type
Data unit :
Data range: L to 32767
When
-491\'-
Paraueter
-sE
Data
No.
22
(DIRCTL)
Parameter input
Parameter No.
8Ez3
(PULCO)
Parameter input
When
B.
Parameter No.
BEz4
(PPLS)
Parameter input
Data type : Word axis type
Data unit : PULSE/REV
Data range: I to 32767
When
-492-
Parameter No.
Data
8E 40
a $50
Parameter input
Data type : Word axis type
Data unit :
Data range:
Parameters related to Digital Servo
Note) I{hen parameter No. 8 * 0O bit I (DGPRM) is set to 0 and rhe moror type
is set to parameter No. 8 * 20, the standard value is autonatically
set. Norma11y, it is not necessry to change this parameter.
Parameters which can be determined by the motor to be applied.
(Data type: Word axis rye) (l)
AC servo
Parameter No.
5-0
4-0
uotor
3-0
co
be applied
t-0
2-O
a[+
241
460
669
322
469
828
pa
-527
-L467
-2I26
-1 103
-1625
-2782
[+ z
a[+:
a[a +
a[a s
a[a o
-i873
-2373
-237 4
-2488
-2503
-2457
80
r04
96
267
2I7
226
-300
-517
-1330
- 1082
-1t27
-1647 |
-1647 I
-1647 r
22556
r 3582
4t73
ra24
ro24
LO24
22552
13679
4t7 2
2607
2607
2607
2607
2607
2607
5560
5560
5560
5560
5560
5s60
2T
2L
2L
2I
2T
2l
3787
3787
3787
3787
3787
3787
319
319
319
319
3r9
319
afla
afl+
fla
afls
aEs
a[s z
a fls r
s[s +
a[s s
a
ps
-1647
-47
-493-
-1547
-1647
Falxlrr: -'r{.i6*r.tdffir"
AC servo motor
Parameter
s[s
e[s
e[s
a
flo
Co
be applied
No
5-0
4-0
3-0
2-O
1-0
2330
2330
2330
2330
2330
2330
57
(7
57
57
57
282
7282
7282
7282
7282
a
e
282
a[o
32256
32256
32256
32256
32256
32256
af,o
325t4
32543
3257 6
32507
325r9
327
317 3
28t7
2401
3265
3Lt2
706
85
225
475
853
28
5440
9437
83 75
136
97 L3
9256
2094
a[e
e[o
s[o
L7
t2
Parameter No.
l0
afl+ o
s[+
e[+ z
a[+:
aIa a
a[+ s
a[+ o
sfln
2..
aIa a
sIa
eIs o
a[s r
aIs z
e
20
20r4
30R
30
I
t,<)
t7 20
Y44
-27 8r
-3532
-307
-3682
-557
-30s
-2622
-2649
-2646
-2665
-2669
3s9
654
824
535
s05
674
-L7 89
-3259
-4103
-2666
-25L6
-1647 r
t 941
835
491
49r
348
348
l024
LO24
t024
1024
1024
L024
L94L
834
49r
49r
348
348
-1647
808
-t647
970
-1647
-t647
705
-27
16
-JJ)O
0
-r647
2607
/-6U
zou I
2607
2607
2607
55 60
55 60
55 60
5560
5560
5560
-494-
i
{
Parameter
No
10
a[s r
a[s
eIs s
aIs
aIs z
aIs e
aIs s
aIo o
a[o r
aIo z
aIo r
eIs
sIo s
+
2l
2L
2L
3787
3787
30
2I
30R
2L
2L
3787
3781
3787
3r9
319
319
319
3r9
319
2330
2330
2330
2330
2330
2330
57
57
57
57
57
57
7282
7282
7282
6918
6918
6554
32256
32256
32256
32256
32256
32256
32645
32645
32r55
32509
32452
324L9
539
3796
6s9
3242
3947
4366
312
9410
r2705
95s6
29250
21926
4567
11299
22907
9644
LL752
r3005
Parameter No.
It7
It6
aPo:
sSo
I1
t
3787
20
201.1
tt\
#4
#3
ll2
tfL
ll0
-495-
APPENDIX
Character
Code
u65
066
o67
068
069
070
071
tt
B
D
E
Comment
Character
I
J
054
055
056
05
tl
073
414
075
&
076
077
078
079
080
081
082
083
084
085
086
087
088
089
090
048
o49
050
L
M
N
T
U
\/
w
X
I
I
3
051
052
053
Code
r-
032
033
034
035
Left oarenthesis
Rieht parenthesis
As teri sk
Plus sien
041
043
044
Percent
Ampersand
Aoostrophe
Conma
045
|linus sign
046
Period
047
058
Co
059
Semi-colon
063
.064
091
Sharp
030
uol
062
t\
Exclamation mark
Ouotation mark
Dollar svmbol
060
Space
036
o37
038
039
o42
Comment
SIash
lon
092
093
094
095
000
Yen svmbol
')
-496-
<-4rn
3a&a
APPENDIX 9
1)
Program
off power.
off
was
input,
curn
TH
sign rt-tt i-nput error (sign tt-tt was i-nput af Eer an address
with which i.t cannot be used. Or two or more,r_r,
were input. )
"1rrr"-Decinal point tt.,t input error (A decinal point was.
after an address with which it ean not be used. Orinput
two
decimal points were input.)
Unusable character was
An unusable G code
was
T only
becomes
-497-
M only
|;;rF.#
,e.&
;
!
i,
Contents
Number
029
030
Remarks
is
Eoo large.
M only
T only
M only
T only
The
H code
03r
032
amount
\itaS eXceSSive.
033
M only
T only
M only
T only
radius comDensation.
034
035
G39
is
commanded
M only
T only
compensaEion mode.
036
M only
mode.
037
M only
038
M only
T only
T only
039
-498-
Number
ConEents
Remarks
040
T only
041
Overcutting vill
M only
C.
of
is
o44
One
046
050
T only
051
T only
052
T only
053
T only
054
T only
055
0s6
t
i
commanded
0s8
to X-axis (Z-axis) in
T only
chamferin=g
T only
T only
progranning.
059
060
number search.
061
T only
R.
'--i
i
and
Both end point and angle are not designated in the next
block comrnand of the angle designation block (A ).
I (K) is
-i
'M only
mode.
command.
057
cycle
corrmand.
T only
cannot be searched,
not found
in the
sequence
-499-
G73
T only
nGY
Content s
Number
062
G72
Remarks
is zero or negative
T only
value.
T only
065
T only
066
T only
067
T only
069
T only
063
commanded
corner
R.
070
07r
072
073
074
076
077
(option).
-500-
.l
.*
(r
:ia
1;
Number
078
Contents
Remarks
I
t
I
079
080
T only
08I
T only
082
T only
T only
083
085
086
When
087
When
read.
*t
090
092
094
M only
095
M only
096
M only
is
re-started. (After prograrr lnterrupti-on, the work
offset amount changed.)
-501-
i
I
When
return
check)
ffi
Contents
Remarks
097
M only
098
M only
099
I"1
100
Setting data
the system.
101
Number
PWE
move
t:
only
110
111
Lt2
1r3
commanded.
1i4
For custom
l"lacro
ti6
For custom
macro
rl8
iI9
(quintuple)
For custom
Macro
The
-502-
on
Number
Contents
Rem:rks
specified in double
M only
L22
L23
Macro
t24
DO-END
L25
<Formula> format
126
In
t27
128
lzg
r30
i31
control
l_s
cornmand
is
used.
DOn,
lcn<3is
is
erroneous.
not established.
are confused.
comrnand rras
T only
L32
133
clear.
message
135
T only
136
same
T only
t37
same
T only
141
M only
t42
M only
1S
commanded
L-999999.
in other than
143
M only
144
M only
148
02L4,02I5.
-503-
M only
*{H*.
s
*
Contents
Number
Remarks
r50
151
M only
t52
M only
153
maxi-mum
M only
a11owable va1ue.
set.
<,/,
value registerable.
is not
commanded, H99
maxi-mum
or D99 was
M only
M only
i55
156
M only
r57
M only
158
M only
M only
same
Different M code is
commanded
M only
0TT only
M code.
r65
199
200
20r
commanded.
error
(progranming
202
203
204
205
0TT only
1429
or an S command is
between
mode
DI signal is turned
-504-
on
Contents
Number
310
(APC)
X-axis.
311
X-axis
APC communication
Renaiks
Failure in data
error
transmissi-on
312
X-axis
APC
overtime error
Failu-re in data
transmisslon
313
X-axis
APC
framing error
Failure in data
transmission
314
X-axis
APC
parity error
Failure in data
transmi-ssion
X-axis
316
317
APC
alarm
APC
alarn
APC
alarm
318
APC
alarm
320
321
Z-axis
APC communication
error (T)
Y-axis
APC communication
error
Z-axis
APC
overtirne
error
(T)
Y-axis
APC
overtine error
(M)
Z-axis
APC
Y-axis
APC
Z-axis
APC
paritv error
(T)
Y-axis
APC
parity error
(U)
Z-axis
APC
Y-axis
APC
-l
I
3r5
APC
low
I
{
I
322
323
324
325
326
Failure in data
transmission
(M)
Failure in data
transmi-s
ion
Failure in data
transmission
Failure in data
transmiss ion
APC
alarm
(M)
-505-
APC alarm
Contents
Number
Remarks
327
APC alarm
328
APC
porder
330
is
alarm
OFF) .
Z-axis.
Z-axis
33L
(M)
error
APC communication
Failure in data
(I'1)
transmission
Z-axis
332
APC
overtime error
Fai-lure in data
(M)
Z-axis
333
APC
framing error
ransmission
Failure in data
(M)
transmission
J
Z-axis
Jc+
APC
parity error
Failure in data
(M)
transmi-ssion
335
Z-axis
JJO
337 | Z-axis
I
338
APC
APC
APC alarm
(M)
a Iow
APC
alarm
APC
alarm
APC alarm
wherej
340
341
4th-axis.
4th-axis
(M)
error
APC communication
(M)
Failure in data
transmiss ion
342
4th-axis
APC
overtime error
Failure in data
(M)
transmission
343
344
4th-axis
4th-axis
APC
APC
frarning
error
parity error
Failure in data
(I'1)
t ransmis s ion
Failure in data
(l'1)
transmission
345
346
th-axis
APC
(M)
APC alarm
APC
alarm
-506I
Contents
Number
Renarks
347
APC a1-arm
348
APC
(including when
por^rer
is
alarm
OFF.)
3) Servo alarms
Contents
Number
Remarks
400
The lst,
401
The lst,
402
The
403
The
404
405
READY
turns off.
manual
signal
(VRDY)
on.
READY
signal
(VRDY)
again.
410
(Note)
413
4r4
An
-507-
F*.
""i-w
Contents
Number
415
Remarks
4t6
417
When
it
,};
motor.
fg
,::
'i
.!
i
a
(Note )
424
14
25
4LO
-508-
4,
g,
Number
Lal
Contents
Remarks
When-the
amount
during stop
431
M only
433
M only
output to the
DGNOS 722.
435
436
-509-
only
M only
roFF
Contents
Nurnber
437
When
Remarks
conditi-ons
3) An
4) An improper
440
(Note)
44L
M only
443
M only
444
445
I'1
446
M only
-510-
only
Number
447
Content s
Remarks
When
shown
been
Number
Remarks
510
511
5r2
2nd stroke
513
T
T
520
(M)
521
of y-axis
(M)
522
523
530
of Z-axis.
M only
531
M only
540
M only
M only
4th-axis.
541
4th-axis.
- 5lr -
of the
T.
:,#
r!
5) Alarm in
Contents
Number
Remarks
600
Interruption by illegal
60r
PMC RAM
602
PMC
603
PMC
604
PMC ROM
605
LADDER
is occurred
command
PMC
is exceeded.
5) Overheat alarm
Contents
Number
700
704
Remarks
detection.
7> System
alarm
F
Contents
Number
Remarks
9r0
RAII
911
RAM
9t2
RAM
(LOW).
913
RAM
(HIGH)
9t4
920
930
CPU
940
RAM
Replace master
PCB
Replace master
PCB.
of digital servo.
Reolace master
PCB.
Replace master
PCB.
2) Evel when there are more than two control axes, the
third axis (the third/fourth-axes) control printedcircuit board is not mounted. Example) The Z-axis
of the 0M becomes the Chird.
:) fhe master printed-clrcuit
servo is in use.
-5L2-
Number
Content
Remarks
950
998
ROM
paritv error.
(BP/S)
Contents
Number
't?2
Remarks
t
l
140
The details of Digital Serv.o system alarm No. 4t 4 are indicated at the
diagnosis numbers 72O,721,722, and 723 in order for the X, Y(Z), Z(C and
PMC) , and the fourth (Y and PMC) axis.
DGNOS No.
w;4
OVL
LV
0vc
HCAL
HVAL
FBAL
DCAI,
I
-513-
has occurred
OFAL
APPENDIX
10
LIST OF OPERATION
Func t i on
Mernory
Clear
Key
SETTING
switch
PI,JE=l
all
Mode
swi rch
button
Power
0N
Power
ON
Power
ON
Func ! i on
but ton
Operation
and
clear
Cleari.ng
I DFeFT
Parameter
Clearing
s
to red
Program
Data InPut
from TaPe
Parameter
(Tape
Program inPut
from
PARA}I
EDIT
OFSET
firlpUrl
EDIT/AUTO
PRGRM
flNPUfl
MDI
PARAM
MemorY)
Offset value
Data InPut
I Tf,lDIIT
IT
ED
Parameter
+ Parameter No.
MDI
1:t
?
PWE=0+
OFSET
Offset value
+ of fser
11e.
+ Offset data
Search
PARAU
MDI
Setting data
Tape Punch
EDIT
PARAM
I ETADT
Offset value
ED
1T
OFSET
fsTFR-f]
A1l program
EDIT
PRGRM
Io
One Prograrn
LUII
PRGR}I
El .
Program No.
eearch
ED
PRGRM
[-1-l
Add res s
AUTO
IT i AUTO
PRGR}4
sequence
+ Data
+0-
Parameter
-9999 + | srARr
l.
Program
xo. *
fII
TE=unson)
(cuRSoR)
number search
IT
PRCRM
EDIT
PRGRM
IT
PRCRM
ED
Address r,rord
search
Address
search
Deletion of
all Programs
* FfrFffl
ED
-5r4-
l-T-l
(CURSOR)
[-b-l
-eeee *
rcE
ET]
Func t
lon
SETTING
switch
PI.JE
= I
Mode
Func t
switch
but ton
ion
0pera t ion
but ton
PRGRM
EDIT
PRGRM
[-N-l
EDIT
PRGRM
f-mfr-l
Deletion of
a word
EDIT
PRGRM
Alternation
of a word
Deletion of
ED1T
Deletion of
a block
progran
Deletion of
seve ral
b
locks
'
l-5ErET-l
deleted
EDIT
PRGRM
'
I-bEIEfl
deleted+Addtess+Data
lnserti.on of
a word
CoIIation
Key
EDIT
Collacion in
PRGRM
|-TITEE-I
f ilreur
EDIT/AUTO
PRGRM
EDIT/AUTO
PRGRM
EDIT
PRGRM
EDI,T
PRGRM
ffl i
EDIT/AUTO
PRGRM
menory with
taPe
Input / Output
with
Progran input
Cassette
Output all
prograB
outPut
one
Program
Searching
a head of
ior
Deletion of
f ile
CoIIation in
file with
EDIT
ED
IT /AUTO
taPe
I
t
---l
. FIFFI
etog.am No.
_eee8 + rTfrPtri-l
file
File tqo.
FANUC
-515-
* I-sreETl
-9999 or
PRGRI.l
PRGRM
/..r*#*.;".
"
;.d!e*l,
-r1*q
.g
.l
APPENDIX
11
LIST OF SPECIFICATIONS
f;
Optional
o;t
Concrolled axis
rr-2
rr-2. i
2 axes
Simultaneously
controlled axes
fi
axes
axes
0.00t
Least input
increment
is required
Reference
itern
Specification
Name
PMC
mm/O.0001 inch
rr-2.1
Appendix
Appendix
Least command
increment
r/r0
Max. Programmable
Tr-2.2
Provided
Increment system
+8
Appendix
digi ts
dimension
I-5
Rapid traverse
override
Feedrate
range
Perminutefeed
I -
1002
100000 mrn/min
TT-5.3.2
Tr-5 .2.3
*1 -
12000 mm/min
i - 480 inch/rnin
* o.ol - 5oo.oo mm/rev
0 .0
Per-
revolution
0.000L
rr-5 .2.4
9.9999 inch/rev
feed
Automatic
ac ce 1 erat ion /
rr-5.4
Provided
deceleration
-516-
#
PMC
Ref,erence
Specification
Name
is required
itern
Feedrate override
0-
Jog override
* Provided
Override cancel
Provided
Simultaneous 1-axis
Manual synchronous
feed
*Provided
Positioning
Provided
rr-4. i
Single direction
positioning
:t Provided
Tr-4.2
Interpolation
Linear/circular
rr-4.3
rr-4.4
Thread cutting/
synchronous feed
* Provided
Helical cutting
*' Provided
rr-4.5
Fl-digit
* Provided
rr-5
Reference point
Provided
II-6. I
Reference point
Provided
rr-6.2
2nd reference
Provided
3rd/4th reference
point return
* Provided
CRT/MDI (sma11)
9tt
rr-5 .3. 1
1502
feed
return
return check
point return
CRT/MDr (small)
monochrome
. 2. 5
rr-6.3
III-2
9tt color
IIT-2
CRT/MDI
(ful1 key)
9tt monochrome
III-2
CRT/MDI
(full key)
9tt color
III-2
MDI
soft
key
*'5 + 2 pcs.
TTI-4.2
rIr-2.
1.1
III-4 .4
I unit
2 units
3 units
-517-
ffi
*iil
o;,
xl,xI0,xM
Handle interrupt
Provided
magnifying factor
the
is required
Reference
Specification
Name
PMC
item
III-5
Provided
.6
same mode
Incremental feed
x 1, x 10, x 100, x
Rigid tap
* Provided
Program restart
*'Provided
Reader puncher
inEerface
1000
III_5 .5
Dwe1l time
(every seeond)
rr-5 .6
Provided
Provided
Machine lock
A11 axes
Provided
* Provided
Z-axis
Provided
qpf|-ino
command cancel
Additional axls
III-6.
Provided
ignored
III-I5
Skip function
Provided
rr-i5.1
Exact stop
Provided
rr-5
mode
Exact stop
Provided
ervo-of f
Provided
Provided
Manual absolute
ON/OFF
* Provided
-518-
.5 .2
rr-5.
5.
rrr-10.
*3*
?o;,
is required
Reference
Soecification
Name
PMC
i teirn
III-II.9
Clock function
MDI ooeration
Provided
III-5.1.I
rrr-5
MDI operation
Provided
Provided
0rder-made macro
* Provided (64K8/128K8)
Reset
Provided
Optional
CMR
I .3
rrr-5. 4.5
Provided
Rapid traversing
Provided
Dry run
Provided
III-6
Single block
Provided
III-6.7
Provided
Self-diagnosis
function
Provided
Emergency stop
Provided
St.atus output.
CNC
signal output.
III-7 . I
F
F
It
6000
rpur
External dimensions
560(W) nn
Power supply
x 400(n)
5O Hzl6O
t-
or
I.
1,
rolo
Fz +t
FANUC
AC servo motor
Connectable spindle
notor
FANUC
AC spindle
rl
200(D) nn
-L57"
ttz
-157"
motor, etc.
,l
F:'
t:
*'4000 rpn
.6
-519-
o:t
Reference
Specification
Name
i i6m
* Provided
Software oPeratorr s
panel general Purpose
* Provided
Machine oPeratorr
panel
* Provided
Software oPeratorr
panel
Specification
Name
Incremental Pulse
coder interface
ITT_2
LLL-L.L
. Position Detector
is required
PMC
PMC
is required
Reference
itern
Provided
Provided
Absolute Pulse coder
i-nterf ace
,
PMC
Speci
3000 stePs
*
*
*
*
3000
5ooo
8000
12000
fi cation
steps
steps
steps
steps
No. of DI/DO
*
*
-520-
required
o:t
Program Inpu
is
required
Reference
Name
PMC
item
Coordinate system
setEing
Provided
rr-7. I
Automatic coordinate
system setting
Provided
rr-7 . I .2
rr-7.1.I
Decimal point
Provided
rr-8.3
Provided
rr-8.3
programming
Program input of
offset data
* Provided
Custom macro
:k Provided
II-I6
* Provided
II-
Custom B
format )
(F10/fl
rr-8.2
I
i
I7
Cutter compensat.ion
* Provided
II-T4.2
Cutter comDensation
* Provided
rr-14.3
Canned cvcle
rY Provided
rr-13. I
Playback
* Provided
Circular interpolation
by R programming
Provided
EIA/ISO automatic
discriuinat ion
* Provided
Mirror
Provided
image
Automatic corner
override
*' Provided
Scaling
rt Provided
rr-14.5
Coordinate rotation
* Provided
rr-14.5
I'lenu programming
:Y Provided
rrr-9.
Ff0/ffl
* Provided
II-18
tape format
'l
;|
I
.521
14
o:t
* Provided
Conversational
*'Provided
programming with
Reference
Soecification
Name
is required
PMC
item
graphic
Conversational
programming with
graph for machining
*'Provided
center
Ilacro execucer
r rt. Auxiliary
64KB/*i28KB
o;,
lunction
Auxiliary function
Auxiliary function
lock
rr-11.1
M2
digits
M3
digits
86 digits
Provided
. Soindle Function
Spindle function
rr-9.1. i
s4ls5 dlgirs
* Provided
Spindle overr.ide
t, 50 -
Provided
l2O%
PMC
-522-
s requlre
item
S2 digits
PMC
.3
Reference
Specification
by
III-6
Name
is required
Reference
item
Specification
Name
PMC
. Tool Function
memory
item
II-10
T2
T4
Tool offset
requ
Reference
Specification
Name
Tool function
*6 di-gits x 32
* 64 nemories
f 99 memories
* 200 nemories
Tool length
rr-14. I
Provided
comoensation
Tool life
* Provided
management
* Provided
*'Provided
o;,
Edi lo
, Edit/Operation
length
No. of programs
registered
PMC
is required
Reference
Specification
Name
rr-10.2
item
rrr-9. l8
10n
*.20 n
*40u
*80rn
rt 120 n
*320n
* 63 programs
* 125 programs
g 200 programs
rrr-9.
l7
Provided
rrr-1 I . 2
Provided
III-9.9
Provided
III-9.4
I block
rr-13 .4.4
9 blocks
Sequence No.
* Provided
-523-
rr-I3.4.4
o:
Speci
Name
External work
PMC
is required
Reference
item
fication
Provided (15)
No.
search
Program protect
Provided
Background edit
* Provided
rrr-9. I 3
. Dlspl.a
Di
req u ired
, PMC 1S
Speci
Name
English
Japanese (Chinese characters)
Languages
*
*
*
*
German/French
Chinese
Italian
'. t
display
Reference
ltem
fication
III_I
Provided
-:
I .6
.j
Graphic display
* Provided
III-14
Provided
rrr-1 1 .4
Floppy cassette
directory display
* Provided
rrr-13.7
. External Data
Dat rnput/uutpu
/o,t
o:,
*'Provided
* Provided
External
*' Provided
* Provided
o,
15 works
message
search
Remote
buffer
High-speed remote
buffer
':t Provided
* Provided
-524-
is required
Reference
item
Specification
Name
PMC
is required
Name
High-speed remote
buffer
Sp
Reference
ecifi cation
item
* Provided
* Provided
-525-
&:
a'
n1
,.t
-l
II
i)
i
I
o
O
uJl
sl
(Y)
Ig
Jl
It
-t
o
(l,
I
cc
<l
fl
zl
<l
EI
I
o
u,
(D
chl
E.
cc
uJ
o
co
=
o
o
o
I
irA
2o>
o
F.
po
o!
!o
o6
CD
6ko
l+'
lrt
:!
i,
I
t'
i_
(J
=qlltrF-:#.;.'
""*r{fff
'ir
S.t
lf,'-c-:.,{41
:
'i:,
\*'
^.\
\\.
\rI\
i.
ut
\
't
ii
'a
.*
;:i
ll#+-;r-ieK;ll.*,
-\l-./t#
\
'.:,.
'.
.,
'tt