FANUC Series 16i/160i/160is-MB, Series 18i/180i/180is-MB5, Series 18i/180i/180is-MB. Operator's Manual - page 28

 

  Index      Manuals     FANUC Series 16i/160i/160is-MB, Series 18i/180i/180is-MB5, Series 18i/180i/180is-MB. Operator's Manual (GFZ-63534EN/02)

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     26      27      28      29     ..

 

 

 

FANUC Series 16i/160i/160is-MB, Series 18i/180i/180is-MB5, Series 18i/180i/180is-MB. Operator's Manual - page 28

 

 

OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
Programs are registered in memory in advance. When one of these
4.1
programs is selected and the cycle start switch on the machine operator’s
MEMORY
panel is pressed, automatic operation starts, and the cycle start LED goes
OPERATION
on.
When the feed hold switch on the machine operator’s panel is pressed
during automatic operation, automatic operation is stopped temporarily.
When the cycle start switch is pressed again, automatic operation is
restarted.
When the
RESET
key on the MDI panel is pressed, automatic operation
terminates and the reset state is entered.
For the two-path control, the programs for the two tool posts can be
executed simultaneously so the two tool posts can operate independently
at the same time.
The following procedure is given as an example. For actual operation,
refer to the manual supplied by the machine tool builder.
Procedure for Memory Operation
Procedure
1
Press the MEMORY mode selection switch.
2
Select a program from the registered programs. To do this, follow the
steps below.
2-1 Press
PROG
to display the program screen.
2-2 Press address
O
2-3 Enter a program number using the numeric keys.
2-4 Press the [O SRH] soft key.
3
For the two-path control, select the tool post to be operated with the
tool post selection switch on the machine operator’s panel.
4
Press the cycle start switch on the machine operator’s panel.
Automatic operation starts, and the cycle start LED goes on. When
automatic operation terminates, the cycle start LED goes off.
5
To stop or cancel memory operation midway through, follow the
steps below.
a. Stopping memory operation
Press the feed hold switch on the machine operator’s panel. The
feed hold LED goes on and the cycle start LED goes off. The
machine responds as follows:
(i) When the machine was moving, feed operation decelerates
and stops.
(ii) When dwell was being performed, dwell is stopped.
(iii) When M, S, or T was being executed, the operation is stopped
after M, S, or T is finished.
When the cycle start switch on the machine operator’s panel is
pressed while the feed hold LED is on, machine operation restarts.
790
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
b. Terminating memory operation
Press the
RESET
key on the MDI panel.
Automatic operation is terminated and the reset state is entered.
When a reset is applied during movement, movement decelerates
then stops.
Explanation
Memory operation
After memory operation is started, the following are executed:
(1) A one-block command is read from the specified program.
(2) The block command is decoded.
(3) The command execution is started.
(4) The command in the next block is read.
(5) Buffering is executed. That is, the command is decoded to allow
immediate execution.
(6) Immediately after the preceding block is executed, execution of the
next block can be started. This is because buffering has been
executed.
(7) Hereafter, memory operation can be executed by repeating the
steps (4) to.(6)
Stopping and terminating
Memory operation can be stopped using one of two methods: Specify a
memory operation
stop command, or press a key on the machine operator’s panel.
- The stop commands include M00 (program stop), M01 (optional
stop), and M02 and M30 (program end).
- There are two keys to stop memory operation: The feed hold key
and reset key.
D Program stop (M00)
Memory operation is stopped after a block containing M00 is executed.
When the program is stopped, all existing modal information remains
unchanged as in single block operation. The memory operation can be
restarted by pressing the cycle start button. Operation may vary
depending on the machine tool builder. Refer to the manual supplied by
the machine tool builder.
D Optional stop (M01)
Similarly to M00, memory operation is stopped after a block containing
M01 is executed. This code is only effective when the Optional Stop
switch on the machine operator’s panel is set to ON. Operation may vary
depending on the machine tool builder. Refer to the manual supplied by
the machine tool builder.
D Program end
When M02 or M30 (specified at the end of the main program) is read,
(M02, M30)
memory operation is terminated and the reset state is entered.
In some machines, M30 returns control to the top of the program. For
details, refer to the manual supplied by the machine tool builder.
D Feed hold
When Feed Hold button on the operator’s panel is pressed during memory
operation, the tool decelerates to a stop at a time.
D Reset
Automatic operation can be stopped and the system can be made to the
reset state by using
RESET
key on the MDI panel or external reset signal.
When reset operation is applied to the system during a tool moving status,
the motion is slowed down then stops.
791
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
D Optional block skip
When the optional block skip switch on the machine operator’s panel is
turned on, blocks containing a slash (/) are ignored.
D Cycle start for the
For the two-path control, a cycle start switch is provided for each tool
two-path control
post. This allows the operator to activate a single tool posts to operate
them at the same time in memory operation or MDI operation. In general,
select the tool post to be operated with the tool post selection switch on
the machine operator’s panel and then press the cycle start button to
activate the selected tool post. (The procedure may vary with the machine
tool builder. Refer to the appropriate manual issued by the machine tool
builder.)
Calling a subprogram
A file (subprogram) in an external input/output device such as a Floppy
stored in an external
Cassette can be called and executed during memory operation. For
details, see Section 4.7.
input/output device
792
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
In the MDI mode, a program consisting of up to 10 lines can be created
4.2
in the same format as normal programs and executed from the MDI panel.
MDI OPERATION
MDI operation is used for simple test operations.
The following procedure is given as an example. For actual operation,
refer to the manual supplied by the machine tool builder.
Procedure for MDI Operation
Procedure
1
Press the MDI mode selection switch.
For the two-path control, select the tool post for which a program is to
be created with the tool post selection switch. Create a separate
program for each tool post.
2
Press the
PROG
function key on the MDI panel to select the program
screen. The following screen appears:
PROGRAM ( MDI )
0010
00002
O0000;
G00
G90
G94
G40
G80
G50
G54
G69
G17
G22
G21
G49
G98
G67
G64
G15
B HM
T
D
F
S
>_
MDI
* * * *
* * *
* * *
20 : 40 : 05
PRGRM
MDI
CURRNT
NEXT
(OPRT)
Program number O0000 is entered automatically.
3
Prepare a program to be executed by an operation similar to normal
program editing. M99 specified in the last block can return control to
the beginning of the program after operation ends. Word insertion,
modification, deletion, word search, address search, and program
search are available for programs created in the MDI mode. For
program editing, see III-9.
4
To entirely erase a program created in MDI mode,use one of the
following methods:
a. Enter address
O
, then press the
DELETE
key on the MDI panel.
b. Alternatively, press the
RESET
key. In this case, set bit 7 of
parameter MCL No. 3203 to 1 in advance.
793
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
5
To execute a program, set the cursor on the head of the program. (Start
from an intermediate point is possible.) Push Cycle Start button on
the operator’s panel. By this action, the prepared program will start.
(For the two-path control, select the tool post to be operated with the
tool post selection switch on the machine operator’s panel
beforehand.) When the program end (M02, M30) or ER(%) is
executed, the prepared program will be automatically erased and the
operation will end.
By command of M99, control returns to the head of the prepared
program.
PROGRAM ( MDI )
O0001 N00003
O0000
G00 X100.0 Y200. ;
M03 ;
G01 Z120.0 F500 ;
M93 P9010 ;
G00 Z0.0 ;
%
G00
G90
G94
G40
G80
G50
G54
G69
G17
G22
G21
G49
G98
G67
G64
G15
B HM
T
D
F
S
>_
MDI
****
***
***
12 : 42 : 39
PRGRM
MDI
CURRNT
NEXT
(OPRT)
6
To stop or terminate MDI operation in midway through, follow the
steps below.
a. Stopping MDI operation
Press the feed hold switch on the machine operator’s panel. The
feed hold LED goes on and the cycle start LED goes off. The
machine responds as follows:
(i) When the machine was moving, feed operation decelerates
and stops.
(ii) When dwell was being performed, dwell is stopped.
(iii) When M, S, or T was being executed, the operation is stopped
after M, S, or T is finished.
When the cycle start switch on the machine operator’s panel is
pressed, machine operation restarts.
b. Terminating MDI operation
Press the
RESET
key on the MDI panel.
Automatic operation is terminated and the reset state is entered.
When a reset is applied during movement, movement decelerates
then stops.
794
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
Explanation
The previous explanation of how to execute and stop memory operation
also applies to MDI operation, except that in MDI operation, M30 does
not return control to the beginning of the program (M99 performs this
function).
D Erasing the program
Programs prepared in the MDI mode will be erased in the following cases:
S In MDI operation, if M02, M30 or ER(%) is executed.
(If bit 6 (MER) of parameter No. 3203 is set to 1, however, the
program is erased when execution of the last block of the program
is completed by single-block operation.)
S In MEMORY mode, if memory operation is performed.
S In EDIT mode, if any editing is performed.
S Background editing is performed.
S When the
O
and
DELETE
keys are pressed.
S Upon reset when bit 7 (MCL) of parameter No. 3203 is set to 1
D Restart
After the editing operation during the stop of MDI operation was done,
operation starts from the current cursor position.
D Editing a program during
A program can be edited during MDI operation. The editing of a program,
MDI operation
however, is disabled until the CNC is reset, when bit 5 (MIE) of parameter
No. 3203 is set accordingly.
Limitations
D Program registration
Programs created in MDI mode cannot be registered.
D Number of lines in a
A program can have as many lines as can fit on one page of the screen.
program
A program consisting of up to six lines can be created. When parameter
MDL (No. 3107 #7) is set to 0 to specify a mode that suppresses the
display of continuous-state information, a program of up to 10 lines can
be created.
If the created program exceeds the specified number of lines, % (ER) is
deleted (prevents insertion and modification).
D Subprogram nesting
Calls to subprograms (M98) can be specified in a program created in the
MDI mode. This means that a program registered in memory can be
called and executed during MDI operation. In addition to the main
program executed by automatic operation, up to two levels of subprogram
nesting are allowed (when the custom macro option is provided, up to four
levels are allowed).
Main program
Subprogram
Subprogram
O0000;
O1000;
O2000;
M98P 1000;
M98P 2000;
M98P 3000;
M30;
M99;
M99;
One-level nesting
Two-level nesting
Fig. 4.2 (a) Nesting Level of Subprograms Called from the MDI Program
795
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
D Macro call
When the custom macro option is provided, macro programs can also be
created, called, and executed in the MDI mode. However, macro call
commands cannot be executed when the mode is changed to MDI mode
after memory operation is stopped during execution of a subprogram.
D Memory area
When a program is created in the MDI mode, an empty area in program
memory is used. If program memory is full, no programs can be created
in the MDI mode.
796
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
4.3
By activating automatic operation during the DNC operation mode
(RMT), it is possible to perform machining (DNC operation) while a
DNC OPERATION
program is being read in via reader/puncher interface, or remote buffer.
If the floppy cassette directory display option is available, it is possible
to select files (programs) saved in an external input/output unit of a floppy
format (Handy File, Floppy Cassettes, or FA card) and specify (schedule)
the sequence and frequency of execution for automatic operation.
(see III-4.6)
To use the DNC operation function, it is necessary to set the parameters
related to the reader/punch interface, and remote buffer in advance.
DNC OPERATION
Procedure
1
Search for the program (file) to be executed.
2
Press the REMOTE switch on the machine operator’s panel to set
RMT mode, then press the cycle start switch. The selected file is
executed. For details of the use of the REMOTE switch, refer to the
relevant manual supplied by the machine tool builder.
D Program check screen
PROGRAM CHECK
O0001 N00020
(Seven soft key type
LCD)
N020 X100.0 Z100.0 (DNC-PROG) ;
N030 X200.0 Z200.0 ;
N050 X400.0 Z400.0 ;
(RELATIVE)
(DIST TO GO) G00
G17
G90
X
100.000
X
0.000
G22
G94
G21
Y
100.000
Y
0.000
G41
G49
G80
Z
0.000 Z
0.000
G98
G50
G67
A
0.000 A
0.000
B
C
0.000 C
0.000 H
M
HD.T
NX.T
D M
F
S
M
ACT.F
SACT
REPEAT
RMT STRT MTN *** ***
21:20:05
[ ABS
]
[ REL
]
[
]
[
]
[
(OPRT) ]
797
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
D Program screen
PROGRAM
O0001 N00020
(Seven soft key type LCD)
N020 X100.0 Z100.0 (DNC-PROG) ;
N030
X200.0
Z200.0 ;
N040
X300.0
Z300.0 ;
N050
X400.0
Z400.0 ;
N060
X500.0
Z500.0 ;
N070
X600.0
Z600.0 ;
N080
X700.0
Z400.0 ;
N090
X800.0
Z400.0 ;
N100
x900.0
z400.0 ;
N110
x1000.0
z1000.0 ;
N120
x800.0
z800.0 ;
RMT STRT MTN *** ***
21:20:05
[
PRGRM ] [ CHECK ] [
]
[
]
[
(OPRT) ]
D Program screen
(Twelve soft key type LCD)
PROGRAM
F0001 N00020
N020 X100.0 (DNC-PROG) ;
N180 Z50.0 ;
N030 X90.0 ;
N190 Z40.0 ;
N040 X80.0 ;
N200 Z30.0 ;
N050 X70.0 ;
N210 Z20.0 ;
N060 X60.0 ;
N220 Z10.0 ;
N070 X50.0 ;
N230 Z0.0 ;
N080 X40.0 ;
N240 M02 ;
N090 X30.0 ;
%
N100 X20.0 ;
N110 X10.0 ;
N120 X0.0 ;
N130 Z100.0 ;
N140 Z90.0 ;
N150 Z80.0 ;
N160 Z70.0 ;
N170 Z60.0 ;
RMT STRT MTN *** *** 22:23:24
PRGR CHEC
(OPR
+
M
K
T)
During DNC operation, the program currently being executed
is
displayed on the program check screen and program screen.
The number of displayed program blocks depends on the program being
executed.
Any comment enclosed between a control-out mark (() and control-in
mark ()) within a block is also displayed.
Explanations
D During DNC operation, programs stored in memory can be called.
D During DNC operation, macro programs stored in memory can be
called.
798
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
Limitations
D Limit on number of
In program display, no more than 256 characters can be displayed.
characters
Accordingly, character display may be truncated in the middle of a block.
D M198 (command for
In DNC operation, M198 cannot be executed. If M198 is executed, P/S
calling a program from
alarm No. 210 is issued.
within an external
input/output unit)
D Custom macro
In DNC operation, custom macros can be specified, but no repeat
instruction and branch instruction can be programmed. If a repeat
instruction or branch instruction is executed, P/S alarm No. 123 is issued.
When reserved words (such as IF, WHILE, COS, and NE) used with
custom macros in DNC operation are displayed during program display,
a blank is inserted between adjacent characters.
Example
[During DNC operation]
#102=SIN[#100] ;
#102 = S I N[#100] ;
IF[#100NE0]GOTO5 ;
I F[#100NE0] G O T O 5 ;
D M99
When control is returned from a subprogram or macro program to the
calling program during DNC operation, it becomes impossible to use a
return command (M99P****) for which a sequence number is specified.
Alarm
Number
Message
Contents
086
DR SIGNAL OFF
When entering data in the memory by
using Reader / Puncher interface, the
ready signal (DR) of reader / puncher
was turned off.
Power supply of I/O unit is off or cable is
not connected or a P.C.B. is defective.
123
CAN NOT USE MACRO
Macro control command is used during
COMMAND IN DNC
DNC operation.
Modify the program.
210
CAN NOT COMAND
Or M198 is executed in the DNC opera-
M198/M199
tion. Modify the program.
799
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
4.4
While an automation operation is being performed, a program input from
an I/O device connected to the reader/punch interface can be executed and
SIMULTANEOUS
output through the reader/punch interface at the same time.
INPUT/OUTPUT
Simultaneous Input/Output
Procedure
D Basic simultaneous
1
Search for the program (file) to be output and executed.
input procedure
2
Press the REMOTE switch on the machine operator’s panel to set
RMT mode. For details of the use of the REMOTE switch, refer to the
relevant manual supplied by the machine tool builder.
3
Set the simultaneous output operation mode select signal to 1.
4
Press the cycle start switch.
5
Program output and execution is performed on a block-by-block
basis.
Program check screen
PROGRAM CHECK
F0001 N00100
N100 X100. Y100. ;
N200 G01 X50. Y50. ;
N300 G00 X0 Y0 ;
(RELATIVE)
(DIST TO GO) G00 G17 G90
X
100.000 X
0.000
G22 G94 G21
Y
100.000 Y
0.000
G40 G49 G80
Z
0.000 Z
0.000
G98 G50 G67
A
0.000 A
0.000
B
C
0.000 C
0.000
H M
HD.T
NX.T
D M
F
S
M
ACT.F
SACT
REPEAT
RMT STRT MTN *** ***
21:20:05
[
ABS
]
[
REL
]
[
]
[
]
[
(OPRT) ]
When a program is displayed, three blocks are displayed: the block
currently being executed and the next two to be executed. When the single
block function is selected, only the block currently being executed is
displayed.
Any comment enclosed between a control-out mark (() and control-in
mark ()) within a block is not displayed.
D Basic simultaneous output
1
Search for the program (file) to be output and executed.
procedure
2
Press the REMOTE switch on the machine operator’s panel to set
RMT mode. For details of the use of the REMOTE switch, refer to the
relevant manual supplied by the machine tool builder.
3
Set the simultaneous output operation mode select signal to 1.
4
Press the cycle start switch.
5
Program output and execution is performed on a block-by-block
basis.
800
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
Limitations
D M198 (command for
M198 cannot be executed in the input, output and run simultaneous mode.
calling a program from
An attempt to do so results in alarm No. 210.
within an external
input/output unit)
A macro control command cannot be executed in the input, output and run
D Macro control command
simultaneous mode. An attempt to do so results in P/S alarm No. 123.
D Alarm
If an alarm condition occurs during the input, output and run simultaneous
mode, a block being processed when the alarm condition occurs and all
blocks before that are input or output.
D File name
In the output and run simultaneous mode, if a device used is a floppy disk
drive or FA card, the file name is the execution program number.
D Sub program call
When a program is being executed in the output and run simultaneous
mode, if a subprogram is called, only the main program is output.
Alarm
Number
Message
Contents
CAN NOT USE MACRO
Macro control command is used during
123
COMMAND IN DNC
DNC operation.
Modify the program.
CAN NOT COMMAND
M198 or M199 is executed in the DNC
210
M198/M199
operation. M198 is executed in the
DNC operation. Modify the program.
DNC OP. NOT AL-
Input and output are executed at a time
222
LOWED IN BG.-EDIT
in the background edition.
Execute a correct operation.
801
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
This function specifies Sequence No. of a block to be restarted when a tool
4.5
is broken down or when it is desired to restart machining operation after
PROGRAM RESTART
a day off, and restarts the machining operation from that block. It can also
be used as a high-speed program check function.
There are two restart methods: the P-type method and Q-type method.
Operation can be restarted anywhere. This restart method is
P TYPE
used when operation is stopped because of a broken tool.
Program start point (machining start point)
ÇÇ
ÇÇ
Return operation
Restart position
Before operation can be restarted, the machine must be moved
Q TYPE
to the programmed start point (machining start point)
ÇÇ
ÇÇ
Return operation
ÇÇ
Program start point
(machining start point)
Restart position
802
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
Procedure for Program Restart by Specifying a Sequence Number
Procedure 1
[ P TYPE ]
1
Retract the tool and replace it with a new one. When necessary,
change the offset.
(Go to step 2.)
[ Q TYPE ]
1
When power is turned ON or emergency stop is released, perform all
necessary operations at that time, including the reference position
return.
2
Move the machine manually to the program starting point (machining
start point), and keep the modal data and coordinate system in the
same conditions as at the machining start.
3
If necessary, modify the offset amount.
Procedure 2
[COMMON TO P TYPE /
1
Turn the program restart switch on the machine operator’s panel ON.
Q TYPE]
2
Press
PROG
key to display the desired program.
3
Find the program head.
[Q TYPE]
4
Enter the sequence number of the block to be restarted, then press th
[P TYPE] or [Q TYPE] soft key.
N
fffff or
[P TYPE]
Sequence number
[Q TYPE]
If the same sequence number appears more than once, the location of
N
fff
fffff
or
the target block must be specified. Specify a frequency and a
sequence number.
[P TYPE]
Frequency
Sequence number
803
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
5
The sequence number is searched for, and the program restart screen
appears on the LCD display.
PROGRAM RESTART
O0002 N01000
DESTINATION
M
1
2
X 57. 096
1
2
Y 56. 877
1
2
Z 56. 943
1
2
1
2
1 ********
********
********
DISTANCE TO GO
1 X 1. 459
T********
********
2 Y 10. 309
S *****
3 Z 7. 320
S
0 T0000
MEM * * * *
***
***
10 : 10 : 40
RSTR
FL.SDL
(OPRT)
DESTINATION shows the position at which machining is to restart.
DISTANCE TO GO shows the distance from the current tool position
to the position where machining is to restart. A number to the left of
each axis name indicates the order of axes (determined by parameter
setting) along which the tool moves to the restart position.
The coordinates and amount of travel for restarting the program can
be displayed for up to five axes. If your system supports six or more
axes, pressing the [RSTR] soft key again displays the data for the
sixth and subsequent axes. (The program restart screen displays only
the data for CNC-controlled axes.)
M: Fourteen most recently specified M codes
T: Two most recently specified T codes
S: Most recently specified S code
B: Most recently specified B code
Codes are displayed in the order in which they are specified. All
codes are cleared by a program restart command or cycle start in the
reset state.
6
Turn the program re-start switch OFF. At this time, the figure at the
left side of axis name DISTANCE TO GO blinks.
7
Check the screen for the M, S, T, and B codes to be executed. If they
are found, enter the MDI mode, then execute the M, S, T, and B
functions. After execution, restore the previous mode.
These codes are not displayed on the program restart screen.
8
Check that the distance indicated under DISTANCE TO GO is correct.
Also check whether there is the possibility that the tool might hit a
workpiece or other objects when it moves to the machining restart
position. If such a possibility exists, move the tool manually to a
position from which the tool can move to the machining restart
position without encountering any obstacles.
9
Press the cycle start button. The tool moves to the machining restart
position at the dry run feedrate sequentially along axes in the order
specified by parameter settings (No. 7310). Machining is then
restarted.
804
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
Procedure for Program Restart by Specifying a Block Number
Procedure 1
[ P TYPE ]
1
Retract the tool and replace it with a new one. When necessary,
change the offset.
(Go to step 2.)
[ Q TYPE ]
1
When power is turned ON or emergency stop is released, perform all
necessary operations at that time, including the reference position
return.
2
Move the machine manually to the program starting point (machining
start point), and keep the modal data and coordinate system in the
same conditions as at the machining start.
3
If necessary, modify the offset amount.
Procedure 2
[COMMON TO P TYPE /
1
Turn the program restart switch on the machine operator’s panel ON.
Q TYPE]
2
Press
PROG
key to display the desired program.
3
Find the program head. Press function
RESET
key.
[Q TYPE]
4
Enter the number of the block to be restarted then press the [P TYPE]
or [Q TYPE] soft key. The block number cannot exceed eight digits.
B
f f f f f f f f
or
[P TYPE]
5
The block number is searched for, and the program restart screen
appears on the CRT display.
Block number
PROGRAM RESTART
O0002 N01000
DESTINATION
M
1
2
X 57. 096
1
2
Y 56. 877
1
2
Z 56. 943
1
2
1
2
1 ********
DISTANCE TO GO
********
********
X 1. 459
T********
********
Y 10. 309
Z 7. 320
S *****
S
0 T0000
MEM * * * *
***
***
10 : 10 : 40
RSTR
FL.SDL
(OPRT)
DESTINATION shows the position at which machining is to restart.
DISTANCE TO GO shows the distance from the current tool position
to the position where machining is to restart. A number to the left of
each axis name indicates the order of axes (determined by parameter
setting) along which the tool moves to the restart position.
805
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
The coordinates and amount of travel for restarting the program can
be displayed for up to five axes. If your system supports six or more
axes, pressing the [RSTR] soft key again displays the data for the
sixth and subsequent axes. (The program restart screen displays only
the data for CNC-controlled axes.)
M: Fourteen most recently specified M codes
T: Two most recently specified T codes
S: Most recently specified S code
B: Most recently specified B code
Codes are displayed in the order in which they are specified. All
codes are cleared by a program restart command or cycle start in the
reset state.
6
Turn the program re-start switch OFF. At this time, the figure at the
left side of axis name DISTANCE TO GO blinks.
7
Check the screen for the M, S, T, and B codes to be executed. If they
are found, enter the MDI mode, then execute the M, S, T, and B
functions. After execution, restore the previous mode.
These codes are not displayed on the program restart screen.
8
Check that the distance indicated under DISTANCE TO GO is correct.
Also check whether there is the possibility that the tool might hit a
workpiece or other objects when it moves to the machining restart
position. If such a possibility exists, move the tool manually to a
position from which the tool can move to the machining restart
position without encountering any obstacles.
9
Press the cycle start button. The tool moves to the machining restart
position at the dry run feedrate sequentially along axes in the order
specified by parameter settings (No. 7310). Machining is then
restarted.
Explanations
D Block number
When the CNC is stopped, the number of executed blocks is displayed on
the program screen or program restart screen. The operator can specify
the number of the block from which the program is to be restarted, by
referencing the number displayed on the CRT. The displayed number
indicates the number of the block that was executed most recently. For
example, to restart the program from the block at which execution
stopped, specify the displayed number, plus one.
The number of blocks is counted from the start of machining, assuming
one NC line of a CNC program to be one block.
< Example 1 >
CNC Program
Number of blocks
O 0001 ;
1
G90 G92 X0 Y0 Z0 ;
2
G01 X100. F100 ;
3
G03 X01 -50. F50 ;
4
M30 ;
5
806
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
< Example 2 >
CNC Program
Number of blocks
O 0001 ;
1
G90 G92 X0 Y0 Z0 ;
2
G90 G00 Z100. ;
3
G81 X100. Y0. Z-120. R-80. F50. ;
4
#1 = #1 + 1 ;
4
#2 = #2 + 1 ;
4
#3 = #3 + 1 ;
4
G00 X0 Z0 ;
5
M30 ;
6
Macro statements are not counted as blocks.
D Storing / clearing the
The block number is held in memory while no power is supplied. The
block number
number can be cleared by cycle start in the reset state.
D Block number when a
The program screen usually displays the number of the block currently
program is halted or
being executed. When the execution of a block is completed, the CNC
stopped
is reset, or the program is executed in single-block stop mode, the
program screen displays the number of the program that was executed
most recently.
When a CNC program is halted or stopped by feed hold, reset, or
single-block stop, the following block numbers are displayed:
Feed hold : Block being executed
Reset : Block executed most recently
Single-block stop : Block executed most recently
For example, when the CNC is reset during the execution of block 10, the
displayed block number changes from 10 to 9.
D MDI intervention
When MDI intervention is performed while the program is stopped by
single-block stop, the CNC commands used for intervention are not
counted as a block.
D Block number exceeding
When the block number displayed on the program screen exceeds eight
eight digits
digits, the block number is reset to 0 and counting continues.
Limitations
D P-type restart
Under any of the following conditions, P-type restart cannot be
performed:
When automatic operation has not been performed since the power
was turned on
When automatic operation has not been performed since an
emergency stop was released
When automatic operation has not been performed since the
coordinate system was changed or shifted (change in an external
offset from the workpiece reference point)
D Restart block
The block to be restarted need not be the block which was interrupted;
operation can restart with any block. When P-type restart is performed,
the restart block must use the same coordinate system as when operation
was interrupted.
807
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
D Single block
When single block operation is ON during movement to the restart
position, operation stops every time the tool completes movement along
an axis. When operation is stopped in the single block mode, MDI
intervention cannot be performed.
D Manual intervention
During movement to the restart position, manual intervention can be used
to perform a return operation for an axis if it has not yet been performed
for the axis. A return operation cannot be done further on axes for which
a return has already been completed.
D Reset
Never reset during the time from the start of a search at restart until
machining is restarted. Otherwise, restart must be performed again from
the first step.
D Manual absolute
Regardless of whether machining has started or not, manual operation
must be performed when the manual absolute mode is on.
D Reference position return
If no absolute-position detector (absolute pulse coder) is provided, be
sure to perform reference position return after turning on the power and
before performing restart.
Alarm
Alarm No.
Contents
The specified block number for restarting the program is not
071
found.
After interruption, a coordinate system was set, then P-type
094
restart was specified.
After interruption, the coordinate system shift was changed,
095
then P-type restart was specified.
After interruption, the coordinate system was changed, then
096
P-type restart was specified.
When automatic operation has not been performed since
the power was turned on, emergency stop was released, or
097
P/S alarm 094 to 097 was reset, P-type restart was speci-
fied.
After the power was turned on, restart operation was per-
098
formed without reference position return, but a G28 com-
mand was found in the program.
A move command was specified from the MDI panel during
099
a restart operation.
An erroneous parameter was specififed for restarting a pro-
5020
gram.
WARNING
As a rule, the tool cannot be returned to a correct position under the following conditions.
Special care must be taken in the following cases since none of them cause an alarm:
S Manual operation is performed when the manual absolute mode is OFF.
S Manual operation is performed when the machine is locked.
S When the mirror image is used.
S When manual operation is performed in the course of axis movement for returning operation.
S When the program restart is commanded for a block between the block for skip cutting and
subsequent absolute command block.
808
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
4.6
The schedule function allows the operator to select files (programs)
SCHEDULING
registered on a floppy-disk in an external input/output device (Handy
FUNCTION
File, Floppy Cassette, or FA Card) and specify the execution order and
number of repetitions (scheduling) for performing automatic operation.
It is also possible to select only one file from the files in the external
input/output device and execute it during automatic operation.
This function is effective, when the floppy cassette directory display
option is avairable and the floppy cassette is selected as the valid I/O
device.
FILE DIRECTORY
FILE NO.
FILE NAME
0001
O0010
0002
O0020
0003
O0030
0004
O0040
List of files in an external input/output device
Set file number and
number of repetitions.
ORDER FILE NO REPETITION
01
0002
2
02
0003
1
03
0004
3
04
0001
2
Scheduling screen
Executing automatic operation
809
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
Procedure for Scheduling Function
Procedure
D Procedure for executing
1
Press the MEMORY switch on the machine operator’s panel, then
one file
press the
PROG
function key on the MDI panel.
2
Press the rightmost soft key (continuous menu key), then press the
[FL. SDL] soft key. A list of files registered in the Floppy Cassette is
displayed on screen No. 1. To display more files that are not
displayed on this screen, press the page key on the MDI panel. Files
registered in the Floppy Cassette can also be displayed successively.
FILE DIRECTORY
O0001 N00000
CURRENT SELECTED : SCHEDULE
NO. FILE NAME
(METER) VOL
0000
SCHEDULE
0001
PARAMETER
58.5
0002
ALL PROGRAM
11.0
0003
O0001
1.9
0004
O0002
1.9
0005
O0010
1.9
0006
O0020
1.9
0007
O0040
1.9
0008
O0050
1.9
MEM * * * *
***
***
19 : 14 : 47
PRGRM
DIR
SCHDUL
(OPRT)
Screen No.1
3
Press the [(OPRT)] and [SELECT] soft keys to display “SELECT
FILE NO.” (on screen No. 2). Enter a file number, then press the [F
SET] and [EXEC] soft keys. The file for the entered file number is
selected, and the file name is indicated after
CURRENT
SELECTED:”.
FILE DIRECTORY
O0001 N00000
CURRENT SELECTED:O0040
NO. FILE NAME
(METER) VOL
0000
SCHEDULE
0001
PARAMETER
58.5
0002
ALL PROGRAM
11.0
0003
O0001
1.9
0004
O0002
1.9
0005
O0010
1.9
0006
O0020
1.9
0007
O0040
1.9
0008
O0050
1.9
SELECT FILE NO.=7
>_
MEM * * * *
***
***
19 : 17 : 10
F SET
EXEC
Screen No.2
810
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
4
Press the REMOTE switch on the machine operator’s panel to enter
the RMT mode, then press the cycle start switch. The selected file is
executed. For details on the REMOTE switch, refer to the manual
supplied by the machine tool builder. The selected file number is
indicated at the upper right corner of the screen as an F number
(instead of an O number).
FILE DIRECTORY
F0007 N00000
CURRENT SELECTED:O0040
RMT
****
***
***
13 : 27 : 54
PRGRM
DIR
SCHDUL
(OPRT)
Screen No.3
D Procedure for executing
1
Display the list of files registered in the Floppy Cassette. The display
the scheduling function
procedure is the same as in steps 1 and 2 for executing one file.
2
On screen No. 2, press the [(OPRT)] and [SELECT] soft keys to
display “SELECT FILE NO.
3
Enter file number 0, and press the [F SET], and [EXEC] soft keys.
SCHEDULE” is indicated after “CURRENT SELECTED:”.
4
Press the leftmost soft key (return menu key) and the [SCHDUL] soft
key. Screen No. 4 appears.
FILE DIRECTORY
F0000 N02000
ORDER FILE NO. REQ.REP CUR.REP
01
02
03
04
05
06
07
08
09
10
>_
MEM * * * *
***
***
22 : 07 : 00
PRGRM
DIR
SCHDUL
(OPRT)
Screen No.4
811
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
Move the cursor and enter the file numbers and number of repetitions
in the order in which to execute the files. At this time, the current
number of repetitions “CUR.REP” is 0.
5
Press the REMOTE switch on the machine operator’s panel to enter
the RMT mode, then press the start switch. The files are executed in
the specified order. When a file is being executed, the cursor is
positioned at the number of that file.
The current number of repetitions CUR.REP is increased when M02
or M30 is executed in the program being run.
FILE DIRECTORY
O0000 N02000
ORDER FILE NO.
REQ.REP CUR.REP
01
0007
5
5
02
0003
23
23
03
0004
9999
156
04
0005
LOOP
0
05
06
07
08
09
10
RMT
****
***
***
10 : 10 : 40
PRGRM
DIR
SCHDUL
(OPRT)
Screen No.5
Explanations
D Specifying no file
If no file number is specified on screen No. 4 (the file number field is left
number
blank), program execution is stopped at that point. To leave the file
number field blank, press numeric key
0
then
INPUT
D Endless repetition
If a negative value is set as the number of repetitions, <LOOP> is
displayed, and the file is repeated indefinitely.
D Clear
When the [(OPRT)], [CLEAR], and [EXEC] soft keys are pressed on
screen No. 4, all data is cleared. However, these keys do not function
while a file is being executed.
D Return to the program
When the soft key [PRGRM] is pressed on screen No. 1, 2, 3, 4, or 5, the
screen
program screen is displayed.
Restrictions
D Number of repetitions
Up to 9999 can be specified as the number of repetitions. If 0 is set for a
file, the file becomes invalid and is not executed.
D Number of files
By pressing the page key on screen No. 4, up to 20 files can be registered.
registered
D M code
When M codes other than M02 and M30 are executed in a program, the
current number of repetitions is not increased.
812
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
D Displaying the floppy
During the execution of file, the floppy directory display of background
disk directory during file
editing cannot be referenced.
execution
D Restarting automatic
To resume automatic operation after it is suspended for scheduled
operation
operation, press the reset button.
D Scheduling function for
The scheduling function can be used only for a single tool post.
the two-path control
Alarm
Alarm No.
Description
086
An attempt was made to execute a file that was not regis-
tered in the floppy disk.
210
M198 and M099 were executed during scheduled opera-
tion, or M198 was executed during DNC operation.
813
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
4.7
The subprogram call function is provided to call and execute subprogram
SUBPROGRAM CALL
files stored in an external input/output device(Handy File, FLOPPY
FUNCTION (M198)
CASSETTE, FA Card)during memory operation.
When the following block in a program in CNC memory is executed, a
subprogram file in the external input/output device is called:
To use this function, the Floppy Cassette directory display option must
be installed.
Format
1. FS15 tape format
M198 Pffff L∆∆∆∆ ;
Number of repetitions
File number for a file in the I/O device
I/O devices call instruction
2. Other than FS15 tape format
M198 Pfff ∆∆∆∆ ;
File number for a file
in the I/O device
Number of repetitions
I/O devices call instruction
Explanation
The subprogram call function is enabled when parameter No.0102 for the
input/output device is set to 3. When the custom macro option is provided,
either format 1 or 2 can be used. A different M code can be used for a
subprogram call depending on the setting of parameter No.6030. In this
case, M198 is executed as a normal M code. The file number is specified
at address P. If the SBP bit (bit 2) of parameter No.3404 is set to 1, a
program number can be specified. When a file number is specified at
address P, Fxxxx is indicated instead of Oxxxx.
Programs in memory
Program in the external
execution mode
input/output device
N1
;
N2
;
0123
File number
N3 M198 P0003 0123 ;
N4
;
N5
;
: First call/return
: Second call/return
: Third call/return
Fig. 4.7 (a) Program Flow When M198 is Specified
814
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
Restrictions
D Subprogram call
For the two-path control, subprograms in a floppy cassette cannot be
function with two-path
called for the two tool posts at the same time.
control
NOTE
1
When M198 in the program of the file saved in a floppy
cassette is executed, a P/S alarm (No.210) is given. When
a program in the memory of CNC is called and M198 is
executed during execution of a program of the file saved in
a floppy cassette, M198 is changed to an ordinary M-code.
2
When MDI is intervened and M198 is executed after M198
is commanded in the memory mode, M198 is changed to an
ordinary M-code. When the reset operation is done in the
MDI mode after M198 is commanded in the MEMORY
mode, it does not influence on the memory operation and
the operation is continued by restarting it in the MEMORY
mode.
815
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
The movement by manual handle operation can be done by overlapping
4.8
it with the movement by automatic operation in the automatic operation
MANUAL HANDLE
mode.
INTERRUPTION
Tool position during
Z
automaticoperation
Tool position after
handleinterruption
Programmed
depth of cut
X
Depth of cut by
handleinterruption
Fig 4.8 Manual Handle Interruption
D Handle interruption axis selection signals
For the handle interruption axis selection signals, refer to the manual
supplied by the machine tool builder.
During automatic operation, handle interruption is enabled for an axis
if the handle interruption axis selection signal for that axis is on.
Handle interruption is performed by turning the handle of the manual
pulse generator.
WARNING
The travel distance by handle interruption is determined
according to the amount by which the manual pulse
generator is turned and the handle feed magnification (x1,
x10, xM, xN).
Since this movement is not accelerated or decelerated, it is
very dangerous to use a large magnification value for
handle interruption.
The move amount per scale at x1 magnification is 0.001 mm
(metric output) or 0.0001 inch (inch output).
NOTE
Handle interruption is disabled when the machine is locked
during automatic operation.
816
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
Explanations
D Relation with other
The following table indicates the relation between other functions and the
functions
movement by handle interrupt.
Display
Relation
Machine lock
Machine lock is effective. The tool does not move
even when this signal turns on.
Interlock
Interlock is effective. The tool does not move even
when this signal turns on.
Mirror image
Mirror image is not effective. Interrupt functions on
the plus direction by plus direction command, even if
this signal turns on.
D Position display
The following table shows the relation between various position display
data and the movement by handle interrupt.
Display
Relation
Absolute
Handle interruption does not change absolute
coordinate value
coordinates.
Relative
Handle interruption does not change relative
coordinate value
coordinates.
Machine
Machine coordinates are changed by the travel
coordinate value
distance specified by handle interruption.
D Travel distance display
Press the function key
POS
, then press the chapter selection soft key
[HNDL].
The move amount by the handle interrupt is displayed. The following 4
kinds of data are displayed concurrently.
HANDLE INTERRUPTION
O0000 N02000
(INPUT UNIT)
(OUTPUT UNIT)
X
69.594
X
69.594
Y
137.783
Y
137.783
Z
-61.439
Z
-61.439
(RELATIVE)
(DISTANCE TO GO)
X
0.000
X
0.000
Y
0.000
Y
0.000
Z
0.000
Z
0.000
PART COUNT 287
RUN TIME
1H 12M CYCLE TIME 0H 0M 0S
MDI
****
***
***
10 : 29 : 51
ABS
REL
ALL
HNDL
(OPRT)
817
OPERATION
4. AUTOMATIC OPERATION
B-63534EN/02
(a) INPUT UNIT
: Handle interrupt move amount in input unit
system
Indicates the travel distance specified by handle
interruption according to the least input
increment.
(b) OUTPUT UNI : Handle interrupt move amount in output unit
system
Indicates the travel distance specified by handle
interruption according to the least command
increment.
(c) RELATIVE
: Position in relative coordinate system
These values have no effect on the travel distance
specified by handle interruption.
(d) DISTANCE TO GO
: The remaining travel distance in the current
block has no effect on the travel distance
specified by handle interruption.
The handle interrupt move amount is cleared when the manual reference
position return ends every axis.
D Display for five-axis
Systems having five or more axes provide the same display as the overall
systems or better
position display. See III-11.1.3.
818
OPERATION
B-63534EN/02
4. AUTOMATIC OPERATION
4.9
During automatic operation, the mirror image function can be used for
MIRROR IMAGE
movement along an axis. To use this function, set the mirror image switch
to ON on the machine operator’s panel, or set the mirror image setting to
ON from the MDI panel.
Y Y-axis mirror image goes on.
Programmed tool path
Tool path after the mirror
image function is used
Tool
X
Fig 4.9 Mirror Image
Procedure
The following procedure is given as an example. For actual operation,
refer to the manual supplied by the machine tool builder.
1
Press the single block switch to stop automatic operation. When the
mirror image function is used from the begining of operation, this step
is omitted.
2
Press the mirror image switch for the target axis on the machine
operator’s panel.
Alternatively, turn on the mirror image setting by following the steps
below:
2-1 Set the MDI mode.
OFFSET
2-2 Press the
SETTING
function key.
2-3 Press the [SETING] soft key for chapter selection to display the
setting screen.
SETTING (MIRROR IMAGE)
O0020 N00001
MIRROR IMAGE X =
1
(0 : OFF 1 : ON)
MIRROR IMAGE Y = 0 (0 : OFF 1 : ON)
MIRROR IMAGE Z = 0 (0 : OFF 1 : OM)
>_
MEM * * * *
***
***
14 : 47 : 57
OFFSET
SETING
WORK
(OPRT)
819

 

 

 

 

 

 

 

Content      ..     26      27      28      29     ..