Академический Документы
Профессиональный Документы
Культура Документы
. I
FANUC OT TURNING
-. . .
;
OFFLINE
"; "
:: , ..
PROGRANIMING
SYSTEM.
..... ,. ......
': ~
'» •
. ,I
, , .
. "
/
..
This page is left Intentionally blank
I'
INTRODUCTION.
,,
OFFLINE PROGRAMMING 1
-_
.... --------,-------._---
2 OFFLINE PROGRAMMING
'j
INSTRUCTION / INSTALLATION MANUAL
OFFLINE PROGRAMMING 3
This page is intentionally left blank
-.-"
4 OFFLINE PROGRAMMING
1.0 HARDWARE REQUIREMENTS
Serial Port
Parallel Port.
OFFLINE PROGRAMMING 5
This page is intentionally left blank
6 OFFLINE PROGRAMMING
1.1 INSTALLATtON
DRIVERS
Contains files needed when setting up the software for a new
hardware configuration.
IMPORTANT:
OFFLINE PROGRAMMING 7
1.2 RUNNING THE SOFTWARE.
To run the software from Floppy place Disk One into the Drive
INSTALLATIONS.
8 OFFLINE PROGRAMMING
1.3 CONFIGURATION
with a Floppy system place Disc one (System disc) into the Drive.
AMSTRAD 1512/1640
The Amstrad 1512 and 1640 requires the tick value for the
YES
Do you want to change the settings?
YES
The default tick rate is 18.2 times a second the Amstrad
should be 54.6. Enter the new tick rate and press Return.
OFFLINE PROGRAMMING 9
1.4 STORING PART PROGRAMS.
10 OFFLINE PROGRAMMING
1.5 MACHINE LINK CONFIGURATION
OFFLINE PROGRAMMING 11
CNC CONTROLLER SERIAL PORTS
The connection can differ between 7pin din plugs to 25pin serial
connectors. Your Machine Manual will have more information on the control.
12 OFFUNE PROGRAMMING
1.6 FAST KEYS
To help with software operation there are several Fast Keys that
can be used, these are displayed at the bottom of the screen on the Fast
Key Strip.
The Fast Keys change during menu changes and are constantly
updated by the Key Strip.
F1 Get help
F5 Get information
HELP SCREENS
Context sensitive Help is available at all times with sub-related
topics.
F1 To select Help
Esc To exit.
14 OFFLINE PROGRAMMING
1.7 INFORMATION WINDOW
OFFLINE PROGRAMMING 15
1.8 EDITING eNC PROGRAM
16 OFFLINE PROGRAMMrNG
1.9 TUTORIALS
TUTORIAL MESSAGE
When the eNC program is executed your text will appear in the
"tutorial" window at the bottom of the screen.
TUTORIAL PAUSE
When the eNC program is executed your text will appear in the
"tutorial" window at the bottom of the screen. You will then be prompted to
press RETURN to continue.
Comments
OFFLINE PROGRAMMING 17
This page is intentionally left blank
18 OFFLINE PROGRAMMING
1.20 MAIN MENU
~
Si",ulat~ only
Ma.chine link
eNC Files
hint
ReMote link.
Settin9's
Uti Ii ties
Quit
============~TiUtol'ial=====~==========1
EDIT ONLY
Displays full screen editor with 241 character sideways scrolling
facility.Simulation is not available from this section but pressing the F9 key
will run a syntax check on the enc code.
SIMULATE ONLY
Resets the simulation window to a full screen view. TheTutoriai
window is still displayed at the bottom of then screen. If an error occurs
during program execution the Edit and Simulate mode will be automatically
selected and the problem code highlighted.
OFFLINE PROGRAMMING 19
DENfORD FANUC
Tu~ing ~1.0a K~tl'ic HONAME
F=======~=====SiMlllation===========::=:::::t
- - ain Menu
Edi t· on19
Edit and SiNulate
~~U!m~
es 1
lTint
Rell10te link
Se~qngs
Util1 ties
Quit
==============::1TutoJlial============
!ij help &1 uUttt4jliUIl;lil select option !iDJ ~a.in Menu ~ I'elilove~enu
MACHINE LINK
enc programs can be transmitted or received through a RS232
serial connection from the computer to the enc controller. See Cable
section for connections.
20 OFFLINE PROGRAMMING'
DENFORD FAHUC
Tu~ning vl.Oa Mehic HOHAHE
F"'===========Si JtIIulati o,n==============!
.. , J
============='Tutorial============
TRANSMIT
After selecting the Transmit to machine option a "Ready To
Send ?" message will appear. Press the 'Y' key to send or the'N' key for the
Main Menu.
1 - Comms error.
Remedy:
Check that the Settings options for the Machine Link are set
correctly. The Installation Section will have a list of the settings for your
controller.
2 - Syntax Error.
Remedy:
Check the program with the 'Check syntax' option for illegal
characters.
OFFLINE PROGRAMMING 21
We supply a 25pin RS232 cable as standard. Some computers
have a 9pin connector and a 9 - 25 way converter must be purchased.
RECEJVE
After selecting the Receive from machine option a "Do you
want to merge?" message may be displayed. If there is a part program in
the editor and you want to receive and merge then
If you want to. quit.-this section at any time, press the ESC key
for the Main Menu.
RECEIVE ERRORS
1 - Comms error.
Remedy:~
Check that the Settings options for Machine Link are set
correctly. The Installation Guide will have a list of the settings for your
controller.
22 OFFLINE PROGRAMMING
c) The Cnc controller must be set Ready To Send before
transmitting any Part Programs. Check the Machine Manual for setting the
controller ready to send if you are not sure how to do it.
OFFLINE PROGRAMMING 23
F====Main Menu
Edit oni!!
Edit and SiMulate
SiMulate only
Machine link
~~14
ReMote link
Settings
UtilitIes
Quit
F===============Tutol.'lial=============
CNC FILES
A very powerful Filing system is integrated within the software.
The following points should be noted when using an edit window for
Loading, Saving or Listing Files.
EXAMPLE
C:\DENFORD\DATA\ TURN1
24 OFFLINE PROGRAMMING
h) All Files are listed alphabetically In a window.
============::::::Tuto~ial=============
LOAD
If there is a program currently in the editor you will be asked
whether to merge the program from Disk.
Press the "Y" key to merge and the "N" key to clear the current
program from the Editor and to Load the selected program from Disk.
NEW
Clears the current program from the Editor. If the program
has been changed since the last "Save" you will be prompted
Editor.
-OFFLINE PROGRAMMING 25
SAVE
Saves the current program to Disk in it's default directory and
with it's default filename. If the program has no name it will be saved to Disk
as "NONAME" in the current Directory.
SAVE AS
Prompts for a filename which can be entered in the Input
Window. Press the Return key to confirm. Be sure to store all your
programs in a personal directory.
CHANGE DIR
Sets the current Directory for saving enc programs. This can be
overridden by typing in the Directory name with the Filename.
26 OFFLINE PROGRAMMING
DEHFORD FANUC Tupning vl.Oa Mehie NONA ME
F============:SiMulation============~
~=Mail1 Menu
Edit only
Edit and Si~ulate
SiMulate only
Machine link
CNC Files
~!:"!k-·
Settings
Uti 1i tIes
Quit
F=============.TutOI'ia.l============~
Print
Allows you to get a paper copy of your program in a paginated
form.
The layout for the copy can be set in the Settings Menu under
"Print Page Layout"
DENFORD FANUC
Turnin~ vl,Oa
Metl"ic NONAKE
f============SiMUla.tioo==========~
===========1utoria.l===========
OFFLINE PAOGRAMMING 27
b) Program listing without errors
Note errors can be checked with the "Dry Run" option but a
printout with errors can be useful for certain programs.
Printing Errors.
Remedy:
Check the cabling between the computer and the printer. Is the
printer set for Parallel or Serial communications. Have you set the correct
parameters in the Settings Menu for "Print Device". See the Installation
section for more information on this topic.
28 OFFLINE PROGRAMMING
DEKFOJlD 'FANUC 1Ul'nin9 vi. Oa Me hi c NONAHE
F===========:::;;;;;;'liMUla.tion==============1
a.in Menu
Edj t Gni y
~dit and SiMula.t~
SiJIIUla.te only
Ma.clline li nk
CHC Files
PIli nt
~511j1:
UtilitIes
Quit
F============lutorial============
REMOTE LJNK
Used to send or receive information from a remote device, for
example a computer, tape punch reader, data carrier.
r==========='TlltOJ'lial
Press the "Y" key to merge and the "Nil key to clear the current
program from the Editor and to Load the selected program from the
Remote Device.
OFFUNE PROGRAMMING 29
SEND TO DEVICE
You will be prompted with "Ready To Send?", press the "y" key
to send and the "N" key to abort.
COMMUNICATIONS ERRORS
Check that the Settings options for Remote Unk are set correctly.
30 OFFLINE PROGRAMMING
SETTINGS "_
There are many Settings within the software that anows
customisation to suit the end user. Once you have set all the options
remember to save the Settings to Disk.
ulm a Ion
PJii nOt de'v i ce
~in~ pag~ lag out
Nachme hnk
HellO t'li [i ok
:MisceHani ous
Load settings
Save settings
F============Tu.to'~ial===============
OFFLINE PROGRAMMING 31
DEHFOJlD Met~ic MON~HE
:Nt Editol' AiMula.tion
ti ne ill O>luMrt 1 ,IOS'Ht -
•
Edit onlY ~de
Edito~ on left Yes
Line split on CRIlOB NOI
•
============TutoIlial============
li.I he 1p sl neb"U il;,JtIljlll se lee t 0pt ion ~ !'eMO ve 0pt i on s !illi lilain Me nu
AUTO-ERR OR-CHECK
Toggles automatic error checking of each program line as it is
entered on or off. With error checking on, pressing the Return key will
display a description of any error. Press the ESC key to clear and the
cursor will highlight where on the line the error occurred.
MARKING MODE .
Toggles the marking mode between Anchor or Drag.
ANCHOR MODE
Pressing the F7 key sets the start of marking and anchors itself
at that position. Moving the cursor and pressing the F8 key sets the end of
marking.
Moving the cursor and pressing the F8 key changes the end of
marking.
DRAG MODE
Pressing the F7 key sets the start of marking, this can be
repeated to change the start position. Moving the cursor highlights the area
being marked. Press the F8 key to set the ,end of marking position.
Pressing the F8 key again will clear the mark area.
32 -OFFLINE PROGRAMMING
EDITOR ON THE LEFT
If you prefer the Editor on left and the Simulation on the right, it
can be toggled to either position. ~ --:
bFFLINE PROGRAMMING 33
CHANGE SIMULATION SETTliNGS
DEHFORD FANllC Turning v!.OaKe tri c NOHAHE
F===========:::::;SiMUlation==============
hang!! Settings
EditoXl
e,H
mt ~eQice
Print page la~o~t
Machine link
ReMote link
Mise!! 114Jtious
wad SI! tt i ngs
Savl' settinrs
============TutoI'ial=============i
SIMULATION WINDOW
Switches between a normal size simulation window to a wider
one. Displays a larger view of the Simulation if the wide option is selected.
SELECT 30
If 3D is selected then any profile shown after this selection will in
be shown in three dimmensions.
34 OFFLINE PROGRAMMING
DISPLAY-fAST-TRAVERSE
Toggles Fast Traverse display on and off. If Fast Traverse is set
to on the software displays dotted lines.
TOOL MOTION.
Toggles tool display ON or OFF. It it is set to ON the Tool shape
is displayed. If set to OFF a toolpath plot only is shown.
PRINT DEVICE
hange Setting5
Eaito~ I
Sil!lulation
I:.mm.r.m;r:ml~ij· - I
PJliiitPage laYouf
Machine 1ink
Re~ot'e 1ink
Hiscel ianious
Load settings
Sal) e se tti ngs
i==============Tutol'ial=============
OFFLINE PROGRAMMING 35
CHANGE PRINT DEVICE
DENFORD FANiJC Turning v1.Oa Metr'ic tfONl1ME
F============;'iil!\ulation===========~
[============='TutoX\ial============
DEVICE:TYPE
This can be set to :
DOS DEVICE
SERIAL
Baudrate
Parity
Data bits
Stop bits
Protocol
36 OFFLINE PROGRAMMING
FILE
Used to save the program as a file on Disk for printing off at a
later date. The current filename will be used with an extension ". LST".
hange Settings
Editor
SiMUlation
Proint device
~
ReMOte 1ink
Kiscellanious
Load settings
Save sl?'ttings
=============TutoX'ial~==::::::===========
DENFORD
F~NllC Turoning \ll,Oa Met~ie NONAHE
F=============Si,,,,ulation::::::::===============1
~=::?lll~~;e
I\DltJl;lL-. IT'int Paua
_ out
80
Page dept. 60
Left Margin D_
hp 'MaJ"g11l 0
Botto~ M~in ~
ColUMn width 80
Carriage retu~n nulls 0
Line feea nulls 0
FoPM feed nulls 0
~int line feeds ~es
=============Tutorial===============
OFFLINE PROGRAMMING 37
• Page width
• Page length
• Left margin
• Top margin
• Bottom margin
• Column width
• Carriage return nulls
• Line feed nulls
• Form feed nulls
• Print line feeds
hange Settings I
Edi tor
SililUhtion
Pr'i nt dev·i ce
~~=I
I
I!I!IO I! 1n
Kiscl!llanious I
Load settings
Saul! 51! tti Og5
================Tluto~ial===~=====~==
38 - OFFlIiNE PROGRAMMING
DENFORD F~NlJC TUI'ning v1.Oa NONA HE
-===============SillJulation=============:j
F============TutoI'ial============
The machine link is always throu.gh the Serial Port. See the
Installation section for How To Set Machine Unk parameters, the settings
depend on which enc control you are linking to.
REMOTE LINK
DENFORD FAIiUC TUl'ning 1,11. Oa IiOIiAME
!========~====S·;;ililulation=======~=====
hang~ Settings
Editor'
Silillulation
Print device
Pl'int page la90ut
Machine link
I'mmmrmilil_
M1scillan 1ous
Load settings
Save settings
F=============Tu.tol'ial.===============1
OFFLINE PROGRAMMING 39
DENFORD FA HUe 'I lil'O i o,g l,I L Oa
Me tl'ic NO~HE
F=============Silllulatiton===========~
~e ReMOte LinCOM.1l
II . .,
au - a e- - 4BOO'
Pat'i t9 Oaci
Data bits 7
stop hits 1
Send line-CeedS ~es
End~o'f"fi Ie ctl"I-2
Send XOFF' at ~ full 60
============!utol'ial============::::j
The settings for the· Remote Unk are for the Serial Port. See the
Installation section for How To Set Remote Unk parameters.
ang·e, Settings
Edi tot'
SiMulation
ITi'R t de ... i ce
Print pag~ layout
Machine I ink
ReMote hnk
ifPslell!l~~l~(~tg'I'P.(~_.
Save settings
F============:Tutor-ial============
40 OFFUNE PROGRAMMING
DEHFORD FANUC iUJIning Q1.0a I~t:ril} NO~HE
F====:::::;;;;:::=====:::==~illl.llla ti on===========:::::::::::,
GLOBAL UNITS
USER'S NAME
OFFLINE PROGRAMMIING 41
LOAD SETTINGS
DENFORD FAHUe IUl'ning IJUla M@tZ'ic
F======::::::::::=====SiMulation===========l
ange Settings
Editor
Si M\l!l aU on
Ploint device
p'int p~ layout
I .Machine _link
I ReI'lO,tl! Iink
I ,Miscl! 11 a:ni ous
m"i#N~~
============Iutol"ial=============l
Select the Load Settings option and the default Settings file
appears in the edit window. The default filename will be
If you want a listing of all the available Settings files clear the
Edit Window and press the Return key.
SAVE SETTINGS
DENFORD FANUC
Iu~ning ul,Oa
llIe tI'ic
F=============SiMulation===========~
hange Se t t i ngs
Editor
Si Mul at i on
Print delJicl.!
Print paYl! layout
Machi Ill! ink
ReMote link
Hi seell anious
':tttk1\~\\~Hl
============Tutorial============
42 OFFLINE PROGRAMMING
Select save settings option. Type in a filename or accept the
default and press the Return key to confirm.
IMPORTANT
UTILS GO 1 dos
- -
FANUCLINK XOFF 50
AUTOERROR a
LOWSPINDLE 50
H1GHSPINDLE 5000
MOVERANGEX 200
MOVERANGEZ 170
MACHINEEXTENTX 300
MACHINEEXTENTZ 190
OFFUNE PROGRAMMING 43
BILLED< 40
BILLETZ 90
CHUCKX 80
CHUCKZ 30
JAWSX 10
JAWSZ 10
CHUCKCENTREX 200
SHAPE1 TOOL15
SHAPELR1 1
SHAPEFB1 1
SHAPE2 20MMDRL
SHAPELR21
SHAPEFB21
SHAPE3 T00L26
SHAPELR3 1
SHAPEFB31
SHAPE4 T00L25
SHAPELR41
SHAPEFB41
SHAPES TOOL14
SHAPELR51
SHAPEFB51
PRINT DEVICE 0
44 OFFLINE PHOGRAMMING
PRINT DDEVICE PRN
PRINT PARITY 2
PRINT PROTOCOL 2
PRINT STOPBITS 2
PRINT USELF 1
PRINT FFNULLS 0
PRINT PW 80
PRINT PL 64
PR!NT LM 10
PRINT TM 20
PRINT BM 10
PRINT CRNULLS 0
METRIC 1
DISPLAYSIZE 1
BILLET DEFINITION
This directive allows the billet in the simulation window to be
given a size.
OFFLINE PROGRAMMING 45
CLEAR DIRECTIVE
This clears the tutorial messages window.
Example: (CLEAR
STEP DIRECTIVE
Switches over to single step execution.
Example: [STEP
Example: [NOSTEP
Tutorial Message
46 OFFLINE PROGRAMMING
- .,--
F9 SIMULATION MENU
3D VIEWS
'.
f'
rows
By moving the arrow on the screen using the keyboard cursor
keys and pressing tine page down key on the keyboard when the arrow is
in the desired position, the 'User can slice the view to reveal internal views.
OFFLINE PROGRAMMING 47
Pressing the II page up" key on the keyboard flips the screen
picture over and displays the picture from an alternatIve view.
48 OFFLINE PROGRAMMING
1.21 SETTING THE DATUM
The turning simulation always takes the centre and the end of the
bar as the 0,0 datum position.
SETT1NG A V'EW.
TURNING SIMULATION.
Press the F9 key and select Set View from the Menu Options.
OFFUNE PROGRAMMING 49
TURN1NG SIMULATION.
Selecting Toolshapes.
Press the F9 key and highlight the Set Tooling Menu Option.
Space Bar To flip from left to right,and from front. to back toolpost.
Return To confirm.
Esc To quit.
50 OFFLINE PROGRAMMING
1.22 DEFINING TOOLSHAPES.
OFFLINE PROGRAMMING 51
CONVERTING TOOLSHAPES.
Once the Dxf file has been converted it can be merged into the
ToolFile and the Tooishape name and information added.
52 OFFLINE PROGRAMMING
1.23 USER DEFINABLE TOOL SHAPE FILE
SHAPE tool1
SHAPE tool2
OFFLINE PROGRAMMING 53
LINE 6.3 0.3 15.04290.3
SHAPE tool3
LINE 1.378431.1250.100526.381
LINE 0.47250.18275.72850.1827
SHAPE tool4
54 OFFLINE PROGRAMMING
LINE 4.08824.1039 6 6.0156
SHAPE tool5
LINE -6 15 6 15
SHAPE tool6
OFFlIiNE PROGRAMMING 55
LINE 0.0 0.0 3.0676 9.6645
SHAPE tool7
SHAPE tool8
56 OFFLINE PROGRAMMING
LINE 1.757935.9491 -1.8436 32.4312
SHAPE tool9
LINE 6 12.0633.5308
OFFLINE PHOGRAMMING 57
SHAPE tool10
SHAPE tool11
58 OFFLINE PROGRAMMING
LINE 0.4158 0.0209 9.51950.0209
SHAPE tool12
SHAPE tool13
OFFLINE PROGRAMMING 59
LINE 0.2 7.285 6.205 3.7
LINE 3.01315.133815.01315.1338
SHAPE tool14
SHAPE tool15
60 OFFLINE PROGRAMMING
LINE 3.1176 17.2782 13,9959 17.2782
LINE 3.117617.27823.117626.2407
SHAPE tool16
LINE 8.494230.17385.207731.177
SHAPE tool17
OFFLINE PROGRAMMING . 61
ARC -0.8601 5.473 0.372 105 195
SHAPE TOOL18
62 OFFLINE PROGRAMMING
LINE -1.0536 14.9995 10.9464 14.9995
SHAPE 4MMDRL
OPTION 1
LINE 0 0 2 -2
LINE 2 -2 22 -2
LINE 22 -2 22 0
LINE 22 2 220
LINE 22222
LINE 0 0 2 2
SHAPE 12MMDRL
LINE 6 -600
LINE 25 -6 6 -6
LINE 25 6 25 -6
LINE 66256
LINE 0 0 6 6
SHAPE 16MMDRL
OPTION 1
LINE 8 -800
LINE 25 -8 8 -8
LINE 25 8 25 -8
OFFLINE PROGRAMMING 63
LINE 8 8 258
LINE 0 088
SHAPE 20MMDRL
OPTION 1
LINE 10 -10 0 0
UN E 25 -1 0 10 -1 0
LINE 25 10 25 -10
LINE 10 10 25 10
LINE 0 0 10 10
SHAPE 25.4MMDRL
OPTION 1
SHAPE T00L21
OPTION 1
64 OFFLINE PROGRAMMING
LINE 12.5954 -4.8167 12.5954 ~10.3967
SHAPE T00L22
OPTION 1
OPTION 1
OFFLLNE PROGRAMMING 65
LINE 4.531 -11.152521.6578 -11.1525
SHAPE T00L24
OPTION 1
SHAPE T00L25
OPTION 1
66 OFFLINE PROGRAMMING
LINE 0.00.0 -3.2082 -6.0
SHAPE T00l26
OPTION 1
SHAPE T00L27
OPTION 1
OFFLINE PROGRAMMING 67
LINE 0 0 -0.0898 -1.7116
SHAPE 3MMGRV
LINE 0 300 25
LINE 0 0 0 25
LINE 3 0320
LINE 0 030
68 OFFLINE PROGRAMMING
1.24 HELP SCREENS
The Text file can be loaded into any word processor or even
into the Cnc Editor. Changes can be made and the new file can be saved to
Disk.
IMPORTANT
Keep the original copy of the text file incase the changes you
have made, result in errors during compilation.
Once the changes have been made and a new file has been
saved to disk you can produce a compiled version. It is the
compiled version that is integrated within-the software, simply changing the
Text file will not alter the Help used by the software.
On the Drivers Disk supplied with the system you will find a file
called "MESSAGES.EXE". This will have been copied over when you
installed the system if you are on a Hard Drive.
TYPE:- CD\DENFORD
OFFLINE PROGRAMMING 69
Then
If you are successful run the software again to see the changes.
If you get an error, read the following section on How Help Screens Work.
-- -
A new FANUCL.MSG ( FANUCLD.MSG for the DESK TOP
TUTOR version )file will be created which can be copied over onto the
main program Disk, overwriting the original Help.
70 OFFLINE PROGRAMMING
HOW HELP SCREENS WORK
Page Start
a) Help section.
b) Error section.
c) Information.
Important
It is vital that the pages relating to error messages, fast key strips
and text that are used directly by the software are not altered. The software
relies on each line being in sequence. Help screens that are used with the
F1 key can be placed anywhere, but we suggest you put them at the end of
the program.
OFFLINE PROGRAMMING 71
CONTEXT SENSITIVE HELP
HOW IT WORKS
To insert a new Help Page you first decide what type of help
aAd where the help should be placed.
EDIT KEYS
eNC INSTRUCTIONS
3 - Load the Help File into the Cnc Editor and locate
the Help page displayed above. You will find the start of the page near to
line 676,
4 - At the bottom of the Help Text you will see the sub menu's
being referenced.
,
5 - Add #Cnc Lessons#LESSON1 A to the list
72 OFFLINE PROGRAMMING
6 ~ Go to the end of the file to write the Help screen
for LESSON 1.
8 - On the next line write a titre for the Help Screen, try enc
lesson One.
9 - Now you can write the actual text making sure the lines are
no longer than 47 characters.
10 - If you want more room for the enc Lesson you can start a
new page by typing I LESSON1 B I
Good luck!.
OFFLINE PROGRAMMING 73
~
--J
+> l\)
~
C1
9 WAY ·TO 25 WAY CONVERTER l>
00
r
25 WAY MALE
m
en
9 WAY FEMALE r
BLUE
~ 1h
'WH[TE 15
BllowN 16.
o ~ BLACK 1~
=H
c
z
L-
!
~- --. MAUVE
SCREEH
1&
1ge
m r-- • Ii r _. RFn ~O~
-u 9 .~ I %1
:0
o l.,// ~ i2"'"
(j)
Pt 24
Z3.
~
~
~ "
GREEN
~
z
(j)
YELlOW
30 CM
m
IBM TO ROLAND DXY-1000 SERIES s:
IBH PLOTTER
a
:D
2S WAY fEMALE 25 VI A'( HAL E o
~
14e
15
RED
BLUE
GRfEN
~
f2. ,,..
r1.:1~
>
z
C
I, 16. YELLOW 16
P.
IIC
...... ~
~
• 17
~1~
~
o"l1 -:we
1e. WHITE
BLACK 11_ 1ge ,..I.
III -- g
"l1
r
Z
.-. ~.20-
?I
tI BAOWH
~
u.F
n. . o
m en,
"~ 22 ~2'.W
-0 _ 23. m
:D
o
G>
~ 23
h~ 24·
~.
~~ -m
:0
~
s: I
~ MAUVE
II en
s:
z
G>
2 METERS
-....J
(Jl
~I IDi
~
IBM TO WATtNABE/GRAPHTEC MP1000 SERIES
- ---". l-i
0
COMPUTER PLOTTER ~
25 WAY FEMALE 25 WAY MALE J>
-f
I m
14e RED l·l~e Z
15. J>
0
-n
r
1S.
l6.
17e
RIllE
:.
t ~6·
17.
m
m
--
-n 11\e l~lS. G)
~
r 1ge YELLOW 19
Z ...,.
r~
XI...
m e 21 •
"'0
-0 • :11 ::t
-n. 1 22e
r"
-i
:D
0
(j) .23..
~
~
rn
n
~
~ ~. .
~
:5:
~
z
(j)
, Z MET~RS
"a
~
0
0
CJ)
m
:xJ
m
en
\ .,
tD
IBM TO HEIDENHAIN/FANUC/FAGOR s:
-l
25 WAY FEMALE 25 WAY MALE
o
::I:
-mcm
z
::I:
o
-Z
~
."
." "T1
C
z »
C)
m
""'Q
o
:D
:D 6 METERS
oG) s:
-~
~
~ n
zG)
\
,,
,
""-J \
--..J
78 OFFLINE PROGRAMMING
SECTION 2
OFFLI~c PROGRAJ\1MING 79
CONNECTION PROCEDURE
CONNECTION PROCEDURE
The connection from the serial port of the computer to the Desk
Top Tutor is via the cable provided.
Press ext/keybd.
80 OFFLINE PROGRAMMING
........
o·•
:=
·
..J
-
U~
...
«
Q.
....
~
c.
z
-
c~
...J
«
~
w
....
. c..
...J
z
~-
Q
Z
°0
Z J
-Cl. en en
c..
~ en
2.1 DESK TOP TUTOR (Drawin~reviousE!S_e_) _
edit mode.
acters shown
in defined direction
defined dir.ection.
• PRG - Selects mode, simulate only, edit only, or edit and simulate
• MENU OFFSET~ Toggles between M.D.I. and Tool setting
• POS. GRAPH - Selects simufate, edit, and M.o.1.
• INPUT OUTPUT - Automatically loads remote device link menu.
This menu allows the user to send or receive from external periphe
rals
EDITING KEYS
programs)
editing.
82 OFRUNEPROGRAMMING
(
OPERATION SELECT
• AUTO - Select to run program
• EDIR • Select to edit program
• SINGL BLOCK - Allows single step execution of program.
• BLOCK SKIP- Select in edit mode to ignore block when running
program (Activates \ in front of block)
• HOME - Zeros machine around its own reference points.
• JOG - Moves axes around at feeds as set on override. When in ma
nual mode moves axes at 0.01, 0.1, 1 increments and continuous
feed.
EXECUTION
• CYCLE START - Starts program.
• CYCLE STOP - Stops program.
• + X - Movement in + X direction
• -Z - Movement in -Z direction
• + Z - Movement in + Z direction
SPINDLE
• CW - Spindle movement clockwise
• STOP - Spindle Stop.
• CCW - Spindle movement counter clockwise
COOLANT
• CLNT ON - Coolant ON
• CLNT OFF - Coolant OFF
OFFLmEPROGRAMMrnNG 83
This page is intentionally left blank
84 OF8UNEPROGRfu~MING
SECTION3
eNC APPLICATIONS
OFFLINE PROGRAMMING 85
This page is intentionally blank
86 OFFLINE PROGRAMlvfiNG
3.1 WORD DETAILS
0: Program Number
The : followed by a 4 digit numerical value is used to assign a
program number.
N : Sequence Number
The N word may be omitted. When programmed, the sequence
number following the N address is a four digit numerical value and is used
to identify a complete block of information. Although ascending, decending,
or duplicate numbering is allowed, it is best to program in ascending order
in increments of 10. This allows for future editing and simplified
sequence number search.
G ~
Preparatory Command
The two digit G command is programmed to set up the control to
pertorm an automatic machine operation. A full list of G codes are given.
One G word from each modal group and one non modal G word can be
programmed on the same block.
EXAMPLE:
OFFLINE PROGRAMMING 87
this page is intentionally left blank
88 O~NEPROGRAMMING
G CODES LISTING FOR DEN FORD FANUC LATHES
a G04 Dwell
/",
0 G30 Return To 2nd Reference Point
_.- - -
--~-----------~----_..:.:....-....:...-_-~~~-
OFFLmEPROGRAMMrnNG 89
0 G50 Work Co-ord. Change/Max. Spindle Speed setting
90 OFFLINE PROGRAiV1MING
NOTES FOR G CODE LISTING
Note 1:
G Codes of 00 group represent those non modular and are
effective to the designated block.
Note 2:
G Codes of differerlt groups can be commanded to the same
block. If more than one G codes from the same group are commanded, the
later becomes effective.
OFFLINE PROGRAMMING 91
AxiS Definitions:
Z Axis
The Z axis is along a line between the spindle and the tailstock or
the centre line of rotation of the spindle. Minus (-) movements of the turret
are left toward the headstock; positive (+) movements are right toward the
tailstock.
X Axis
The X axis is 90 degrees from the Z axis (perpendicular to the Z
axis). Minus (-) movements of tbe turret are toward the centre line of
rotation, and positive (+) movements are away from the centre line of
rotation.
X : X Axis Command
The X word is programmed as a diameter which is used to
command a change in position perpendicular to the spindle centreline.
U : X Axis Command
The U word is an incremental distance (diameter value) which is
used to command a change in position perpendicular to the spindle centre
line. The movement is the programmed value.
Z : Z Axis Command
The Z word is an absolute dimension which is used to command
a change in position parallel to the spindle centreline.
W : Z Axis Command
The W word is an incremental distance which is used to
command a change of position parallel to the spindle centreline.
x JU or P : Dwell
The X word is used with G04 to command a dwell in seconds.
I WORD
a) G40 active
92 OFPUNEPROGRAMMING
(
b) G41/G42 Active
KWORD
a) G40 Active
b) G41/G42 AcUve
FWORD
a) In G99 mode the F word is used to command feed/rev.
P WORD
a) Used in automatic cycles to define the first block of the
contour. See Section 5.5
OFFllNE PROGRAMMING 93
aWORD
Used in automatic cycles to define the last block of the contour.
See section 5.5
RWORD
a) For circular interpolation (G02 or G03) the arc radius is to the
centre of the tool nose radius (G40 active) ~ or the actual radius required
(G41/G42 active).
SWORD
a) In the constant surface speed mode (G96) the four digit S
word is used to command the required surface speed in either feet or
metres per minute.
b) In the direct r.p.m. mode (G97) the four digit S word is used to
command a finite number of spindle speeds in r.p.m. increments between
the ranges available for the machine (see Machine Specification).
TWORD
Tool words are used to cause a tool change, and to activate tool
geometry offsets to obtain the desired machining accuracy.
The third and forth digits of the T word are used to activate a pair
of offsets (01-16) that allow the operator to compensate for tool wear, tool
length deviations, and tool deflections. The pair of offsets consists of one for
X axis compensation and the other for Z axis compensation. These initial
values are based on the incremental distance with sign from the tool tip to
the turret datum. For the X value only the value is doubled (diameter
programming). Programming 00 for these two digits cancels the tool offset.
94 OFFUNE PROGRAMMING
Example
T 03 16
TURRET
WORD
/ TOOL No
\ TOOL
GEOMETRY
OFFSET
In the tool offset file, the T Word defines the tool location code.
M Word
An M Word is used to initiliate auxiliary functions particular to the
machine. One M code can be programmed within one program block
together with another part program information
OFFLINE PROGRAMMING 95
M CODE LIST FOR DEN FORD FANUC LATHES
M07 COOLANT' B ON
I
MOB COOLANT' A ) ON
M12
( SPECIAL FUNCTION)
Mi7
Mi8
96 OFFL1l\ffi PROGRAMMING
M20 SPINDLE INDEX A
M24
M27
M28
M32
M33
M34
* M35
M36
M42
OFFUNE PROGRAMMING 97
M43 SWARF CONVEYOR FORWARD
M46
* M47
( DEFAULT)
(DEFAULT)
M58
M59
M60
M61
98 OFFLINE PROGRAMMING
r
M62 AUX. 1 ON
M63 AUX. 2 ON
M70 MIRROR IN X ON
M71
* M72
M73
M74
M75
M78
M79
M81
M82
M83
* M84
OFFUNEPROGRAMMITNG 99
M8S
M86
M87
M88
M89
M90
M91
M92
M93
M94
M95
M96
M97
100 OFFLINEPROGRAMMlNG
SECTION 3.2 '
x+
(U,I>
z- z+
(W,K)
x
position then the tool will move away from the spindle centre line).
102 OFFUNEPROGRAMMING
EXAMPLE
SHARP POINT
COMPONafT 2KRO
N6802-20.0
N690 X51.0
N700 2-63.75
PROGRAMMlNG lNSTRUCT10NS
,.-- ......
Planning Procedure
.1. Receive part drawing. From part drawing information, check
suitability of part to be machined against the machine capacity
(clearan ces) .
• 2. Determine a method of driving the component (chuck type,
chuck size, type of jaw, collet, collet size, face driver etc) and the
method of machining.
• 3. Determine the tooling required to suit the method of machining
and utilise as much as possible the tools which are permanently in
the turret set up on the machine.
• 4. Determine the order of machining and the tooling stations.
• 5. Determine planned stops (cycle interrupt procedure incorpora
ting block delete codes) for checking dimensional sizes where re
quired by the operator.
• 6. Determine cutting speeds bearing in mind the following:
• a) Component material, method of driving, rigidity of component
• b) The tooling selected: toolholders with carbide inserts, the grade
of the carbide insert selected, carbide drills, high speed steel drills,
ceramics; for roughing and finishing operations.
• 7. Determine depths of cut and feeds for roughing operations bear
ing in mind the horsepower/kilowatts available for cutting and the
rigidity of the part.
• 8. Determine from surface finish requirements the cutter nose
radius most suited for the finishing operations and determine fee
drates.
• 9. Allocate tool offsets as required.
• 10. Complete planning sheet
106 OFFUNEPROG~~MING
PROG,RAMM,ING PROC'EDURE
"
M99 i
M30 _,_I M99
I,
I
I
NESTED TO FOUR LEVELS
M98
pgggg 5678
lo
NO. OF EPEATS
108 OFFUNEPROGRAMMING
COMPONENT ZERO
1 . . . . llol..l:OQI....-_.I 100
20
I
current operation a zero position which has been selected for a first
operation may not be the required position for the second operation.
The value is entered into the control via the keyboard as part of
machine setting procedure.
After initial power up and slide reference has taken place the
position registers will read Zero. Each tool is selected whereby its cutting
edge becomes (X,Z) of the co-ordinate system.
All tools can be set in turn and their values stored in the tool
offset register.
:0001
110 OF8UNEPROGRAMMING
TYPICAL PART PROGRAM
I
'
r
.
95
.
7t:J
~
,..
I'
~
-P .
...
r
40
1.2 Radius
:0002 (TRAINING)
N30 G28 UO WO
N110 XO
N130 G28 UO WO
OFBUNEPROGRAMMITNG 111
N140 M06 T0202
N150 GOO XO Z3
N160 Z-10
N170 GOO Z2
N180 G28 va WO
N190 M30
112 OFFUNEPROGRAMMlNG
3-3-4 DWELL (G04)
OR
Continuous Cycle:
For machines fitted with a bar feed/bar pUll system the
continuous cycle feature will be supplied. This feature is activated by:
a) Bar Feed
The program for bar feed with a standard chuck would be:
The Program for bar pull with a standard chuck would be>
OFFLrnEPROG~G 115
This page is intentionally blank.
/'
/
This repeats program 0340 twice.
:1010
N10 MOO •
1
N980 M99 P10
1 ..'
The program will read the M99 P10 (GOTO N10), i.e. automatic
geometry/wear) would not be read after the first cycle. M30 would not be
118 OFFUNEPROG~G
3-4·2 G94 FACING CYCLE
~T~
... i I
. F
It"
F.l
N500 GOO X130.00 Z2.0
~,...,._ N~
/--- .
I,
1
Zi"
1
program information w.ill enable the tool to perform the 4 distinct moves.
OFRJNEPROGRAMMING 119
3-4-3 G90 TURNING CYCLE
..........--Sr --~--~
F
'R
'____' - - _ - ~
F _ , _ ..
----
tR 1....-_
+
40x 2
N720 X38.954
R R
O~PROGRAMM[NG 121
3~4-5 G71 STOCK REMOVAL TURNING.
~~--------~-~---~---------+
I I
2
30
I
15 I
.. f
dia
dia 32
dia 20 I
122 OFFLlliEPROGRAMMITNG
N55 G71 ..... Etc.
U - Depth of cut
This cycle is similar to G71 and is used when the major direction
of cut is in the 'X' axis.
37
dia 9
dia 40
- dia 35 32
dia 3
dia 18
,
N40 M06 TO 808
N50 GOO X40 Z2.0
N55 G72 W1.0 R1
N60 G72 P70 0130 U1.0 W.13 FO.7S
N70 G01 Z-50. FOA
N80 X40.0 Z~37.0
FROM:
TO:
1HE TECHNICAL AUTHOR,
DENFORD MACIDNE TOOLS UMITED,
BIRDS ROYD,
BRIGHOUSE, TEL.: 0484712264
WEST YORKSHIRE. TELEX: 517478
HD61NB FAX.: 0484 722160
OFFUNEPROGRAMNrrNG 129
This page is intentionally left blank
-'
130 OFFLlNEPROGRAMMITNG
INDEX
132 OFFUNEPROGRk~M[NG
INDEX
A
Amstrad 1512/1640 .9
Anchor mode .32
Axis definition . . . · 92, 128
B
Bar feed/pull . · 114
Basic movements . · 102
Basic movements (with examples) · 102
Billlet definition .45
Block delete . · 113
c
CABLES
9 way to 25 way converter . . . . .74
IBM to Fagor, Heidenhain, Mirac .77
IBM to Roland DXY - 1000 series .74
IBM to Watenabe / Graphtec MP1000 series .76
Change machine link . . . . .38
Change print page layout .37
Change simulation settings .34
CNC Controller serial port · 12
eNC Files ..... .24
Component zero . . · 109
Computer serial port · 11
Configuration . . . . .9
Converting tool shapes .52
Customer observations · 128
Cycles ..... · 117
D
Defining tool shapes
· 51
Device type
.36
Drag mode
.32
Dwell (G04)
· 113
F
Formatting . . . . . . . . . . . . . . . . . . . . . . . . . . 110
G ~
G CODE LlSTI NG . . . . . 89
G70 Finishing cycle . . . . 126
G71 Stock removal turning 122
G72 Stock removal facing . 125
G90 Turning cycle . . . . . 120
G92 Canned Cycle Threading 121
G94 Facing cycle 119
Global units 41
H
Hardware requirements 6
Help file structure 71
Help screens ..... 13
I
Information window 15
Installation . . . . . 7
L
Line split on CR/EOB 33
Load . 25
Load from device 29
Load settings 42
N
New . . . . . . . . . . . . . . 25
(
p
Parameters . .43
Part program (typical example) · 111
Part programming words
General rules . . . . .87
Planning a program · 106
Print . .27
Print device . .35
Print page layout . . .37
Program listing with errors · 27
Programming instructions · 105
Programming procedure . · 106
R
Receive . . . . .22
Receive errors .22
Remote link . . .29,39
RS232 . . . . .36
Running the software .8
s
Save settings .. .42
Screen text size .41
Section 2 .79
Section 3 .. .85
Section 4 .. · 128
Section index .5
T
Tape format . 87
Thread cutting . 113
Three dimension simulation 34,47
Transmision to machine 21
Tutorials . 17
u
User definable tool shape file 53
User's name . 41
w
Word details . 87
Work surface programming 113