okuma LB15 Programming Manual

.
,
..-'"
OI<UMA
TECHNICAL
..
CENTR-E
--
-PROGRAMMING
-.'
"FO.R
CNC,~LATHE
..';H;1i\1;~:2~,~11~..
MANUIAL
,-
-
...
PAGE
1.
2.
3. PROGRAMMING FORMAT
4.
5. HOW TO PROGRAM CUTTING CONDITION
6.
7.
8.
INTRODUCTION TO PROGRAMMING
PROGRAM PROCESS SHEET
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
AXIS & MOTION NOMENCLATURE
DETERMINING CUTTING CONDITIONS
REFERENCE POINT/PROGRAM ZERO
TOOL SELECTION
......................
...............
9. WORD FORMAT
..
.. .. .. .. .. .. ..
... ................
.. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
..........
..............
1
2
3
4..........
5
6
7
10
. . ::,::,~~;:t.~,~;:':;;~.~;.~.,:". . :: ~ .; ;~.;l,~;~~~.~~i,~~ .
11' .
12.
" i.'
13.
'14.
COMPOUND FIXED CYCLES
LAP FUNCTION
.'..'
, ~.~
M-CODES 8 ;.,... .. .. .. .. .. .. .. .. ..
. .
PROGRAM EXAMPLES
15. TOOL NOSE RADIUS COMPENSATION.,j".......
. .
.. .. .. .. .. .. .. .. .. .. .. . .. .. .. -. . .. .. .. .. .. .. .. ..
... ..............
.. .. .. .. .. .. .. .. .. .. .. .. .. .. -. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .-.
48
f
ProgrammingFormat
Model 1S (Single Turret Model)
00100
NOOOO.
NOO01 NOO02
NOO03
N0050 GOO NOO51
Explanation:
NOOOO
NOO01
N
.
. .
.
.
.
G
G50 GOO
X
2
Xoooooo 2000000
X()()()()()O
2000000
(Cutting Program)
Xoooooo
200000o
',K,F
S.r,M
S 00 00
Soooo T0000 Moo
. M03(M04) MOB
-
M05M09 M02
~:.'
Dim43nsionwords. X ari~'?specify the turret inde)Cingposition,
.
0
'..
'.,
FOUr-digitSwordspecifi~s;thesPindlespee<fo,>,. . "'." .,' '. ..' '," ,.., :
X~)\.~i,=~6rc3'iiIit~;~fb~f~1~~i;~;~i~heri' ~~I;no~~'~~1h~;~ompensationi~ . no. '~-~t:J: '6r 'wit'h '
, psix-:digit number, when iLis..used. _ , .'.,'
'.~ . '" J~'; 1" .q. ~~i~'.::':' ~". ' . ,:~ '- ... ';':~$..~:~~.
::'-;Two-digitM code speci~ies the spindle Speed r~~o
N0002 : 'M03 starts the spindle r~tatiq~ in the forward dir8c~ipn.
(M~4in rever~;). . ' .
'
O
M
08 t
s a s cooan suppz., . '. ,_.,.,) __., ,. . , "
~
"'
".'
.
rt
t
.; ,,',., ~~,\1'.' .;..'," .
I
N0050 : Dim~nsionword~X'and ~return th~ t~iT~t'to'fhE{inae~ing position.'
M05 stops spindle rotation and MOBcoolant supply.
','
...;
: ",
N0051
'.
Provide M02 at the end of a part program.
: '..
'.'.
,.
.
Program Process Sheet
PROCESS SHEET
.,-.
N
0104
-
N001
-
N002
-
N003 N004
-
NOOS
-
N006
-
N007
-
N008
-
N009
-
,01O
-
..-
, ,(,}0.11
N012
,.NO13 '- ~:;, :':; ,W~;~:1':; .~Z40 $, '
N01l '-;;GOO'( ')(2~o5 t~4~'" N01S'
G
X(U) Z(W)
GOO
G01 GOO
G01 GOO
.~192
:9°l:!,.t;;~~".:, .1"if~,8:,:,."
'>
X800
X250
X20S
X250
X205 X230 1258
X200,
Z2000 Z100 Z53
-
Z43
I
I Z50
Z40
I
K F
:~~K.~;<i~:"."
.:" r
'!~'~0:', .~-.-.
, r
.,,', ',1 ./J ~I ':i,
S,T,M
M41 S120 M03 M08
FO.3,
FO.25
ro.4
"';;:'.
. ,
. t'~G~.'~:~,-. ,'_'.~-.;". :,..,;. ¥J."i"" t'~P"T""..d':'; ~ - t:~..:. '::,,: "~~~ . };_;." i. __.: _', ~~, ..-,!~~.\~_'-"'~o..~~~';~:;~~"_
, Shown' a~ov~i:,.i1>:~~?,.:~el~-,WPleO! .a program"~'':ocess shee~. It is ~~ti~Wlgwhiph:~e~~!J~~;i~~~:~~\Bf ....
programml~g, InstrUCtions,'compnslng alphabetic and numenc char.ac~~~,,,@~raE9ep,,1.0,;;a'~:~_9.f!.QI~!!.Hft\
':)IF:;~~~f:L
programmin~fscheme:iWith'1hese"instructions,operationsofthe machin~;jirtr'exptess~d:.' y~ >t"'''::~:' :; ':~i;;:"
Ecicn'line of the~
Agr'oup of commaf\ds .wJi~tef!in o.ne,line,is referred to.as a -block- and it-describes one machine,.'.' .
operation. . , ., ;
T.' '., . " ---"" .. _' ~ ~. .~:r ~.~. '. ~ . I. :; :
Usually, '(he machine executes, the programmed commands block by block in the order as programmed to produce a part.
The steps preparing such program process sheet is called .programming~.
p
. . . _ ,',' .' , _,_'. :,.-:,;~, ,- .-. ," ~:_::,.,:..:():::-~~~ .-:.'\:~_-~~~~:':::.r~~:i'rj~
rocess'~t1eet ~tarts with'
, . _: '.. ',,"..~: ~.t~.- ..".' " . . : \.', " '. . "\.' . - ~
.'
. .' . :",.,;..,,,\
S
'.' uencatNumber :{N''Wora)
eq
:,~t;KIn"
,--', -:?;,;,;~.:, """;}~~?;;f~~
I~'
II
AXIS AND MOTION NOMENCLATURE
.
Models LB9/LB121LB1S1lB25
The axis designation of LB91l812/LB151lB 15-IIIL825 CNC Lathes is as follows:
LB91l812/LB 151lB25
X-axis
(+ )
(-)
(-)
Transverse Turret Movement (infeeding direction)
. . . . . . . .
X-axis
Z-axis
(+ )
Z~axis
,'.
.'
-.t-:.;.
LongitudinalTurret ~ovement
". . .
Direction of axis movement is defined by .. +" and ..-" sign
;1
. >
X-Axis Command (1 mm unit ~OfT!rr~an~).; :' ;, i;. . "
. ~ f;: t1 '" '{'p,. ~ '}1 i";- _ ':;, or C~"'. :';';,;' 'i~/D...:._~i-':-t;~... . ..:_.:':/:." '_"",. ',_. ;._:
X-axis command'is given'iriierms'Ofdiameter as indicatedon apart drawing.
.
E
. t. '. '1+..:, 1', . . '..0; :> :..::,.:' ".
I
xamp e:' . ,
Program zero
---- xo
Z-Axis Command (1 mm unit command)
/
Z-axis command is given in terms of longitudinal dimensions referenc~d to the progra"rt~,'3.t9;}_c;;:i'-';'-i;;-:
Example:
. ." '-;;J;~:~(~..{i~~:::~~~:~~:..~""'~',;[o"j..:_\.-~.~..
~=.~ ,..,-~~
11II'
_~.r..,~'~~",~, ~ ..
1
III
--
.'
181
HOWTO PROGRAM CUTTING CONDITION
Basically, the cutting conditions such as SPINDLE SPEED, FEEDRATE, and
DEPTH OF CUT use on a CNC Lathe can be determined in the same manner as
in the turning operation on a co~ventionallathe.
All the programmer has to do is to convert the conditions into the coded, digital form as -per and to register thes~ numerical information on
a) SPINDLE SPEED is specified wit~ a maximum 4-d~gits S code.
e.g If a spindle speed
m/min is required,
respectively.
b) FEEDRATE is specified with a maximum of 5-digits in Metric system
of 350 rpm or constant cutting speed of 120
it can be program as G97 S350 or G96 5120
pre-determined cutting
the data input format the process sheet.
F code.
e.g If a feedrate of 0.35 mm/rev is required, it can be programmed
as G95 FO.35.
C),
Example
Where, 'st6ck-4;ditnt~t~ei..
Des iredd~pth ()t(~ut,~i. ='i~5 ;,mm 't.~nj
X value to oePEogrammed
(depth of ;~m:~{~ '~a7~ri;eter)
. ,,~uV.r~~{~'Jt..~f~~~f?~.~'~;:;~-:. r~p:;:J:
. ",~:"~;". ;--\~~. ,... ~~J:~;).r:.;;:.!.',
.:.:.. .',.f'''-,r. ;-..;i,;~',--~.."r . .
= 100 ~ (5x2)
=
90tfun'
,.....
Determining Cutting Conditions
Cutting conditions such as spindle speed, feedrate and depth of cut are selected more or less in
the same manner as witha conventional lathe. WithCNC lathes, these conditionsare entered in a
program process sheet using alphanumerics in the predetermined format. ' Formulas used to determine cutting conditions:
V=1rXDxn
where, V = cuttingspeed, m/min
I
1000
rr =circular constant (3.14)
o =workpiece diameter, mm
n =spindle speed, rpin
HP =
kW
. . j -"'!"-~" ~... . r ". _\ .
~here, ~ HP, ~ required hor:sepo~er, ~p e/i'.:" ~'.<,.
VXKxtXf
7S x 60
, .
V xJs ~_!'-x
6000'
, , ,
'-'-":'~~i;.;t:'ieq~~~~?, ~O~!~'.~~\ 1'co' "'" ' ',Q'I~J,
.:~Y:.:~~:'~>._~~mrig'.s~ed,' m/min
~."I< =, cutting :r~sis~~nce~ ~.g/t1Jm2, ,
". ...: :1.:',,,.~ 1',0i-: .' ...
,,~~;;.1iEXartiple:' "26d'fO'r~45C :'CJJS,carbon steel)'
"
,', 120 for FC20 (JIS,
,~:dt ZL;' depth of cut, i'nm
cast iron)
';.,
. .,'
..
"
,'~
......
,~,
- -,'
Reference Point
On the CNC Lathes. there are two reference points as below: (1) Machine Origin
This is the fixed origin inherent in respective machines. where output values from the ~SP position encoders of X- and Z-axis become zero. Axis movement of the machine is referenced
to this fixed machine origin. .
(2) Program Zero (Workpiece Origin)
The zero point that can be set at any point as needed by "Zero Offset" operation; once the workpiece zero rs set. axis motion is controlled' on the coordinate system that has the origin at the set workpiece zero.
Cutting is carried out taking this point as the reference point.
.
A programmer should inform a machine operator of the established programming zero position either on the part drawing or with a memorandum.
Z
x
.~.. ~..
N
.......
a X
. .
.\J".
XO.Zo: Zero offset value
X.Z : Programmedcommand
'~."~.
Tool Selection
LB Series
Selection of a cutting 1001is made by four-digit figures followingaddress character T,
T 00 QQ
,
v
t
Tool Offset No.
32 pairs (01 to 32) For two-spil)dle model, 32 pairs of tool
offsets are used on the individual turrets.
ToolNo.
The number identifying ihe turret face position is used as a tool number.
When the control features the toolnose radius compensation function,a T word comprises she-digit figures. (optionalfor OSP500L-G)
T Q.Q 00 00
tU
(
i
.t .
FC;) :"ToolNumber
, '
r:~.::,;:;~~:;~~~}~. '
. . >~.. . ",,~,., .
.
!
. '~t!.::~."~~~~._t"7j. - -~..'
I
"..~. .. I!.~. . t.. )....
..-~ ~
. Same as above
Compensation No.
lB15
The toolnose radius compensation .
number fI:o.mo."-,o 32 is sp~cified. ;
.: <:.-~..;-;..~'
~ , .; '~j. ,":.">'~'S.<~.'
';::.". ~~.'
\;' 3~\~".:t'\~.f~",~ ''''~''
,tf~~$.~~:~_i._'-,:", .
-~''::-
;
t,
o ~<-.- .
,
"
(2)
- -.. -. .,--, ~--'. - ~ -. .'.,.~ ..." . -.' 'p .-
As a tool number, sp'ecifythe turret (ace position number inc!icatedby a name plate.
, Note 2:, The octagonal turret is available as an option (or LB 12.
Tool Offset Number
. ~. ..~ ~1. ~ .....
, .
. '.' -. .::"". .-'{
-::to":~." ,to
. ~",'~. .
..~
.
WORD FORMAT
Word Format
00000
Noooo
Associated Information and Function
Program Number or Program Name
Entered at the beginning of a part program to identify respective programs.
Program Number Up to four numeric characters following
address character "0'" are used to illdicate a.Program Number.
Program Name
When an alpha character appears following address character "0", such express'ion is referred to as "Program Name". Up to three alphanumerics can be used following the first aiphabetic character.
Sequence Number or Sequence Name
Entered at the beginning of each block to identify respective
blocksin a p~r~ program. d...; -: ';.'.;,:~,. '.
~"" ". ~ :-".'1:,
~"" ~ '.' /'"..1..C'1...~ ~~;'\-.1..:"
X:::ooo.ooo
N~mbers .ar~ \£~ta lly used to Indg~te ;'tbe'exe~Jd::g~:;::gt~~?~:~.~ .
; blocks. Although program numb.e~~..a~fi!~.general.1Y"a.;>.§,{.gI1.e~,t~lth
. consecut i ve. .,numbers'~ ;such numbe.i;'!::.m~y, :1J9\t"necessarlJ.y-"r!>,;~'~,C~ri-': .
. '_'~." ,.",';~ _ ," " '., '. . .'.., .,:', '...,'~..~rv7.t, ..
-.-;. ~ _ .:1 ",' _,,~ :..,.'(. :"~'''-..:Z, ,"_ '. , ' ''''''":j .' ~...'t '~.-J: ~.,." ',:;. :
'secutive. S.e.quence'-iiame is use~;'.~~s:1-}t.~~~i:fy.;.a.'sPf~~;\}~~~J,ec.k>,
in a part program. !.~..",' '''---~~':~;,<:~'f;~';;':':~';:;'
!Sequence N.;!;iil~~:;:.'i!Jp~~" fou'hiitl~'<i.,1a...{t~~_i',
address chaE:~F,ter"N" a:reused?tO:c;:~Nlicat~
.a Sequence"-N~m!:>er'," . _.,..;:.~.:J:/':./~,~'_
. . -,.~'..
,Sequence Name
When an alpha ch~r~cter appears'.~i£,~i.~l.~~1.#g..
,..:::::::t~:1#~~~;~~ij:~~c':;~~~:;~;1:il.~~t.~~!.$.:-
three alphan~.erics can be used.fol,lowing
the first alph~betic character. "
Dimension Word' :- Diameter
. .
,
,.
G CODES
{2-
Code
Goo
G Code: Three numeric characters following address character
Associated Information and function
G establishes the mode of axis movements.
GOO
Rapid Feed
Used to feed the axes .t a rapid feedrate to the commanded coordinate position.
GOI
Linear Interpolation
Used to cut Feedrate to
a straight line parallel to X- or Z-axis or a taper. be employed in this mode is commanded by an F'word,
Foooo.
G02 rCircular Interpolation, CW
Used to cut an arc in the clockwise direction. Feearate to be employed is commanded by an F word, Fooooo, as in GOI mode.
'x
.~'f~
t,
i
,
G03
-or,....~_._._._..
""-.
,,~.-~.-\"'" '-'''-..~:':,:~~
~L~li0:11_r.. 'I~~_~':,e.~!l~~l_'_~~,~
.Used;l~O"cut,an,'arcc-;i!.mthecounterclockwise direction. Fe~drate,
_t?.-ibe~empl,oye,d_
.........-
~OQe~.'1~..~.:.' .._ .. ,.'''':~_:=,,:''_" ,"
,.
G04
is ,~_0!J!4~nded by an F}~ord, F()ooo. as inGOI
. t
1 :0
.-.- .. ".
z
z
'..
'"
/3
1
Code
G33
G40
G41
G42
Associated Information and Function
Fi~ed Thread Cutting Cycle : Longitudinal
Automatic thread cutting cycle as
shown at the left is executed.
Tool Nose Radius Compens~tion : Cancel. Used to cancel the tool nose radius compensation function
Tool Nose Radius Compensation: ID Ordinally Cutting
Used to callout the tool nose radius compensation mode for ordi~ally 10 cutting cycle.
Tool Nose Radius Compensation: 00 Ordinally Cutting Used to callout the tool nose radius compensation mode for
ordinally 00 cutting cycle.
G50 I Maximum Spindle Speed.Designation
:Us-ed'::t'~::;'~:t'~he 'allowable maximum spindle spe,~d.
G90 ~.
\
G91
G94
. l
G95
~':'5({J,.~:-;?~.~~:~~"~~:~k~~~. 5~-~;5 ~{~::-:.7?1~:?-~3:~~:':}r~7i\,*:~~~~f1,
IncreriieJl.i:aJ.d't~QgramiUing ..:',' ..
_ ..-'.'.:'~>~:'_;'t-\..~..:;.. ;;". ,~,; ,.~..:<-'.~:.~.~J~::...:t::.};. . ":..~",.
Us.ed ,t~es tabUsh increm~t\.t~l~Gpr<?gr~umil~ngD.1<>d~{
. . oJ.'~p'~.~'~""=...f'(-, .. ,"?~,,_,'l~,--~~.;~..1f~L.~-:i.~',.' . "-- ""~'(-:":~"'1::.1:~'-
Feed p~~~~:;¥n~~e- M~~e" ':;,; ;,~l:ii~r:
;Usedto:~
~~ ~ab 11 sp~~~ita~~;!!i~~~:~fJ~l!Iode ~
Feed per Revolution Mode Used to establish mm/reY~lfeedrate mode.
When the control is reset, it is' in the G95 mode.
."..'.;...,".~" . . .'.
.-
GOO POSITIONING
( 1 ) Forma t'
Xoooo.ooo Zoooo.ooo
I .
....
With the commands indicated dinate point is carried out
(2) .Example Program
above. positioning at a rapid traverse
300
to the programmed
rate.
coor-
.-.
;;)'. r
Position:ing'i"s\made to .Xl(N-along X-axis ata rapid tra-
verse: rate.:. . ,No Z-axis mov.ement occurs.
. ._r...,,...),;..,.,'~'' : , .. . ~"" .'
, ...;, ,:.". . ,'-.
GOl STRAIGHT-LINE CUTTING
(1) Format
GQl Xoooo.ooo (Zoooo.ooo) Fo.ooo
With the commands abGve, axis mov~ment from the current position to
the commanded position is perf~rmed along the ~traight line parallel to either X- or Z-axis at a feedrate specified by an F wordo
(2) Program Example
/s
; ._,
(Coordinates Commanded on
Process Sheet)
100
.' '$
-....
': "0
...-6:-f':~;'
! ; . .
, 120
....
..
$
i;~;d~r;)1;';
204
200
~.~t" ;",.,:>.l~.:.j
<5>
'0-
. I
X2~ ([) (!)X8/f4
ItA -~
.zIOff ;._ - - i Z24>4
@_-- - . I
:.;' '
~- . X194> I
..
,.,.,.. .?z 12~ 0,
-)(j9~" , t.
..:!/~.;'.<:fi. .(zt~)
,.:!, ';'
, '~:,,"Z !2~' >:',.~;.;
X!e5
" ...,
Z2
"5..'>
"'.-
a
..\..-:,.~,
'"
Feedrate:
;':b) ,
NOOO): G01 2200 feeds the cutting tool to the starting point of the arc
to be cut at the specified feedrate.
N0004: Since the arc is to be cut in the counterclockwise direction, GO)
is provided.
X and 2 words are used to ~pecify the coordinates of the end point of the arc. L word is to specify
the radius she.
. ~.
Center of arc
N0005: 2185 in~icates the coordinate of the starting point of arc.
N0006: Since the. ~r~ .is to be cut in the clockwise direction, G02 code is
. provided."'~ J.~
center,:'of'~~f~~;-:-~1~~.~.."': :.-,:."i,.' .
,.,u:~ :~~~,;;;:t~;~~~:~~::~:t;1r;r~~~1~e t:~:~~~l~~t~h~. C~:t:~;~:~;
.~~; ., ,'\(':tf1'",' , '
-
- -. ., , , '-..
; .__~-..~~ ~,.,\..::;';~~~.._._~._no','.'
-."' -.: f~~"~-"~'~'--; ~~;;:'::;:f~'\ ~~...' .", . -
N0007:
.~
.X80~.<~2q~~ retu'rns the cutting :to~l to the starting point.
.~'/~:';:'~~:;!'..\; ~~':.. _..' _ '. . --:-..:~--<~t~.
M05 'stops'::1,th~-;;spinalerotation~ >.:';~ .
~'. '.; :'j:_~~?~"-:-
M09 stops.~.th.~ _~9pl~nt ~upply .;.
.;--L
N0008: M02 resets the control.
G02/G03 ARC CUTTING
Format
G02!G03
Xl 21
L F
G02 and G03 are used to specify the directi:'n of arc. X and Z words indicate
the coordinates of .end point of arc to be cut and L is to specify the size
of the radius. F is to designate the feedrate.
point
5R
N
'G -.
. ....$
..-.-..-
NOOOO G50
NOGGLeo .c,,
N(,)G(,)2-
NIJG/J3G1J1'
NOGIJ4 GO)) X19/J
, .N1J1J1J5 GIJI. . ..--,.:.... '.. Zl-85
1/J1J1J6
NOGIJ7
N(,J008
Vl.'
GQ2S
GIJG XSO/)
,',.... ..
--X Z
\,.
+
'., ....
'XIS/J'
:2(J1J:>
J9
8GG
"
t.-c ::.
Z204.
Z20/J FO .' 2
'195
Z18/J
Z204
..< .: . )ii1
. L5\
'L5:U
.L
. .
:': -:r;':'
,..",.:.I..
F:
..... ."...".
.;\;.;it:,
.';':;1r£.i::'
c,;t'i
. ..,'-
-!' t:"t1t">
'..&\iPJ
NOIJ/)I: Commands in NO/)lJl indicate:
.0;. ..
-
-. .
S,T,M .
53000 )-" .,;.:,):.
ij;'.'..::
,s2QIJi.$fkTQ 1<1 14
M08 MG3
..
-:i . .:.'.::
.----------.----..::- _...:...
.'('..
...'
M09 .M1J5
..
!:-;-
MIJ2
,_:,- '..-'
-OJ."
.~j
-,
-- ". .
'.
Loading...
+ 36 hidden pages