Index Manuals FANUC Series 16i/160i/160is-MODEL B, Series 18i/180i/180is-MODEL B, Series 21i/210i/210is-MODEL B. MAINTENANCE MANAUL (B-63525EN/02)
|
|
|
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
To input/output a particular type of data, the corresponding screen is
6.7
usually selected. For example, the parameter screen is used for parameter
DATA INPUT/OUTPUT
input from or output to an external input/output unit, while the program
ON THE ALL IO
screen is used for program input or output. However, programs,
SCREEN
parameters, offset data, and macro variables can all be input and output
using a single common screen, that is, the ALL IO screen.
READ/PUNCH (PROGRAM)
O1234 N12345
I/O CHANNEL
3
TV CHECK
OFF
DEVICE NUM.
0
PUNCH CODE
ISO
BAUDRATE
4800
INPUT CODE
ASCII
STOP BIT
2
FEED OUTPUT
FEED
NULL INPUT (EIA)
NO
EOB OUTPUT (ISO) CR
TV CHECK (NOTES)
ON
BAUDRATE CLK. INNER
CD CHECK (232C)
OFF
RESET/ALARM
ON
PARITY BIT
OFF
SAT COMMAND HOST
INTERFACE
RS422
COM PROTCOL
A
END CODE
EXT
COM CODE
ASCII
(0:EIA
1:ISO)>1_
MDI
* * * *
* * *
* * *
* * *
12:34:56
PRGRM
PARAM
OFFSET
MACRO
(OPRT)
Fig. 6.7
ALL IO screen (when channel 3 is being
used for input/output)
422
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
6.7.1
Input/output-related parameters can be set on the ALL IO screen.
Parameters can be set, regardless of the mode.
Setting
Input/Output-Related
Parameters
Setting input/output-related parameters
Procedure
1
Press function key
SYSTEM
2
Press the rightmost soft key
(continuous menu key) several
times.
3
Press soft key [ALL IO] to display the ALL IO screen.
NOTE
1
If program or floppy is selected in EDIT mode, the program
directory or floppy screen is displayed.
2
When the power is first turned on, program is selected by
default.
READ/PUNCH (PROGRAM)
O1234 N12345
I/O CHANNEL
3
TV CHECK
OFF
DEVICE NUM.
0
PUNCH CODE
ISO
BAUDRATE
4800
INPUT CODE
ASCII
STOP BIT
2
FEED OUTPUT
FEED
NULL INPUT (EIA)
NO
EOB OUTPUT (ISO) CR
TV CHECK (NOTES)
ON
BAUDRATE CLK. INNER
CD CHECK (232C)
OFF
RESET/ALARM
ON
PARITY BIT
OFF
SAT COMMAND HOST
INTERFACE
RS422
COM PROTCOL
A
END CODE
EXT
COM CODE
ASCII
(0:EIA
1:ISO)>1_
MDI
* * * *
* * *
* * *
* * *
12:34:56
PRGRM
PARAM
OFFSET
MACRO
(OPRT)
NOTE
Baud rate clock, CD check (232C), reset/alarm report, and
the parity bit for parameter No.
134, as well as the
communication code, end code, communication protocol,
interface, and SAT command for parameter No. 135 are
displayed only when channel
3 is being used for
input/output.
4
Select the soft key corresponding to the desired type of data (program,
parameter, and so forth).
423
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
5
Set the parameters corresponding to the type of input/output unit to be
used.
(Parameter setting is possible regardless of the mode.)
Tip
First, set an I/O channel. The parameters on this screen change to those
corresponding to a specified I/O channel.
D
I/O channel (0 to 3)
Setting
Corresponding parameter
0
No. 101 to 103
1
No. 111 to 113
2
No. 121 to 123
3
No. 131 to 135
D
Device number
Setting
Input/output device
0
RS-232-C (The control codes DC1 through DC4 are used.)
1
FANUC CASSETTE ADAPTOR 1 (FANUC CASSETTE B1/B2)
2
FANUC CASSETTE ADAPTOR 3 (FANUC CASSETTE F1)
3
FANUC PROGRAM FILE MATE, FANUC FA Card Adaptor
FANUC FLOPPY CASSETTE ADAPTOR, FANUC Handy File
FANUC SYSTEM P-MODEL H
4
RS-232-C (The control codes DC1 through DC4 are not used.)
5
Portable tape reader
6
FANUC PPR
FANUC SYSTEM P-MODEL G, FANUC SYSTEM P-MODEL H
D
Baud rate (bps)
Set a desired baud rate value indicated below.
Baud rate (bps)
50
100
110
150
200
300
600
1200
2400
4800
9600
19200
424
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
6.7.2
A program can be input and output using the ALL IO screen.
When entering a program using a cassette or card, the user must specify
Inputting and
the input file containing the program (file search).
Outputting Programs
File search
Procedure
1
Press soft key [PRGRM] on the ALL IO screen, described in Section
6.7.1.
2
Select EDIT mode. A program directory is displayed.
3
Press soft key [(OPRT)]. The screen and soft keys change as shown
below.
⋅
A program directory is displayed only in EDIT mode. In all other
modes, the ALL IO screen is displayed.
O0001 N00010
PROGRAM (NUM.)
MEMORY (CHAR.)
USED
:
60
3321
FREE
:
2
429
O0010 O0001 O0003 O0002 O0555 O0999
O0062 O0004 O0005 O1111 O0969 O6666
O0021 O1234 O0588 O0020 O0040
>_
EDIT
* * * *
* * *
* * *
* * *
14:46:09
F SRH
READ
PUNCH
DELETE
(OPRT)
4
Enter address N.
5
Enter the number of the file to be found.
⋅
N0
The first floppy file is found.
⋅
One of N1 to N9999
Among the files numbered from 1 to 9999, a specified file is found.
⋅
N-9999
The file immediately after that used most recently is found.
⋅
N-9998
When -9998 is specified, the next file is found. Then, each time
a file input/output operation is performed, N-9999 is automatically
inserted. This means that subsequent files can be sequentially
found automatically.
This state is canceled by specifying N0, N1 to N9999, or N-9999,
or upon a reset.
6
Press soft keys [F SRH] and [EXEC].
CAN EXEC
The specified file is found.
425
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Inputting a program
Procedure
1
Press soft key [PRGRM] on the ALL IO screen, described in Section
6.7.1.
2
Select EDIT mode. A program directory is displayed.
3
Press soft key [(OPRT)]. The screen and soft keys change as shown
below.
⋅
A program directory is displayed only in EDIT mode. In all other
modes, the ALL IO screen is displayed.
O0001 N00010
PROGRAM (NUM.)
MEMORY (CHAR.)
USED
:
60
3321
FREE
:
2
429
O0010 O0001 O0003 O0002 O0555 O0999
O0062 O0004 O0005 O1111 O0969 O6666
O0021 O1234 O0588 O0020 O0040
>_
EDIT
* * * *
* * *
* * *
* * *
14:46:09
F SRH
READ
PUNCH
DELETE
(OPRT)
4
To specify a program number to be assigned to an input program,
enter address O, followed by the desired program number.
If no program number is specified, the program number in the file or
on the NC tape is assigned as is.
5
Press soft key [READ], then [EXEC].
STOP CAN EXEC
The program is input with the program number specified in step 4
assigned.
To cancel input, press soft key [CAN].
To stop input prior to its completion, press soft key [STOP].
426
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Outputting programs
Procedure
1
Press soft key [PRGRM] on the ALL IO screen, described in Section
6.7.1.
2
Select EDIT mode. A program directory is displayed.
3
Press soft key [(OPRT)]. The screen and soft keys change as shown
below.
⋅
A program directory is displayed only in EDIT mode. In all other
modes, the ALL IO screen is displayed.
O0001 N00010
PROGRAM (NUM.)
MEMORY (CHAR.)
USED
:
60
3321
FREE
:
2
429
O0010 O0001 O0003 O0002 O0555 O0999
O0062 O0004 O0005 O1111 O0969 O6666
O0021 O1234 O0588 O0020 O0040
>_
EDIT
* * * *
* * *
* * *
* * *
14:46:09
F SRH
READ
PUNCH
DELETE
(OPRT)
4
Enter address O.
5
Enter a desired program number.
If -9999 is entered, all programs in memory are output.
To output a range of programs, enter O∆∆∆∆, OVVVV.. The
programs numbered from ∆∆∆∆ to VVVV are output.
When bit 4 (SOR) of parameter No. 3107 for sorted display is set to 1
on the program library screen, programs are output in order, starting
from those having the smallest program numbers.
6
Press soft key [PUNCH], then [EXEC].
STOP CAN EXEC
The specified program or programs are output. If steps 4 and 5 are
omitted, the currently selected program is output.
To cancel output, press soft key [CAN].
To stop output prior to its completion, press soft key [STOP].
427
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Deleting files
Procedure
1
Press soft key [PRGRM] on the ALL IO screen, described in Section
6.7.1.
2
Select EDIT mode. A program directory is displayed.
3
Press soft key [(OPRT)]. The screen and soft keys change as shown
below.
⋅
A program directory is displayed only in EDIT mode. In all other
modes, the ALL IO screen is displayed.
O0001 N00010
PROGRAM (NUM.)
MEMORY (CHAR.)
USED
:
60
3321
FREE
:
2
429
O0010 O0001 O0003 O0002 O0555 O0999
O0062 O0004 O0005 O1111 O0969 O6666
O0021 O1234 O0588 O0020 O0040
>_
EDIT
* * * *
* * *
* * *
* * *
14:46:09
F SRH
READ
PUNCH
DELETE
(OPRT)
4
Press soft key [DELETE].
5
Enter a file number, from 1 to 9999, to indicate the file to be deleted.
6
Press soft key [EXEC].
CAN EXEC
The k-th file, specified in step 5, is deleted.
428
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
6.7.3
Parameters can be input and output using the ALL IO screen.
Inputting and
Outputting Parameters
Inputting parameters
Procedure
1
Press soft key [PARAM] on the ALL IO screen, described in Section
6.7.1.
2
Select EDIT mode.
3
Press soft key [(OPRT)]. Soft keys change as shown below.
READ
PUNCH
4
Press soft key [READ], then [EXEC].
CAN EXEC
The parameters are read, and the “INPUT” indicator blinks at the
lower-right corner of the screen. Upon the completion of input, the
“INPUT” indicator is cleared from the screen.
To cancel input, press soft key [CAN].
Outputting parameters
Procedure
1
Press soft key [PARAM] on the ALL IO screen, described in Section
6.7.1.
2
Select EDIT mode.
3
Press soft key [(OPRT)]. Soft keys change as shown below.
READ
PUNCH
4
Press soft key [PUNCH], then [EXEC].
CAN EXEC
The parameters are output, and the “OUTPUT” indicator blinks at the
lower-right corner of the screen. Upon the completion of output, the
“OUTPUT” indicator is cleared from the screen.
To cancel output, press soft key [CAN].
429
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
6.7.4
Offset data can be input and output using the ALL IO screen.
Inputting and
Outputting Offset Data
Inputting offset data
Procedure
1
Press soft key [OFFSET] on the ALL IO screen, described in Section
6.7.1.
2
Select EDIT mode.
3
Press soft key [(OPRT)]. Soft keys change as shown below.
READ
PUNCH
4
Press soft key [READ], then [EXEC].
CAN EXEC
The offset data is read, and the “INPUT” indicator blinks at the
lower-right corner of the screen.
Upon the completion of input, the “INPUT” indicator is cleared from
the screen.
To cancel input, press soft key [CAN].
Outputting offset data
Procedure
1
Press soft key [OFFSET] on the ALL IO screen, described in Section
6.7.1.
2
Select EDIT mode.
3
Press soft key [(OPRT)]. Soft keys change as shown below.
READ
PUNCH
4
Press soft key [PUNCH], then [EXEC].
CAN EXEC
The offset data is output, and the “OUTPUT” indicator blinks at the
lower-right corner of the screen. Upon the completion of output, the
“OUTPUT” indicator is cleared from the screen.
To cancel output, press soft key [CAN].
430
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
6.7.5
Custom macro common variables can be output using the ALL IO screen.
Outputting Custom
Macro Common
Variables
Outputting custom macro common variables
Procedure
1
Press soft key [MACRO] on the ALL IO screen, described in Section
6.7.1.
2
Select EDIT mode.
3
Press soft key [(OPRT)]. Soft keys change as shown below.
READ
PUNCH
4
Press soft key [PUNCH], then [EXEC].
CAN EXEC
The custom macro common variables are output, and the “OUTPUT”
indicator blinks at the lower-right corner of the screen. Upon the
completion of output, the “OUTPUT” indicator is cleared from the
screen.
To cancel output, press soft key [CAN].
NOTE
To input a macro variable, read the desired custom macro
statement as a program, then execute the program.
431
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
6.7.6
The ALL IO screen supports the display of a directory of floppy files, as
well as the input and output of floppy files.
Inputting and
Outputting Floppy
Files
Displaying a file directory
Procedure
1
Press the rightmost soft key
(continuous menu key) on the ALL
IO screen, described in Section 6.7.1.
2
Press soft key [FLOPPY].
3
Select EDIT mode. The floppy screen is displayed.
4
Press soft key [(OPRT)]. The screen and soft keys change as shown
below.
⋅
The floppy screen is displayed only in EDIT mode. In all other
modes, the ALL IO screen is displayed.
READ/PUNCH (FLOPPY)
O1234 N12345
>
MDI
* * * *
* * *
* * *
* * *
12:34:56
F SRH
READ
PUNCH
DELETE
5
Press soft key [F SRH].
6
Enter the number of the desired file, then press soft key [F SET].
F SET
CAN EXEC
7
Press soft key [EXEC]. A directory is displayed, with the specified
file uppermost. Subsequent files in the directory can be displayed by
pressing the page key.
432
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
READ/PUNCH (FLOPPY)
O1234 N12345
No. FILE NAME
(Meter) VOL
0001
PARAMETER
46.1
0002
ALL.PROGRAM
12.3
0003
O0001
11.9
0004
O0002
11.9
0005
O0003
11.9
0006
O0004
11.9
0007
O0005
0008
O0010
11.9
0009
O0020
11.9
11.9
F SRH
File No.=2
>2_
EDIT
* * * *
* * *
* * *
* * *
12:34:56
F SRH
CAN
EXEC
A directory in which the first file is uppermost can be displayed
simply by pressing the page key.
(Soft key [F SRH] need not be
pressed.)
433
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Inputting a file
Procedure
1
Press the rightmost soft key
(continuous menu key) on the ALL
IO screen, described in Section 6.7.1.
2
Press soft key [FLOPPY].
3
Select EDIT mode. The floppy screen is displayed.
4
Press soft key [(OPRT)]. The screen and soft keys change as shown
below.
The floppy screen is displayed only in EDIT mode. In all other
modes, the ALL IO screen is displayed.
READ/PUNCH (FLOPPY)
O1234 N12345
>
MDI
* * * *
* * *
* * *
* * *
12:34:56
F SRH
READ
PUNCH
DELETE
5
Press soft key [READ].
6
Enter the number of a file or program to be input.
F SET O SET STOP CAN EXEC
⋅
Setting a file number: Enter the number of the desired file, then
press soft key [F SET].
⋅
Setting a program number: Enter the number of the desired
program, then press soft key [O SET].
7
Press soft key [EXEC].
The specified file or program is read, and the “INPUT” indicator
blinks at the lower-right corner of the screen. Upon the completion of
input, the “INPUT” indicator is cleared from the screen.
434
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Outputting a file
Procedure
1
Press the rightmost soft key
(continuous menu key) on the ALL
IO screen, described in Section 6.7.1.
2
Press soft key [FLOPPY].
3
Select EDIT mode. The floppy screen is displayed.
4
Press soft key [(OPRT)]. The screen and soft keys change as shown
below.
The floppy screen is displayed only in EDIT mode. In all other
modes, the ALL IO screen is displayed.
READ/PUNCH (FLOPPY)
O1234 N12345
>
MDI
* * * *
* * *
* * *
* * *
12:34:56
F SRH
READ
PUNCH
DELETE
5
Press soft key [PUNCH].
6
Enter the number of the program to be output, together with a desired
F SET O SET STOP CAN EXEC
output file number.
⋅
Setting a file number: Enter the number of the desired file, then
press soft key [F SET].
⋅
Setting a program number: Enter the number of the desired
program, then press soft key [O SET].
7
Press soft key [EXEC].
The specified program is output, and the “OUTPUT” indicator blinks
at the lower-right corner of the screen. Upon the completion of
output, the “OUTPUT” indicator is cleared from the screen.
If no file number is specified, the program is written at the end of the
currently registered files.
435
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Deleting a file
Procedure
1
Press the rightmost soft key
(continuous menu key) on the ALL
IO screen, described in Section 6.7.1.
2
Press soft key [FLOPPY].
3
Select EDIT mode. The floppy screen is displayed.
4
Press soft key [(OPRT)]. The screen and soft keys change as shown
below.
The floppy screen is displayed only in EDIT mode. In all other
modes, the ALL IO screen is displayed.
READ/PUNCH (FLOPPY)
O1234 N12345
>
MDI
* * * *
* * *
* * *
* * *
12:34:56
F SRH
READ
PUNCH
DELETE
5
Press soft key [DELETE].
6
Enter the number of the desired file, then press soft key [F SET].
F SET
CAN EXEC
7
Press soft key [EXEC]. The specified file is deleted. After the file has
been deleted, the subsequent files are shifted up.
436
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
By setting the I/O channel (parameter No. 20) to 4, files on a memory card
6.8
can be referenced, and different types of data such as part programs,
DATA INPUT/OUTPUT
parameters, and offset data on a memory card can be input and output in
USING A MEMORY
text file format.
CARD
The major functions are listed below.
⋅
Displaying a directory of stored files
The files stored on a memory card can be displayed on the directory
screen.
⋅
Searching for a file
A search is made for a file on a memory card and, if found, it is
displayed on the directory screen.
⋅
Reading a file
Text-format files can be read from a memory card.
⋅
Writing a file
Data such as part programs can be stored to a memory card in text file
format.
⋅
Deleting a file
A file can be selected and deleted from a memory card.
CNC
Writing a file
Reading a file
Displaying a directory
Memory card
Searching for a file
Deleting a file
NOTE
When using the program stored on a memory card to make
a subprogram call for RMT mode operation (DNC operation)
or the M198 command, use the special retainer for securing
a memory card to the CNC.
437
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Displaying a directory of stored files
Procedure
1
Press the EDIT switch on the machine operator’s panel.
2
Press function key
PROG
3
Press the rightmost soft key
(continuous menu key).
4
Press soft key [CARD]. The screen shown below is displayed. Using
page keys
and
, the screen can be scrolled.
DIRECTORY (M-CARD)
O0034 N00045
No. FILE NAME
SIZE
DATE
0001
O1000
123456
01/07/10
0002
O1001
118458
01/07/30
0003
O0002
113250
01/07/30
0004
O2000
173456
01/07/31
0005
O2001
113444
01/07/31
0006
O3001
118483
01/08/02
0007
O3300
111406
01/08/05
0008
O3400
112420
01/07/31
0009
O3500
117460
01/07/31
~
~
PROG
DIR +
(OPRT)
5
Comments relating to each file can be displayed by pressing soft key
[DIR+].
DIRECTORY (M-CARD)
O0034 N00045
No. FILE NAME
COMMENT
0001
O1000
(COMMENT
)
0002
O1001
(SUB PROGRAM )
0003
O0002
(12345678
)
0004
O2000
(
)
0005
O2001
(
)
0006
O3001
(SKIP-K
)
0007
O3300
(HI-SPEED
)
0008
O3400
(
)
0009
O3500
(TEST PROGRAM)
~
~
PROG
DIR +
(OPRT)
6
Repeatedly pressing soft key [DIR+] toggles the screen between the
display of comments and the display of sizes and dates.
Any comment described after the O number in the file is displayed.
Up to 18 characters can be displayed on the screen.
438
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Searching for a file
Procedure
1
Press the EDIT switch on the machine operator’s panel.
2
Press function key
PROG
3
Press the rightmost soft key
(continuous menu key).
4
Press soft key [CARD]. The screen shown below is displayed.
DIRECTORY (M-CARD)
O0034 N00045
No. FILE NAME
SIZE
DATE
0001
O1000
123456
01/07/10
0002
O1001
118458
01/07/30
0003
O0002
113250
01/07/30
0004
O2000
173456
01/07/31
0005
O2001
113444
01/07/31
0006
O3001
118483
01/08/02
0007
O3300
111406
01/08/05
0008
O3400
112420
01/07/31
0009
O3500
117460
01/07/31
~
~
PROG
DIR +
(OPRT)
5
Press soft key [(OPRT)].
6
Set the number of the desired file number with soft key [F SRH].
F SRH F READ N READ PUNCH DELETE
Then, start the search by pressing soft key [EXEC]. If found, the file is
displayed at the top of the directory screen.
When a search is made for file number 19
DIRECTORY (M-CARD)
O0034 N00045
No. FILE NAME
COMMENT
0019
O1000
(MAIN PROGRAM)
0020
O1010
(SUBPROGRAM-1)
0021
O1020
(COMMENT
)
0022
O1030
(COMMENT
)
~
~
439
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Reading a file
Procedure
1
Press the EDIT switch on the machine operator’s panel.
2
Press function key
PROG
3
Press the rightmost soft key
(continuous menu key).
4
Press soft key [CARD]. Then, the screen shown below is displayed.
DIRECTORY (M-CARD)
O0034 N00045
No. FILE NAME
SIZE
DATE
0001
O1000
123456
01/07/10
0002
O1001
118458
01/07/30
0003
O0002
113250
01/07/30
0004
O2000
173456
01/07/31
0005
O2001
113444
01/07/31
0006
O3001
118483
01/08/02
0007
O3300
111406
01/08/05
0008
O3400
112420
01/07/31
0009
O3500
117460
01/07/31
~
~
PROG
DIR +
(OPRT)
5
Press soft key [(OPRT)].
F SRH F READ N READ PUNCH DELETE
6
To specify a file number, press soft key [F READ]. The screen shown
below is displayed.
DIRECTORY (M-CARD)
O0001 N00010
No. FILE NAME
COMMENT
0019
O1000
(MAIN PROGRAM)
0020
O1010
(SUBPROGRAM-1)
0021
O1030
(COMMENT
)
~
~
READ
FILE NAME=20
PROGRAM No.=120
>
EDIT
15:40:21
* * *
* * * *
* * *
* * * *
F NAME
O SET
STOP
CAN
EXEC
7
Enter file number 20 from the MDI panel, then set the file number by
pressing soft key [F SET]. Next, enter program number 120, then set
the program number by pressing soft key [O SET]. Then, press soft
key [EXEC].
⋅
File number 20 is registered as O0120 in the CNC.
⋅
Set a program number to register a read file with a separate O
number. If no program number is set, the O number in the file name
column is registered.
440
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
8
To specify a file with its file name, press soft key [N READ] in step 6
above. The screen shown below is displayed.
DIRECTORY (M-CARD)
O0001 N00010
No. FILE NAME
COMMENT
0012
O0050
(MAIN PROGRAM)
0013
TESTPRO
(SUB PROGRAM-1)
0014
O0060
(MACRO PROGRAM)
~
~
READ
FILE NAME
=TESTPRO
PROGRAM No. =1230
>
EDIT
15:40:21
* * *
* * * *
* * *
* * * *
F NAME
O SET
STOP
CAN
EXEC
9
To register file name TESTPRO as O1230, enter file name TESTPRO
from the MDI panel, then set the file name with soft key [F NAME].
Next, enter program number 1230, then set the program number with
soft key [O SET]. Then, press soft key [EXEC].
441
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Writing a file
Procedure
1
Press the EDIT switch on the machine operator’s panel.
2
Press function key
PROG
3
Press the rightmost soft key
(continuous menu key).
4
Press soft key [CARD]. The screen shown below is displayed.
DIRECTORY (M-CARD)
O0034 N00045
No. FILE NAME
SIZE
DATE
0001
O1000
123456
01/07/10
0002
O1001
118458
01/07/30
0003
O0002
113250
01/07/30
0004
O2000
173456
01/07/31
0005
O2001
113444
01/07/31
0006
O3001
118483
01/08/02
0007
O3300
111406
01/08/05
0008
O3400
112420
01/07/31
0009
O3500
117460
01/07/31
~
~
PROG
DIR +
(OPRT)
5
Press soft key [(OPRT)].
6
Press soft key [PUNCH].
F SRH
F READ
N READ
PUNCH
DELETE
7
Enter a desired O number from the MDI panel, then set the program
number with soft key [O SET].
When soft key [EXEC] is pressed after the setting shown below has
been made, for example, the file is written under program number
O1230.
~
~
PUNCH
FILE NAME
=
PROGRAM No. =1230
>
EDIT
15:40:21
* * *
* * * *
* * *
* * * *
F NAME
O SET
STOP
CAN
EXEC
8
In the same way as for O number setting, enter a desired file name
from the MDI panel, then set the file name with soft key [F SET].
When soft key [EXEC] is pressed after the setting shown below has
been made, for example, the file is written under program number
O1230 and file name ABCD12.
~
~
PUNCH
FILE NAME
=ABCD12
PROGRAM No. =1230
>
EDIT
* * *
* * * *
* * *
* * * *
15:40:21
F NAME
O SET
STOP
CAN
EXEC
442
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Deleting a file
Procedure
1
Press the EDIT switch on the machine operator’s panel.
2
Press function key
PROG
3
Press the rightmost soft key
(continuous menu key).
4
Press soft key [CARD]. The screen shown below is displayed.
DIRECTORY (M-CARD)
O0034 N00045
No. FILE NAME
SIZE
DATE
0001
O1000
123456
01/07/10
0002
O1001
118458
01/07/30
0003
O0002
113250
01/07/30
0004
O2000
173456
01/07/31
0005
O2001
113444
01/07/31
0006
O3001
118483
01/08/02
0007
O3300
111406
01/08/05
0008
O3400
112420
01/07/31
0009
O3500
117460
01/07/31
~
~
PROG
DIR +
(OPRT)
5
Press soft key [(OPRT)].
6
Set the number of the desired file with soft key [DELETE], then press
F SRH F READ N READ PUNCH DELETE
soft key [EXEC]. The file is deleted, and the directory screen is
displayed again.
When file number 21 is deleted
DIRECTORY (M-CARD)
O0034 N00045
No. FILE NAME
COMMENT
0019
O1000
(MAIN PROGRAM)
0020
O1010
(SUBPROGRAM-1)
0021
O1020
(COMMENT
)
0022
O1030
(COMMENT
)
~
~
File name O1020 is deleted.
DIRECTORY (M-CARD)
O0034 N00045
No. FILE NAME
COMMENT
0019
O1000
(MAIN PROGRAM)
0020
O1010
(SUBPROGRAM-1)
0021
O1020
(COMMENT
)
0022
O1030
(COMMENT
)
~
~
File number 21 is assigned to the next file name.
443
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Batch input/output with a memory card
On the ALL IO screen, different types of data including part programs,
parameters, offset data, pitch error data, custom macros, and workpiece
coordinate system data can be input and output using a memory card; the
screen for each type of data need not be displayed for input/output.
Data item name
Part program
Parameter
Offset data
Memory card
²
ALL IO screen
Pitch error data
Custom macro
³
Workpiece coordinate system
data
(additional coordinate systems)
Procedure
1
Press the EDIT switch on the machine operator’s panel.
2
Press function key
SYSTEM
3
Press the rightmost soft key
(continuous menu key) several
times.
4
Press soft key [ALL IO]. The screen shown below is displayed.
READ/PUNCH (PROGRAM)
O0001 N00001
No. FILE NAME
SIZE
DATE
* 0001
O0222
332010
01-04-06
0002
O1003
334450
01-05-04
0003
MACROVAR.DAT 653400
01-05-12
0004
O0002
341205
01-05-13
[PROGRAM]
O0001
O0002
O0003
O0005
O0100
O0020
O0006
O0004
O0110
O0200
O2200
O0441
O0330
>
EDIT
10:07:37
* * *
* * * *
* * *
* * * *
PROG
PARAM
OFFSET
(OPRT)
Upper part : Directory of files on the memory card
Lower part : Directory of registered programs
5
With cursor keys
and
, the user can choose between upper
part scrolling and lower part scrolling. (An asterisk (*) displayed at
the left edge indicates the part for which scrolling is possible.)
: Used for memory card file directory scrolling.
: Used for program directory scrolling.
444
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
PAGE
6
With page keys
and
, scroll through the file directory or
PAGE
program directory.
7
When this screen is displayed, the program data item is selected. The
soft keys for other screens are displayed by pressing the rightmost soft
key
(continuous menu key).
PITCH
WORK
(OPRT)
When a data item other than program is selected, the screen displays only
a file directory.
A data item is indicated, in parentheses, on the title line.
READ/PUNCH (PARAMETER)
O0001 N00001
No. FILE NAME
SIZE
DATE
0001
O0222
332010
96/04/06
0002
O1003
334450
96/05/04
0003
MACROVAR.DAT
653400
96/05/12
0004
O0003
334610
96/05/04
0005
O0001
334254
96/06/04
0006
O0002
333750
96/06/04
0007
CNCPARAM.DAT
334453
96/06/04
~
~
8
Display the following soft keys with soft key [(OPRT)].
F SRH
F READ
N READ
PUNCH
DELETE
The operation of each function is the same as on the directory (memory
card) screen. Soft key [O SET], used for program number setting, and the
“PROGRAM NUMBER =” indication are not displayed for data items
other than program.
[F SRH]
: Finds a specified file number.
[F READ] : Reads a specified file number.
[PUNCH]
: Writes a file.
[N READ] : Reads a file under a specified file name.
[DELETE] : Deletes a specified file number.
445
6. INPUT AND OUTPUT OF DATA
B-63525EN/02
Error codes
Memory card error codes
Code
Meaning
007
The memory card is protected.
030
The memory card is not inserted into its slot.
032
The memory card’s battery is exhausted.
102
The memory card does not have sufficient free space.
105
No memory card is mounted.
106
A memory card is already mounted.
110
The specified directory cannot be found.
111
There are too many files under the root directory to allow a
directory to be added.
114
The specified file cannot be found.
115
The specified file is protected.
117
The file has not yet been opened.
118
The file is already open.
119
The file is locked.
121
A file end was detected.
122
The specified file name is invalid.
124
The extension of the specified file is invalid.
129
A non-corresponding function was specified.
130
The specification of a device is invalid.
131
The specification of a pathname is invalid.
133
Multiple files are open at the same time.
135
The device is not formatted.
140
The file has the read/write disabled attribute.
446
B-63525EN/02
7.INTERFACE BETWEEN CNC AND PMC
INTERFACE BETWEEN CNC AND PMC
7
This chapter describes the signals between the machine operator’s panel,
magnetics cabinet and the PMC, connection of the signals between PMC
and CNC, and confirmation method of on/off state of these signals.
It also describes system configuration of PMC, parameters of PMC,
ladder and how to display time chart of the signals on the screen.
It also describes a method of inputting/outputting PMC parameters to an
external device.
7.1
GENERAL OF INTERFACE
448
7.2
SPECIFICATION OF PMC
449
7.3
PMC SCREEN
457
7.4
LIST OF SIGNALS BY EACH MODE
497
7.5
LIST OF INPUT/OUTPUT SIGNALS
499
7.6
LIST OF ADDRESSES
519
447
High-speed processing signal
PMCDGN Input
Contacts
*DEC
a *ESP, SKIP, ESKIP, XAE, YAE, ZAE (M series)
[0]
0V
Open
*DEC
a *ESP, SKIP, ESKIP, XAE, ZAE, +MIT a (T series)
[1]
. . 24V
Close
NC
PMCDGN
PMCDGN * DI/DO
PMC-SA/SB
MT (Machine Tool builder)
ST1 DOOR
ST
ST1
G
X
RV
X0.1
X0.0
G007.2
ST2
ST2
0V
+24E
X5.7
Power
STL
STL
supply
F0.5
Y0.1
Load
+
F
Y
-
PMCDGN
PMCDGN *
0V
0V
PMCDGN
Tr Output
Load
[0]
Off
24V
Off
FANUC decides
PMC address
MTB decides
addresses
addresses
[1]
On
0V
On
and signals
Internal relay
and signals
correspondence
Variable timer
Counter
Data table
Message display
Keep relay
System reserve
area
B-63525EN/02
7.INTERFACE BETWEEN CNC AND PMC
7.2
SPECIFICATION OF
PMC
7.2.1
Specification
Series 21i/210i/210is-B
Series 16i/160i/160is/18i/180i/180is/21i/210i/210is-B
Function
PMC-SA1
PMC-SA1
PMC-SB7
(loader control)
Programming method
Ladder
Ladder
Ladder
Number of ladder levels
2
2
3
1st level execution period
8ms
8ms
8ms
Basic instruction execution time
5.0m sec/step
5.0m sec/step
0.0033m sec/step
Program size
D Ladder
5,000 steps max.
12,000 steps max.
Approx. 64,000 steps max.(NOTES 1,
2)
D Symbol/comment
1 to 128 KB
1 to 128 KB
1 KB and up (NOTE 2)
D Message
0.1 to 64 KB
0.1 to 64 KB
8 KB and up (NOTE 2)
Instruction (basic)
12
12
14
(functional)
48
48
69
Intemal relay
(R)
1,100 bytes
1,100 bytes
8,500 bytes
Extended relay
(E)
-
-
8,000 bytes
Message request
(A)
200 requests (25 bytes)
200 requests (25 bytes)
2,000 requests (500 bytes, 2 bits/request)
Nonvolatile memory and so on
D Data table
(D)
1,860 bytes
1,860 bytes
10,000 bytes
D Variable timer
(T)
40 units (80 bytes)
40 units (80 bytes)
250 units (1,000 bytes, 4 bytes/unit)
Fixed timer
100 units
100 units
500 units (timer number specification)
D Counter
(C)
20 units (80 bytes)
20 units (80 bytes)
100 units (400 bytes, 4 bytes/unit)
Fixed counter
(C)
-
-
100 units (200 bytes, 2 bytes/unit)
D Keep relay
(K)
20 bytes
20 bytes
120 bytes
Subprogram
(P)
-
-
2,000 programs
Label
(L)
-
-
9,999 units
Input/output (I/O Link)
D Input
1,024 points max.
1,024 points max.
2,048 points max.(NOTE 3)
D Output
1,024 points max.
1,024 points max.
2,048 points max.(NOTE 3)
Sequence program storage memory
Flash ROM
Flash ROM
Flash ROM
128KB
128KB
128 KB (16,000-step option or lower)
256 KB (24,000-step option)
384 KB (32,000/40,000-step option)
512 KB (48,000-step option)
768 KB (64,000-step option)
449
7. INTERFACE BETWEEN CNC AND PMC
B-63525EN/02
NOTE
1
The maximum number of steps assumes programming using basic instructions. The maximum
number of steps varies according to the status of functional instruction use.
2
The total sequence program size (including all of the ladders, symbols/comments, and
messages) must not exceed the capacity of the sequence program storage memory. If the size
of any of the ladders, symbols/comments, or messages is greater, the maximum allowable size
of the others may be limited.
3
The standard specification allows up to 1,024 input points and up to 1,024 output points. To
use 2,048 input points and 2,048 output points, the I/O Link point extension option is required.
7.2.2
Address
Model
Char-
Signal type
Series 16i/160i/160is/18i/180i/180is/21i/210i/210is-B
acter
PMC-SA1
PMC-SB7
X
Input signal from the machine to the PMC
X0 to X127
X0 to X127
(MT to PMC)
X200 to X327(NOTE 1)
X1000 to X1127(NOTE 2)
Y
Output signal from the PMC to the machine
Y0 to Y127
Y0 to Y127
(PMC to MT)
Y200 to Y327(NOTE 1)
Y1000 to Y1127 (NOTE 2)
F
Input signal from the NC to the PMC
F0 to F255
F0 to F767(NOTE 3)
(NC to PMC)
F1000 to F1767(NOTE 4)
F2000 to F2767(NOTE 4)
F3000 to F3767(NOTE 5)
G
Output signal from the PMC to the NC (PMC to NC)
G0 to G255
G0 to G767(NOTE 3)
G1000 to G1767(NOTE 4)
G2000 to G2767(NOTE 4)
G3000 to G3767(NOTE 5)
R
Internal relay
R0 to R999
R0 to R7999
R9000 to R9099
R9000 to R9499(NOTE 6)
E
Extended relay
-
E0 to E7999(NOTE 7)
A
Message display request signal
A0 to A24
A0 to A249
Message display state signal
-
A9000 to A9249(NOTE 8)
C
Counter
C0 to C79
C0 to C399
C5000 to C5199(NOTE 9)
K
Keep relay
K0 to K19
K0 to K99
K900 to K919(NOTE 10)
T
Variable timer
T0 to T79
T0 to T499
T9000 to T9499(NOTE 11)
D
Data table
D0 to D1859
D0 to D9999
L
Label number
-
L1 to L9999
P
Subprogramnumber
-
P1 to P2000
450
B-63525EN/02
7.INTERFACE BETWEEN CNC AND PMC
NOTE
1
I/O of channel 2 of the I/O Link can be assigned.
This area is usable when the I/O Link point extension option is selected.
2
This area is reserved for the PMC. I/O cannot be assigned to this area. Do not use this area
for sequence programs.
3
This area includes an area reserved for the PMC. The actually usable address range depends
on the CNC system configuration.
4
Use this area when the CNC is a multipath system. This area includes an area reserved for
the PMC. The actually usable address range depends on the CNC system configuration.
5
This area is reserved for the PMC. Do not use this area for sequence programs.
6
This area is a special relay area managed by the PMC system program. When using this area,
follow the description of each signal.
7
In an ordinary system, this area can be used as with the internal relay (R) area. The extended
relay (E) area is volatile, but a signal is input to or output from a memory card as a PMC
parameter. When a PMC parameter is read, the E area is initialized to the state present at the
time of PMC parameter output.
8
Message display state signals corresponding to message display request signals on a
one-to-one basis. This area cannot be written to.
9
This area is used for the fixed counter instruction (CTRB instruction), which specifies a preset
value as a constant.
10 This area is a special relay area for PMC management software. When using this area, follow
the description of each address.
11 This area is reserved for the PMC. Do not use this area for sequence programs.
(1) R9000 (Operation output register for the ADD, SUB, MULB, DIVB,
7.2.3
and COMPB functional instructions)
System Reserve Area
of Internal Relay
#7
#6
#5
#4
#3
#2
#1
#0
R9000
V
N
Z
Operation result
register
Zero
Sign is minus
Overflow
(2) R9000 (Error output for the EXIN, WINDR, WINDW, MMCWR, and
MMCWW functional instructions)
#7
#6
#5
#4
#3
#2
#1
#0
R9000
The instruc-
tion ended in
error.
451
|
|