FANUC Series 0i-MC. OPERATOR’S MANUAL - page 22

 

  Index      Manuals     FANUC Series 0i-MC. OPERATOR’S MANUAL (B-64124EN/01)

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     20      21      22      23     ..

 

 

 

FANUC Series 0i-MC. OPERATOR’S MANUAL - page 22

 

 

B-64124EN/01
OPERATION
9. EDITING PROGRAMS
9.6.3
A new program can be created by moving part of a program.
Moving Part of a
Before copy
After copy
Program
Oxxxx
Oxxxx
Oyyyy
A
Copy
A
B
C
B
C
Fig. 9.6.3 Moving part of a program
In Fig. 9.6.3, part B of the program with program number xxxx is moved
to a newly created program with program number yyyy; part B is deleted
from the program with program number xxxx.
Procedure for moving part of a program
1
Perform steps 1 to 5 in III-9.6.1.
2
Check that the screen for the program to be moved is selected and
MOVE
press soft key [MOVE].
3
Move the cursor to the start of the range to be moved and press soft
CRSR
key [CRSR
].
4
Move the cursor to the end of the range to be moved and press soft key
[ CRSR] or [ BTTM](in the latter case, the range to the end of the
CRSR
BTTM
program is copied regardless of the position of the cursor).
5
Enter the number of the new program (with only numeric keys) and
press the
INPUT
key.
Numeric
keys
0
9
6
Press soft key [EXEC].
EXEC
613
9. EDITING PROGRAMS
OPERATION
B-64124EN/01
9.6.4
Another program can be inserted at an arbitrary position in the current
program.
Merging a Program
Before merge
After merge
Oxxxx
Oyyyy
Oxxxx
Oyyyy
A
B
Merge
A
B
C
B
Merge
location
C
Fig. 9.6.4 Merging a program at a specified location
In Fig. 9.6.4, the program with program number XXXX is merged with the
program with program number YYYY. The OYYYY program remains
unchanged after merge operation.
Procedure for merging a program
1
Perform steps 1 to 5 in III-9.6.1.
2
Check that the screen for the program to be edited is selected and press
MERGE
soft key [MERGE].
3
Move the cursor to the position at which another program is to be
inserted and press soft key [
’CRSR] or [ BTTM’](in the latter case,
the end of the current program is displayed).
’CRSR
BTTM’
4
Enter the number of the program to be inserted (with only numeric
keys) and press the
INPUT
key.
5
Press soft key [EXEC].
Numeric keys
0
9
The program with the number specified in step 4 is inserted before the
cursor positioned in step 3.
EXEC
614
B-64124EN/01
OPERATION
9. EDITING PROGRAMS
9.6.5
Supplementary
Explanation for
Copying, Moving
and Merging
Explanations
D Setting an editing range
The setting of an editing range start point with [CRSR
] can be changed
freely until an editing range end point is set with [ CRSR] or [ BTTM].
If an editing range start point is set after an editing range end point, the
editing range must be reset starting with a start point.
The setting of an editing range start point and end point remains valid until
an operation is performed to invalidate the setting.
One of the following operations invalidates a setting:
An edit operation other than address search, word search/scan, and
search for the start of a program is performed after a start point or end
point is set.
Processing is returned to operation selection after a start point or end
point is set.
D Without specifying a
In copying program and moving program, if [EXEC] is pressed without
program number
specifying a program number after an editing range end point is set, a
program with program number O0000 is registered as a work program.
This O0000 program has the following features:
The program can be edited in the same way as a general program.
(Do not run the program.)
If a copy or move operation is newly performed, the previous
information is deleted at execution time, and newly set information
(all or part of the program) is reregistered.
(In merge operation, the
previous information is not deleted.) However, the program, when
selected for foreground operation, cannot be reregistered in the
background. (A BP/S alarm No. 140 is raised.) When the program is
reregistered, a free area is produced. Delete such a free area with the
RESET
key.
When the program becomes unnecessary, delete the program by a
normal editing operation.
D Editing when the system
When the system is waiting for a program number to be entered,
waiting for a program
no edit operation can be performed.
number to be entered
Limitations
D Number of digits for
If a program number is specified by 5 or more digits, a format error is
program number
generated.
615
9. EDITING PROGRAMS
OPERATION
B-64124EN/01
Alarm
Alarm no.
Contents
Memory became insufficient while copying or inserting
70
a program. Copy or insertion is terminated.
The power was interrupted during copying, moving, or
inserting a program and memory used for editing must
be cleared. When this alarm occurs, press the key
RESET
101
while pressing function key
PROG
Only the program being edited is deleted.
616
B-64124EN/01
OPERATION
9. EDITING PROGRAMS
9.6.6
Replace one or more specified words.
Replacement can be applied to all occurrences or just one occurrence of
Replacement of
specified words or addresses in the program.
Words and Addresses
Procedure for hange of words or addresses
1
Perform steps 1 to 5 in III-9.6.1.
2
Press soft key [CHANGE].
CHANGE
3
Enter the word or address to be replaced.
BEFORE
4
Press soft key [BEFORE].
5
Enter the new word or address.
AFTER
6
Press soft key [AFTER].
SKIP
1-EXEC
EXEC
7
Press soft key [EXEC] to replace all the specified words or addresses
after the cursor.
Press soft key [1-EXEC] to search for and replace the first occurrence
of the specified word or adress after the cursor.
Press soft key [SKIP] to only search for the first occurrence of the
specified word or address after the cursor.
Examples
D Replace X100 with Y200
[CHANGE]
X
1
0
0
[BEFORE]
Y
2
0
0
[AFTER][EXEC]
D Replace X100Y200 with
[CHANGE]
X
1
0
0
Y
2
0
0
[BEFORE]
X30
X
3
0
[AFTER][EXEC]
D Replace IF with WHILE
[CHANGE]
I
F
[BEFORE]
W
H
I
L
E
[AFTER]
[EXEC]
D Replace X with ,C10
[CHANGE]
[BEFORE]
,
[AFTER][EXEC]
X
C
1
0
617
9. EDITING PROGRAMS
OPERATION
B-64124EN/01
Explanation
D Replacing custom
The following custom macro words are replaceable:
macros
IF, WHILE, GOTO, END, DO, BPRNT, DPRINT, POPEN, PCLOS
The abbreviations of custom macro words can be specified.
When abbreviations are used, however, the screen displays the
abbreviations as they are key input, even after soft key [BEFORE] and
[AFTER] are pressed.
Restrictions
D The number of
Up to 15 characters can be specified for words before or after replacement.
characters for
(Sixteen or more characters cannot be specified.)
replacement
D The characters for
Words before or after replacement must start with a character representing
replacement
an address.(A format error occurs.)
618
B-64124EN/01
OPERATION
9. EDITING PROGRAMS
Unlike ordinary programs, custom macro programs are modified,
9.7
inserted, or deleted based on editing units.
EDITING OF
Custom macro words can be entered in abbreviated form.
CUSTOM MACROS
Comments can be entered in a program.
Refer to the III-10.1 for the comments of a program.
Explanations
D Editing unit
When editing a custom macro already entered, the user can move the
cursor to each editing unit that starts with any of the following characters
and symbols:
(a) Address
(b) # located at the start of the left side of a substitution statement
(c) /, (,=, and ;
(d) First character of IF, WHILE, GOTO, END, DO, POPEN, BPRNT,
DPRNT and PCLOS
On the CRT screen, a blank is placed before each of the above characters
and symbols.
(Example) Head positions where the cursor is placed
N001 X-#100 ;
#1 =123 ;
N002 /2 X[12/#3] ;
N003 X-SQRT[#3/3:[#4+1]] ;
N004 X-#2 Z#1 ;
N005 #5 =1+2-#10 ;
IF[#1NE0] GOTO10 ;
WHILE[#2LE5] DO1 ;
#[200+#2] =#2:10 ;
#2 =#2+1 ;
END1 ;
D Abbreviations of custom
When a custom macro word is altered or inserted, the first two characters
macro word
or more can replace the entire word.
Namely,
WHILE WH GOTO GO XOR XO
AND AN
SIN SI
ASIN AS
COS CO
ACOS AC
TAN TA
ATAN AT
SQRT SQ
ABS AB
BCD BC
BIN BI
FIX FI
FUP FU
ROUND RO
END EN
EXP EX
THEN TH
POPEN PO
BPRNT BP
DPRNT DP
PCLOS PC
(Example) Keying in
WH [AB [#2 ] LE RO [#3 ] ]
has the same effect as
WHILE [ABS [#2 ] LE ROUND [#3 ] ]
The program is also displayed in this way.
619
9. EDITING PROGRAMS
OPERATION
B-64124EN/01
Editing a program while executing another program is called background
9.8
editing. The method of editing is the same as for ordinary editing
BACKGROUND
(foreground editing).
EDITING
A program edited in the background should be registered in foreground
program memory by performing the following operation:
During background editing, all programs cannot be deleted at once.
Procedure for background editing
1
Enter EDIT or MEMORY mode.
Memory mode is allowed even while the program is being executed.
2
Press function key
PROG
3
Press soft key [(OPRT)], then press soft key [BG-EDT].
The background editing screen is displayed
(PROGRAM
(BG-EDIT) is displayed at the top left of the screen).
4
Edit a program on the background editing screen in the same way as
for ordinary program editing.
5
After editing is completed, press soft key [(OPRT)], then press soft
key [BG-EDT]. The edited program is registered in foreground
program memory.
Explanation
D Alarms during
Alarms that may occur during background editing do not affect
background editing
foreground operation. Conversely, alarms that may occur during
foreground operation do not affect background editing. In background
editing, if an attempt is made to edit a program selected for foreground
operation, a BP/S alarm (No. 140) is raised. On the other hand, if an
attempt is made to select a program subjected to background editing
during foreground operation (by means of subprogram calling or program
number search operation using an external signal), a P/S alarm (Nos. 059,
078) is raised in foreground operation. As with foreground program
editing, P/S alarms occur in background editing. However, to distinguish
these alarms from foreground alarms, BP/S is displayed in the data input
line on the background editing screen.
620
B-64124EN/01
OPERATION
9. EDITING PROGRAMS
The password function (bit 4 (NE9) of parameter No. 3202) can be locked
9.9
using parameter No.
3210
(PASSWD) and parameter No.
3211
PASSWORD
(KEYWD) to protect program Nos. 9000 to 9999. In the locked state,
FUNCTION
parameter NE9 cannot be set to 0. In this state, program Nos. 9000 to 9999
cannot be modified unless the correct keyword is set.
A locked state means that the value set in the parameter PASSWD differs
from the value set in the parameter KEYWD. The values set in these
parameters are not displayed. The locked state is released when the value
already set in the parameter PASSWD is also set in parameter KEYWD.
When 0 is displayed in parameter PASSWD, parameter PASSWD is not
set.
Procedure for locking and unlocking
Locking
1
Set the MDI mode.
2
Enable parameter writing. At this time, P/S alarm No. 100 is issued
on the CNC.
3
Set parameter No. 3210 (PASSWD). At this time, the locked state is
set.
4
Disable parameter writing.
5
Press the
RESET
key to release the alarm state.
Unlocking
1
Set the MDI mode.
2
Enable parameter writing. At this time, P/S alarm No. 100 is issued
on the CNC.
3
In parameter No. 3211 (KEYWD), set the same value as set in
parameter No. 3210 (PASSWD) for locking. At this time, the locked
state is released.
4
Set bit 4 (NE9) of parameter No. 3202 to 0.
5
Disable parameter writing.
6
Press the
RESET
key to release the alarm state.
7
Subprograms from program Nos. 9000 to 9999 can now be edited.
Explanations
D Setting parameter
The locked state is set when a value is set in the parameter PASSWD.
PASSWD
However, note that parameter PASSWD can be set only when the locked
state is not set (when PASSWD = 0, or PASSWD = KEYWD). If an
attempt is made to set parameter PASSWD in other cases, a warning is
given to indicate that writing is disabled. When the locked state is set
(when PASSWD = 0 and PASSWD = KEYWD), parameter NE9 is
automatically set to 1. If an attempt is made to set NE9 to 0, a warning
is given to indicate that writing is disabled.
D Changing parameter
Parameter PASSWD can be changed when the locked state is released
PASSWD
(when PASSWD = 0, or PASSWD = KEYWD). After step 3 in the
procedure for unlocking, a new value can be set in the parameter
PASSWD. From that time on, this new value must be set in parameter
KEYWD to release the locked state.
621
9. EDITING PROGRAMS
OPERATION
B-64124EN/01
D Setting 0 in parameter
When 0 is set in the parameter PASSWD, the number 0 is displayed, and
PASSWD
the password function is disabled. In other words, the password function
can be disabled by either not setting parameter PASSWD at all, or by
setting
0 in parameter PASSWD after step 3 of the procedure for
unlocking. To ensure that the locked state is not entered, care must be
taken not to set a value other than 0 in parameter PASSWD.
D Re-locking
After the locked state has been released, it can be set again by setting a
different value in parameter PASSWD, or by turning the power to the NC
off then on again to reset parameter KEYWD.
CAUTION
Once the locked state is set, parameter NE9 cannot be set
to 0 and parameter PASSWD cannot be changed until the
locked state is released or the memory all-clear operation
is performed. Special care must be taken in setting
parameter PASSWD.
622
B-64124EN/01
OPERATION
10. CREATING PROGRAMS
CREATING PROGRAMS
10
Programs can be created using any of the following methods:
CREATING PROGRAMS USING THE MDI PANEL
PROGRAMMING IN TEACH IN MODE
CONVERSATIONAL AUTOMATIC PROGRAMMING FUNCTION
MANUAL GUIDE 0i
AUTOMATIC PROGRAM PREPARATION DEVICE (FANUC
SYSTEM P)
This chapter describes creating programs using the MDI panel, Teach IN
mode, and conversational programming with graphic function. This
chapter also describes the automatic insertion of sequence numbers.
623
10. CREATING PROGRAMS
OPERATION
B-64124EN/01
Programs can be created in the EDIT mode using the program editing
10.1
functions described in III-9.
CREATING
PROGRAMS USING
THE MDI PANEL
Procedure for Creating Programs Using the MDI Panel
Procedure
1
Enter the EDIT mode.
2
Press the
PROG
key.
3
Press address key
O
and enter the program number.
4
Press the
INSERT
key.
5
Create a program using the program editing functions described in
III-9.
Explanation
D Comments in a program
Comments can be written in a program using the control in/out codes.
Example) O0001 (FANUC SERIES 16) ;
M08 (COOLANT ON) ;
S When the
INSERT
key is pressed after the control-out code
“(”,
comments, and control-in code “)” have been typed, the typed
comments are registered.
S When the
INSERT
key is pressed midway through comments, to enter
the rest of comments later, the data typed before the
INSERT
key is
pressed may not be correctly registered (not entered, modified, or lost)
because the data is subject to an entry check which is performed in
normal editing.
Note the following to enter a comment:
S Control-in code “)” cannot be registered by itself.
S Comments entered after the
INSERT
key is pressed must not begin with
a number, space, or address O.
S If an abbreviation for a macro is entered, the abbreviation is converted
into a macro word and registered (see Section 9.7).
S Address O and subsequent numbers, or a space can be entered but are
omitted when registered.
624
B-64124EN/01
OPERATION
10. CREATING PROGRAMS
Sequence numbers can be automatically inserted in each block when a
10.2
program is created using the MDI keys in the EDIT mode.
AUTOMATIC
Set the increment for sequence numbers in parameter 3216.
INSERTION OF
SEQUENCE
NUMBERS
Procedure for automatic insertion of sequence numbers
Procedure
1
Set 1 for SEQUENCE NO. (see III-11.4.3).
2
Enter the EDIT mode.
3
Press
PROG
to display the program screen.
4
Search for or register the number of a program to be edited and move
the cursor to the EOB (;) of the block after which automatic insertion
of sequence numbers is started.
When a program number is registered and an EOB (;) is entered with
the
INSERT
key, sequence numbers are automatically inserted starting
with 0. Change the initial value, if required, according to step 10, then
skip to step 7.
5
Press address key
N
and enter the initial value of N.
6
Press
INSERT
7
Enter each word of a block.
8
Press
EOB
625
10. CREATING PROGRAMS
OPERATION
B-64124EN/01
9
Press
INSERT
. The EOB is registered in memory and sequence numbers
are automatically inserted. For example, if the initial value of N is 10
and the parameter for the increment is set to 2, N12 inserted and
displayed below the line where a new block is specified.
PROGRAM
O0040 N00012
O0040 ;
N10 G92 X0 Y0 Z0 ;
N12
%
_
EDIT
* * * *
* * *
* * *
13 : 18 : 08
PRGRM
LIB
C.A.P
(OPRT)
10
S In the example above, if N12 is not necessary in the next block,
pressing the
DELETE
key after N12 is displayed deletes N12.
S To insert N100 in the next block instead of N12, enter N100 and
press
ALTER
after N12 is displayed. N100 is registered and initial
value is changed to 100.
626
B-64124EN/01
OPERATION
10. CREATING PROGRAMS
The TEACH IN JOG mode and TEACH IN HANDLE mode are added. In
10.3
these modes, a machine position along the X, Y, and Z axes obtained by
CREATING
manual operation is stored in memory as a program position to create a
PROGRAMS IN
program.
The words other than X, Y, and Z, which include O, N, G, R, F, C, M, S,
TEACH IN MODE
T, P, Q, and EOB, can be stored in memory in the same way as in EDIT
(PLAYBACK)
mode.
Procedure for Creating Programs in TEACH IN Mode
Procedure
The procedure described below can be used to store a machine position
along the X, Y, and Z axes.
1
Select the TEACH IN JOG mode or TEACH IN HANDLE mode.
2
Move the tool to the desired position with jog or handle.
3
Press
PROG
key to display the program screen. Search for or register
the number of a program to be edited and move the cursor to the
position where the machine position along each axis is to be
registered (inserted).
4
Key in address
X
5
Press the
INSERT
key. Then a machine position along the X axis is
stored in memory.
(Example) X10.521 Absolute positon (for mm input)
X10521
Data stored in memory
6
Similarly, key in
, then press the
INSERT
key. Then a machine
Y
position along the Y axis is stored in memory. Further, key in
Z
,
then press the
INSERT
key. Then a machine position along the Z axis is
stored in memory.
All coordinates stored using this method are absolute coordinates.
Examples
O1234 ;
N1 G92 X10000 Y0 Z10000 ;
N2 G00 G90 X3025 Y23723 ;
N3 G01 Z-325 F300 ;
Z
N4 M02 ;
P1
(3.025, 23.723, 10.0)
P0
Y
(10.0, 0, 10.0)
X
(3.025, 23.723, -0.325)
P2
627
10. CREATING PROGRAMS
OPERATION
B-64124EN/01
1
Set the setting data SEQUENCE NO. to 1 (on). (The incremental value
parameter (No. 3216) is assumed to be “1”.)
2
Select the TEACH IN HANDLE mode.
3
Make positioning at position P0 by the manual pulse generator.
4
Select the program screen.
5
Enter program number O1234 as follows:
O
1
2
3
4
INSERT
This operation registers program number O1234 in memory.
Next, press the following keys:
EOB
INSERT
An EOB (;) is entered after program number O1234. Because no
number is specified after N, sequence numbers are automatically
inserted for N0 and the first block (N1) is registered in memory.
6
Enter the P0 machine position for data of the first block as follows:
G
9
2
INSERT
X
INSERT
Y
INSERT
Z
INSERT
EOB
INSERT
This operation registers G92X10000Y0Z10000; in memory. The
automatic sequence number insertion function registers N2 of the
second block in memory.
7
Position the tool at P1 with the manual pulse generator.
8
Enter the P1 machine position for data of the second block as follows:
G
0
0
INSERT
G
9
0
X
INSERT
Y
INSERT
EOB
INSERT
This operation registers G00G90X3025Z23723; in memory. The
automatic sequence number insertion function registers N3 of the third
block in memory.
9
Position the tool at P2 with the manual pulse generator.
10
Enter the P2 machine position for data of the third block as follows:
G
0
1
INSERT
Z
INSERT
F
3
0
0
INSERT
EOB
INSERT
This operation registers G01Z -325F300; in memory.
The automatic sequence number insertion function registers N4 of the
fourth block in memory.
11
Register M02; in memory as follows:
INSERT
EOB
INSERT
M
0
2
N5 indicating the fifth block is stored in memory using the automatic
sequence number insertion function. Press the
DELETE
key to delete it.
This completes the registration of the sample program.
628
B-64124EN/01
OPERATION
10. CREATING PROGRAMS
Explanations
D Checking contents of the
The contents of memory can be checked in the TEACH IN mode by using
memory
the same procedure as in EDIT mode.
PROGRAM
O1234 N00004
(RELATIVE)
(ABSOLUTE)
X
-6.975
X
3.025
Y
23.723
Y
23.723
Z
-10.325
Z
-0.325
O1234 ;
N1 G92 X10000 Y0 Z10000 ;
N2 G00 G90 X3025 Y23723 ;
N3 G01 Z-325 F300 ;
N4 M02
;
%
_
THND
* * * *
* * *
* * *
14 : 17 : 27
PRGRM
LIB
(OPRT)
D Registering a position
When a value is keyed in after keying in address
X
,
Y
, or
Z
,
with compensation
then the
INSERT
key is pressed, the value keyed in for a machine position
is added for registration. This operation is useful to correct a machine
position by key-in operation.
D Registering commands
Commands to be entered before and after a machine position must be
other than position
entered before and after the machine position is registered, by using the
commands
same operation as program editing in EDIT mode.
629
10. CREATING PROGRAMS
OPERATION
B-64124EN/01
Programs can be created block after block on the conversational screen
10.4
while displaying the G code menu.
CONVERSATIONAL
Blocks in a program can be modified, inserted, or deleted using the G code
PROGRAMMING
menu and conversational screen.
WITH GRAPHIC
FUNCTION
Procedure for Conversational Programming with Graphic Function
Procedure 1
1
Enter the EDIT mode.
Creating a program
2
Press
PROG
. If no program is registered, the following screen is
displayed. If a program is registered, the program currently selected
is displayed.
PROGRAM
O0000 N0000
_
EDIT
* * * *
* * *
* * *
11 : 59 : 46
PRGRM
DIR
C.A.P
(OPRT)
3
Key in the program number of a program to be registered after keying
in address O, then press
INSERT
. For example, when a program with
program number 10 is to be registered, key in
O
1
0
, then
press
INSERT
. This registers a new program O0010.
630
B-64124EN/01
OPERATION
10. CREATING PROGRAMS
4
Press the [C.A.P] soft key. The following G code menu is displayed
on the screen.
If soft keys different from those shown in step 2 are displayed, press
the menu return key
to display the correct soft keys.
PROGRAM
O1234 N00004
G00
: POSITIONING
G01
: LINEAR IPL
G02
: CIRCULAR IPL. CW
G03
: CIRCULAR IPL. CCW
G04
: DWELL
G09
: EXACT STOP CHECK
G10
: OFFSET&TLC VALUE SETTING (0)
G17
: XY PLANE
G18
: ZX PLANE
G19
: YZ PLANE
G20
: INCH
G21
: METRIC
_
EDIT
* * * *
* * *
* * *
14 : 26 : 15
PRGRM
G.MENU
BLOCK
5
Key in the G code corresponding to a function to be programmed.
When the positioning function is desired, for example, the G code
menu lists the function with the G code G00. So key in G00. If the
screen does not indicate a function to be programmed, press the page
key PAGE
to display the next G code menu screen. Repeat this
operation until a desired function appears. If a desired function is not
a G code, key in no data.
6
Press the soft key [BLOCK] to display a detailed screen for a keyed in
G code. The figure below shows an example of detailed screen for
G00.
PROGRAM
O1234 N00000
G00 : POSITIONING
G00
G G G
X
100. Y
50.0
Z
(X, Y, Z, )
H
OFFSET NO.
M
S
T
B
:
EDIT
* * * *
* * *
* * *
14 : 32 : 57
PRGRM
G.MENU
BLOCK
(OPRT)
631
10. CREATING PROGRAMS
OPERATION
B-64124EN/01
When no keys are pressed, the standard details screen is displayed.
PROGRAM
O0010 N00000
G
G G G
X
Y
Z
H
F
R
M
S
T
B
I
J
K
P
Q
L
:
EDIT
* * * *
* * *
* * *
14 : 41 : 10
PRGRM
G.MENU
BLOCK
(OPRT)
7
Move the cursor to the block to be modified on the program screen.
At this time, a data address with the cursor blinks.
8
Enter numeric data by pressing the numeric keys and press the
[INPUT] soft key or
INPUT
key. This completes the input of one data
item.
9
Repeat this operation until all data required for the entered G code is
entered.
10
Press the
INSERT
key. This completes the registration of data of one
block in program memory. On the screen, the G code menu screen is
displayed, allowing the user to enter data for another block. Repeat
the procedure starting with 5 as required.
11
After registering all programs, press the [PRGRM] soft key. The
registered programs are converted to the converssational format and
displayed.
12
Press the
RESET
key to return to the program head.
Procedure 2
1
Move the cursor to the block to be modified on the program screen
Modifying a block
and press the [C.A.P] soft key. Or, press the [C.A.P] soft key first to
display the conversational screen, then press the PAGE
or
page
PAGE
key until the block to be modified is displayed.
2
When data other than a G code is to be altered, just move the cursor to
the data and key in a desired value, then press the [INPUT] soft key or
INPUT
key.
3
When a G code is to be altered, press the menu return key
and the
soft key [G.MENU]. Then the G code menu appears. Select a desired
G code, then key in the value. For example, to specify a cutting feed,
since the G code menu indicates G01, key in G01. Then press the soft
key [BLOCK]. The detailed screen of the G code is displayed, so enter
the data.
632
B-64124EN/01
OPERATION
10. CREATING PROGRAMS
4
After data is changed completely, press the
ALTER
key. This operation
replaces an entire block of a program.
Procedure 3
1
On the conversational screen, display the block immediately before a
Inserting a block
new block is to be inserted, by using the page keys. On the program
screen, move the cursor with the page keys and cursor keys to
immediately before the point where a new block is to be inserted.
2
Press the soft key [G.MENU] to display the G code menu. Then enter
new block data.
3
When input of one block of data is completed in step 2, press the
INSERT
key. This operation inserts a block of data.
Procedure 4
1
On the conversational screen, display the contents of a block to be
Deleting a block
deleted, then press the
DELETE
key.
2
The contents of the block displayed are deleted from program
memory. Then the contents of the next block are displayed on the
conversational screen.
633
11. SETTING AND DISPLAYING DATA
OPERATION
B-64124EN/01
SETTING AND DISPLAYING DATA
11
General
To operate a CNC machine tool, various data must be set on the MDI panel
for the CNC. The operator can monitor the state of operation with data
displayed during operation.
This chapter describes how to display and set data for each function.
Explanations
Screen transition chart
The screen transition for when each function key on the MDI panel is
pressed is shown below. The subsections referenced for each screen are
OFFSET
also shown. See the appropriate subsection for details of each screen and
HELP
POS
PROG
SETTING
the setting procedure on the screen. See other chapters for screens not
CUSTOM
described in this chapter.
SYSTEM
MESSAGE
GRAPH
See Chapter 7 for the screen that appears when function key
MESSAGE
is
MDI function keys
pressed. See Chapter 12 for the screen that appears when function key
(Shaded keys (
) are described
in this chapter.)
CUSTOM
GRAPH
is pressed. See Chapter 13 for the screen that appears when function
key
HELP
is pressed. Refer to the manual issued by the machine tool
CUSTOM
builder for the screen that appears when function key
GRAPH
is pressed.
D Data protection key
The machine may have a data protection key to protect part programs,
tool compensation values, setting data, and custom macro variables.
Refer to the manual issued by the machine tool builder for where the data
protection key is located and how to use it.
634
B-64124EN/01
OPERATION
11. SETTING AND DISPLAYING DATA
POSITION DISPLAY SCREEN
Screen transition triggered by the function key
POS
POS
Current position screen
ABS
REL
ALL
HNDL
(OPRT)
Position display of
Position displays
Total position display
Manual handle
work coordinate
relative coordinate
of each coordinate
interruption
system
system
system
⇒See III-4.7.
⇒ See III-11.1.3.
⇒ See III-11.1.1.
⇒ See III-11.1.2.
Display of part
Display of part
Display of part
count and run
count and run
count and run
time
time
time
⇒ See III-11.1.6.
⇒ See III-11.1.6.
⇒ See III-11.1.6.
Display of actual
Display of actual
Display of actual
speed
speed
speed
⇒ See III-11.1.5.
⇒ See III-11.1.5.
⇒ See III-11.1.5.
Setting of relative
Setting of relative
coordinate values
coordinate values
⇒ See III-11.1.2.
⇒ See III-11.1.2.
Current position screen
MONI
(OPRT)
Display of operĆ
ating monitor
⇒See III-11.1.7.
635
11. SETTING AND DISPLAYING DATA
OPERATION
B-64124EN/01
PROGRAM SCREEN
Screen transition triggered by the function key
PROG
in the MEMORY or MDI mode
1/2
PROG
Program screen
*: Displayed in MDI mode
MDI
MDI
MEM
PRGRM
CHECK
CURRNT
NEXT
(OPRT)
[MDI] *
Display of proĆ
Display of current
Display of current
gram contents
block and modal
block and next
data
block
⇒See III-11.2.1.
⇒See III-11.2.2.
⇒See III-11.2.3.
Display of proĆ
gram number and
sequence number
⇒See III-11.6.1.
[ABS]
[REL]
Command
for MDI operation
Program being executed
Program being executed
⇒See III-11.2.5.
Absolute coordinate value
Relative coordinate value
Distance to go
Distance to go
Modal values
Modal values
(Displayed in the
⇒See III-11.2.4.
⇒See III-11.2.4.
MDI mode)
1*
1*
To next page
To next page
636
B-64124EN/01
OPERATION
11. SETTING AND DISPLAYING DATA
2/2
1*
1*
Program screen
MDI
MEM
RSTR
DIR
(OPRT)
Program restart
Display of program
memory and proĆ
screen
gram directory
⇒See III-4.4.
⇒See III-11.3.1.
Program screen
MEM
FL.SDL
(OPRT)
[PRGRM]
[DIR]
[SCHDUL]
Display of file
Setting of
directory
schedule
⇒See III-4.5.
⇒See III-4.5.
637
11. SETTING AND DISPLAYING DATA
OPERATION
B-64124EN/01
Screen transition triggered by the function key
PROG
PROGRAM SCREEN
in the EDIT mode
PROG
Program screen
EDIT
PRGRM
LIB
C.A.P.
(OPRT)
Program editing
Program memory
Conversational
screen
and program diĆ
programming
⇒ See III-9
rectory
screen
⇒ See III-11.3.1.
⇒See III-10.4
Program screen
EDIT
FLOPPY
(OPRT)
File directory
screen for
floppy disks
⇒ See III-8.8
638
B-64124EN/01
OPERATION
11. SETTING AND DISPLAYING DATA
OFFSET
OFFSET/SETTING SCREEN
Screen transition triggered by the function key
SETTING
OFFSET
SETTING
Tool offset value
OFFSET
SETTING
WORK
(OPRT)
Display of tool
Display of setĆ
Display of workĆ
piece coordinate
offset value
ting data
system
⇒ See III-11.4.1.
⇒ See III-11.4.3
⇒ See III-11.4.6
Setting of tool
Parameter setting
Setting of work
⇒ See III-11.4.3.
offset data
origin offset value
⇒ See III-11.4.1.
Setting sequence
⇒ See III-11.4.6.
number comparison
Tool length
and stop
⇒ See III-11.4.4.
measurement
⇒ See III-11.4.2.
Setting run time and
parts count
⇒ See III-11.4.5.
Setting the number of parts required
⇒ See III-11.4.5.
Displaying setĆ
ting time
⇒ See III-11.4.5.
Tool offset value
MACRO
MENU
OPR
TOOLLF
(OPRT)
Displaying pattern
Displaying software
Displaying tool life
Display of
operator's panel
management data
menu
macro variables
åSee subsec. 11.4.10.
åSee subsec.
åSee subsec. 11.4.9.
åSee subsec. 11.4.8.
11.4.11.
Setting macro
Displaying pattern
Software operator's
Presetting tool life counter
variables
data
panel switch
Clearing executing data
åSee subsec. 11.4.11.
åSee subsec. 11.4.8.
åSee subsec. 11.4.9.
åSee subsec. 11.4.10.
Displaying extended tool life management data
åSee subsec. 11.4.12.
Editing extended tool life management data
åSee subsec. 11.4.12.
639
11. SETTING AND DISPLAYING DATA
OPERATION
B-64124EN/01
SYSTEM SCREEN
Screen transition triggered by the function key
SYSTEM
SYSTEM
Parameter screen
PARAM
DGNOS
PMC
SYSTEM
(OPRT)
Display of
Display of
diagnosis
parameter screen
screen
⇒ See III-11.5.1
⇒ See III-7.3
Setting of parameter
⇒ See III-11.5.1
Parameter screen
PITCH
SV.PRM
SP.PRM
(OPRT)
Display of pitch
error data
⇒ See III-11.5.2.
640
B-64124EN/01
OPERATION
11. SETTING AND DISPLAYING DATA
D Setting screens
The table below lists the data set on each screen.
Table.11. Setting screens and data on them
Reference
No.
Setting screen
Contents of setting
item
1
Tool offset value
Tool offset value
III-11.4.1
Tool length offset value
Cutter compensation value
Tool length measurement
III-11.4.2
2
Setting data(handy)
Parameter write
III-11.4.3
TV check
Punch code
Input unit (mm/inch)
I/O channel
Automatic insert of Sequence No.
Conversion of tape format (F10/11)
Sequence number comparison and stop
III-11.4.4
3
Setting data (mirror image)
Mirror image
III-11.4.3
4
Setting data (timer)
Parts required
III-11.4.5
5
Macro variables
Custom macro common variables
III-11.4.8
(#100 to #199)
(#500 to #999)
6
Parameter
Parameter
III-11.5.1
7
Pitch error
Pitch error compensation data
III-11.5.2
8
software operator’s panel
Mode selection
III-11.4.10
Jog feed axis selection
Jog rapid traverse
Axis selection for Manual pulse generator
Multiplication for manual pulse generator
Jog feedrate
Feedrate override
Rapid traverse override
Optional block skip
Single block
Machine lock
Dry run
Protect key
Feed hold
9
Tool life data
Life count
III-11.4.11
(Tool life management)
10
Tool life data
Life count type (cycle or minute)
III-11.4.12
(Extended tool life man-
Life value
agement)
Life counter
Tool number
H code
D code
New tool group
New tool number
Skipping tool
Clearing tool
11
Workpiece coordinate sys-
Workpiece origin offset value
III-11.4.6
tem setting
641
11. SETTING AND DISPLAYING DATA
OPERATION
B-64124EN/01
11.1
POS
Press function key
to display the current position of the tool.
SCREENS
The following three screens are used to display the current position of the
DISPLAYED BY
tool:
Position display screen for the work coordinate system.
POS
FUNCTION KEY
Position display screen for the relative coordinate system.
<POS>
Overall position display screen.
The above screens can also display the feedrate, run time, and the number
of parts. In addition, a floating reference position can be set on these
screens.
Function key
POS
can also be used to display the load on the servo motor
and spindle motor and the rotation speed of the spindle motor (operating
monitor display).
Function key
POS
can also be used to display the screen for displaying
the distance moved by handle interruption. See III- 4.8 for details on this
screen.
642

 

 

 

 

 

 

 

Content      ..     20      21      22      23     ..