When readingthis manualkeepin mindthatthe
informationcontainedhereindoesnot coverevery
possiblecontingencywhichmightbe met during
the operation.Anyoperationnotdescribedin
thismanualshouldnot be attemptedwiththe
control,
Thefunctionsand performanceas NC machineare
determinedby a combinationof machineand the
NC control.
the machinetool builder’smanualshalltakeprl–
orityoverthis manual.
The illustrationof machinecontrolstationshould
be usedfor yourreferencein understandingthe
function.For detailedarrayof operator’sdevices
and names,referto machinetool builder’s
manual.
For operationof yourNC machine,
586-175
TJnlessotherwisespecified,
applyto the descriptionof
The dual processorCNCsystemdrasticallyreducesthe data processingtime to meet highspeedcutting.
creasedby the use of high-speedbufferfunction and bufferingfunction.
. Enhancedcuttingcapabilityincludesa maximum
of 24 meters /rein feedcommand,precisefeedE
command,500-milimeterleadthreadcutting,
continuousthreadcutting,multiplethread
cutting,and variablepitchthreadcutting.
To meet FMS trends,programinterruptfunction,tool life control,usermacro,tool set
errorcorrection,storedstrokelimit per tool,
and otherfunctionscan be installed.
Note:Thedecimalpointmay be omittedin
actualprogramming.
includingdecimalpoints,referto 2. 1.3
DecimalPointProgramming.
The leadingzeroscan be suppressedfor all addresscodes.Plus signsneed not be programmed,but all minussignsmust be programmed.
In the manual,EOB code in a programexample
is representedby a semicolon(;) . In actual
programming,CR (EIAcode)or LF /NL (1S0
code ) shouldbe used insteadof the semicolon
(;).
For makinga program
2, 1.1 TAPE FORMAT (Cent’d)
Table 2.1 Tape Format
No.
1
Prcgram No
.-
2
Sequence No.
I
G-Function
Coordinate Wmd
4
a: X, Z, 1, K, U, W, R
5
Feed/rein
Feed/rev and Thread Lead
6
.
7
S-Function
8
T-Function
M-Function
9
10
Dwel I
11
Program No. Designation
——
.—
12
Sequence No. Designation
13
No. of Repetitions
Angle Designation for Straight
14
~
Line
Angle Designation for Multiple
15
~
Thread
Address
Metric output
Metric Input
Inch Input
.—
04
—---_
N4
G3
(a-53)
F 50
F32
—-~
E34!E26~E44
I
+——
.=-
(a-44)
~~‘—-“;42‘“-—---
F24*--
S2
-.–——–.—
54
T(2+I)T(2+I)
T(2 +2)T(2 +2)
M3
-–-~-
-..-
U(P) 53
Q (P) 4
A (B) 33A (B) 33
P4
L8
_+_‘(P)53.:
L....‘4;__
4---Q “) 4‘---~
...+.––————.—
———..
B3
~–-
Metric Input ~
I
~a_53
F 42
\
-~-——–
I
-.
r
I
Inch Output
——–
‘
Inch Inputi
04
-7—---
N4
G3B
a-44B
.+-.___B_
F24
—————
E!26~B
S2B
—+
S4
————
.—
M3
L8
——..—
—,
B3
B: Basic
O: Option
~
. .
B
B
B
0
B
0
B
B
0
o
Notes:
1. Inch/Metric output is set by setting parameter *6007 D3,
2. Inch/Metric input is set by setting (#?6001Do).
3. F codes for feed/rein or feed/rev can be switched by G 98, G 99
2
Program No. O
Address
Table 2.2 List of Program Commands
Metric OutputInch Output
—-——-—
Metric Input
Inch Input
I
Metric InputInch Input
1-99991-9999
Sequence No. N
G function G
Coordinate Addressl
X, Z, 1, K, U, W, R
Feedfmin
Feed/rev and Thread Lead
S-f unction
T-function
M-function
Dwell U, P
I
i
L
S4
T3
T4
F
F
E
S2
* 99999.999 mm
1– 24000 mmlmi n
0.01-500.00mmlrev
0.0001-
500,0CK)0 mmlrev
0.001 – 99999.999 sec
1-9999
0-199
? 3937.0078in
1
~ 0.01 –944.88 in/rein
0.0001-19.6850in/rev
o,CKD304-
19,685030 in/rev
o-99
0-9999
o-999
o-9999
o-999
1– 9999
0-199
I
~:=
0.01 –1270.00 mm/rev0.0001 –50.00CQ inlrev
ooo~o,oooolo_
1270.0000 mmlrev
——
I
I
I
0.001 –99999.999sac
50 .00Ci)OO inhev
o-99
0-9999
o-999
o-9999
0-999
Program No. Designation
Sequence No. Designation
No. of Repetitions
Angle Designation for Straight Lin#
—
Angle Designation for Multiple Thread
Note : For angle designation of included angle for G 76, see 2.8.26.8Automatic Threading Cycle (G 76).
—
1-99991–9999
1–9999
1-999999991– 99999999
O– ? 360.~0°
0-360”
I
I
1– 9999
0- t360.000°
0–360”
3
2.1.2LIST OF ADDRESSCHARACTERSAND FUNCTIONCHARACTERS
Table 2.3 Address Characters
AddressMeaning
A
BSpindle shift angle Ol multiple thread, angle designation for multiple corneringo
c
Angle designation for GOl and Gill, includfxf angle for G76
-.
User macro character
—–.——
.———
——————
D
E
F
G
HUser macro chaactero
IX-component of arc center, canned cycle parameter, beveling value (radius value)B, O
J
K
Depth of cut and number of cutting cycles for G 71 to G 76
Specifications for precise feed and precise lead for cutting
——~.‘—-
Specifications for normal feed and normal lead for cutting
Preparatmy function (G-function)B
—
User macro character
Z-component of arc center, canned cycle p~ameter, beveling value
.-
Incremental value of variable lead thread
.—.
+-—–—
I._.—
.——
———.———
I
~
–——+—–——
–————–—
L
M
Number of subprogram repetition, G 13 to G 16 angle and coordinate
.—.
Miscellaneous function (M-function)
—.—.—
B: Basic
O: Optional
o
o
0
B
o
B, O
o
B, O
B
N
o
P
Q
—
F?
s
T
u
v
Sequence numberB
—.—
Program number
Dwell, canned cycle starting sequence number, program number, user macro numberB, O
-—
Subprogram starting sequence number, canned cycle ending sequence numberB, O
Radius of arc, rounding value, tool radius value
Spindle function (S-function), maximum spindle revolutionB
Tool function (T-function), tool coordinate memory numberB, O
.—.
X-axis incremental command value, dwell, canned cycle parameterB, O
User macro character
-~———
-———–—
——-—
I
—t—
\
I
—..—.—
.—
B
B, O
o
–—— .——
w
Z-axis incremental command value, canned cycle parameterB, o
——
x
Y
z
X-axis coordinate valueB
User macro character
Z-axis coordinate value
o
B
Table 2.4 Function Characters
FunctionRemarks
——~—
-~ ‘-
—
—-––~-
‘-
1-------._
—+
—
>
EIA Code
Blank
BS
Tab
SP
ISO Code
I
NuL
0S
e--
HTDisregarded
LFINL
c!+Disregarded
SPSpace
Error in significant data area in EIA Disregarded in ISOi
Disregarded
.—
End of Block (EOB)
--+>5::::----‘------/–-
2Z2::F......1.- ._:-=..
2-4-5bits
~“—
2-4-7 bits
..~
‘--;~~*“”--------------‘-
oto9Oto 9I Numerals
~ Control out (comment start)
(
~ Control in (comment end)
)
Disregarded, User macro operator
Minus sign, User macro operator
I
-!
EIA: Special code
]
1
‘Ad===‘-–-
—~tx—-----~‘-
:-ti~––--‘------4
1 Disregarded (Including All Mark)
‘:+*-------!----
—.~--
Parameter~
starting~
*
s
I
*
I
‘-Ld=:k--‘------4
:-H--1“A:‘“iacde
?
Notes :
1. Characters other than the above cause error in significant data area.
2. Information between Control Out and Control In is ignored as insignificant data.
3. Tape code (EIA or ISO) is automatically recognized.
17I
I
i Sharp (Variable designation)
!
[ Asterisk (Multiplication operatcx)
User macro operator
I
-.
5
2.1.3 DECIMAL POINT PROGRAMMING
Numeralscontaininga decimalpointmay be used
as the dimensionaldata of addressesrelatedto
coordinates(distance), angle,time and speed.
Theycan be input”from punchedtape or MDI.
Decimalpointscan be used in the followingad-
dresswords.
Coodinatewords;
Anglewords:A, B
Feedrateword:F, E
Time words:U, P
EXAMPLE
X15.
z20.5—
(G99)F.2t—FO.20mm/revor
X,Z, U, W, I,K, R
[mm]
X15.000mmor
220.500mmor
(forF32)
[inch ]
X15.0000in.
220.5000in.
FO. 2000 infrev
(forF24)
The blocksincludingthe following
are not read in advance.
. MOO, MO1, M02, M30
. M codes( 6 maximum)set by parametercom-
Block-to-blockstoptimedueto thetime
requiredto computetoolradiuscompensation is not eliminatedor remains.
thisstoppingtime,use2.7.3
Function(M93,M92)(optional).
tionof consecutiveblocksup to 5 in M93
mode,inter-blockstoppagetimeis reduced
to zero.
To reduce
Buffering
When opera-
2.2PROGRAM NUMBER AND SEQUENCE
NUMBER
(G98)F25.6F25 mm/minor
G04Pl.—
When data withouta decimalpointis input,the
controlregards
LABEL SKIP FUNCTION
2.1.4
In the followingcasesthe labelskip function
becomeseffective,and LSK is displayedon the
CRT .
. When the powersupplyis turnedon.
. When the RESEToperationis executed.
While the label skipfunctionis effective,all data
on the punchedtape up to the firstEOB code are
neglected.
the MEM (memory)or EDIT(editing)mode,it indicatesthe presenceof a pointerat the leading
end of the part program.
BUFFER REGISTER
2. 1.5
Duringnormaloperation,one blockof data is
readin advanceand compensationis computed
for the follow-onoperation.
In the tool radiuscompensation”-mode,two
blocksof data or up to 4 blocksof data are read
in advanceand compensationcomputingrequired
for the nextoperationis executed.One block
can containup to 128 charactersincludingEOB .
(forF50)
Dwell1.000 sec
11111as o.001mm (or0.0001inch).
When LSK is displayedon the CRT in
F25. 60 mm/min
(forF32)
2.2.1 PROGRAM NUMBER
Programnumbersmay be prefixedto programs
for the purposeof programidentification.
Up to 4 digitsmay be writtenafteran address
character
programnumberscan be registeredin the control,and up to 199 or 999 can be registeredemployingan option.
One programbeginswith a programnumber,and
ends with
placedat the end of main programs,and M99 is
placedat the end of subprograms.
ER (or % at 1S0 code)is punchedon bothend
partsof the tape.
2.
(#6201Do), to make the readingof M02, M30,
and M99 ineffectiveas a programend,and
to make the succeedingER (EIA)or % (ISO)
as a sign of programend.
/M99; are not regardedas end
2. 2.2 SEQUENCE NUMBER
2.3COORDINATE WORDS
Integersconsistingof up to 4 digitsmay be writ-
ten followingan addresscharacterN as sequence
numbers.
Sequencenumbersare referencenumbersfor
blocks,and do not haveany influenceon the
meaningand sequenceof machiningprocesses.
Therefore,theymay be sequential,non-sequen-
tial,and duplicatednumbers,also not using
any sequencenumberis possible.
sequentialnumbersareconvenientas sequence
numbers.
When searchingfor sequencenumbers,be sure
to searchor specifyprogramnumbersbeforehand.
Notes :
Generally,
1.Fiveor more digitsmust not be writtenas a
sequencenumber.
2.
When two or more blockshavethe same sequencenumber,onlyone is retrievedand
read,and no more searchingis performed.
3.Blockswithoutsequencenumberscan also
be searchedfor withrespectto the address
data containedin the blocks.
2.2.3.
Thoseblocksin which“ /n” (n = ( 1 - 9) is includedare neglectedbetween
that block,whenthe external
switchfor that number“n” is
OPTIONAL BLOCK SKIP (h - /91+]
In and the end of
optionalblockskip
on.
Generally,
tionsand commandsfor settingcoordinatesystems are calledcoordinatewords,and coordinate
wordsconsistof addresscharactersfor desired
axes and numeralsrepresentingdimensionsof
directions.
2.3.1
Address of Coordinate Words
Main Axis
Radius
Value
for Circular
Interpolation
Note: When G 90 and G 91 are used, addresses X and Z are
not fixed as absolute value and follow accofdi ng to G 90/G 91
designation.For details, refer to 2. 3.5 Absolute and
Incremental Inputs.
2.3.2SIMULTANEOUS CONTROLLABLE AXES
commandsfor movementsin axis direc-
COORDINATE WORDS
I
Absolute coordinate position of t~get
x,
z
position
Incremental distance
U, W(U: Direction in X-axis,
W: Direction in Z-axis)
Incremental distance between start point
and center of circular arc.
1, K
(1: X-axis component,
K: Z-axis component)
R’
Radius value of circular arc
—
+
1I
I
I
I
Meaning
EXAMPLE
/2 N1234GO1x1OO/3
When the switchfor/2 is on,
neglected,and whenthe switchfor /3 is on,
this blockis readas if
N1234 GO1xlOO; .
With “ 1, “
Notes :
The optionalblockskippingprocessis execut-
1.
ed whilethe blocksare beingread into the
bufferresister.Oncethe blockshavebeen
read,subsequentswitchingon is ineffective
to skip the blocks.
2.
While readingor punchingout programs,
this functionis ineffective.
Theblockskip/2 - /9 is an optionfunction,
3.
and/1 is a basicone.
1!l!! may be omitted.
Z200;
entire block is
the.
The controlprovidestwo-axiscontrolfor X- and
Z–axis.
axes,whencommandedin the same block,is
two axes ,
mands,movementwill not occur.
2.3.3
Numberof simultaneouslycontrollable
XandZ.For the axis withoutcom-
LEAST INPUT INCREMENT AND LEAST
OUTPUT INCREMENT
2,3,3.1
The minimuminputunits that can be commanded
by punchedtape or MDI are shownbelow.
X-axis is specified for diameter,
Input Unit and 10 Times Input Unit
Least Input Increment
7
2.3.3.1InputUnitand10 TimesInputUnit
(Cent’d)
Inch/MMinputis selectedby setting#6001D0.
Inch/MMinputselectionby G20/G21is optional.
Selectionof multiplicationfactorxl /x10 is made
by parameter#6006D 5.
Tool offsetvaluemust alwaysbe writtenin O. 001
mm (or O. 0001 inch) , and offsetis possiblein
theseunits.
In O. 01 mm incrementsystem,the followingoperationmust be made in the unit of O. 01 mm.
. Programmingfor operationin TAPEmode.
o Write operationin MDI mode.
o Programmingfor operationin MEMORYmode.
. Programeditingoperationin EDT mode .
Notes :
If NC tape programmedby O. 001 mm is fed
1.
into or storedin an equipmentset by O. 01
mm increment,the machinewill move ten
times the intendeddimensions.
If the incrementsystemis switchedwhenthe
2.
contentsof NC tapeare storedin memory,
the machinewill moveby ten times or one
tenthof the commandeddimensions.
3.
When the storedprogramis punchedout on
the tape+,the storedf?guresare punched
out “as stored”regardlessof switchingof
the incrementsystem.
4.
Multiplicationfactor10X (10 times the input
unit)is effectivefor distancecommandonly.
It does not functionon the designationof
time,angle”,etc.
10X is set as effective( #6006D5= 1) , the
same addresswordis multipliedby 10 or not
dependingon typeof G command.
In incremental programming,specified values must
not exceed the maximumprogrammablevalues.In
absolute programming,move amount of each axis
must not exceed the maximumprogrammablevalue.
THE MACHINEMAYNOTFUNCTIONPROPERLY
IF MOVECOMMANDOVERTHE MAXIMUMPROGRAMMABLEVALUESIS GIVEN.
The above maximumprogrammablevalues also
apply to distance commandaddresses 1, K, R
in addition to move commandaddresses X , U , W .
2.3.5 ABSOLUTE AND INCREMENTAL INPUTS
Bothabsolute
be usedfor the control.
Absoluteinputis specifiedby the addresses
XandZ.
EXAMPLE:X.. .Z..;
Incrementalinputis specifiedby the addresses U and W.
EXAMPLE:U.. . W., . ;
Absoluteinputand incrementalinputcan be
used in one blockmixedly.
EXAMPLE:X.. . W..;
inputand incrementalinputcan
u.. . z.;
2, 3. 3.2 Least Output Increment
Least output increment is the minimumunit of
tool motion. Selection of metric system or inch
system is made by parameter (#6007D3) .
Least Output Increment
X-axis
“-”J!
Metric output
Inch output0.00005 in.0.0001 in.
--”1-””-‘-”--””
(Radius value)
0.0005 mm0.001 mm
Z-axis
“---”-
8
Note :
and W are used in one block,the latteris effec tive.
When addressesX and U or addressesZ
The addresses1 and K for designationof arccentermust be specifiedby the incremental
dimension.
Table 2.5
Address
x
z
u
w
I
K
Increment System
Absolute Input
Incremental Input
incremental
Incremental Input
+x
I
Input
Designation
Diameter
—
Diameter
—
Radius
—
Meaning
Position in X-axis direction *
Position in Z-axis direction *
Move amount in X-axis direction
Move amount in Z-axis direction
Distance in X-axis direction from starting point of arc to
canter
Distance in Z-axis direction from starting point of arc to
center
Direct programming of circular arc
G codeMeaning
G9CIIAbsolute command
G 91
Incremental command
—+Z
b+--
XandZ:AbsoluteInput
U and W:IncrementalInput
* SinceX andU aredesignatedbythe
valuesin diameter,the actualmovementis
the half of the values.
Fig. 2.1
CaseswhereG 90
mentalcommands)are used.
. When specialG codeI (basic)or II (option)is
selected,G90 and G91 codescan be used.
Absolute Coordinate Values and Incremental
CoordinateValues
and G91 (absoluteand incre-
As shownbelow,G90 and G 91 commandsare
effectiveonly to addressesX and Z.
Addresses
TAPE, tvfEtvf,
MDI modes
EXAMPLE:
Incrementalmove command
. Auxiliarydata,1, K, R, etc. , of circulai
interpolationare alwaysincrementalcommands.
Note :G90 and G91 cannotbe programmed
togetherin the same block.If theyare written
in the same block,the one writtenlateronly is
effective.
EXAMPLE:
G 91 is effective,and in this block,commands
becomeincrementalin boththe X and Z axes.
~+,::::al*
G91GOO X40.Z50. ; o“. . .
GO1 G90x80.G91z60. ;
G 90 Command~ G 91 Command
2.3.6X-AXIS DIAMETER/RADIUS SWITCHING
2.4RAPID TRAVERSE RATE
AddressesX and U for X–axiscoordinatewords
are specifiedby diametervalue.
diameterdesignation.
used for designationof both diameterand
radius .
of parameter#6006D s.
o:Diameterdesignation
1:Radiusdesignation
The switchingis made by the setting
The addressesX can be
This is called
II
w-zPP+z
(a)In the case of Di-
ameterDesignation
(b)In the case of ra-
dius Designation
Fig. 2.2
Table 2.6
DiameterRadius
Programming
Programming
2. 4.1 RAPID TRAVERSE RATE
The rapidtraversemotionis usedfor the motion
for the Positioning(GOO) and for the motionfor
the Manual RapidTraverse(RAPID).The traverseratesdifferamongthe axessincetheyare
dependenton the machinespecificationand are
determinedby the machinetool builders.The
rapidtraverseratesdeterminedby the machine
set by parameters#6280,#6281 at some
suitablemultipleof 125 p /sec.
Leastoutputincrement)
(p:
uPPerlimit shownbelow.
Therefore,
Address X command
Address U command
X-axis position display
Tool position offset
value
Nose radius R
Feedrate F, E in
X-axis direction
Radius data 1,
R for circular
interpolation
G90-G 94,
G70-G76,
Parameters for
cornering, and
multlple cornering,
D, 1, K, P, Q, R
“-*-”-
Diameter value
I
Diameter incre-
mental value~ ~dius value
I
I
t
~
1 Incremental value
Diameter value
Diameter value
I
1
t
I
Radius value
Radius val uehev
Radius value/rein
Radius value
Radius value
Radius value
Metric Input
Inch Input
The upperlimit for X-axisspeedis half the
listedvalues.The optimumvalueof upper
limit is set accordingto the machine.
Referto the machinetool builder’smanual,
for the definitevalue.
FEED FUNCTION (F- AND E-FUNCTION)
2.4.2
G codelistedbelowmust be designatedbeforeF ,
and E functionis commanded.
G codeI
G 98
G99
Note : For the details, refer to 2.8.28, “Feed Function
Designation.”
SinceF, E codesare modal,thesecodesare
effectiveuntil nextF , E codesare given.
However,whenG98/G99are switched,new F
code must be designated.
In G98 mode,E code cannotbe commanded.If
commanded,PROGERROR“030”will be activated.
I24,000 mmlmin
i
2,400 inlmin
I
Function
Designationof feedratein mm/min.
Designationof feedratein mm/rev.
2.4. 2.1 Feed Per Revolution(G99 Mode)
(1)Toolfeed per revolutionof the spindlecan
be specifiedwith F (normalfeed)or E ( fine
feed).
(2)Thefeedrangesthat can be specifiedby
the F and E codesare as follows.
Mode, F and E Feed Ranges
G 99
of Feed/Revel ution
Range
Metric
Metric
output
Inch
output
Thesefeedrangesare subjectto the following
restrictionsdependingon the spindlespeedS.
Notes :
1.
2.
3.
input
InchI
input
Metric
, input
Inch
input
Metric output
Inch output
Notes :
1. Program feed per revolution within such a range that the
X-axis component remains below 12,000 mm/min or
1,200 in./min.
2. This uppar limit may still be reduced by the performance
limit of the machine.
Refer to the machine tool builder’s manual.
A command“FO” causesdata errors.
Any minusvalueshouldnot be specifiedfor
F commands.
not operateproperly.
EXAMPLE
F-250;. . . . . Wrong
Feedratecommandsin the directionof the
X–axismust be givenin radius.
F 32
E34
F 24
E 26
I
F 32
E34
F 24
E 26F O.000010-E 50.00C0OO in/rev
F 0.01- F 500.00 mm/rev
E 0.0001- E 500.0000 mmlrev
~
F 0.0301 –F19.6Ek50 in./rev
I
E0.000004–E 19.685000
1
F 0,01 –F1270.00mmlrev
E 0.0003-E1270.0000 mmlrev
FO.001 –F 50.0000 in./rev
IF(E) XS~24,000mm/min
F(E)XS S 2,400 in./min
I
If specified,
the machinewill
in./rev
EXAMPLE
G99 S350 (r/rein);
GO1 U1OO. F200 ;
In the abovecase,the feedrateis:
F x S = 2.0 mm/rev.x 35o r/rein
= 700 mm/m~n
. . . In case of F32.
+x
ql
4.
Valuesof F commandat linearor circularin–
terpolationrepresentthe tangentialfeedrate
whentwo axes are simultaneouslycontrolled.
EXAMPLE1
G99S1OOO (r/rein);
GO1U60,W40.F50;
In the abovecase,the feedrateis
x S = 0, 5 mm/reVx Io(lf)r/rein
F
500 mm/min
=
~3002+ 4002
rr
I
I
‘X–axisfeedratecomponent
TANGENTIAL
FEEDFIATE
+x
I
IO’
~.Z
EXAMPLE2
G99s1OOO (r/rein) ;
G03U.. - W.. . I
In the abovecase,
FxS=0.2
(mm/rev)
= 200 mm/min
.4fx2+ fz2
CENTER
Lz-axisfeedratecomponent
~.o
#+
@~
~ 300 mm/mln
——-
400 mm/mln
x
(a)
. . F20;
the feedrateis:
1000
x
(r/rein)
FEEDRATE
700 mm/mn
I
+x
t
L----.Z
fx
(b)
11
2.4. 2.2 Feed Per Minute (G 98 Mode)
(1)Toolfeedcan be specifiedin mm/min or
in/reinwith F codes .
(2)Thefeedrangethat can be programmed
with F codesis as follows.
Mode F Code Feed Range
G 98
EXAMPLE1
G98;
GO1u60.
In this case,
F =
500= ~3002+ 4002
(mm/min)
W40.F500 ;
~~-a~i~
Lx-axiscomponent
component
Notes :
1. Program feed-per-minutevalues so that the X-axis speed
ccmponent wi II not exceed half the above upper limit
feedrates.
EXAMPLE
G98 GOI U300. F1200’
(Metric output, metric input)
2. The upper limit value is further subject to the limitation
impoeed by the machine performance.Refer to the
machine tool build&s manual.This upper limit value is
to be set in parameter #6228
Notes :
Do not writeF commandin FO or negative
1.
values.
Commandsin the X-axisdirectionindicate
2.
speedsin radius.
Example
G98;
GO1X200.F700;
F 700
—!
FEEDRATE
700 mm,’mlq
-!-+
l——————+,
Values of F commandat linear or circular
interpolation represent the tangential feed-
rate whentwo axes are simultaneouslycontrolled.
EXAMPLE2
G98;
G03X.. .Z.. . 1.. . F200;
In this case,
F=200=ifxZ+fzZ
(mm/min)
CENTER
–x
I
2,4.3AUTOMATIC ACCELERATION AND
DECELERATION
Accelerationand decelerationfor rapidtraverse
and for cuttingfeedare automaticallyperformed
withoutprogramming,
2.4. 3.1
Traverse and Manual Feed
In the followingoperation,the patternof automatic accelerationand decelerationis linear.
(See Fig.2.3. )
Oncespecified,
until the nextS-code.
M05 (spindlestoD) ,
memor~of the u~it.
EXAMPLE
S-codeis modal and effective
When the spindlestopsat
S-commandis storedin
TIME—
Fig. 2.3
Rapidtraverserate and the acceleration/decelerationconstantof rapidtraverseratecan be
set by parameter.( #6280 to #6287)
As shownin the followingoperation,the two–step
linearaccelerationand decelerationcan be specified.(independentof eachaxis)(SeeFig.2.4. )
o Cuttingfeed(GO1 to G03)
v
G00
.———
P
VELOCITY
TIME—
Fig. 2.4
Feedratetime constantsareset at 2 msec intervals and feedratebias is set at 2kppsintervals
by parameters.( #6092,#6093)
Note :The automaticacceleration/deceleration
parametersare set to the optimumvaluesfor the
respectivemachines.
unlessit is requiredfor specialapplication.
SPINDLE-SPEEDFUNCTION (S-FUNCTION)
2.5
Do not changethe setting
t
GOO S11M03;
. . . S command
SpindleCW
Sll:
x... z.. .;
GO1 Z.. . F.. .;
1
GOO X.. . Z.. . M05;
GO1 Z.. . F.. .;
Note :
2.5.2S4-DIGIT
(1)FourdigitsfollowingS (S ❑ ❑ ❑ ❑ ) are used
. . c Spindlestop
..-M03;
x... z.. .;
S22;
. . .
x
z.. . F.. .
The two-digit
machinewhen
is issued.
1
BCD outputis sent to the
S and two-digitcommand
PROGRAMMING AT
to specifythe spindlespeedin r/rein.
Effective
Effective
Sll:
S22:Effective
(2)When S commandis givenin a blocktogether
with M03 (spindleforwardrunning)or the
M04 (reverserunning), the control
to the nextblockafterthe spindlespeed
reachesthe speedgivenby the S code.For
details,referto the machinetool builder’s
manual.
proceeds
2.5,1 S 2-DIGIT PROGRAMMING
(SPECIAL SPECIFICATIONS)
The spindlespeedis specifiedby two digitsfol-
lowingthe addressS (S00 to S99) .
For each S codeand its correspondingspindle
speed(r/rein),refertO the machinetool builder’s
manual.
When a movecommandand an S codeare issued
in a block,executionwill dependon the machine
tool designand construction(Whetherthe S command is executedtogetherwith the move com–
mand or afterthe completionof tool movement).
Referto the machinetool builder’smanual.
EXAMPLE
s
S1OOO M03,
1000 FUMIN
————. .
1I
I
I
I
u
START OF THE BLOCK
SPEED
SYNCHRONIZATION
ACTUAL SPINDLE
~
SPEED
t
13
2. 5.2 S 4-DIGIT PROGRAMMING A+(Cont’d)
(3)S
commandsare modal.Althoughthe spindle stopsat the M05 command,the S command is retained.
Therefore,when M03
(or M04) is given,the spindlerunsaccord-
ing to the S command.
(4)When S commandis changedafterthe spin-
dle startby M03 or M04, S commandshould
be givenwithinthe rangeof spindlespeed
selectedby spindlegear.
Notes :
1.
The lowerlimit of the spindlespeeddepends
on the spindledrive.Referto the machir,e
tool builder’smanualfor the low-speedlimit.
NegativeS commandsmust not be programmed.
2.
When the controlis providedwith the S 4digitcommandfunction,the “Spindlespeed
override”optioncan be builtinto it.
3.
With machinetools with whichthe main spindle gear ratiochangescan be specifiedby
M codes,firstwritethe applicableM code
to preselectthe desiredgearratio,and then,
writethe S command.
Referto the data of
the machinetool builderfor the numberof
gearratios,the speedsat variousgear ratios,
and otherdetails.
4.
When the controlis providedwith this func -
tion,the spindlemaximumspeedcommanding
functionwith the instruction“G50S . . .; “
can be used.
2. 5.3 S 4-DIGIT
Thisfunctionis to modifythe S4-digitcom-
(1)
PROGRAMMING B+
mand A outputfreelythroughthe programmable machineinterface.
(2)Basically,this functionis used in the same
as the S 4-digitcommandA function,
way
but it is normallyused to set the manually
controlledspindlespeedscontrolledby the
rotaryswitchon the m“achine controlstation
correspondingto S commandspeeds.For
the detailsof S commandspeeds,referto
the machinetool builder’smanual.
TOOL FUNCTiON(T-FUNCTION)
2.6
2.6.1T 4-DIGIT PROGRAMMING
Fourdigitsfollowingthe addressT specifies
(1)
the tool number.
TDDDU
(2)For applicabletool numberto be specified,
referto the machinetool builder’smanual .
Notes :
1.When the tool numberis changedby the T
command,a turretlathe beginsto indexthe
tool instantaneously.
Therefore,the turret
shouldbe removed,beforethe command,
from the area where” an accidentalcollision
mightoccur.
Tool offsetnumber00 cancelsthe tool offset.
2.
2.6.2TOOL OFFSET MEMORY+
The area in whichtool positionoffsetvalues,tool
radiuscompensationvalues,and othercompensa-
tion data are storedis calledOffsetMemory .
(1)Theentirememoryareasof OffsetMemory
includingthe optionsare as shownbelow.
OFFSET MEMORY NO
[
‘TOOL OFFSET
MEMORY
,50 GROUP5MA:f‘---’”---‘---~:~i;:;
“TOOL COORDINATE
MEMORY—\
(49 GROUPSMAXI‘g
“TOOL RADIUS
MEMORY
Note :
For the actuallyusablerangewithinthe
aboveOffsetMemory,
builder’smanual.
(2)
The“tooloffsetNos. “
functiondirectlycorrespondto the “offset
memoryNos. , “
for variouscompensations.
tool coordinatememoryNos.( for settingthe
workcoordinatesystem)correspondto the
tool selectionNos . in the T function. The
workcoordinateshiftmemoryis an independent function,not relatedto the T function.)
Ii–_-–
---
I;0
51
1
‘I&/
-r-
referto the machinetool
specifiedby the T
and theircontentsare used
However,the
-MEMORY
J SUPPLEMENT
14
Tool offsetnumber
(O - 160r50)
1
Tool selection
(3)Writethesedata in the memory,beforestart-
ing to operatethe machineunderautomatic
co; trol. to 4.3.5, “ Displayingand WritingToolOffset
Values .“
Memory,followthe proceduredescribedin
6.2.3, “ Work MeasurementValueDirectInput *.”
TOOL POSITION OFFSETS
2.6.3
When the tool offsetnumberis specified,the off-
set valuecorrespondingto the tool offsetnumber
is addedalgebraicallyto the commandvalue in
the programand the tool is movedto the offset
position.
coordinatevaluesof the programmedtool tip and
the actualtool tip must be storedinto tool offset
memoryin advanceas the offsetvalue.
When the coordinatevalueof the actualtool tip
has changeddue to tool wear or some otherreasons,the tool positionoffsetvaluesshouldbe
set again.
attainedwithoutcorrectingthe program.
(1)Rangeof tool positionoffsetvalue
The programmablerangeof tool offsetvalue
is shownbelow.
For the writingprocedure,refer
For writinginto Tool Coordinate
Therefore,the differencebetweenthe
Thus,the programmedmachiningis
Descriptionof tool positionoffsetmotion
(3)
As mentionedabove,whenthe tool specified
by the addressT and 4 digitsis moved,the
offsetvaluecorrespondingto the tool offset
numberis addedto the commandvaluein the
programalgebraicallyand the tool tip is
movedto the offsetposition.
When thereis no move commandin the block,
the tool movesonly by the offsetvalue.
Once,the tool offsetnumberis designated,
the tool movesalwaysto the offsetposition
until anothernumberis designated.When
the otheroffsetnumberis designatedor
the offsetvalueis changed,the offsetvalue
is compensatedfor by the amountof the
differencebetweenthe old and new offset
values.
OFFSETVALUE
T101
T
(+6X1,+ 6z~)
T115
T
I
(+ 6X2,+ 6Z2)
inputIo- f9999.999rnnl
Inch
out put
(2)Sign of tool positionoffsetvalues
storethe tool positionoffsetvaluesin the
OffsetMemory.
viationfrom the tool tip positionof the
referencetool whichis determinedas zero.
z
Metric
Inch input
tiOLpO’’T’oN
I
IJ.
Fig. 2.5
,
O–
I
The offsetvalueis the de-
+x
II
P~OGnAtMMED
–x
fE@3.&307in.
6“
_
I& DIAMETER)
~
+Z
+x
,,1+
L!x~
+
(X,z)
EXAMPLE
‘Tlol;. . . . . . . . . . ...+...”..
GO1 X.. . Z.. .
T115;. . . . . . . . . . . . . .
(4)Movespeedwith tool offset
The movespeedof tool offsetis determined
by the feedratecommandthat is effectivein
the block.
(GOO or GO1 F
or in the blockcontainingthe tool offset
number.
Therefore,the feedratecommand
{3
8Z2 :
+-
-—
7L?z.
F(E) . . .; .
..)shouldbe issuedbefore
OFFSET MOTION
1
COMPLETION OF @
.-
-8KL
2
. . . . . .
. . . . .
( Blockof the
offsetmotion)
a
a
B
15
---———————.
25
3 TOOL POSITION OFFSETS (Cent’d)
EXAMPLE
EXAMPLE
G50X.. .2.. .;
GOO S.. .
Instructionsfor commandingtool position
(5)
offset
Tool positionoffsetis executedby designating the tool offsetnumbercorrespondingto
the actualtool must be designated.
Tool offsetstartsat the blockin whichthe
a.
T-codeis commanded.When T–codeis read,
the tool selectionsignal( BCD)is fed and
the tool startsto move by the offsetvalue
correspondingto the tool offsetnumber.
SinceT code is modal,it is retaineduntil
the otherT codeis designated.
EXAMPLE
GOO T0202; . . . The tool numberN 02 is
M03TO1O8;
x...z.. .;
selected.Tool offset
motionis made accord–
ing to the contentsof
the tool offsetnumber02.
Off set mot ion is
made at the rapid
traverserate.
~GOOT0202;
GO1X.. . Z.. . F.. . ;
~GO1 U+. . . W-. . . F.. . T0216;
-x
I
/
T
,.L‘
DICFER~NcE ,OE ~~L OFFSET l/AL~JE 3ET’,vEEN
T0216 AhD T 0202
MOVEMEN” OF COMMAND~,
, UOVEMENT wITHO IIT CCIMMAN17 T07. R Ih <
-~1~-‘- ‘-”- ‘-
–;y
~
When the T commandand the move command
are issuedin the same block,the tool nose
movesto the offsetposition.
the abovecase,
by the differenceof the offsetvaluebetween
T0202 and T0216.
d . When the tool positionoffsetis requiredto
cancel,the T code with the tool offsetnumber O or 00 (T
The tool Dositionoffsetis instantaneously
cancelled~
“-=.
STARTING POINT (BEFOQE THE
EXECUTION OF COMMAND~,,
.Z
Therefore,in
the taperangleis corrected
❑ ~ 00) must be commanded.
When the tool offsetvaluemust be changed,
b.
the T–codewhosetool offsetnumberis re–
writtenshouldbe commandedagain.
EXAMPLE
GOO T0202;
GO1 X.. . Z.. . F.. .;
GO1 T0216;
Note that if the tool numberis changedin this
case,the tool indexingmotionstarts.
The angle of taper cutting can be changed
c.
Tool offsetnumber02
is replacedwith16.
Tool offsetmotionis made
at the cuttingfeedrate,
by the following procedure.
T code for change of tool offset number
should be commandedin the block together
with cuttin~ feed command .
EXAMPLE
GOO T0202
GO1 X.. . Z.. . F.. .;
GO1U+. . . W-. . . F.. .
@GOOX.. . Z.. . T0200
The block~of EXAMPLEcan be divided
into two blocks.
G(IO X.. . Z.. .;
T0200; . . . . . Onlycancelmotionis made
at rapidtraverserate.
ro216;
. . . .
The offset
motionis
cancelled.
Tool moves
accordingto
the position
specifiedby
XandZ.
Notes :
Tool positionoffsetis cancelledby RESET
1.
operation.
2.
The tool offsetmust be cancelledbeforeM02
or M30 is commanded.
The tool offsetshouldbe cancelledalso before
3.
AutomaticZero Return( G 28) is commanded.
When the controlis resetby M02 or M30 com-
4.
mand or by executingRESEToperation,
the tool offsetnumberbecomesO (or00) .
When the Zero Return(autoor manual)is ex-
5.
ecuted,the tool offsetis cancelledautomati–
tally.
The tool offsetmust be also cancelledbefore
6.
zeroReturnCheck( G27) is commanded.If
the G27 is commandedat the state wherethe
tool offsetis effective,the controlwill be
the stateof Zero Returncheckerror,because
the tool offsetvalueis addedto the program–
med position.
WORK COORDINATE SYSTEM SHIFT i
2.6.4
With this function,coordinatesystemsset by
the WorkCoordinateSystemSettingfunction,
can be shiftedthroughdesireddistances.
Shiftvaluesin the X and Z axescan be
(1)
writteninto the WorkCoordinateSystem
ShiftMemory(onegroup ) with whichthe
offsetmemoryNo.is
cedureas for writingtool offsetvalues.
(2)
The writtenshiftvaluesbecomeeffective
from the momentdescribedbelow,
G50 coordinatesystemis set
When
a.
“ 00, ” by the same pro-
G50,
etc.
For positiveshiftvaluesAX and AZ, the
coordinateaxes are shiftedin the direction
shownabove.Xo and Zo are originalcoordinatesystemsettingvalues.
(3)
Thisshiftfunctionis executedat each time
any of the conditionsdescribedin a, b, c,
and d is met.
(4)
When the contentsof Work CoordinateSys-
tem ShiftMemoryare rewritten,the new
shiftvaluesbecomeeffectivefrom the mo-
ment the operationa, b, c, or d aboveis
subsequentlyexecuted,
(5)
Theprocedureof
WORKPIECEVALUEDIRECTINPUT”is
effectiveforthe WorkCoordinateShift
Memorywith an offsetmemoryNo,“00. “
Notes :
The shiftcommandby the Work Coordinate
1.
Shiftfunctioncan not be cancelledunless
the settingvalueis changedto “O. “
resetoperationis effectivein cancelingit.
T~noO;.. . . .
2.
—
5.2.3, “
Tool positionoffsetcancel
MEASURED
G50 T~UOJ;. . . Work coordinatesystem
setting
The tool offsetNo
has nothingto do withthe contentsof Work
CoordinateShiftMemory.
3.
When G50 coordinatesystemis set or when
positionabsolutedisplayis resetby ORG key
1, parameter#6018 D7 determineswhether
workcoordinatesystemshiftamountis effectiveor not.
00 in theseinstructions
NO
G50GTworkcoordinatesystemis set
When
b.
When
c.
d,
automaticcoordinatesystemis set
Position Absolute display is reset by ORG
key
That is, when these coordinate systems listed above are set, the-shift values are simply
added.
-v,
4
. .
. .
~
Tools are not shifted.
-x
20
ORIGINAL COORDINATE
z
AXES
Xoi2
+2
p%
SHIFT,
8
~+z
SHIFT COORDINATE AXES
—
I AX,12
Fig. 2.6
NEW COORDINATESYSTEMSETTING
2,6.5
FUNCTION
2.6.5.1Overview
A completelynew approachto coordinatesystem
settingis employedin thisfunction.
are the features.
(a)A coordinatesystemis a machinecoordinate
system.
(b)The tool nose pointcan alwaysbe displayed
on the currentvaluedisplay(absolute).
(c)Thereis no needto set the coordinatesystem
in the program.
2.6.5,2
What kind of coordinatesystemsettingis
performedand at whatfrequency?
coordinate memory+
work coordinate system
shift amount
( 1)The machinepositionis calledthe position
machine.
The tool coordinate memoryvalue numberis
( 2 )
of two types; the numberwhen the timing for
the next coordinate system setting is manual
and when it is automatic.
(3)The workcoordinatesystemshiftamountis
calledthe offsetTOO, X, or Z data.
2.6.5,4Timing of CoordinateSystem Setting under
the ManualMode
Underthe manualmode,coordinatesystemsetting
is made with the followingtimes(a) to (c) .
tool coordinatememorynumberis createdfromthe
tool numberbinaryvalueset in 1/0 input#13174
(TP1)to #13178(TP8), to be usedfor operation.
The
The coordinate system can also be set up
inside the NC,
sequencer.
or by a request from the
When set by a request of the
sequencer, coordinate system setting is executed
to turn on output #12194 (end of coordinate system
setting output) when
systemsettingrequestinput)turnson.
(a)Upon zero point return.(NC internal setting
input#13127(coordinate
at label skip, or sequencer setting for other
cases. )
(b) On the tool
contacts the sensor upon measurement.
setter,when the tool nose
(NC
internal setting)
Underthe automaticmode,coordinatesystem
settingis performedwhenthe turretis calledup
by the T code.
numberuses the turretnumbercommandedon the
commandscreenor the offsetnumberfor
operation.
Unlikethe conventionaloffsetmethod,the T
codecommandin the coordinatesystemsetting
specificationis givenas follows.
The settingof parameter#6011 DO decides
whetherto set the tool coordinatememorynumber
at the fronttwo digitsof T4-digit,or at the last
two digitsof the T4-digit,
The executionof the coordinatesystem
settingdiffersas follows,by the parameter
setting.
is called up whereverthe tool post is located,
and is moved for the offset amount of the
offset number,to execute the coordinate
system setting corresponding to the selected
tool coordinate memorynumber.
(b)
By executing the T**OO command,the turret
is.called up whereverthe tool post is located,
and the offset amount cancel movementis
executed, to execute the coordinate system
setting corresponding to the selected tool
coordinate memorynumber,
(c)When turretindexingis performedby manual
operation,
Note :
operation,whenparameter#6011 DO = 1 [whenthe
tool coordinatememorynumberfollowsthe last two
digitsof T**$$I.
Coordinatesystemcannotbe set by manual
(Sequencersetting)
18
(c)
The tool nose coordinate system is always set
by the coordinate system setting.
(2)
When set at the back two digits
(#6011 DO = 1)
T**$$
-l-T
1,
L—
Offset number(Wear offset )
01 to 16/01to 49 (TooI nose R)
(Tool coordinatememorynumber)
Tool number
01 to 16/01to 49
These commandsstop the advance reading of the
control. For these M codes, M 2–digit BCDcode
and their respective decoded signals are output.
2.7.2M CODES FOR INTERNAL PROCESSING
(M 90 TO M 109)
M90 throughM109 are for internalprocessing.
Evenwhentheyare programmed,no external
outputsignal(BCDand decodedoutput)is sent.
Note: When power is applied the current M code is changed
to the M code maked wirh~.However, it is not changed by
RESET operation.
(2)
4-blockbuffering(M 93)
When M93
entersthe 4-blockbufferingmode,which
remainsuntil M92 is commandedsubsequent-
In this mode,up to 4 blocksof data
ly .
are read in advancefor subsequentopera–
tion.
time for the 4 blocksread in advanceis
longerthan the readingand processingtime
of the subsequent4 blocks,interruption
betweenblockscan be eliminated.This
functionis effectivein avoidinga shiny
streakon the workpiececausedby feed
stop betweenblocks .
t
; commandis given,the control
With programsin whichthe operation
To stop the NC controland machine,the following
codesare provided.
MOO:
MO1:
M02:
M30:
Programstop
Optionalstop
End of program
End of tape
1-blockbuffering(M92)
(3)
When M92 commandis given,
bufferingmode is cancelled,
bufferingmode is restored.
Note :
for withthe M93 function, up to two blocksnot
containingmovecommandsar-e permitted, and as
the result,up to 6 blocksmay be readin advance.
Whilethe tool radiusis
the 4-block
and the 1 block
beingcompensated
19
2. 7.3BUFFERINGFUNCTION(M93, M92)t(Cent’d)
EXAMPLE
N51M93; —
N52GO1 U.. - F.. .;
N53X.. . Z.. .;
N54
M58 M92; —Canceling4–blockadvance
Start of 4-block advance
reading.
Stop betweenblocks
for tool radiuscom
pensationor other
calculationcan be
avoided.
1
reading.
(3)Commandsof M96 and M97 become effective
from the edge in the following command
blocks .
a. GO1X.. . Z.. . F.. ;
(GO1) X..Z.. . M96
(or M97);
b.GO1X..Z.. . F.. .;
M96 (or M97);
(G 01) X...Z..;
1 From the move
around the edge
in this block,
J
From the move
aroundthe edge
in this block.
-1
2.7.5SUBROUTINEPROGRAM (M 98, M 99)
2.7.4CIRCULAR PATH MODE ONIOFF ON TOOL
RADIUS COMPENSATION (M 97, M 96)+
TheseM codesare effectivewhen the controlis
providedwith the tool nose radiuscompensation
option.
(1) ThefollowingM codesare used.
M cede
M 961Tool radius compensation circular path on
M 97
Note: When power is applied, the current M code is
changed to the M code m=ked with~
However, it is not changed by RESET operation.
(2)
With the tool radius compensation mode by
Tool radius compensation circular path off
(Execution of intersection point)
G41 to G44, the locus of the tool (center
of tool radius) for commandedworkpiece
contourlineswith the anglebetweentan–
gentslargerthan180° is in the following
two categories.
M96 mode
a
The center of the tool nose radius describes
a circular arc around the perimeter in the
contour line.
b
M97 mode
The center of the tool nose radius moves
along the locus that is formed by straight
lines shifted from the contour line by the
distanceequalto the tool radius.
Meaning
lNTFFiSELll ON
With this function,subroutineprogramswhich
havebeennumberedand storedin advanceare
calledand executedas many times as desired.
(1) ThefollowingM codesare usedfor this
function.
M code
(2)
Call of subroutine program(M98)
M98P.. . Q.. . L.. . ;
With this command,the subroutineprogram
startingwith a sequenceNo. followingQ in
the part programwith the programNo
specifiedby p is calledand is executedL
times.
However,when
I
P is omitted:
subroutineprogramfollowingthe sequence
No. Q in the main programis called.
Q is omitted:
subroutineprogramstartingat the leading
end of the programNo.specifiedby P is
called.
L is omitted:
Subroutineprogramscan be nestedup to
4 times.
End of subroutineprogram(G99)
Meaning
executionis onlyonce.
.1
I
=Q!c3:000’nO”dO’‘3)
\
—z
M 96 mode
(circular arc)
‘b
M 97 mode (calculationof
Fig. 2.8
~,t~reference pan! of lmtemacfmn.
\
intersection)
is written at the end of subroutine
;
M99
programto end it.
When this code is written, the operation returns to the block immediately following the
main block in which the subroutine program
was called after the execution of the subroutine program.
M99 P.. .;
When this is writtenat the end of a sub-
routineprogram,the operationreturnsto
the sequenceNo.
program.
(4)Simplejump command
M99 P ‘“”;
When this commandis
gram,the operationsimplyjumps to the
sequenceNo.
program.If Q is omitted,the program
simplyjumps to the leadingend of the main
program.
I
specifiedby p in the main
used in the main pro-
specifiedby Q in the main
N1 G50 XO 20 ;
N2 GOO . . . ;
EXAMPLE
Man Program
,1 ,A
, ,/
,/’,!
/’
,’
--
–>:
_,/’‘$
--
—-
‘\
\
-1
--l‘,
—’——J“-:’.
Subroutine program
t
1
1
1
‘1
\
11
,--.,
ITotlmes
One hme
2.7.6OTHER M CODES
How to use the other M codes other than
(1)
above dependsupon the machine.
the machine tool builderfs manual.
N“20 hi 99 ;
Refer
the
to
I
L
Writingmulti blocks(10 lines maximum)of
this programand executingcyclestart
make endlessoperation.
Notes :
When the programNo.specifiedby address
1.
P and the sequenceNo.specifiedby Q are
not found,alarmcode041 is displayed.
While commandL for the numberof repetitions
2.
is underexecution,the remainingnumberof
repetitionscan be displayed.For details
referto 4.3.2.2.
Thisfunctioncan be usedwhensubroutine
3.
programsare storedin the partprogram
memory.
throughNC tap-es ~r the part programmemory.
When subroutineprogramsare nestedmore
4.
than 4 times,alarmcode“042 “ is displayed.
Main programscan be commanded
Tadle 2.7 Typical
M code
M 03
M04
M 05
M 08
M 09
(2)When theseM codesare commandedin the
(3)For theseM-codecommands,the controlout-
Spindle forwa’d running
Spindle reverse running
.—.’
same blockwithmove command,execution
will, dependon the machinetool designand
construction.(Whetherthe M commands
are executedsimultaneouslywith or after
completionof move command.)
puts M 2-digitBCD codes.
Example of M codes for Machine
Meaning
Spindle stop
Coolant on
Coolant off
I
Direct switching from
M 03to M 04 cannot be done,
M 05 must be inserted
between them.
Remarks
—
2.7.7M 3-DIGIT BCD OUTPUT+
When the controlis providedwith the M 3-digit
BCD outputoption,it can commandM 3–digit
codesbetweenMOO and M999.
(1)M codesbetweenMOO and
M11O
and M999 are outputin 3-digitBCD
codes.
(2)M90 throughM109 are internalprocessing
M codes,and no BCD code for them is output.See 2. 7.2
PROCESSING.
M CODESFOR INTERNAL
M89,and between
21
27
7 M 3-DIGITBCD OUTPUTt(Cent’d)
With MOO, MO1, and M30, decodesignals
(3)
outputin additionto the BCD output.
See 2.7.1, “ M CODESFOR STOP. ”
Thespecificusagesof the M 3-digitcodes
(4)
dependson machine tool design. ‘Refer to
machine tool builder!s manual.
2.7.8HIGH-SPEEDM FUNCTION
This function is used to execute the M function at
high-speed without the need of the ending
response.
TheM code is not outputwhenthe M code is
commanded,but the M decode output is setlreset.
Thus, there is no need for the M code decode
processing and
controller.
TheM codethat performthe high-speedM
functionprocessingis presetin the parameter.
(Thereare botha settingparameterand a
resettingparameter.)
When resetting
set to hold or reset
2.7.8.11/0 Channel
(1)For decodeoutput
~. -—_
F1224~
2.7.8.2Parameters
FIN processingin the programmable
by the parameter,it
the decodingoutput.
:-”
IMD71MD6MD51MD4MD31MD2MD1
——
‘-‘7-
are
can be
MDO
(b) #6645 . . .
r?
=1224
36645
‘1:.~=x;xm----
(Example of setting)
#6644 . . .
#6645 . . .
(3) M code setting parameter for resetting the
decode output
Sets the followingparameters,the same as in the
settingparameterof (2),
(a)#6646 . . .
==1
For settingthe M code corresponding to the decodeoutput1MD4 to
MD7’
MD7MD6MD51MD4~~~
n“
l-’-m-l‘--‘--
63626160
67666564
For settingthe M codecorrespond-
ing to the decodeoutput‘MDO to
MD3’
!
1’
i;
–——
(Commanded by 2 digits)
MD3MD2i MDl MDO
m-m
I
-T-–-–..
lxx~x;xx
FIrl- ~ ~“----xx
(Commanded by 2 digits)
(b)#6647 . . .
For settingthe M codecorrespond-
ing to the decodeoutput‘MD4 to
MD7’
(1)High-speedM function
#6007D5. . . . .0:
M code settingparameterfor settingthe
(2)
decodeoutput
The 1,4code is set in the parameter corresponding
to the decode output bits.
Up to four M codes can be set in a single
parameter.
(a)#6644 . . .
t!6644
For settingthe M codecorrespond-
ing to the decodeoutput‘MDO to
MD3’
~-”--~-”~‘
Thefunctionis disabled
The functionis enabled
1:
.xxxlx~
(Commanded by 2 digits)
22
=7FD7”F===TT7”””i
#q,~
(Exampleof setting)
(4)
(a)
(b)
xxix.
‘P-,,..i
L——
#6644 . . .
#6645
Decodeoutputholdlresetsettingparameter
Sets whetherto hold or resetthe decode
outputupon reset.
#6135 DO to D7
When the decodeoutputis to be held,the
numeralscorrespondingto each bit are added
to the total.
. . . 77
(uponreset)
Xxlxx
73727170
?67574
The resultis outputto #1224.
._.—.——
1
--~---
(Commanded by 2 digits)
Loading...
+ 258 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.