Leading Zero - Mitsubishi Electric C80 Series Instruction Manual

Hide thumbs Also See for C80 Series:
Table of Contents

Advertisement

C80 Series Instruction Manual
4 Inputting and Outputting a Machining Program

4.8.6 Leading Zero

When creating a new machining program
When the parameter "#8936 Delete leading 0" is set to "1", if a file name consisting only of numerical figures is input, the
file is created with "0"at the head of the file name deleted.
However, if the file name is out of the range between 1 and 99999999, the leading "0" is not deleted. This also applies to
MTB macros.
In the case of fixed cycles, regardless of the setting of "#8936 Delete leading 0", a file name to create must be 9 digits, and
it must not start from "0". Attempting to create a name not following the conditions above will cause an error.
When "#8936 Delete leading 0" is set to "1", if a file name consisting only of numerical figures is input, the leading "0" is
deleted when checking whether the file exists or not, and when checking edit lock B/edit lock C.
(Example) For a directory that has a file "1", if a file name "0001" is attempted to be input as a new file, an error will occur.
Example of deleting of leading zero
Input file name
Created file name
0012345678
12345678
0123456789
0123456789
0123A
0123A
0123.PRG
0123.PRG
When transferring, or comparing files
In a file transfer with "#8936 Delete leading 0" set to "1", only when the file name of the transfer destination consists only
of numerical figures, the leading "0" is deleted when the file is transferred.
However, if the file name is out of the range between 1 and 99999999, the leading "0" is not deleted. This also applies to
MTB macros.
In the case of fixed cycles, regardless of the setting of "#8936 Delete leading 0", the name of the file to transfer must be 9
digits, and it must not start from "0". Attempting to transfer a file whose name does not satisfy the conditions above will
cause an error.
In a file comparison, even if "#8936 Delete leading 0" is set to "1", when comparing one separate file that contains one
program, "0" at the head of the program name is not deleted. Designating the file name is required.
(Example 1) One file has one program
(1) The files are transferred from the USB memory to the memory.
A device: USB memory
Directory: /
File name: 001000
The files are transferred to the memory as follows.
The leading zero is deleted from the file name.
Memory
10
(P001000)
:
%
(2) In order to carry out comparison, change the file name of the transfer destination to "10".
(In a comparison of one separate file that has one program, as "0" at the head of the program name is not de-
leted, if the file name remains "000010", it will be compared with the file "000010" of the transfer destination.)
A device: USB memory
Directory: /
File name: 001000
The leading "0"s are deleted
As this name is out of the rage between 1 and 99999999, the leading "0" is
not deleted
As a nonnumerical character (alphabet) is included, the leading "0" is not
deleted
As a nonnumerical character (extension) is included, the leading "0" is not
deleted
B device: Memory
Directory: Program
File name: 000010
B device: Memory
Directory: Program
File name: 10
115
Remarks
IB-1501453-C

Advertisement

Table of Contents
loading

Table of Contents