MELDAS is a registered trademark of Mitsubishi Electric Corporation.
Other company and product names that appear in this manual are trademarks or registered
trademarks of the respective companies.
Introduction
This manual is a guide for using the MITSUBISHI CNC 700/70 Series.
Programming is described in this manual, so read this manual thoroughly before starting
programming. Thoroughly study the "Precautions for Safety" on the following page to
ensure safe use of this NC unit.
Details described in this manual
CAUTION
For items described in "Restrictions" or "Usable State", the instruction manual issued by the machine
tool builder takes precedence over this manual.
An effort has been made to note as many special handling methods in this user's manual. Items not
described in this manual must be interpreted as "not possible".
This manual has been writt e n o n t h e a ss u m p t i o n t h a t a l l o p t i on f u n c t i on s a r e added. Refer to the
specifications issued by the machine tool builder before starting use.
Refer to the Instruction Manual issued by each machine tool builder for details on each machine tool.
Some screens and functions may differ depending on the NC system or its version, and some
functions may not be possible. Please confirm the specifications before use.
General precautions
(1) Refer to the following documents for details on handling
MITSUBISHI CNC 700/70 Series Instruction Manual ................................. IB-1500042
Precautions for Safety
Always read the specifications issued by the machine maker, this manual, related manuals
and attached documents before installation, operation, programming, maintenance or
inspection to ensure correct use.
Understand this numerical controller, safety items and cautions before using the unit.
This manual ranks the safety precautions into "DANGER", "WARNING" and "CAUTION".
DANGER
WARNING
CAUTION
Note that even items ranked as " CAUTION", may lead to major results depending on the
situation. In any case, important information that must always be observed is described.
When the user may be subject to imminent fatalities or major injuries if
handling is mistaken.
When the user may be subject to fatalities or major injuries if handling is
mistaken.
When the user may be subject to injuries or when physical damage may
occur if handling is mistaken.
Not applicable in this manual.
Not applicable in this manual.
1. Items related to product and manual
For items described as "Restrictions" or "Usable State" in this manual, the instruction manual
issued by the machine tool builder takes precedence over this manual.
An effort has been made to describe special handling of this machine, but items that are not
described must be interpreted as "not possible".
This manual is written on the assumption that all option functions are added. Refer to the
specifications issued by the machine tool builder before starting use.
Refer to the Instruction Manual issued by each machine tool builder for details on each
machine tool.
Some screens and functions may differ depending on the NC system or its version, and some
functions may not be possible. Please confirm the specifications before use.
DANGER
WARNING
CAUTION
(Continued on next page)
2. Items related to operation
Before starting actual machining, always carry out dry operation to confirm the machining
program, tool compensation amount and workpiece offset amount, etc.
If the workpiece coordinate system offset amount is changed during single block stop, the new
setting will be valid from the next block.
Turn the mirror image ON and OFF at the mirror image center.
Refer to the Instruction Manual issued by each machine tool builder for details on each
machine tool.
If the tool compensation amount is changed during automatic operation (including during single
block stop), it will be validated from the next block or blocks onwards.
3. Items related to programming
CAUTION
The commands with "no value after G" will be handled as "G00".
“EOB", "%", and “EOR” are symbols used for explanation. The actual codes for ISO are "CR,
LF" ("LF") and "%".
The programs created on the Edit screen are stored in the NC memory in a "CR, LF" format,
however, the programs created with external devices such as the FLD or RS-232C may be
stored in an "LF" format.
The actual codes for EIA are "EOB (End of Block)" and "EOR (End of Record)".
When creating the machining program, select the appropriate machining conditions, and make
sure that the performance, capacity and limits of the machine and NC are not exceeded. The
examples do not consider the machining conditions.
Do not change fixed cycle programs without the prior approval of the machine tool builder.
When programming a program of the multi-part system, carefully observe the movements
caused by other part systems' programs.
Contents
1. Control Axes..................................................................................................................................1
1.1 Coordinate Words and Control Axis........................................................................................1
1.2 Coordinate Systems and Coordinate Zero Point Symbols......................................................2
2. Least Command Increments........................................................................................................3
In the standard specifications, there are 3 control axes, but, by adding an additional axis, up to 4
axes can be controlled.
The designation of the processing direction responds to those axes and uses a coordinate word
made up of alphabet characters that have been decided beforehand.
X-Y table
+Z
+Y
+X
Program coordinates
Workpiece
1.1 Coordinate Words And Control Axis
+Z
X-Y table
+Y
Direction o
table movement
Bed
+X
Direction o
table movement
X-Y and revolving table
+Z
+Y
+C
+X
rogram coordinates
+X
Direction o
movement
table
+Y
Workpiece
+C
rection of table
revolution
1
1. Control Axes
Machi
1
1.2 Coordinate Systems And Coordinate Zero Point Symbols
1.2 Coordinate Systems and Coordinate Zero Point Symbols
Function and purpose
Workpiece
coordinate
system 3 (G56)
-X
: Reference position
: Machine coordinate zero point
: Workpiece coordinate zero points (G54 - G59)
Basic machine coordinate system
y
3
Workpiece
coordinate
system 2 (G55)
y
2
Workpiece
coordinate
system 1 (G54)
zero point
x1
y
1
st reference
position
ne
x
2
Local
coordinate
x
5
system
(G52)
y
-Y
x
Workpiece
coordinate
system 6 (G59)
x
3
Workpiece
coordinate
system 5 (G58)
y
5
Workpiece
coordinate
system 4
(G57)
2
2. Least Command Increments
2. Least Command Increments
2.1 Input Setting Units
Function and purpose
The input setting units are, as with the compensation amounts, the units of setting data used in
common for all axes.
The command units are the movement amounts in the program which are commanded with MDI
inputs or command tape. These are expressed with mm, inch or degree (°) units.
With the parameters, the command units are decided for each axis, and the input setting units are
decided commonly for all axes.
#1003 iunit = B
Input setting unit
Command unit
(Note 1) Inch/metric changeover is performed in either of 2 ways: conversion from the parameter
screen (#1041 I_inch: valid only when the power is turned ON) and conversion using the
G command (G20 or G21).
However, when a G command is used for the conversion, the conversion applies only to
the input command increments and not to the input setting units.
Consequently, the tool offset amounts and other compensation amounts as well as the
variable data should be preset to correspond to inches or millimeters.
(Note 2) The millimeter and inch systems cannot be used together.
(Note 3) During circular interpolation on an axis where the input command increments are
different, the center command (I, J, K) and the radius command (R) can be designated by
the input setting units. (Use a decimal point to avoid confusion.)
= C
= D
= E
#1015 cunit = 0 Follow #1003 iunit
= 1
= 10
= 100
= 1000
= 10000
Parameters
2.1 Input Setting Units
Linear axis
Millimeter Inch
0.001 0.0001 0.001
0.0001 0.00001 0.0001
0.00001 0.000001 0.00001
0.000001 0.0000001 0.000001
0.0001 0.00001 0.0001
0.001 0.0001 0.001
0.01 0.001 0.01
0.1 0.01 0.1
1.0 0.1 1.0
Rotation axis
(°)
3
2. Least Command Increments
Detailed description
(1) Units of various data
These input setting units determine the parameter setting unit, program command unit and the
external interface unit for the PLC axis and handle pulse, etc. The following rules show how the
unit of each data changes when the input setting unit is changed. This table applies to the NC
axis and PLC axis.
2.1 Input Setting Units
Data
Speed data
Example:
rapid
Position data
Example:
SoftLimit+
Interpolation
unit data
Unit
system
metre
Inch
metre
Inch
metre
Inch
(2) Program command
The program command unit follows the above table.
If the data has a decimal point, the number of digits in the integer section will remain and the
number of digits in the decimal point section will increase as the input setting unit becomes
smaller.
When setting data with no decimal point, and which is a position command, the data will be
affected by the input setting increment and input command increment.
For the feed rate, as the input setting unit becomes smaller, the number of digits in the integer
section will remain the same, but the number of digits in the decimal point section will increase.
Setting value
1µm (B) 0.1µm (C) 10nm (D) 1nm (E)
20000 (mm/min) 200002000020000 20000Milli-
Setting range 1 to 9999991 to 9999991 to 999999 1 to 999999
2000 (inch/min) 200020002000 2000
Setting range 1 to 9999991 to 9999991 to 999999 1 to 999999
123.123 (mm) 123.123123.1230123.12300 123.123000MilliSetting range ±99999.999±99999.9999±99999.99999 ±99999.999999
12.1234 (inch) 12.123412.1234012.123400 12.1234000
Setting range ±9999.9999±9999.99999±9999.999999 ±9999.9999999
1 (µm) 220200 2000Milli-
Setting range ±9999±9999±9999 ±9999
0.001 (inch) 220200 2000
Setting range ±9999±9999±9999 ±9999
Input setting unit
4
2. Least Command Increments
2.2 Input Command Increment Tenfold
Function and purpose
The program's command increment can be multiplied by an arbitrary scale with the parameter
designation.
This function is valid when a decimal point is not used for the command increment.
The scale is set with the parameters.
Detailed description
(1) When running a machining program already created with a 10µm input command increment
with a CNC unit for which the command increment is set to 1µm and this function's parameter
value is set to "10", machining similar to before this function is possible.
(2) When running a machining program already created with a 1µm input command increment
with a CNC unit for which the command increment is set to 0.1µm and this function's
parameter value is set to "10", machining similar to before this function is possible.
(3) This function cannot be used for the dwell function G04_X_(P_);.
(4) This function cannot be used for the compensation amount of the tool compensation input.
(5) This function can be used when decimal point type I is valid, but cannot be used when decimal
This function limits the command value for the rotary axis.
This can be used for indexing the rotary table, etc. It is possible to cause a program error with a
program command other than an indexing increment (parameter setting value).
Detailed description
When the indexing increment (parameter) for limiting the command value is set, the rotary axis can
be positioned with that indexing increment. If a program other than the indexing increment setting
value is commanded, a program error (P20) will occur.
The indexing position will not be checked when the parameter is set to 0.
(Example) When the indexing increment setting value is 2 degrees, only command with the
2-degree increment are possible.
G90 G01 C102. 000 ; … Moves to the 102 degree angle.
G90 G01 C101. 000 : … Program error
G90 G01 C102 ; … Moves to the 102 degree angle. (Decimal point type II)
The following axis specification parameter is used.
# Item Contents
2106 Index unit Indexing
Precautions
• When the indexing increment is set, degree increment positioning takes place.
• The indexing position is checked with the rotary axis, and is not checked with other axes.
• When the indexing increment is set to 2 degrees, the rotary axis is set to the B axis, and the B
axis is moved with JOG to the 1.234 position, an indexing error will occur if "G90B5." or "G91B5."
is commanded.
increment
2.3 Indexing Increment
Set the indexing increment to which the rotary
axis can be positioned.
Setting range
(unit)
0 to 360 (° )
6
3. Data Formats
3. Data Formats
3.1 Tape Codes
Function and purpose
The tape command codes used for this controller are combinations of alphabet letters (A, B, C, ...
Z), numbers (0, 1, 2 ... 9) and signs (+, -, / ...). These alphabet letters, numbers and signs are
referred to as characters. Each character is represented by a combination of 8 holes which may, or
may not, be present.
These combinations make up what is called codes.
This controller uses, the ISO code (R-840).
(Note 1) If a code not given in the tape code table in Fig. 1 is assigned during operation, program
(Note 2) For the sake of convenience, a semicolon " ; " has been used in the CNC display to
3.1 Tape Codes
error (P32) will result.
indicate the end of a block (EOB/IF) which separates one block from another. Do not use
the semicolon key, however, in actual programming but use the keys in the following
table instead.
CAUTION
“EOB", "%", and “EOR” are symbols used for explanation. The actual codes for ISO are
"CR, LF" ("LF") and "%".
The programs created on the Edit screen are stored in the NC memory in a "CR, LF" format,
however, the programs created with external devices such as the FLD or RS-232C may be
stored in an "LF" format.
The actual codes for EIA are "EOB (End of Block)" and "EOR (End of Record)".
Detailed description
EOB/EOR keys and displays
Code used
Key used
End of block LF or NL ;
End of record % %
(1) Significant data section (label skip function)
All data up to the first EOB ( ; ), after the power has been turned on or after operation has been
reset, are ignored during automatic operation based on tape, memory loading operation or
during a search operation. In other words, the significant data section of a tape extends from
the character or number code after the initial EOB ( ; ) code after resetting to the point where
the reset command is issued.
ISO Screen display
7
3. Data Formats
G
R
•••••••
•
•••
•
•
•••••••••
•
•••••••
•
•
•••••••••••••••••
•
•
•
•••••••••••••••
•••••••••
•
(2) Control out, control in
When the ISO code is used, all data between control out "(" and control in ")" or ";" are ignored,
although these data appear on the setting and display unit. Consequently, the command tape
name, No. and other such data not directly related to control can be inserted in this section.
This information (except (B) in the tape codes) will also be loaded, however, during tape
loading. The system is set to the "control in" mode when the power is witched on.
• Under the ISO code, IF or NL is EOB and % is EOR.
• Under the ISO code, CR is meaningless, and EOB will not occur.
Table of tape codes
B
9
3. Data Formats
Alp
)
3.2 Program Formats
Function and purpose
The prescribed arrangement used when assigning control information to the controller is known as
the program format, and the format used with this controller is called the "word address format".
Detailed descripti on
(1) Word and address
A word is a collection of characters arranged in a specific sequence. This entity is used as the
unit for processing data and for causing the machine to execute specific operations. Each
word used for this controller consists of an alphabet letter and a number of several digits
(sometimes with a "-" sign placed at the head of the number.).
3.2 Program Formats
Word
*
Numerals
habet (address
Word configuration
The alphabet letter at the head of the word is the address. It defines the meaning of the
numerical information which follows it.
For details of the types of words and the number of significant digits of words used for this
controller, refer to the "format details".
(2) Blocks
A block is a collection of words. It includes the information which is required for the machine to
execute specific operations. One block unit constitutes a complete command. The end of each
block is marked with an EOB (end-of-block) code.
(Example 1)
G0X - 1000 ;
G1X - 2000F500 ;
(Example 2)
(G0X - 1000 ; )
G1X - 2000F500 ;
(3) Programs
A program is a collection of several blocks.
2 blocks
Since the semicolon in the parentheses will not result
in an EOB, it is 1 block.
10
3. Data Formats
<Brief summary of format details>
Program No. 08
Sequence No. N6
Preparatory function G3/G21
Movement
axis
Arc and
cutter
radius
Dwell
Feed
function
(Feed per
minute)
Feed
function
(Feed per
revolution)
Tool compensation
Miscellaneous function (M)
Spindle function (S)
Tool function (T)
2nd miscellaneous function A8/B8/C8
Subprogram
(Note 1) α indicates the additional axis address, such as A, B or C.
(Note 2) The number of digits check for a word is carried out with the maximum number of digits of that address.
(Note 3) Numerals can be used without the leading zeros.
11
3. Data Formats
3.2 Program Formats
(Note 4) The description of the brief summary is explained below:
Example 1 : 08 :8-digit program No.
Example 2 : G21 :Dimension G is 2 digits to the left of the decimal point, and 1 digit to the right.
Example 3 : X+53 :Dimension X uses + or - sign and represents 5 digits to the left of the decimal
point and 3 digits to the right.
For example, the case for when the X axis is positioned (G00) to the 45.123 mm
position in the absolute value (G90) mode is as follows:
G00 X45.123 ;
3 digits below the decimal point
5 digits above the decimal point, so it's +00045, but the
leading zeros and the mark (+) have been omitted.
G0 is possible, too.
(Note 5) If an arc is commanded using a rotary axis and linear axis while inch commands are being used, the
degrees will be converted into 0.1 inches for interpolation.
(Note 6) While inch commands are being used, the rotary axis speed will be in increments of 10 degrees.
Example: With the F1. (per-minute-feed) command, this will become the 10 degrees/minute command.
(Note 7) The decimal places below the decimal point are ignored when a command, such as an S command,
with an invalid decimal point has been assigned with a decimal point.
(Note 8) This format is the same for the value input from the memory, MDI or setting and display unit.
(Note 9) Command the program No. in an independent block. Command the program No. in the head block of
the program.
12
3. Data Formats
3.3 Tape Memory Format
Function and purpose
(1) Storage tape and significant sections
The others are about from the current tape position to the EOB. Accordingly, under normal
conditions, operate the tape memory after resetting.
The significant codes listed in "Table of tape codes" in "3.1 Tape Codes" in the above
significant section are actually stored into the memory. All other codes are ignored and are not
stored.
The data between control out "(" and control in ")" are stored into the memory.
3.4 Optional Block Skip
3.4.1 Optional Block Skip; /
Function and purpose
This function selectively ignores specific blocks in a machining program which starts with the "/"
(slash) code.
Detailed description
3.3 Tape Memory Format
(1) Provided that the optional block skip switch is ON, blocks starting with the "/" code are ignored.
They are executed if the switch is OFF.
Parity check is valid regardless of whether the optional block skip switch is ON or OFF.
When, for instance, all blocks are to be executed for one workpiece but specific block are not
to be executed for another workpiece, the same command tape can be used to machine
different parts by inserting the "/" code at the head of those specific blocks.
Precautions for using optional block skip
(1) Put the "/" code for optional block skip at the beginning of a block. If it is placed inside the block,
it is assumed as a user macro, a division instruction.
Example : N20 G1 X25./Y25. ;....NG (User macro, a division instruction; a program error
results.)
/N20 G1 X25. Y25. ;.....OK
(2) Parity checks (H and V) are conducted regardless of the optional block skip switch position.
(3) The optional block skip is processed immediately before the pre-read buffer.
Consequently, it is not possible to skip up to the block which has been read into the pre-read
buffer.
(4) This function is valid even during a sequence number search.
(5) All blocks with the "/" code are also input and output during tape storing and tape output,
regardless of the position of the optional block skip switch.
13
3. Data Formats
3.4.2 Optional Block Skip Addition ; /n
Function and purpose
Whether the block with "/n (n:1 to 9)" (slash) is executed during automatic operation and searching
is selected.
By using the machining program with "/n" code, different parts can be machined by the same
program.
Detailed description
The block with "/n" (slash) code is skipped when the "/n" is programmed to the head of the block
and the optional block skip signal is turned ON.
For the block with the "/n" code inside the block (not the head of block), the program is operated
according to the value of the parameter "#1226 aux10/bit1" setting.
When the optional block skip signal is OFF, the block with "/n" is executed.
Example of program
(1) When the 2 parts like the figure below are machined, the following program is used. When the
optional block skip 5 signal is ON, the part 1 is created. When the optional block skip 5 signal is
OFF, the part 2 is created.
<Program>
N1 G54;
N2 G90G81X50. Z-20. R3. F100;
/5 N3 X30.;
N4 X10.;
N5 G80;
M02;
Part 1
the optional block skip 5 signal ON
3.4 Optional Block Skip
Part 2
the optional block skip 5 signal OFF
N4 N2N2 N3
14
N4
3. Data Formats
3.4 Optional Block Skip
(2) When two or more "/n" codes are commanded to the head of the same block, the block is
ignored if either of the optional block skip signal corresponding to the command is ON.
ON and the optional block skip 2 signal is
OFF, "Y1. Z1." is ignored
(b) When the optional block skip 1 signal is
OFF and the optional block skip 2 signal is
ON, "Z1." is ignored.
15
3. Data Formats
3.5 Program/Sequence/Block Numbers ; O, N
3.5 Program/Sequence/Block Numbers ; O, N
Function and purpose
These numbers are used for monitoring the execution of the machining programs and for calling
both machining programs and specific stages in machining programs.
(1) Program numbers are classified by workpiece correspondence or by subprogram units, and
they are designated by the address "0" followed by a number with up to 8 digits.
(2) Sequence numbers are attached where appropriate to command blocks which configure
machining programs, and they are designated by the address "N" followed by a number with
up to 6 digits.
(3) Block numbers are automatically provided internally. They are preset to zero every time a
program number or sequence number is read, and they are counted up one at a time unless
program numbers or sequence numbers are commanded in blocks which are subsequently
read.
Consequently, all the blocks of the machining programs given in the table below can be
determined without further consideration by combinations of program numbers, sequence
Parity check provides a mean of checking whether the tape has been correctly perforated or not.
This involves checking for perforated code errors or, in other words, for perforation errors. There
are two types of parity check: Parity H and Parity V.
(1) Parity H
3.6 Parity H/V
Parity H checks the number of holes configuring a character and it is done during tape
operation, tape input and sequence number search.
A parity H error is caused in the following cases.
(a) ISO code
When a code with an odd number of holes in a significant data section has been detected.
(b) EIA code
When a code with an even number of holes in a significant data section has been
detected.