8. DATA INPUT/OUTPUT
File format and error messages
All files that are read from and written to a memory card are of text format.
The format is described below.
A file starts with % or LF, followed by the actual data. A file always ends
with %. In a read operation, data between the first % and the next LF is
skipped. Each block ends with an LF, not a semicolon (;).
LF: 0A (hexadecimal) of ASCII code
When a file containing lowercase letters, kana characters, and several
special characters (such as $, ¥, and !) is read, those letters and
characters are ignored.
O0001(MEMORY CARD SAMPLE FILE)
G17 G49 G97
G92 X–11.3 Y2.33
ASCII code is used for input/output, regardless of the setting parameter
Bit 3 (NCR) of parameter No.0100 can be used to specify whether the
end of block code is output as “LF” only, or as “LF, CR, CR.”
If an error occurs during memory card input/output, a corresponding error
message is displayed.
* * * * * * * * * * * * *
FILE No. = 1 PROGRAM No.=13
0028 O0003 777382 96–06–14
F SET O SET STOP CAN EXEC
represents a memory card error code.