
4.NC PROGRAM MANAGEMENT GENERAL B-75074EN/04
- 34 -
4.3 NC PROGRAM FORMAT
NC programs used with the system are managed under the formats
indicated below. The program field must contain a main program
including an NC program number, or must contain a subprogram.
Example 1: Main program ending with M30
% ; OXXXX; . . . Part program . . . ;M30; %
% ; <file name>; . . . Part program . . . ;M30; %
Example 2: Main program ending with M02
% ; OXXXX; . . . Part program . . . ;M02; %
% ; <file name>; . . . Part program . . . ;M30; %
Example 3: Subprogram ending with M99
% ; OXXXX; . . . Part program . . . ;M99; %
% ; <file name>; . . . Part program . . . ;M30; %
";" is used to mark an "end of block". Actually, ";" is the EOB code
determined for the NC as with an LF code.
"XXXX" represents an NC program number. A 4-digit number or
8-digit number can be used.
With a CNC supporting file name management like Series 30i/31i/32i, a
file name in the format <file-name> can be used in addition to an NC
program number. The usable number of characters and the usable
characters are as follows:
Number of characters 32 characters or less
Characters Alphabetic characters (uppercase/lowercase), numbers,
four symbols −, +, _, and . (all in half size).
However, the file names "." and ".." cannot be used.
NOTE
A CNC that supports file name management like
Series 30i/31i/32i can distinguish uppercase and
lowercase alphabetic characters from each other.
However, Windows OS does not have this
capability. So, a file named AAA and a file named
aaa can be created with a CNC. However, if files
AAA and aaa are uploaded to the personal
computer in this order, file AAA is replaced with file
aaa updated later.