
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
154/226
DRAW.NO.
5: The argument is invalid.
[Description]
This function opens the reader / puncher interface for FANUC Handy
File.
You should open the interface by the calling of pl_fopen(), not
pl_fopen2(), before the calling of pl_rsrd(), pl_rswrt(), pl_fdir() or
pl_fdel(). You should close the interface by the calling of pl_rsclose(),
not pl_rsclose2(), after the calling of pl_rsrd(), pl_rswrt(), pl_fdir() or
pl_fdel().
When you open the interface using the pl_fopen(), you cannot use the
function pl_rsrd2(), pl_rswrt2(), pl_fdir2(), pl_fdel2() or pl_rsclose2().
You should use the pl_rsrd(), pl_rswrt(), pl_fdir(), pl_fdel() or
pl_rsclose().
When you use this function, you cannot use the conventional function
related to The RS-232C communication in "C library for C executor"
together.
・
When you open the interface with the file number and with the
setting OP (cntl[0]) = 2n, files after the specified number will be
deleted and the new file, its file number is specified number, will be
created.
・ When you open the interface with the file number "0" and with the
setting OP (cntl[0]) = 2n, the new file, its file number is the last file
number + 1, will be created.
・ When you open the interface with the file number "-1" and with the
setting OP (cntl[0]) = 2n, all files will be deleted, and next, the new
file, which file number is "1", will be created.
・
When you create a file with the setting OP (cntl[0]) = 2n, the default
file name will be "#FCAxxxx" for FANUC format floppy disk or will
be "#xxxx.DAT" for MS-DOS format floppy disk.
・ When you open the interface with the file name and with the setting
OP (cntl[0]) = 2n, the new file, its file number is the last file number
+ 1 and which file name is specified name, will be created.
[Related Function]
fca_open(), fcs_fopen()