
B–61803E–1/10
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
83
NOTE
1 A file name is fixed to 17 characters. Be sure to fill spaces(code
32), if the file name is less than 17 characters.
2 Specify a file name with alphanumeric and spaces. Alarm 8 will be
generated if the 32(space) code is specifyed at the head of the file
name.
3 A new file is added to the end of recorded files.
(b) Making files by file number
A new file can be made and data can be written to a specified file
number by specifying the file number (1-9999) after address ”F”.
(Example)
To make file No.3, specify as follows:
G330 P21 B10 S2 C2 F3 ;
NOTE
1 If you make a file with the file number, be careful that every file
which was previously input in the specifyed file number, and all
subsequent file numbers are deleted.
2 Preparation of files by file number can only be conducted for the
existing files. Files can be added only by file name specification.
(3) Control of Directory Information (G330/G339)
The control of directory information is possible with control code
”G339”.
Read directory information (G339 P1)
Delete file (G339 P2)
Change file name (G339 P3)
The control mode at line opening shall be of directory information to
use this function. Instruct P=31/32 at the opening time for
specification of directory information.
G330 Pp Bb Ss Cc ;
P31 : Channel 1 Directory information control
P32 : Channel 2 Directory information control
Refer to the section on line opening for address ”B/S/C”. Be sure to
specify ISO (2) for address ”C”.
Do not instruct several functions continuously in one opening time
for every function of directory reading, file deleting, file name
changing if you open with the control mode of directory information.
For instance, close the line once to delete the file after reading and
checking directory information, as follows;
1. Open with the control mode of directory information
2. Read directory information
3. Close the line
4. Open with the control mode of directory information