
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
153/226
DRAW.NO.
Set the channel number of RS-232C to "n". In this setting, you
can read directory information or delete the file in FANUC
Handy File.
OB (cntl[1]): Baud rate
7:600bps, 8:1200bps, 9:2400bps, 10:4800bps, 11:9600bps
OS (cntl[2]): Stop bits, parity setting
Set the stop bits and parity setting to the low byte as following
format.
1: 1 stop bit, none parity
2: 2 stop bits, none parity
11: 1 stop bit, odd parity
12: 2 stop bits, odd parity
21: 1 stop bit, even parity
22: 2 stop bits, even parity
OC (cntl[3]): Output code
Set the output code to the low byte as following format.
1: ASCII, 2: ISO
The target device is FANUC Handy File, you should set "2".
file_no: File number
Set the file number on FANUC Handy File to operate. When you
specify the file by the file name, set zero.
*file_name: File name
Set the file name on FANUC Handy File to operate. You should
terminate the file name string with NUL ('\0'). When you use a
MS-DOS format floppy disk, the file name is 12 characters in the
maximum, "8 characters in the maximum" + ". (dot)" + "3
characters in the maximum". When you use a FANUC format
floppy disk, the file name is 17 characters in the maximum. When
you specify the file number, you should set NULL(0) to the
"file_name".
Note
When you specify both the file number and the file
name, specification by the file name is available.
Output
---
[Return]
0: Normal completion.
-1: Specified channel is already in use by another user.