
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–62093E–1/02
PROGRAMMING
76
(b) Deleting a file (G339 P2)
G339 P2 Ll/Ff ;
The relevant file can be deleted by the specification of “G339
P2”.
Specify the head variable number of the variable string which
houses the file name (ASCII code) you wish to delete by address
“L”, or specify the file number of the file you want to delete by
address “F”.
Be carefull when deleting with the file number because
subsequent file numbers will change after deletion.
(c) Changing the file name (G339 P3)
G339 P3 Ff Ll ;
The recorded file name can be changed by the specification of
“G339 P3”.
Specify the file number (1–9999) of the file name you wish to
change, by address “F”.
Specify the head variable number of the variable string that
houses the file name (ASCII code) to be changed, with address
“L”.
Check the end code when G330–G339, has been instructed. There is no
end code for line closing processing. It is always a normal end.
#8539 Contents
0 Normal end
1 Line doesn’t open
2 Line trouble ,DSR signal OFF
3 Line trouble, Over run
4 Line trouble, Receive buffer over flow
5 Line trouble, Framing error, parity error
6 No option for line function
7 Line use
8 Error in parameter
G335 instructed with transmit control mode
G336 instructed with read control mode
9 Data format error
10 Error on file number
11 File of file number specified to read directory information does not exist
115 Undefined variable number specified
255 Receive data does not exist
6.4.6
End Code (#8539)