
4.16i/18i DATA SERVER FUNCTIONS IV. OPERATION B-63644EN/02
- 120 -
4.1.6 NC Program Format
The NC program prepared by the host computer must conform to the
format shown below.
The NC program begins with % (start file mark). A comment (title,
etc.) can be inserted, as required, into the reader part between % and
EOB (;, program start).
Always specify an O number at the beginning of the program part. In
addition, use this O number as the file name to register the program.
If the O number in the NC program differs from that of the file name,
the O number of the file name is used first.
Note that ";" at the end of each block indicates the end of block (EOB).
In fact, it becomes LF (LF: 0A in hexadecimal) or LF-CR-CR (CR: 0D
in hexadecimal).
The NC program must end with "M code ; %."
To perform binary input, enclose it in the binary input operation start
code and end code and insert it into the ... section in the above figure.
For details of binary input, refer to each CNC operator's manual.
WARNING
If the NC program prepared by the host computer is
of a format not specified by the CNC, an unexpected
operation may occur when the NC program is
executed. Take great care when preparing the NC
program on the host computer.
% TITLE ;
O0001(COMMENT) ;
.
.
.
M30 ;
%