
INDEX
APPENDIX
....
APPENDIX
*
APPENDIX
Chapter
.
.
«
-
•
*
.
•
.
.
.
6
4
2
6
2
6
2
2
4
4
4
2
8
2
2
2
2
8
4
4
4
4
4
2
2
2
6
2
6
2
3
6
7
2
2
6
2
2
5
7
3
3
4
4
5
8
5
5
5
5
5
4
Subject
P
Program
PUSHBUTTONS,
R
Rapid
Traverse
RAPID
Reference
REFERENCE
Reference
Registration
Registered
Remote
RESET
Return
ROUTINE
S
S2-Digit
S5-Digit
Scaling
Sequence
Servomotor
Setting
Setting
Setting
Setting
SETTING
Setting
Simultaneously
Simultaneously
Simultaneously
SINGLE
Skip
Function
SPINDLE
SPINDLE-SPEED
Splicing
STANDARD
START
STORED
STORED
STORED
Stored
Subroutine
SWITCHING
T
T2-Digit
T4-Digit
Feed
Tape
TAPE
AND
Code
Tape
T
CODE
APE
TAPE
FEED
TAPE
INPUT
Tape
Reader
Reader
Tape
TAPE
READER
TAPE
READER
Reels,
Tape
Reels,
Tape
REELS
TAPE
Restart
TRAVERSE
Power
Key
from
Programming
Programmingt
Function
and
Data
Data
Data,
+
LAMPS
Rate
Check
Point
POINT
Return
Point
of
User
Program
On
/Off
Reference
INSPECTION
Number
(G50,
andDCMotor
Parameter
and
Parameter
and
Parameter
Displaying
NUMBERS.
of
Baud
Rate
Controllable
Controllable
Controllable
BLOCK
NC
LOCK
Stroke
Switch
(031)
SPEED
OVERRIDE
FUNCTION
Tape
INPUT
Input
LEADSCREW
LEADSCREW
STROKE
Limit
Program
UNITS
UMIT
Programming
Programmingÿ
Switch
and
MEMORY
.
*
and
SYSTEM
/OUTPUT
. .
COMPARTMENT
Handling
Handling
+
AND
OVERRIDE
RATE
(G2?)
Lamps+
(G30)+
Macros
Number,
Pushbuttons
Zero
SCHEDULE
G51)+
Tape
UST
and
+
/OUTPUT
(or
Switch)
ERROR
ERROR
,
+
(G22,
(M98,
ON
THE
System
MODE,
No.
OPERATIONS
.
inch
8-
6-inch
KEYS
+
.2nd,
Display
(G29)+
Spindle
for
Verifying
Data,
Inputting
to
Data
and
OF
Others
Axes
Axes
Axes
Switch+
Paper
Writing
of
Serial
of
Four-
of
Three-
of
(S-FUNCTION)
SIGNALS,
+
COMPENSATION
COMPENSATION
PREPARATION
G23)+
M99)
CONTROL
No.
Switch
OPERATION
Switches
.
.
.
.
.
Switch
3rd
of
•
•
• •
•
•
Five-
UST
STATION
NC
OF
and
* *
«
•
• •
*
Tape,
Interface
axis
axis
axis
FOR
IN
....
DATA
•
*
•
4th
........
Outputting
Control
Controlÿ
Control
.
•
OF
.
AND
•
.
.
•
*
•
.....
Section
6.
2.
4
4.1
2.4.1
6.1.11
2.9.13
6.1.16
2.9.16
2.11.7
4.5.4
4.2.3
1.12
4.
2.
9.15
-•••
8.1
2.5.1
2.5.2
2.
23
9.
2.2.2
8.1.3
4.8.1
4.4.2
4.4.4
1
4
3
4.3.6
4.7.3
2.3.4
2.3.3
2.3.2
6.1.17
2.9.17
6.1.14
2.5
-
3.4.1
6,1.27
•
7.4
2.9.I2A
2.8.7
6.1
2.6.1
2.6.2
5
1.1
7.6
3.1.1
••
3.1
4.1.13
4.4
5.1.2
1,1
8.
5.1
..
5.2,3
5.2.2
..
5.2
•
*
-
*
•
•
•
•
«
*
•
«
-
•
•
•••
-
•
Page
180
125
10
168
170
112
148
131
129
191
192
156
144
144
138
200
152
170
170
124
230
174
226
187
166
159
188
121
121
129
143
159
192
159
159
161
160
160
36
39
38
13
14
63
39
13
33
20
14
14
6
8
7
7
\
vi

2.5.2
S
5-DIGIT
PROGRAMMING*
2.6
TOOL
FUNCTION
(T-FUNCTSON)
5.
2.1
2.
five
With
(
S
S
I
directly
The
programmed
the
inputting
signal
When
block
(spindle
block
the
to
cases.
chine
chine
The
S
grammed
command
is
stopped
fective.
again
the
speed
the
When
S
new
M04,
attention
dle
speed
NOTES:
•
The
(SO
the
by
the
to
program
•
When
command
is
possible.
50
and
be
can
S
5-digit
digits
111
written
1
1
1 1
1
commanded.
of
(SFIN)
S
an
with
reverse
starts
level
However,
tool
tool
under
builder's
an
.
command
M03
(spindle
only
specified
commands
once,
is
Therefore,
with
it
programmed.
a
M05,
by
M03
an
specified
spindle
command
after
must
range.
lower
and
limit
otherScommands
spindle
motor
machine
minus
the
control
function,
That
the
of
120%
obtained
Programming
I)
.
spindle
speeds
after
become
address
an
speeds
effective
in
S-command-completion-input-
is
programmed
forward
run)
,
the
the
after
the
by
for
exact
consideration,
execution
spindle
S
behavior
in
run)
speed
command,
of
refer
or
of
to
manual.
modal,
are
remains
theScommand
when
(or
by
speed
it
be
of
programmable
tool
values
equipped
is
spindle
is,
commanded
intervals
at
effective
Even
the
M04)
,
the
S
to
is
is
started
paid
the
of
builder's
as
override
and
when
when
spindle
the
spindle
command.
be
changed
the
to
near
machine
manual.
S
commands.
with
speed
speeds
spindle
of
10%.
it
until
the
remains
with
selected
S
0)
is
the
overriding
character
are
rpm
upon
the
same
M04
the
next
reaches
most
in
.the
ma¬
the
ma¬
is
pro¬
another
spindle
ef¬
starts
runs
by
a
MQ3
an
spin¬
commands
determined
tool.
Refer
Do
S
5-digit
between
speed
at
not
2.6.1
Two
tool
T
digits,
number.
2-DICIT
following
Leading
PROCRAMMING
the
address
zeros
may
T,
be
specify
omitted.
the
T
Tool
The
ber
the
When
figures
determined
are
machine
move
a
for
used
builder's
tool
command
-
by
number
the
designation
the
and
machine.
manual.
T
code
a
of
Refer
are
tool
to
issued
num¬
simultaneously,
•
the
or
•
the
the
depending
For
•
T
or
are
T
•
T
automatic
tool
can
codes
or
2.6.2
Four
tool
commands
two
T
commandisexecuted
execution
the
on
this,
refer
codes
given
command
code
modal,
are
,
they
is
commands
tool
number
be
given
which
T
4-DICIT"
of
following
radius
digits
number.
of
the
design
the
to
remain
given.
are
changers
be
used
to
without
for
are
the
tool
PROCRAMMINC
are
executed
move
of
machine
and
generally
regard
offsetting
currently
the
upon
command,
the
builder's
therefore,
effective
(ATC)
next.
address
simultaneously,
completion
machine.
once
until
for
making
select
to
Therefore,
G,
the
to
the
for
use.
in
T
specifies
manual.
they
another
the
they
or
H
length
of
D
the
EXAMPLE
1000
S
s
MO
1000
t
START
THE
3
rpm
A.
OF
BLOCK
Fig
SPEED
SYNCHRONIZATION
'ACTUAL
START
COMPLETION
COMMAND
M
2.8
.
SPINDLE
OF
SPEED
—
14
•
•
—
T
Leading
This
codes,
digits.
tool
zeros
code
except
may
is
for
Tool
the
the
number
be
omitted.
same
increased
as
the
T
2-digit
number
of

LIST
OF
9.1
2.
CODES
G
AND
CROUPS
(CONT'D)
and
Shift-
ON
OFF
to
sur¬
ma-
to
system
Table
i
G
code
GCKr
G01
G02
G03
G04
G06
G09
G
10
G12
G13
Gl7ÿ
G18
G19
G20
GTT
G23
G25
G27
G28
C29
30
G
31
G
G36
37
G
G38
G40
G41
G42
G43
G44
G49
G45
G46
G47
G48
G50ÿ
C5T
G52
G53
Group
01
*
02
06
04
*
*
*
07
08
*
15
12
*
Positioning
Linear
Circular
CW,
tion
Circular
CCW,
tion
Dwell
Positioning
detect
Exact
Tool
work
value
Circle
Circle
XY
ZX
YZ
Inch
Metric
Stored
Stored
Program
Reference
Automatic
reference
Return
point
Return
4th
Skip
Automatic
Automatic
Z-axis
face
Tool
tion
Tool
tion,
Tool
tion,
Tool
tion,
Tool
tion,
Tool
tion,
Tool
extension
Tool
retraction
Tool
double
Tool
double
Scaling
Scaling
Return
nate
Temporary
chme
Function Function
interpolation
interpolation
Helical
CW
interpola¬
interpolation
Helical
interpola¬
ccw
error
m
off
mode
stop
offset
value
coordinate,
modification
cutting
cutting
plane
plane
plane
input
input
stroke
stroke
reference
function
reference
offset
radius
cancel
radius
left
radius
nght
length
plus
length
minus
length
cancel
position
position
position
extension
position
retraction
to
system
coordinate
designation
designation
designation
designation
copy
point
return
point
from
2nd,
to
centering
centering
compensa-
_
compensa-
_
compensa-
_
compensa-
direction
compensa-
direction
compensa-
_
_
OFF
ON"
base
shift
CW
CCW
designation
limit
limit
check
reference
3rd,
point
_
offset,
offset,
offset,
offset,
coordi-
B
O;
Basic
.
Optional
B,
B,
B,
2.21
B
B
0
O
B
B
B
O
0
O
B
B
B
O
O
O
0
O
0
O
O
O
O
O
0
O
0
O
O
B
B
B
B
B
B
B
O
O
O
0
List
of
G
code
G54
G55
G56
G57
G58
G59
GEO
GoT
GS4
G65
Goo
G67
G70
G71
G72
G73
G74
GT6
G77
CSF'
G8I
G82
GS3
G84
G85
G86
G87
Goo
G89
G90
G91
G92
G98
G99
cTocr
G
101
1
G
G
122
123
G
G
124
02
codes
G
Group
16
17
12
TH
IS
13
Exact
Non-modal
*
macro
Modal
14
Modal
Bolt
*
Line-at-angle
Canned
Canned
Canned
Canned
Canned
09
Canned
Canned
Canned
Canned
Canned
Canned
09
Canned
Canned
Canned
Absolute
designation
03
Incremental
designation
Programming
*
zero
Return
for
10
Return
canned
High-speed
High-speed
sequential
mode
High-speed
processing
Tool
start
Tool
end
*
cancel
Shift
system
Shift
system
Shift
system
Shift
system
Shift
system
Shift
system
work
to
1
work
to
_
2
work
to
3
to
work
4
work
to
5
work
to
6
Unidirectional
act
x
stop
stop
call
call
cancel
Arc
for
hole
cycle
cycle
cycle
cycle
cycle
cycle
external
cycle
cycle
cycle
cycle
cycle
cycle
circle
cycle~8
cycle
command
point
to
canned
to
cycles
ON
register
register
register
_
coordinate
coordinate
coordinate
coordinate
coordinate
coordinate
approach
mode
mode
call
of
user
user
of
10
T
I
2
1
13
cancel
1,
motion
2
3
4
S'
b
7
9
command
_
of
initial
cycles
point
cutting
cutting
processing
cutting
mode
cancel"
of
user
macro
macro
Output
absolute
point
_
for
R
cancel
in
in
ON
Tool
control
life
B
0.
*
Basic
Optional
O
O
O
0
O
0
O
B
B
0
0
0
O
O
0
0
a
O
O
O
O
O
O
0
0
O
O
B
B
B
O
O
O
0
O
O
o
O
Notes
non-modal,
are
group
in
only
or
more
only
marked
on
the
*
for
They
a
in
onceina
with
or
reset.
the
cannot
block.
block
be
They
block
automatically
is
which
in
pro¬
must
of
own.
its
codes
The
l.
and
t
they
grammed
be
2.
selected
G
effective
are
commanded.
are
twice
programmed
The
codes
at
power
—
23
-

2.9.22
Tool
position
the
ing
the
by
mainly
square
required
(tool
G42
G
1.
G
G45toG48
2.
value
tion
TOOL
movement
values
used
patterns.
with
radius
codes
code
G45
G46
G47
G48
programmed
of
movement
POSITION
offset
in
for
controls
of
Group
*
*
*
*
extend
tool
A
for
is
value
designated
the
tool
tool
radius
Therefore,
equipped
compensation
position
Extension
Reduc
Expansion
Reduction
and
in
by
the
OFFSET
extending
offset
memory,
compensation
this
C).
offset
Meaning
tion
by
by
reduce
block,
the
tool
(C45
in
function
with
double
double
the
in
offset
C48)
TO
or
reduc¬
the
program
and
for
G40,
movement
the
direc¬
value.
is
is
G41,
not
3.
4.
Extension
block
and
movements
Therefore,
ed.
duced
an
extension
direction
Make
program
signation
above
given
and
sion
of
tion
the
end
command
and
reduction
movement
become
When
programming
offset
tool
with
axis
modal,
code
is
the
tool
or
reduction
which
in
values
must
(G91)
operation
absolute
by
reduction
movement
point
target
amount.
complicated.
number
designation.
they
may
used.
offset
G45
in
other
to
to
the
or
reduction
be
programmed
command
for
clear.
designation
to
the
of
point.
madetothe
are
by
be
Store
value
is
G48
to
blocks
restore
original
by
the
sake
When
made
are
the
movement
preceding
That
The
programming
G45
to
a
D
Because
omitted
the
memory.
made
are
extended
program
the
in
incremental
of
the
along
is,
G48,
code
the
if
tool
radius
m
only
programmed
are
the
unaffect¬
or
re¬
values,
opposite
eventually.
making
(G90),
de¬
the
command
exten¬
the
direc¬
value
block,
incremental
to
extension
may
designate
simultaneously
D
codes
D
same
value
is
from
the
the
are
in
EXAMPLE
G91
GOO
©
(D
G01
(D
©
©
GOO
©
G46
G47
G47
G47
G47
G46
X
Y...
X---
Y---
X--.
X-.-
••
Y---
(D01)
(D01)
(D01)
(D01)
Y---
Y
D01
F...
.
;
;
(D01)
0
,
©
;
;
r;
Reduction
Extension
Extension
Extension
Extension
Reduction
0
©
PROGRAMMING
double
by
by
double
by
double
double
by
©
j
X
2.62
Fig.
—58—

2.9.24A
(C52
Six
types
to
ing
able
There
•
follows.
A.
G59)
to
six
for
selective
Basic
This
set
the
tion
until
tool
treated
point
WORK
+
work
of
codes,
G
three
are
coordinate
the
is
by
up
automatic
When
.
any
position
as
.
COORDINATE
coordinate
G54
use.
types
system
basic
G92,
coordinate
by
coordinate
the
power
of
these
actions
the
at
the
temporary
through
of
coordinate
the
ORIGIN
supply
time
SYSTEM
systems
G59,
system
system
will
of
turning
coordinate
SETTINC
correspond¬
are
systems
to
or
key,
setting
is
turned
made
be
on
origin
avail¬
be
by
,
is
as
func¬
,
on
the
B
A
.
C.
coordinate
Work
any
When
commanded,
is
origin
ting
is
by
numbers
set
these
shifted
up.
coordinate
coordinate
controlled
work
for
coordinate
Machine
This
is
machine,
the
to
returned
is
coordinate
reference
the
of
the
by
corresponding
The
codes
G
systems,
system
to
it.
coordinate
systems
coordinate
coordinate
a
to
system
point.
system
G
codes
a
coordinate
the
coordinate
are
and
is
Since
systems,
can
system
system
and
is
the
reference
has
amount
referred
when
set
up,
there
be
set
its
G54
system
systems
used.
which
up
(0,
through
set
that
to
to
once
the
are
up
when
point.
0,
by
as
tool
six
to
0)
with
set
is
point
the
G
work
a
six
fixed
the
This
G59
code
work
will
G
the
set¬
up
be
codes
work
tool
at
•
The
setting
G
for
i
•
Setting
G59)
(
GS4
G55
this
When
the
tool
nate
system.
•
Returning
;
G52
this
With
coordinate
work
basic
coordinate
•
Temporary
nate
system
(G90)
this
With
position
system
G
i.
code.
codes
G
up
,
will
command,
G53
command,
(X,
only
number
from
code
G54
G55
G56
G57
G58
G59
work
,
56
G
ommand
be
basic
to
shift
GOO
Y,
this
in
for
to
G54
Work
Work
Work
Work
Work
Work
coordinate
G57,
G58
is
given,
controlled
coordinate
the
system
system
to
positions
X--.
the
Z)
the
on
block.
setting
G59
Coordinate
coordinate
coordinate
coordinate
coordinate
coordinate
coordinate
currently
is
becomes
Y---
tool
are
Table
systems
G59)
or
from
the
by
system
cancelled,
on
Z---
shifted
is
machine
is
G53
the
as
2.27
system
;
that
work
effective
effective
machine
coordinate
a
amounts
shift
follows.
Work
system
system
system
system
system
system
(G54
to
time
coordi¬
(G52)
and
the
again.
coordi¬
;
the
to
non-modal
Coordinate
1
2
3
4
5
6
on,
System
X
#6516
#6522
#6528
#6534
#6540
#6546
EXAMPLE
N
1
G90
2
N
G54
N3
X100.
4
N
X300.
5
N
G52
N6
X0
400.
300.
N1
200.
100.*
'Hi.
100.
#6523
#6535
#6541
#6547
X100.
;
;
Y0
301
201
[2
101
200.
Setting
Y
#6517
#6529
Y300.
Y200.
;
100.
N3
1
300.
Y
200.
;
,
200.
400.
A
Z
#6518
#6524
30
#65
#6536
#6542
#6548
,
14,
300.
500.
N5
400.
600.
a
#6519
#6525
#6531
#6537
#6543
#6549
SHIFT
COORDINATE
(200..
500.
600.
700.
800.
AMOUNT
100.)
FOR
SYSTEM
WORK
SYSTEM
BASIC
SYSTEM
WORX
1
COORDINATE
(1)
COORDINATE
72
2.
.
Fig
65
-
—

I
1
(b)
Data
Table
Tape
122;
G
I
PCEC
TAAAHOOO
Lxxx;
TAAAHOOO
Lxx
POODIai
TAAAHOOO
G
(c)
The
ing
given
will
G124P...;,
group
123
G
tool
the
be
In
x
x
L
code
in
other
specified
NOTES:
(i)
All
previously
by
executing
without
(a)
previous
new
m
(*
(b)
will
are
will
omitted,
(ii)
will
data
(iii)
being
(iv)
G123
setting
(v)
tool
If
data.
which
mark)
tool
If
be
omitted
change
Settings
start
if
The
used.
Tool
so
The
command
to
specifying
10....
II....
12.
..
(vi)
Each
the
has
command
OSTS9998,
128,
OSIS2
commanding
2.33
Format
;
DODO
DODD
x
;
DODD
y
;
(G124)
life
control
G124;
the
same
erased.
words,
it
will
G124;.
executing
numbers
data
H
If
exists,
T
.
numbers
registered
in
to
L9999
are
after
and
H
L
life
these
same
the
following
I.
Controlling
Controlling
Controlling
.
to
1
the
of
following
values
OSH,
format
Tool
Life
Tool
registration
Commands
Commands
Specifies
Specifies
after
No.
Specifies
after
No.
Specifies
Sets
Tool
for
data
command.
block
(P
1
=
by
be
possible
.
P
by
registered
If
G124,
have
be
T
m
block
erased
D
will
are
simple
will
and
the
unregistered
be
will
stored.
possible
cancelling
G122;
D
codes
will
be
commands
tool
life
classifications
by
by
by
feet)
9999
addresses
commandable
will
result
DS299,
Control
Meaning
group
life
tool
tool
H.
tool
D.
tool
group
new
registration
clearing
can
be
command
a
If
G124,
as
128)
to
entering-
data
command
following
the
already
omitted
are
change
unregistered,
form.
in
which
(*
which
in
previously
all
executed".
is
be
can
modal
between
can
life.
(1
time
counts
distance
T,
an
m
OSLS9999,
Data-
start.
No.
classification
No.
after
data.
end.
tool
1
—
compensation
compensation
9999)
registration
length
radius
life(
cleared
one
the
erase
to
be
will
G122
been
and
replaced
in
to
unregistered
If
exists,
T
mark).
"registration
omitted
omitted
be
can
9999
to
(1
to
(1
to
H,
D,
range.
error.
Format
after
P.
after
T.
after
enter¬
by
is
P
for
group
command
the
only
cancelled
is
entered
will
result.
registered
with
block
the
data
new
and
H
If
IS
L
registered
when
not
and
G122
when
set
be
minutes)
times)
9999
inches
9999
P,
L,
I
other
Any
ISPS
L.
only
D
T
by
1.
(vn)
Commands
independent
(vm)
command)
...
Do
G123;
command
(IX)
Do
not
manual
will
(x)
result
If
I
MDI
is
specified
A
cleared
.
state
2.9.32.4
(1)
Commands
life
Tool
from
codes
control
the
shown
Table
Format
Tape
T1Q001,
(DM06;
H999;
D999;
DO,
HO;
;
T
©M06;
M30
:
Note
T
The
1.
"tool
of
T10128
to
codes
T
2.
(2)
(a)
parameter
is
•
H
The
will
be
with
Tool
One
to
be
Counting
the
group
•
Counting
just
prior
blocks
enter
not
than
other
section.
entered.)
is
switch
command
this
if
omitted,
in
that
group
EXECUTION
with
can
program
part
2.34
in
Tool
Tool
the
10000."
The
with
count
The
selected
The
selected
Cancel
Cancel
Returns
The
out
from
distance
Machining
code
life
the
life
M06
tool
the
H-NO
D-NO
tool
with
the
command
group
controls
registered
D
and
selected
tool
life
count
the
of
#6020
performed.
of
a
the
of
to
M06
a
the
of
G122
and
.
commands
tool
information
(Alarm
over
while
is
attempted.)
life
the
group
will
will
D
H
codes
life
following
on
tool
tool
will
generally
OF
the
part
be
performed
by
table
Life
Control
control
commandof"tool
be
will
M06
command
normally
registered
the
with
registered
the
with
normalTcommand
to
which
on
the
M06
shaft
main
will
end
ends.
of
number
tool
m
of
by
commands
control
the
tool
in
the
command.
in
the
M06
command.
G123
(such
result
will
mode
the
executing
classification
remain
be
TOOL
program
using
below.
by
Meaning
ON
mode
mounted
and
start
on
command.
H999
on
command.
H999
control
life
command
and
the
numerical
10000"
+
and
life
that
group.
the
tool
function.
can
be
on
which
latest
T
command
can
in
to
G122;.
unchanged.
the
in
LIFE
with
the
Part
be
will
group
the
on
time
thereafter.
the
tools
tools
the
is
will
counting
outputs
being
H999
selected
command
T
be
used
as
a
shift
the
G122;
if
such
execute
(Alarm
originally
'’minutes"
CONTROL
commands
T
and
Program
set
wtth
number
shaft
main
and
distance
be
will
be
will
carried
being
removed
be
of
time
value
10001
T
with
selected
D999
and
with
count
life
group
in
a
a
H
+-
and
the
—
91
—