This manualis primarily intended with 9“ CRTcharacter
display (basic)to give operators instructions for YASNAC
J50L programmingand operation.
This manual applies to the basic and optionalfeaturesof
YASNACJ50L.The optional features are markedwith a
dagger. For the specificationsof your YASNACJ50L, refer
to the machine toolbuilder’smanual.
YASNACJ50L OPERATORSSTATION
PREFACE
When reading this manual keep in mind that the
information contained herein does not cover every
possible contingency which might be met during
the operation. Any operation not described in
this manual should not be attempted with the
control.
The functions and performance as NC machine are
determined by a combination of machine and the
NC control.
the machine toolbuilder’smanual shalltake pri-
ority over this manual.
The illustrationof machine control station should
be used for your reference in understanding the
function.
and names,
manual.
For operation of your NC machine,
For detailedarray of operatorls devices
refer to machine toolbuilder’s
23
M-CM-1
Unless otherwise specified,
apply to the descriptionof
the followingrules
programming examples
shown in this manual.
Feed Function Selection:
G99 (mm/rev)
Reference Zero Point
(Return to reference zero by manual and auto-
matic return):
Absolute Zero Point:
Work Coordinate Zero Point
Dimensions:
+
+
+
in MM
ii
TABLE OF CONTENTS
1. INTRODUCTION1
2. PROGRAMMING1
2.1
TAPE FORMAT1
PROGRAM NUMBER AND SECNJENCE NUMBER6
2.2
2.3
COORDINATE WORDS
RAPID TRAVERSE RATE10
2.4
25
SPINDLE-SPEEDFUNCTION (S-FUNCTION)13
TOOL FUNCTION (T-FUNCTION)14
2.6
MISCELLANEOUSFUNCTIONS (M-FUNCTION)17
2.7
PREPARATORY FUNCTIONS (G-FUNCTION)21
2.8
3. NC TAPE PUNCHING139
3.1 TAPE CODE139
3.2 PROGRAMMING139
3.3 NC TAPE141
7
3.4 NC TAPE HANDLING141
4. STANDARD NC OPERATOR’S STATION
WITH CRT CHARACTER DISPLAY142
PUSHBUTTONS,KEYS, AND LAMPS142
4.1
POWER ON/OFF OPERATION146
4.2
4.3
DISPLAY AND WRITING OPERATION146
4.4
LOADING PART PROGRAMS
AND NC DATA INTO MEMORY (IN)163
4.5
TAPE VERIFYING166
4.6
EDIT168
4.7
PART PROGRAM AND NC DATA OUTPUT
OPERATIONS170
4.8
SUMMARY OF STORING
AND EDITING OPERATIONS173
5. MACHINE CONTROL STATION174
5.1 SWITCHING UNITS ON THE CONTROL
STATION
OPERATION PROCEDURE181
5.2
6. OPERATION PROCEDURE195
INSPECTION BEFORE TURNING ON POWER195
6.1
TURNING ON POWER195
6.2
MANUAL OPERATION195
6.3
6.4
PREPARATION FOR STORED LEADSCREW
ERROR COMPENSATIONAND
STORED STROKE LIMITt196
PREPARATIONS FOR AUTOMATIC OPERATION196
6.5
OPERATION IN TAPE AND MEMORY MODE197
6.6
MANUAL OPERATION INTERRUPTING
6.7
AUTOMATIC OPERATION197
AUTOMATIC OPERATION IN MDI MODE198
6.8
6.9
MDI OPERATION INTERRUPTINGAUTOMATIC
OPERATION198
6.10 PREPARATION FOR TURNING OFF POWER
6.11 TURNING OFF POWER198
APPENDIX1
APPENDIX 2
APPENDIX3
APPENDIX4
APPENDIX5
APPENDIX6
174
LIST OF SETTING NUMBERSA-f
LIST OF PARAMETER NUMBERS
STORED LEADSCREW ERROR
YASNAC J50L,“UltraspeeddualprocessorCNC” isa combinationoftwo high-performance16-bitmicroprocessors
runningin parallel.Incorporatingour modern system
technique,itisdesignedtoprovidethehighestlatheperformance.
The dual processor CNC system drasticallyreduces the data processing time to meet highspeed cutting.
creased by the use of high–speed buffer func–
tionand buffering function.
Enhanced cutting capabilityincludes a maximum
of 24 meters/reinfeed command, precise feed E
To meet FMS trends, program interruptfunction,toollifecontrol,user macro, toolset
error correction, stored stroke limitper tool,
and other functionscan be installed.
Block-to-blockstop time de-
2. PROGRAMMING
Part program memory can be extended to a
maximum of 320 meters. Its data input/output
interfaceis availablewith FACIT, RS232C and,
in addition,RS422 serialinterfacecapable of
high-speed long distancetransmission.
Programming is further facilitatedby improved
toolradius compensation function,G 50–work
coordinatesystem setting,angle-specifiedlinear interpolation,and combined beveling/round–
ing function.
The servo functionuses a drasticallyminiaturized and low–noise, newly transistorizedPWM
controlunit and a high–performance DC servo
motor.
The positionfeedback is availablewith the
standard pulse generator (PG ) system and,
the inductosyn-appliedcomplete closed lcQp
system.
2.1 TAPE FORMAT
2.1.1TAPE FORMAT
A variableblock format conforming to JIS# B
6313 is used for YASNACJ50L.
Table 2,1 shows the tape format.
followingthe address charactersin Table 2.1
indicate-the programmable number of digits.
EXAMPLE
+
4
a
[[L
# Japanese IndustrialStandard
3
L
Down to th,rd
decimal places
Four dlgils of
Integer
1
I
Numerals
!n mm or Inches
Note:The decimal point may be omitted in
actualprogramming.
including decimal points, refer to 2.1.3
Decimal Point Programming.
The leading zeros can be suppressed for alladdress codes.
med, but allminus signs must be programmed.
In the manual, EOB code in a program example
is represented by a semicolon (;). In actual
programming, CR (EIA code) or LF /NL (1S0
code ) should be used instead of the semicolon
(;).
Plus signs need not be program-
For making a program
2.1.1TAPE FORMAT (Cent’d)
2.1Tape Format
Table
No.
1
Program No,
Sequence No.
2
G-Function
3
Coordinate Word
4
a: X, Z, 1,K, U, W; R
5
Feed/rein
Feed/rev and Thread Lead
6
7
S-Function
8T-Function
Address
Metric Output
Metric InputInch Input
0404B
N4N4
G3G3B
(a+ 53)
F 50F32
F32F 24
E34E26E44
(a+44)
S2S2B
S4
T (2+1)
T(2+2)T(2+2)
Inch Output
Metric Input
a+53
F 50
F42
T(2+I)
B: Basic
Inch Input
O: Option
a+44
F 42B
F24B
E!26B
S4o
B
B
—
B
o
9
M-Function
10
DwelI
ProgramNo. Designation
11
12
Sequence No. Designation
13
No. of Repetitions
Angle Designation for Straight
14
Line
Angle Designation for Multiple
15
Thread
Notes:
1. Inch/Metric output is set by setting parameter #6007 DS
2. Inch/Metric input is set by setting (#6001 Do).
3. F codes for feed/rein or feed/rev can be switched by G 98, G 99,
M3
u (P)53
P4P4
Q (P) 4
L8LaB
A (B) 33A (B) 33
B3B3
M3B
u (P)53B
B
Q (P) 4B, O
0
o
2
Table 2.2 List of ProgramCommands
Address
Program No. O
Sequence No. N
G function G
Coordinate Address
X, Z, 1, K, U, W, R
Feed/rein
Feed/rev and Thread Lead
S-function
T-function
S2
S4
T3
T4
F
F
E
1–24000 mmlmin
0.01–500.00 rnmlrev
Metric Output
Metric Input
+99999.999rnrnI*3937.0078in.j*99999.999mm. I9999.9999 in.
IInch Input
1–9999
1-9999
0-1990-199
0.01–944.88 in/rein
1
III
0.0001 –19.6850 inlrev I 0.01–1270.00 mmlrev 0.0001-50.0000 ~n/rev
I
IMetric InputIinch Input
1–80960 mmlmin
I
Inch Output
1–9999
1–9889
0.01–2400.00 inlmin
I
—
0.0001-0.ooooo4-
500.OCOOmmlrev19.685030 in/rev
o-990-99
0-9999
0-999
0-9999
0.ooo3-
1270.0000 mmlrev
1
0-9999
0-999
0-9999
0.000cno-
50.000000 inlrev
M-function
Dwell U, P
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, S= 2.8.26.8Automatic Threading Cycle (G76).
0-999
0.001–99999.999 Sec
1-9899
1-9689
1–99999999
0-?360.000°
0–360°
0.001-99999.999 Sec
0-999
1-9899
1–9999
1-99999989
0– ~36&r3@3°
o–3800
3
2.1.2LIST OF ADDRESS CHARACTERS AND FUNCTION CHARACTERS
Table 2.3 Address Characters
Address
A
Angle designation for GOland Gill, included angle for G76
Spindle shift angle Ol multiple thread, angle designationfor multiple corneringB
Meaning
cUser macro character
DDepth of cut and number of cutting cycles for G 71 to G 76
ESpecifications for precise feed and precise lead for cutting
FSpecifications for normal feed and normal lead for cutting
G
H
I
J
K
L
Preparatoryfunction (G-function)
User macro character
X-component of arc center, canned cycle parameter, beveling value (radius value)
User macro character
Z-component of arc center, mnned cycle parameter, beveling value
Incremental value of variable lead thread
Number of subprogram repetition, G 13 to G 16 angle and coordinate
B: Basic
O: Optional
o
0
o
0
B
B
B
.-
0
B, O
o
B, O
o
B, O
M
N
o
P
Q
R
s
T
u
v
w
x
Y
z
Miscellaneous function (M-function)
Sequence number
Programnumber
Dwell, canned cycle starting sequence number, program number, user macro number
Subprogramstarting sequence number, canned cycle ending sequence number
Radius of arc, rounding value, tool radius value
Spindle function (S-function), maximum spindle revolution
Tool function (T-function), tool coordinate memory number
Error in significant data area in EIA Disregarded in ISO
I
I
Remarks
+--”=---i‘--
CR
SPSPSpace
ER
‘~+sp”ia’cde
—
oto9oto9
LF/NL~ End of Block (EOB)
~
Disregarded
I
O/. I
—
Rewind stop
Disregarded, User macro operator
Minus sign, User macro operator
Numerals
t
T
I
~---
.
atoz
I/Optional block skip
DelDELDisregarded (Including All Mark)
Parameter
starting
*
——
—
[[
1
$$
@
?
Notes:
1. Characters other than the above cause error in significant data area.
2. Informationbetween Control Out and Control In is ignored as insignificant data.
3. Tape code (EIA or ISO) is automatically recognized.
Ato Z
I
#Sharp (Variable designation)
I*I
—
1
I
I1
@
I
1?I
1
Address characters
I
Decimal point
Asterisk (Multiplication operator)
Equal mark
~ Left bracket
I
Right bracket
User macro operator
User macro operator
1
User macro operator
I
‘-+
4-”
I
I
I
Special code
EIA:
I
~
I
2.1.3DECIMAL POINT PROGRAMMING
Numerals containinga decimalpoint may be used
as the dimensionaldata of addresses relatedto
coordinates(distance), angle, time and speed.
They can be input from punched tape or MDI .
Decimal pointscan be used in the followingaddress words.
Coodinate words;
X, Z, U, W, I, K, R
Angle words: A, B
Feedrate word:F, E
Time words: U, P
EXAMPLE
[mm]
X15.X15.000 mm
Z20.5—Z20.500 mm
(G99)F.2t —FO.20mm/rev
(forF32)
(G98)F25.6F25 mm/min
(for F50)
G04Pl.—
When data without a decimal point is input, the
control regards 1!11!as 0,001 ~m(or 0.0001”inch).
LABEL SKIP FUNCTION
2.1.4
Dwell 1.000 sec
[inch]
or X15.0000 in.
Z20. 5000 in.
or
or FO.2000 idrev
(forF24)
or F25.60 mm/min
(for F32)
Notes:
1. This function is effectivefor G 22 and G 23
where the control is provided with Radius
Programming for CircularInterpolationoption.
2.
Block-to-block stop time due to the time
required to compute toolradius compensa–
tionis not eliminatedor remains.
To reduce
this stopping time, use 2.7.3Buffering
Function (h193,M92) (optional). When operation of consecutiveblocks up to 5 in M93
mode, inter–blockstoppage time is reduced
to zero.
2.2
PROGRAM NUMBER AND SEQUENCE
NUMBER
2.2.1PROGRAM NUMBER
Program numbers may be prefixed to programs
for the purpose of program identification.
Up to 4 digitsmay be written afteran address
character “O“ as program numbers.
program numbers can be registeredin the control,and up to 199 or 999 can be registered employing an option.
One program begins with a program number, and
ends with M02, M30 or M99. M02 and M30 are
placed at the end of main programs, and M99 is
placed at the end of subprograms.
up to 99
In the followingcases the labelskip function
becomes effective,and LSK is displayed on the
CRT .
. When the power supply is turned on.
. When the RESEToperationis executed.
While the labelskip functionis effective,alldata
on the punched tape up to the firstEOB code are
neglected.
When LSK is displayed on the CRT in
the MEM (memory) or EDIT (editing)mode, itindicatesthe presence of a pointer at the leading
end of the part program.
BUFFER REGISTER
2.1.5
During normal operation, one block of data is
read in advance and compensation is computed
for the follow-on operation.
In the toolradius compensation”tmode, two
blocks of data or up to 4 blocks of data are read
in advance and compensation computing required
for the next operationis executed. One block
can contain up to 128 characters including EOB .
The blocks including the followingM codes
are not read in advance .
. MOO, MO1, M02, M30
. M codes (6 maximum) set by parameter com-
manding to stop advance-reading.
6
PROGRAM WITH
PROGRAM NO. 10PROGRAM NO.
PROGRAM WITH
1234
ER (or % at 1S0 code) is punched on both end
parts of the tape.
Notes:
1. The blocks for optionalblock skip such as
/M02;, /M30;, /M99; are not regarded as end
of programs.
2. It is possiblewith a parameter change
(#6201Do), to make the reading of M02, M30,
and M99 ineffectiveas a program end, and
to make the succeeding ER (EIA) or % (ISO)
as a sign of program end.
SEQUENCE NUMBER
2.2.2
Integers consistingof up to 4 digitsmay be written followingan address character N as sequence
numbers.
Sequence numbers are reference numbers for
blocks, and do not have any influenceon the
meaning and sequence of machining processes.
Therefore, they may be sequential,non-sequen-
tial,and duplicated numbers , also not using
any sequence number is possible.
Generally,
sequentialnumbers are convenient as sequence
numbers.
When searching for sequence numbers, be sure
to search or specifyprogram numbers beforehand.
Notes:
1. Five or more digitsmust not be written as a
sequence number.
2.
When two or more blocks have the same se–
quence number, only one is retrievedand
read, and no more searching is performed.
3. Blocks without sequence numbers can also
be searched for with respect to the address
data contained in the blocks.
2.2.3.
OPTIONAL BLOCK SKIP (/1-/9j+)
Those blocks in which “/n” (n = (1 - 9) is included are neglected between In and the end of
that block, when the externaloptionalblock skip
switch for that number “n” is on.
EXAMPLE
2.3.1
COORDINATE WORDS
Address of Coordinate Words
Absolute coordinate position of target
x, z
II
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 according to G 90/G 91
designation. For details, refer to 2.3.5 Absolute and
Incremental Inputs,
position
Incremental distance
(U: Direction in X-axis,
u. w
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+
Rsdius value of circular arc
Meaning
/2N1234GO1 X1OO /3z200;
When the switch for /2 is on, the entireblock is
neglected,
and when the switch for /3 is on,
thisblock is read as if
N1234GO1 XIOO; .
With II1,IIIIIllmay be omitted.
Notes:
1. The optionalblock skipping process is executed while the blocks are being read intothe
buffer resister.
Once the blocks have been
read, subsequent switching on is ineffective
to skip the blocks.
2.
While reading or punching out programs,
thisfunctionis ineffective.
3. The block skip /2 - /9 is an option function,
and /1 is a basic one.
COORDINATE WORDS
2.3
Generally,
commands for movements in axis direc–
tions and commands for settingcoordinatesystems are calledcoordinatewords, and coordinate
words consistof address characters for desired
axes and numerals representing dimensions of
directions.
2.3.2 SIMULTANEOUS CONTROLLABLE AXES
The controlprovides two-axis controlfor X- and
Z-axis.
Number of simultaneouslycontrollable
axes, when commanded in the same block, is
two axes ,
XandZ. For the axis without com-
mands, movement willnot occur.
LEAST INPUT INCREMENT AND LEAST
2.3.3
OUTPUT INCREMENT
2.3.3.1
Input Unit and 10 Times input Unit
The minimum input units that can be commanded
by punched tape or MD I are shown below.
Least Input Increment
lx
Metric system0.00f mmO.Of
Inch systemI0.0001 in.I
X-axis is specified for diameter.
,0x (?Otimes
Input unit)
mm
0.001 in.
Inch /MM input is selectedby setting#6001D0.
Inch/MM input selectionby G20/G21 is optional.
Selectionof multiplicationfactorxl/x10 is made
by parameter #6006D
5.
Tool offsetvalue must always be written in 0.001
mm (or O.0001 inch), and offsetis possiblein
these units.
7
2.3,3,1Input Unit and 10 Times Input Unit
(Cent’d)
In 0.01 mm increment system, the followingoperationmust be made in the unit of O.01 mm.
. Programming for operationin TAPE mode.
o Write operationin MDI mode.
. Programming for operationin MEMORYmode.
o Program editingoperationin EDT mode .
Notes:
If NC tape programmed by O.001 mm is fed
1.
intoor stored in an equipment set by O.01
mm increment, the machine willmove ten
times the intended dimensions.
If the increment system is switched when the
2.
contents of NC tape are stored in memory,
the machine willmove by ten times or one
tenth of the commanded dimensions.
When the stored program is punched out on
3.
the tape+, the stored figures are punched
out 1!as stored!lregardlessof switching of
the increment system.
Multiplicationfactor 10X (10 times the input
4.
unit)is effectivefor distancecommand only.
Itdoes not functionon the designationof
time, angle, etc. When multiplicationfactor
10X is set as effective(#6006D5 = 1), the
same address word is multipliedby 10 or not
depending on type of G command.
EXAMPLE
G04 U...
GOO U... ;—
2.3.3.2 Least
output increment is the minimum unit of
Least
;—Notmultipliedby 10 (Time)
Multipliedby 10 (Distance)
Output Increment
toolmotion. Selectionof metric system or inch
system is made by parameter (#6007D3).
Least Output Increment
I
I
I
Z-axis
0.001 mm
0.0001 in.
Metric output
Inch output
I
I
I
X-axis
(Radius value)
0.0005 mm
0.00005 in.
Maximum Programmable Values
Metric input
Metric Output
Inch input~ + 3937.0078 in.
-...t-––-–.—–.-----
Metric input* 99999.999 mm.
Inch Outout
Inch input
+.9999.999 mm.
I
– + –- ——–—-—-
I
?c99999.999 in
In incrementalprogramming, specifiedvalues must
not exceed the maximum programmable values. In
absolute programming, move amount of each axis
must not exceed the maximum programmable value.
THE MACHINEMAYNOT FUNCTIONPROPERLY
IF MOVECOMMANDOVERTHE MAXIMUMPRO-
GRAMMABLEVALUESIS GIVEN.
The above maximum programmable values also
apply to distancecommand addresses 1, K, R
in additionto move command addresses X, U, W.
ABSOLUTE AND INCREMENTAL INPUTS
2.3.5
Both absolute
input and incrementalinput can
be used for the control.
Absolute input is specifiedby the addresses
XandZ.
EXAMPLE:X.. . Z.. . ;
Incrementalinput is specifiedby the addresses U andw.
EXAMPLE:U,. . W.. , ;
Absolute input and incrementalinput can be
used in one block mixedly.
EXAMPLE:X.. . W.. . ;
u.. . z... ;
Note :
When addresses X and U or addresses Z
and W are used inone block, the latteris effective.
The addresses 1 and K for designationof arccenter must be specifiedby the incremental
dimension.
MAXIMUM PROGRAMMABLE DIMENSIONS
2.3.4
Maximum programmable values of move command
are shown below.
8
Table 2.5
Address
i
Increment SystemDesignation
x
Absolute Input
z
u
Incremental Input
I
Incremental Input
K
R’
Incremental Input
DiameterPosition in X-axis direction*
—
Diameter
—
Radius
—
—
~
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
center
Distance in Z-axis direction from starting point of arc to
center
Direct programmingof circular arc
TAPE, MEM,
MDI modes
EXAMPLE:
—+Z
Incrementalmove command
Meaning
AddressesG 90 CommandG 91 Command
x, zAbsoluteIncremental
u, wIncremental
Incremental
G91 GOO X40. z50. ; ““”..
w
XandZ:Absolute Input
UandW:
* Since X and U are designated by the
values in diameter,the actual movement is
the half of the values.
Fig. 2.1Absolute Coordinate Values and Incremental
Cases whereG 90
mental commands ) are used.
When specialG code I (basic) or II (option)is
selected,G90 and G91 codes can be used.
Incremental Input
Coordinate Values
and G 91 (absoluteand incre-
G code
90
G
91Incrementalcommand
G
Meaning
Absolute command
. Auxiliarydata, I, K, R, etc., of circular
interpolationare always incrementalcommands.
Note:
together in the same block.
G90 and G91 cannot be programmed
If they are written
in the same block, the one writtenlater only is
effective,
EXAMPLE:
GO1 G90 x80. G91z60.;
G 91 is effective,and in thisblock, commands
become incrementalin both the X and Z axes.
X-AXIS DIAMETER/RADIUS SWITCHING
2.3.6
Addresses X and U for X-axis coordinatewords
are specifiedby diameter value. This iscalled
diameter designation.
The addresses X can be
used for designationof both diameterand
radius.
of parameter #6006D
The switchingis made by the setting
3.
0: Diameter designation
1: Radius designation
As shown below, G90 and G91 commands are
effectiveonly to addresses X and Z .
9
2.3.6 X-AXIS DIAMETER/RADIUSSWITCHING (Cent’d)
each axialdirectionsimultaneously,motions in
+x
+x
I
these axial directionsare independent of each
other. and the end Doints are reached at differ-
rent times among these motions.
motion paths are normally not straight.
50% and 100% of the basic rapid traveree ratee,
BEl=$+zEF+z
(a) In the case of Di-
ameter Designationdius Designation
Address X command
(b) In the case of ra-
-.-f,
r-lg. z. z
Table 2.6
Diameter
Programming
Radius
Programming
are available.
parameter (#6231).
Range of Rapid Traverse Rate
(1)
(2) The rapid traverse rate can be set to the
When the toolis moved in rapid traversein
“.
.
Therefore,
For override rapid traverse rates, Fo, 25%
Fo is a constant feedrateset by
For each axis, rapid traverse rates can be
set by parameters #6280, #6281 at some
suitablemultipleof 125 p/see.
Least output increment)
(p:
uPPer limitshown below.
a
Address U command
X-axis position-display
Tool position offset
value
Tool coordinate data
for work coordinate
system
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
multiple cornering,
D, 1, K, P, Q, R
Diameter value
Diameter value
Diameter value
Radius value
Radius value/rev
Radius value/rein
Radius value
Radius value
2.4RAPID TRAVERSERATE
2.4.1RAPID TRAVERSE RATE
The rapid traverse motion is used for the motion
for the Positioning(GOO ) and for the motion for
the Manual Rapid Traverse (RAPID).The traverse rates differamong the axes since they are
dependent on the machine specificationand are
determined by the machine toolbuilders.
The
rapid traverse rates determined by the machine
are set by parameters in advance for-individual
axes.
~
The upper limitfor X-axis speed is halfthe
listedvalues. The optimum value of upper
limitis set according to the machine.
Refer to the machine toolbuilder’smanual,
for the definitevalue.
FEED FUNCTION (F- AND E-FUNCTION)
2.4.2
code listedbelow must be designated before F,
erationconstant of rapid traverse rate can be
set by parameter. (
As shown in the followingoperation,the two-step
linearaccelerationand decelerationcan be specified. (independent of each axis) (See Fig. 2.4.)
#6280 to #6287)
. Cutting feed (GO1 to G03)
v
G00
.———
L
t
VELOCITY
TIME—
Fig. 2.4
S22;
X.. .
z..F.. . ;
S22: Effective
1
Note :The two-digitBCD output is sent to the
machine when S and two–digitcommand
is issued.
t
2.5.2 S4-DIGIT
PROGRAMMING AT
(1) Four digitsfollowingS (S El❑ ❑ •l) are used
to specify the spindle speed in rein-l.
Feedrate time constants-areset at 2 msec intervals and feedrate bias is set at 2kpps intervals
by parameters. (
#6092,#6093)
Note:The automaticacceleration/deceleration
parameters are set to the optimum values for the
respective machines.
Do not change the setting
unless itis required for specialapplication.
SPINDLE-SPEED FUNCTION (S-FUNCTION)
2.5
2.5.1 S 2-DIGIT PROGRAMMING
(SPECIAL
SPECIFICATIONS)
The spindlespeed is specifiedby two digitsfol-
lowing the address S (S00 to S
99) .
For each S code and itscorrespondingspindlespeed
(rein-l),refertothemachinetoolbuilder’smanual.
When a move command and an S code are issued
in a block, execution willdepend on the machine
tooldesign and construction (Whether the S command is executed together with the move com-
mand or afterthe completionof toolmovement) .
Refer to the machine toolbuilder’smanual.
Once specified,S-code is modal and effective
untilthe next S-code.
When the spindlestops at
M05 (spindlestop), S-command is stored in
memory of the unit.
EXAMPLE
(2)When S command is given in a block together
with M03 (spindle forward running) or the
M04 (reverse running) , the controlproceeds
to the next block afterthe spindle speed
reaches the speed given by the S code. For
details,refer to the machine toolbuilder’s
manual.
EXAMPLE
S1OOO M03,
s
I
START OF THE BLOCK
S commands are modal. Although the spin-
(3)
1003 R/MIN
—————-
11
I
I
I
‘fl
I
u
%
START
SPEED
SYNCHRO)
ACTUAL
SPEED
dlZATION
SPINDLE
~::::fi”’
dle stops at the M05 command, the S command is retained.
Therefore, when M03
(or M04) is given, the spindleruns accord-
ing to the S command.
(4)
When S command is changed afterthe spin-
dle startby M03 or M04, S command should
be given within the range of spindle speed
selectedby spindle gear.
t
GOO S11 M03;
... S command
Spindle CW
x.. . z... ;
GO1 Z.. . F.. . ;
GOO X.. . z... M05;
.,. Spindle stop
...M03;
x.. . z.. .;
......
F
z
GO
;
Sll: Effective
S 11: Effective
Notes:
The lower limitof the spindle speed depends
1.
on the spindle drive.
Refer to the machir,e
toolbuilder’smanual for the low-speed limit.
Negative S commands must not be programmed.
2.
When the control is provided with the S 4digitcommand function,the “Spindle speed
override” option can be builtintoit.
3.
With machine toolswith which the main spin-
dle gear ratiochanges can be specifiedby
M codes, firstwrite the applicableM code
to preselectthe desired gear ratio,and then,
write the S command.Refer to the data of
the machine toolbuilder for the number of
gear ratios,the speeds at various gear ratios,
and other details.
13
2.5.2S 4-DIGIT PROGRAMMING At (Cent’d)
When the controlis provided with this func-
4.
tion,the spindlemaximum speed commanding
functionwith the instruction“G50 S. .. ;”
can be used.
2.5.3S 4-DIGIT
PROGRAMMING Bf
(1) This functionis to modify the S4-digitcom-
mand A output freelythrough the program–
mable machine interface.
(2) Basically,thisfunctionisusedin thesame way as
theS 4-digitcommand A function,but itisnormallyused tosetthemanuallycontrolledspindle
speeds controlledby the rotaryswitchon the
machine controlstationcorrespondingto S command speeds.
For the detailsofS command
speeds,refertothemachinetoolbuilder’smanual.
TOOL FUNCTION (T-FUNcTiON)
2.6
2,6.1T 4-DIGIT PROGRAMMING
(1) Four digitsfollowingthe address T specifies
the toolnumber.
OFFSET MEMORY NO
x
‘ WORK COORDINATE
SHIFT MEMORY
(1 GROUP)
‘TOOL OFFSET
MEMORY—
(50 GROUPS MAX)
‘TOOL COORDINATE
MEMORY—
(49 GROUPSMAX)
Note :
For the actuallyusable range within the
No.
00
01
;9
--- -------4- —-.
y
J.
______
I ‘
50
51
99
[‘
_____
zR
-----
-----
-‘
T 4-DIGIT
; BASIC
: OFFSET
MEMORY
SUPPLEMENT
F
above OffsetMemory, refer to the machine tool
builder’smanual.
(2) The “tooloffsetNos. “ specifiedby the T
functiondirectlycorrespond to the “offset
memory Nos. ,“ and theircontents are used
for various compensations.
However, the
toolcoordinatememory Nos. (for settingthe
work coordinatesystem) correspond to the
toolselectionNos. in the T function. The
work coordinateshiftmemory is an independent function,not relatedto the T function.)
Tnmmn
TC(o_160r50)
Tool offsetnumber
Tool selection
(2) For applicabletoolnumber to be specified,
refer to the machine toolbuilder’smanual.
Notes:
1.
When the toolnumber is changed by the T
command, a turret lathe begins to index the
toolinstantaneously.
Therefore, the turret
should be removed, before the command,
from the area where”an accidentalcollision
might occur.
Tool offsetnumber 00 cancelsthe tooloffset.
2.
TOOL OFFSET MEMORY t
2,6.2
The area in which toolpositionoffsetvalues, tool
radius compensation values, and other comPensa–
tiondata are stored is calledOffset Memory.
(3) Write these data in the memory, before start-
ing to operate the machine under automatic
control. For the writing procedure, refer
to 4.3.5,“Displaying and WritingTool Offset
Values.“
For writingintoTool Coordinate
Memory, followthe procedure described in
6.2.3,“Work Measurement Value DirectInputt.“
TOOL POSITION OFFSETS
2.6.3
When the tooloffsetnumber is specified,the off-
set value corresponding to the tooloffsetnumber
is added algebraicallyto the command value in
the program and the toolis moved to the offset
position. Therefore, the differencebetween the
coordinatevalues of the programmed tooltipand
the actualtooltip must be stored intotooloffset
memory in advance as the offsetvalue.
When the coordinatevalue of the actualtooltip
has changed due to toolwear or some other rea-
sons, the toolpositionoffsetvalues should be
set again.
Thus, the programmed machining is
attainedwithout correctingthe program.
(1) Range of tool positionoffsetvalue
The programmable range of tooloffsetvalue
is shown below.
(1) The entirememory areas of Offset Memory
including the options are as shown below.
14
output I
Metric
output
Inch
output
(2)
Sign of toolpositionoffsetvalues
Store the toolpositionoffsetvalues in the
OffsetMemory.
viationfrom the tooltippositionof the
reference toolwhich is determined as zero.
Input
Metric inputO- k6366.607
Inch inputO–+330.260tin.
Metric inputO– ~9999.999 mm
Inch inputO- t636.t?607 in.
The offsetvalue is the de-
I
setting Range
mm
+x
,’+
8X3
+
2
X,z)
(
EXAMPLE
TIOI;....................
CIZ2:
+
+Sz,
(2
‘-1 COMPLETION
,OFFSET MOTION
--
ax!
+
2
o
+x
tiOLpOs’T’ON
-z
I
Descriptionof toolpositionoffsetmotion
(3)
As mentioned above,
by the address T and 4 digitsis moved, the
offsetvalue corresponding to the tooloffset
number is added to the command value in the
program algebraicallyand the tooltipis
moved to the offsetposition.
When there is no move command in the block,
the toolmoves only by the offsetvalue.
Once, the tooloffsetnumber is designated,
the toolmoves always to the offsetposition
untilanother number is designated. When
the other offsetnumber is designated or
the offsetvalue is changed, the offsetvalue
is compensated for by the amount of the
differencebetween the old and new offset
values.
OFFSETVALUE
T101
T
(+ 6X1, + 6Z1)
[
T115
T
(+ 6X2, + 6Z2)
[
II
PROGRAMMED
–x
Fig. 2.5
8
.2
(& DIAMETER)
2
when the toolspecified
+-z
GO1 X.. . Z...
T115;....................
(4) Move speed with tooloffset
The move speed of tooloffsetis determined
by the feedratecommand that is effectivein
the block. Therefore, the feedratecommand
(GOO or GO1 F.
or in the block containingthe tooloffset
number.
EXAMPLE
G50X.. .Z.. .;
GOO S.. . M03 TO1O8;
x.. . z... ;
(5)
Instructionsfor commanding toolposition
offset
Tool positionoffsetis executed by designating the tooloffsetnumber corresponding to
the actual toolmust be designated.
a.
Tool offsetstartsat the block in which the
T-code is commanded.When T-code is read,
the tool selectionsignal (BCD ) is fed and
the toolstartsto move by the offsetvalue
corresponding to the tooloffsetnumber.
Since T code is modal, itis retaineduntil
the other T code is designated.
EXAMPLE
GOO T0202; ...
b.
When the tooloffsetvalue must be changed,
the T-code whose tooloffsetnumber is rewritten should be commanded again.
F(E) ... ; .......
(Block of the
offsetmotion)
..) should be issued before
Offset
made at the rapid
traverse rate.
The toolnumber N02 is
selected.
motion is made accord–
ing to the contents of
the tooloffsetnumber 02.
motion is
Tool offset
@
@
15
2.6.3TOOL POSITION OFFSETS (Cent’d)
EXAMPLE
EXAMPLE
GOO T0202;
GO1 X.. . ZOO. F.. . ;
GO1 T0216;
Tool offset
isreplaced
Tool offset
at the cutting feedrate.
number02
with 16.
motion is made
Note that ifthe toolnumber is changed in this
case, the toolindexing motion starts,
c. The angle of taper cutting can be changed
by the followingprocedure.
T code for change of tooloffsetnumber
should be commanded in the block together
with cuttingfeed command .
EXAMPLE
@GOO T0202;
GO1 X.. . Z... F... ;
@GOlU+... W-... F... TI)216 ;
+x
,
/
.U
2
la
DIFFERENCE OF TOL OFFSET VALUE BETWEEN
T0216 AND T 0202
MOVEMENT OF COMMAND ~~
MOVEMENT WITHOUT COMMAND T0216 IN c
–w
STARTING POINT (BEFORE THE
EXECUTION OF COMMAND@)
~z
When the T command and the move command
are issued in the same block, the toolnose
moves to the offsetposition. Therefore, in
the above case, the taper angle is corrected
by the differenceof the offsetvalue between
T0202 and T0216.
d.
When the toolpositionoffsetisrequired to
cancel,the T code with the tooloffsetnum–
ber O or 00 (T ❑ 0 00) must be commanded.
The toolpositionoffsetisinstantaneously
cancelled.
GOO T0202
...
GO1 X.. . Z...
Gol
u+. . . w-.
@GOOX...Z..
F
. F.. .
;
T0216
T0200;. ...
,
The offset
motion is
cancelled.
Tool moves
according to
the position
specifiedby
XandZ.
The block @of EXAMPLEcan be divided
intotwo blocks.
GOO X.. . Z.. . ;
. .
T0200; ..
only cancel motion is made
at rapid traverse rate.
Notes:
Tool position
1.
offsetis cancelledby RESET
operation.
2.
The tooloffsetmust be cancelledbefore Mf)2
or M30 is commanded.
The tooloffsetshould be cancelled alsobefore
3.
Automatic Zero Return (G28) is commanded.
When the controlis reset by M02 or M30 com-
4.
mand or by executing RESEToperation,
the tooloffsetnumber becomes O (or 00).
When the Zero Return (autoor manual) is ex-
5.
ecuted, the tooloffsetis cancelledautomatically.
The tooloffsetmust be alsocancelledbefore
6.
Zero Return Check (G27) is commanded.I’f
the G27 is commanded at the statewhere the
tooloffsetis effective,the controlwillbe
the stateof Zero Return check error, because
the tooloffsetvalue is added to the programmed position.
WORK COORDINATE SYSTEM SHIFT+
2.6.4
With thisfunction,coordinatesystems set by G 50,
the Work Coordinate System Setting function, etc.
can be shiftedthrough desired distances.
(1) Shiftvalues in the X and Z axes can be
written intothe Work Coordinate System
ShiftMemory (one group ) with which the
offsetmemory No. is,
!!00 !!by the same pro-
cedure as for writingtooloffsetvalues.
(2)
The written shiftvalues become effective
from the moment described below.
When G50 coordinatesystem is set
a.
When G50GT work coordinatesystem is set
b.
When automaticcoordinatesystem is set
c.
PositionAbsolute displayis reset by ORG
d.
key
That is, when these coordinate systems listed above are set, the shiftvalues are simply
added.
Tools are not shifted.
‘N+
z,
II
ORIGINAL COORDINATE AXES
I
/
x,/2/
3. When G50 coordinate system is set or when
positionabsolutedisplayis reset by ORG key
1, parameter #6o18 D7 determines whether
work coordinatesystem shiftamount is effectiveor not.
2.7
MISCELLANEOUS FUNCTIONS (M-FUNCTION)
The miscellaneousfunctionis specifiedwith the
address M and a maximum3 digits. The function
of each M code (MOO to M99) is determined by the
machine, except for severalM codes.
the machine toolbuilderfsmanual for the func–
tionof M codes except for the followingM codes
concerned with the control.
M CODES FOR STOP (M 00, M 01, M 02, M 30)
2.7.1
To stop the NC controland machine, the following
codes are provided.
Refer to
+-#----+z
SHIFT COORDINATE AXES
Fig. 2.6
For positiveshiftvalues AX and AZ, the
coordinateaxes are shiftedin the direction
shown above. Xo and Zo are originalcoordinate system settingvalues.
This shiftfunctionis executed at each time
(3)
any of the conditionsdescribed in a, b, c,
and d is met.
When the contents of Work Goordinate Sys-
(4)
tem ShiftMemory are rewritten, the new
shiftvaluesbecome effectivefrom the moment the operation a, b, c, or d above is
subsequently executed.
(5)
The ~rocedure of5.2.3.“ MEASURED
WOR.K’PIECE VALUEDIRECTINPUTi’ is
effectivefor the Work Coordinate Shift
Memory with an offsetmemory No. “00.“
Notes:
1. The shiftcommand by the Work Coordinate
Shift function can not be cancelledunless
the setting value is changed to “O.“ No
resetoperationis effectivein canceling it.
Moo:
MOl:Optionalstop
M02:
M30:
These commands stop the advance reading of the
control.
and their respectivedecoded signalsare output.
(M 90 TO M 109)
M90
Even when they are programmed, no external
output signal(BCD and decoded output) is sent.
2.7.3
(1) The followingM codes are issued for
Program stop
End of program
End of tape
For these M codes,
M CODES FOR INTERNAL PROCESSING
2.7.2
through M109 are forinternalprocessing.
M96 t:
M97 ‘:
M98:
M99:
M1OO to
Tool radius compensation:
circularpath mode
Tool radius compensation:
intersectioncomputing mode
Subroutine program call
Subroutine program end
Not used (for specialapplication)
109:
BUFFERING FUNCTION (M93, M 92) +
buffering function.
M 2-digitBCDcode
2.
Tt1000; .....
G50 TaCl~;...
The tooloffsetNo
has nothing to do with the contents of Work
Coordinate ShiftMemory.
—
Tool positionoffsetcancel
Work coordinate system
setting
00 in these instructions
=
Note: When power is applied, the current M code is changed
to the M code marked wirh~.However, it is not changed by
RESET ooeration.
17
2.7.3 BUFFERING FUNCTION (M93, M92) t (Cent’d)
4-block buffering (M93)
(2)
When M93
; command is given, the control
enters the 4–block buffering mode, which
remains untilM92 is commanded subsequent-
In this mode, up to 4 blocks of data
ly.
are read in advance for subsequent opera–
tion. With programs in which the operation
time for the 4 blocks read in advance is
longer than the reading and processing time
of the subsequent 4 blocks, interruption
between blocks can be eliminated. This
function is effectivein avoiding a shiny
streak on the workpiece caused by feed
stop between blocks.
(3) l-blockbuffering (M92)
When M92 command is given, the 4-block
buffering mode is cancelled,and the 1 block
buffering mode isrestored.
Note:While the toolradius is being compensated
for with the M93 function, up to two blocks not
containingmove commands are ~ermitted, and as
the result,up to 6 blocks may-be read in advance.
Stop between blocks
for toolradius compensationor other
calculationcan be
avoided.
1
M58~;—
Canceling 4-blockadvance
reading.
CIRCULAR PATH MODE ON/OFF ON TOOL
2.7.4
RADIUS COMPENSATION (M 97, M 96)+
These M codes are effectivewhen the control is
provided with the toolnose radius compensation
option.
(1) The followingM codes are used.
(2)
With the toolradius compensation mode by
G41 to G44, the locus of the tool(center
of toolradius) for commanded workpiece
contour lineswith the angle between tangents larger than 180° is in the following
two categories.
M96 mode
a.
The center of the toolnose radius describes
a circulararc around the perimeter in the
contour line.
b.
M97 mode
The center of the toolnose radius moves
along the locus that is formed by straight
linesshifted from the contour lineby the
distanceequal to the toolradius.
x
‘“m
L
mode
M 96
(circular arc)
(3) Commandsof M96 and M97 become effective
from the edge in the followingcommand
blocks.
a.GO1X...2.. .F.. . o
(GO1) X...Z... M96
(or M97);
b, GO1 X.. . Z... F...
M96 (orM97);
(GO1)
X...2.. .
2.7.5SUBROUTINE PROGRAM (M98, M99)
With thisfunction,
subroutine programs which
have been numbered and stored in advance are
calledand executed as many times as desired.
M 97 mode (calculation of
intersection)
Fig. 2.8
From the move
‘ 1
around the edge
in thisblock.
-1-
;~ From the move
around the edge
in thisblock.
t
;--_J
M code
7
M 96
M 97
Note: When power is applied, the current M code is
changed to the M code marked withy.
However, it is not changed by RESET operation.
Tool radius compensation circular path on
Tool radius compensation circular path off
I
(Execution of intersection Doint)
Meaning
18
(1) The followingM codes are used for this
function.
(2) Callof subroutine program (M98)
M98 P.. . Q.. . L.. . ;
With thiscommand, the subroutine program
startingwith a sequence No. followingQ in
the part program with the program No.
specifiedby P is calledand is executed L
times.
However, when
P is omitted:
subroutine program followingthe sequence
No. Q in the main program iscalled.
Q is omitted:
subroutine program startingat the leading
end of the program No. specifiedby P is
called.
L is omitted:
execution isonly once.
Subroutine programs can be nested up to
4 times.
(3) End of subroutine program (G99)
; iswritten at the end of subroutine
M99
program to end it.
When thiscode is written,the operationreturns to the block immediatelyfollowingthe
main block in which the subroutine program
was calledafterthe execution of the sub–
routineprogram.
Notes:
1. When the program No. specifiedby address
P and the sequence No. specifiedby Q are
not found, alarm code 041 is displayed.
2.
While command L for the number of repetitions
is under execution,
the remaining number of
repititionscan be displayed. For details
refer to 4.3.2.2.
3. This functioncan be used when subroutine
programs are stored in the part program
memory.
Main programs can be commanded
through NC tapes or the part program memory.
4,
When subroutine programs are nested more
than 4 times,alarm code “042“ is displayed.
EXAMPLE
Main Program
Subroutine Program
N’20M99;
I Two t[mes
One time
M99 P.. . ;
When thisis written at the end of a subroutineprogram, the operationreturns to
the sequence No.
specifiedby P in the main
program.
(4) Simple jump command
M99 P
● *o ;
When this command is used in the main pro-
gram, the operation simply jumps to the
sequence No.
specifiedby Q in the main
program . If Q is omitted,the program
simply jumps to the leading end of the main
program.
N1 G50XO ZO :
N2 GOO . . . ;
N9 M99 ;
11
Writingmultiblocks (10 linesmaximum) of
this program and executing cycle start
make endless operation.
2.7.6OTHER M CODES
(1) How to use the other M codes other than the
above depends upon the machine.
Refer to
the machine toolbuilder’smanual.
Tadle 2.7 Typical Example of M Codes for Machine
M code
I
~q.ire.s.i,.hiw~.m
M 04Spindle reverse running
Meaning
I
M 03 to M 04 cannot be done.
1
M 05 must be inserted
Remarks
-d=betw=n’hem
M 08
M 09
(2)
When these M codes are commanded in the
same block with move command, execution
wiH,depend on the machine tooldesign and
construction.
are executed simultaneouslywith or after
completion of move command. )
For these M–code commands,
(3)
puts M 2-digitBCD codes.
I
I
I
Coolant on
Coolant off
I
I
(Whether the M commands
—
the controlout-
19
2.7.7M 3-DIGIT BCD OUTPUT T
When the control is provided with the M 3-digit
BCD output option,it can command M 3–digit
codes between MOO and M999.
(1)
M codes between MOO and M89, and between
M11O and M999 are output in 3-digitBCD
codes.
(2)
M’W through M109 are internalprocessing
M codes, and no BCD code for them is out-
See 2.7.2 M CODESFOR INTERNAL
put,
PROCESSING.
(3)
With MOO, MO1, and M30, decode signalsare
output in additionto the BCD output.
See 2.7.1,“
(4)
The specificusages of the M 3-digitcodes
depends on machine tool design. Refer to
machine tool builder’smanual.
2.7.8 HIGH-SPEEDM FUNCTION
M CODESFOR STOP. ”
# 1224MD3 MD2 MD1 MDO
ml
II
#
6644
II
xxxxxxxx
ml
(Commandedby 2 digits)
#6645 . . .
(b)
1224
#
ml
#6645
ml
(Example of setting)
#6644
#6645 ...
For settingthe M code corresponding to the decode output ‘MD4 to
MD7’
MD7 MD6 MD5 MD4
I
I
i
xxxxxx’
X X
... 63 62 61 60
67 66 65 64
,
Commanded by 2 digits)
(
This function is used to execute the M functionat
high-speed without the need of the ending
response.
The M code is not output when the M code is
commanded, but the M decode output is set/reset.
Thus, there is no need for the M code decode
processing and FIN processing in the programmable
controller.
The M code that perform the high-speed M
functionprocessing is preset in the parameter.
(There are both a settingparameter and a
resettingparameter.)
When resettingby the parameter, it can be
set to hold or reset the decoding output.
2.7.8.11/0 Channel
(1) For decode output
#
1224
ml
2.7.8.2Parameters
(1)
(2) M code settingparameter for settingthe
The M code is set in the parameter corresponding
to the decode output bits.
Parameter.
(a) #6644 ...
MD7 MD6 MD5 MD4MD3 MD2 MD1MDO
High-speed M function
#6007D5..... 0:
decode output
Up to four M codes can be set in a single
1
The functionis disabled
The functionis enabled
1:
For settingthe M code correspond-
ing to the decode output ‘MDO to
MD31
(3) M code settingparameter for resettingthe
decode output
Sets the followingparameters, the same as in the
settingparameter of (2).
(a) #6646 ...
# 1224
For settingthe M code correspond-ing to the-decode output ‘MDO-to
Mb3’
D
# 6646
n
(b)#6647 . . .
(Example of setting)
#6644 ...
#6645
(4) Decode output hold/resetsettingparameter
(upon reset)
(a) Sets whether to hold or reset the decode
output upon reset.
#6135 DO to D7
For settingthe M code correspond-ing to the–decode output ‘MD4 to
MD7’
MD7 MD6 MD5 MD4
iII
xx~xx
lxx
73 72 71 70
... 77 76 75 74
Xxlxxlxxlxxl
(Commanded by 2 digits)
t
xx
(Commanded by2 digits)
t
1
20
(b) When the decode output is to be held, the
numerals corresponding to each bit are added
to the total.
#61
35MD7 MD6MD5 MD4 MD3 MD2 MD1
E~
(Examp]e of setting)
reset,
and
I
1286432168421
Value of each bit when the decode output
is to be held
M61 .,.
{
M71 ...
M64 ...
{
M74 ...
jM67 ,..
lM77 ...
When the decode output is to be kept upon
set the parameters as follows.
#6644 00006100
#6645 67000064
#6646 00007100
#6647 77000074
The value of each bit corresponding to MD4
MD7 are added to #6135.
The resultis output to #1224,
MDO
Set MD1 output
Reset MD1 output
Set MD4 output
Reset MD4 output
Set MD7 output
Reset MD7 output
M code settingfor setting
M code settingfor resetting
16 + 128 = 144
2.7.8.4Example of High-speedM Function
Processing
The followingare simpleexamples of the
high-speed M functions.
(1) Sets the parameter (for setting,resetting).
#6644
#6645
#6646
#6647
(2) 01;
M60;
M61;
M62 ;
M63;
M64;
M65;
M67;
M30;
(3) 02;
M70;
M71;
M72;
M73;
M74;
M75;
M76;
M77;
M30;
63 62 61 60
67 66 65 64
73 72 71 70
77 76 75 74
The leftprogram is executed.
The bitscorresponding to #1224 DO to
D7 are set.
M60 to M67 do not wait for FIN.
If an M code is to be held, set the total
of each bit corresponding to #6135.
The value to be held is set in #1224 at
the end of the program.
The leftprogram is executed.
The bits corresponding to #1224 DO to
D7 are reset.
The M codes M70 to M71 do not wait for
FIN .
‘M code settingfor
setting
M code settingfor
resetting
144 is set in #6135.
#1224 is 1001000 upon reset.
2.7.8.3Notes
(1) Do not set the following
the originalM code.
. MOO, MO1, M02, M30
When these M codes are set, the originalM
code functionsare lost;the high-speed M code
has the priority.
● M90 to M99
When these M codes are set, the M code
functionshave the priority.
Check that the above M codes are not found
when settingthe M code.
(2) If an other process is waiting to be completed
in the same block, itwaits for the first
process to be completed.
(3) Do not command two or more M codes in the
same block.
* If executed, alarm occurs.
h! codes when setting
2.8 PREPARATORYFUNCTIONS (G-FUNCTION)
2.8.1 LISTOFGCODES
Address G, plus up to 3 digitsspecifythe meaning of the block. Table 2.8.1 gives G codes and
theirgroups.
(1) G codes are broadly classifiedintothe
followingtwo types.
Meaning
Modal
G-code
Non-modal
G-code
(2)
G codes in groups from 01 through 11 are
modal.
the power switch,
~in Table 2.8.1 are automaticallyselected.
G codes of * group in the Table 2.8.1 are
(3)
non-modal.
together with the other G codes in one
block .
G-code effective until the other
G-code of the same group is commanded.
G-code effective only
block.
When the controlis energized with
the G codes marked with
They should not be commanded
inthe commanded
21
2,8.1
LIST OF G CODES (Cent’d)
(4)
The modal G codes can be commanded mixedly in a block.
G codes in Class B are basic, and those in
(5)
Class O are options. The use of optional
G codes is determined by the machine tool
design.
manual.
(6)
Standard G codes can be coverted to spe-
cialG codes I by parameters.
basic feature,
is set to 1, standard G codes are converted
to specialG code I.
(7)
When the specialG code IIoption is incor–
porated in the control,the settingof parameter #6005D7 to 1 willconvert G codes to
specialG codes II.
to O willreconvert the G codes to the standard G codes.
POSITIONING (G 00, G 06)
2.8.2
2.8.2.1Positioning (G00)
GOO X( U)... Z(W) ... ;
(1)
This command moves a toolat rapid traverse
rate to the point (X, Z) in the coordinate
system set by the G50 command or moves it
away by (U, W ) from the present point for
each axis independently.
See the machine toolbuilder’s
This is a
and, when parameter #6005D7
Settingthe parameter
(4)
GOO is a modal G code in the 01 group.
When itis commanded, itremains effective
untilother G codes in the 01 group are
commanded.
(5)
For the positioningwith GOO, the pulse dis-
tributionis startedonly after the ERROR
DETECTstateis turned on, and the program
advances to the next block only upon the
activationof the ERRORDETECTstateafter
the completionof the pulse distribution.
When thisG code is used, therefore,the
workpiece edges are machined true, and
rounding is avoided.
Notes:
(6)
The ERRORDETECTON statemeans the
a.
decrease of the servo lag pulses to the permissiblelevelafterthe pulse distribution
for move command,
When T code is commanded, GOO should be
b.
put in the T-code block. COO is required
for designation of tooltraverse rate for
tooloffsetmotion using T code.
EXAMPLE
G50 X150. z1OO. ;
cOO TO1O1 S1OOO M03; .0.
o
... GOO for designationof traverse
rate for tooloffsetmotion
(2)
For the rapid traverse rate, as itdepends
upon the machine, refer to the machine tool
builder’smanual.
EXAMPLE
X-Axis:
Z-Axis:
\
Along the axes specifiedby GOO, the ma-
(3)
chine slide moves in rapid traverse rates,
independently”ofeach other. The resultant
toollocus may not be a straightline,and
when working out the program, care
be taken to avoid foulingbetween the tool
and the workpiece.
12 m/min
6 mlmin
It
—
must
(GOO) X30.25. ;
@
... GOO can be omitted
in positioning.
P
+x
I
f
?4
cl),.~”
/’”
22
Loading...
+ 240 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.