FANUC Offline software is a very powerful Educational and. Industrial ... All
Offline Programming Systems are supplied on either 5.25" or. 3.5" floppy discs.
___T
. I
FANUC OT TURNING
OFFLINE
-. . . "; ;
"
..
:: ,
PROGRANIMING
SYSTEM.
..... ,. ...... ~
':
,
.
,
.
"
'» • ,I
. /
..
This page is left Intentionally blank
I'
INTRODUCTION.
FANUC Offline software is a very powerful Educational and Industrial system. In Education students can learn to program GNG Machine Tools at the computer and prove the program through an animated graphical simulation of the cutter path. In Industry the ability to prove out Gnc part programs away from the machine in a clean and quiet environment and store programs on Disk media has many obvious advantages. The GNG Desk Top Tutor overcomes problems offering true M.D.I. programmimg at the computer.
at group training,
,,
OFFLINE PROGRAMMING
1
-_
.... --------,-------._---
This pag,e is intentionally left blank
2
OFFLINE PROGRAMMING
'j INSTRUCTION / INSTALLATION MANUAL
• SECTION 1
OFFUNE PROGRAMMING SOFrWARE.
• SECTION 2
DESK TOP TUTOR.
• SECTION 3
CNG APPUCATIONS.
• SECTION 4
CUSTOMER OBSERVATIONS.
OFFLINE PROGRAMMING
3
This page is intentionally left blank
-.-"
4
OFFLINE PROGRAMMING
1.0 HARDWARE REQUIREMENTS
IBM PC,XT,AT and all 100% compatibles. Single 360KB Floppy Drive eGA, EGA, VGA Graphics
Serial Port Parallel Port.
OFFLINE PROGRAMMING
5
This page is intentionally left blank
6
OFFLINE PROGRAMMING
1.1 INSTALLATtON All Offline Programming Systems are supplied on either 5.25" 3.5" floppy discs. These dlscs are as follows
or
SYSTEM DISC or SIMULATION DISC (QWERTY VERSION) Contains the main executable program for use with the standard keyboard supplied with your computer. EXAMPLE PROGRAMS and HELP TEXT FILE (S.25" Discs only) Contains an example program and a file used when cusomising the help screens and menus. (These are contained on the system disc when supplied on 3.5" format.) DRIVERS
Contains files needed when setting up the software for a new hardware configuration.
DESK TOP TUTORS ONLY
SYSTEM DISC or SIMULATION DISC (DESK TOP TUTOR version) Contains the main executable program for use only with DENFORD DESK TOP TUTORS
IMPORTANT: MAKE BACKUP COPIES OF YOUR DISCS AND PLACE THE MASTER DlSCS IN A SAFE DRY PLACE.
OFFLINE PROGRAMMING
7
1.2 RUNNING THE SOFTWARE.
The software is supplied to run wrth EGA graphics as standard IBM Keyboard and RS232 Serial Port 1.
RUNNlNG FROM FLOPPY
To run the software from Floppy place Disk One into the Drive
and Type "FANUCL". (Note type "FANUCLO H for DESK TOP TUTOR)
RUNNING FROM HARD DISK.
We recommend that a Directory called "DENFORD"
IS
unless it already exists from previous software
INSTALLATIONS.
Copy all the Disks into the "DENFORD" Directory with the COpy command: Example:- COpy A:*.* C:\DENFORD Change Directory to "DENFORD" and type "FANUCL" (Type "FANUCLD" for DESK TOP TUTOR)
8
OFFLINE PROGRAMMING
created,
1.3 CONFIGURATION
When to configure the software: • 1. To change screen types. • 2. To change the clock speed tick value. • 3. To set the number of serial ports. If you are on a Hard Disk change the Directory to "DENFORD" with a Floppy system place Disc one (System disc) into the Drive. Type FANUCL -c
(FANUCLD -c for DESK TOP TUTOR)
Follow the prompts on the screen to configure your software. On a Floppy system you will need to use the Drivers Disc. AMSTRAD 1512/1640
The Amstrad 1512 and 1640 requires the tick value for the
clock speed to be changed.
Select Option
2 Keyboard & timing.
Do you want a different driver?
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.
SINGLE FLOPPY SYSTEM.
a) Remove the program disc. b) Insert a Data Disc c) Select save to disc option. d) Replace the program Disc.
DUAL FLOPPY SYSTEM
a) Place the Data Disc in Drive B
b) Set the path to b:
c) Select save to disc option.
HARD DISC DRIVE
a) Decide which Directory to use. b) Set the path to your Directory. c) Select save to disc option.
10
OFFLINE PROGRAMMING
1.5 MACHINE LINK CONFIGURATION
The link to the enc Machine Tool depends on which controller has been fitted. Denford's provide a selection of controls to cover different levels of Training and Industry. To communicate to any controller there needs to be a physical connection between the computer and the control. This is done through the RS232 serial port.
COMPUTER SERIAL PORTS.
Computers can have several serial ports attached: Located at the rear of the computer a serial port can be either a 25pin or 9pin type. Some computers have one of each type. Serial ports are assigned a name (COM1 or COM2): You need to decide which port you will be using for communicating to the controller.
We supply cables already configured. All you need to do is to plug them into the computer and the controller. If you want to make your own cables because of distance or you require a 25pin - 9pin converter. Details of how to do this can be found in the cables section of this manual.
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. Some controls need to be configured correctly, although this will probably have been done by Denford's. If you can't find the relevant information in your machine manual contact Denford's hotHne support team who will be glad to
help.
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. This is a list of them. F1
Get help
F2
Quick save GNG program
F3
Quick load GNC program
F5
Get information
F9
Check/run eNC programs
F10
Get main menu
In addition to the function keys there are the following key combinations: alt-E Returns to the editor alt-Q Quits the Fanuc system HELP SCREENS
Context sensitive Help is available at all times with sub-related topics. The following keys are used: F1
To select Help
Ctrl F1
To select G and M code Help.
F1
To select Sub Related Help.
Arrow Keys To select from Help Options. PageUp/Down To display Help Pages. Esc
To exit.
OFFLINE PROGRAMMING
13'
This page is intentionally left blank
14
OFFLINE PROGRAMMING
1.7 INFORMATION WINDOW
Press F5 to display the rnformation Window.
DENFORD FANUC Tupning vl,Oa
Metllic NONA ME 1==============SiMulation==========;=:===1
OFFLINE PROGRAMMING
15
1.8 EDITING eNC PROGRAM WHILST EDilTING A CNC PROGRAM YOU CAN USE TH,ES'E KEYS:
• Cursor keys
Move cursor in appropriate direction
.DEL
Deletes one character at the cursor
• Backarrow
Deletes one character to the left of the cursor
.INS
Toggles between insert and overwrite
.HOME
Moves to start of line
.END
Moves to end of line
• PGUP .PGON
Moves up a page
• Ctrl PGUP
Moves to first line
• Ctrl PGDN
Moves to last line
• Ctrl Y
De~etes
• Ctrl N
Inserts a new blank line
• Ctrl R
Restores the line after edits. Only possible if you do
Moves down a page
all of current line
not move off the lline. THESE KEYS ARE USED FOR BLOCK MARKING:
If marking in "anchor" mode:
• F7
Sets start of marked area
• F8
Sets end of marked area If marking in "drag" mode:
• F7
Starts marking: use the arrow keys to drag out the marked area
• F8
Stops marking and then if pressed again cancels marked area
These keys relate to block edits:
16
• Alt D
Deletes marked area
• Alt M
Moves marked area to current cursor position
• Alt C
Copies marked area to current cursor position
OFFLINE PROGRAMMrNG
1.9 TUTORIALS
Interactive lessons can be developed through the Tutorials facility. Messages and Questions can be embedded within the CNC program. ! Displays message without stopping.
?Displays message but stops for keypress. TUTORIAL MESSAGE
Tutorial message instructions begin with the "!" exclamation mark which is followed by some text. When the eNC program is executed your text will appear in the "tutorial" window at the bottom of the screen. Example: ! Using tool 2 ... TUTORIAL PAUSE
Tutorial pause instructions begin with the "?" question mark which is followed by some text. 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. Example: ?Check the position Comments Comments begin with the "(JI open bracket an can be used to annotate a program, and are ignored when it is executed. Example: (Tool N06 8mm Slot Drill
OFFLINE PROGRAMMING
17
This page is intentionally left blank
18
OFFLINE PROGRAMMING
1.20 MAIN MENU
DENFORD FANUC lU1'ning v1.0a
Hetl'ic
HC Ecli to~ 1=======5SiMul ation=========l Co 1tiM L .
I
F==Main
M~nu===ll
~ 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. EDIT AND SIMULATE Displays Editor, Simulation and Tutorial windows as a split screen. If the enc line is longer than the Edit window it sideway scrolls.
During program edit simulation can be activated at anytime. Atter program execution the cursor returns to it,s last position in the Editor. 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============ 11] help mq,1$f.tlil~~I';I\1 select option
!1!!J Main lIlenu
~ :t'eMove~nu
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. If transmission is successful press the Esc key to clear. If transmission fails an error message will be displayed. Transmission errors 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. 3 - Transmitted Progam not received. Check the following: a) The Cable must be located in the Port at the back of the computer and at the back of the Cnc Controller.
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. b) The cable connections may be faulty, check with the Installation Guide for the correct Pin connections. c) The Cnc controller must be set Ready To Receive before transmitting any Part Programs. Check the Machine Manual for setting the controller ready to receive if you are not sure how to do it.
d) Ensure the cable is plugged into the Serial Port of the Computer and not the Parallel Port. 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 press "Y" or else Press "N". A receive window with the number of bytes and program lines currently received will be displayed. Set the controller to send the program. 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. 2
~
Progam not received.
Check the following: a) The Cable must be located in the Port at the back of the computer and at the back of the enc Controller. We supply a 25pin RS232 cable as standard. Some computers have a 9pin connector and a 9 - 25 way converter must be purchased. b) The cable connections may be faulty, check with the
Installation cable section for the correct Pin connections.
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. d) Ensure the cable is plugged into the Serial Port of the Computer and not the Parallel Port.
OFFLINE PROGRAMMING -------
- - -..
23
__ .__._----------_.._._._--_.-
......
DEHfORD FANUC
T~ning
vl,Oa
Mehie
NONAME
F=============;;S iMulation===============i
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.
Edit Window Features. EXAMPLE
C:\DENFORD\DATA\ TURN1
a) To clear the window Press the Space Bar or Type any character with the cursor positioned at far left. b) Use the cursor keys to position the cursor. c) Press the Insert key to toggle between Insert ON/OFF. d) To List all files type *. * instead of the filename. e) To List certain files type for example:- *.FNC after the Filename.
f) Press Return to confirm or Esc to Exit. g) The last Filename will be retained in the Edit Window.
24
OFFLINE PROGRAMMING
h) All Files are listed alphabetically In a window. i) Use the Cursor UP/DOWN ana Page UP/DOWN keys to select a file. Followed by Return to load.
ul.Oa
Tu~ning Me tri c NOIWilE F=============SiMulation===========~
DENFORD FANtiC
============::::::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.
Note F3 can be used as a quick load Fast Key. NEW
Clears the current program from the Editor. If the program has been changed since the last "Save" you will be prompted "Current program not saved - Save it first?". Answer "Y" to save the program first or "N" to clear the 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. The suffix assigned to the Filenames will depend on the control. For example the FanucOT ends with ".FNC" this can be overwritten by typing a different prefix. If you want to save to disk and Input a filename do not select this option. Note F2 can be used as a quick save Fast Key. 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. You can do this by typing in the Directory name with a filename every time you use the "Save As" option or> a) Use the "Select dir" option to change the current Directory. b) Use the Set pathname command to set the default directory, when running the software for the first time. See the Installation Guide for a description of the different Set commands. 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
NONA ME
Mehie
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
vl,Oa
NONAKE
Turnin~ Metl"ic f============SiMUla.tioo==========~
===========1utoria.l===========
IJ! help ~il.tl):H1 select Clptian ll!!l Min Menu a) Program listing with errors
~ l'eMO'Je~nu
Prints the program as displayed in the Editor with any errors highlighted.
OFFLINE PAOGRAMMING
27
b) Program listing without errors Prints the program as displayed in the Editor without highlighting any errors. Note errors can be checked with the "Dry Run" option but a printout with errors can be useful for certain programs. Printing Errors. 1 - Printer does not respond 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. Check that the printer is switched on and there IS enough paper available for the printout. 2 - Page Layout Incorrect Any problems with page layout, linefeeds, paper widths can be altered by selecting the Page Layout option from the Settings Menu.
28
OFFLINE PROGRAMMING
Me hi c NONAHE F===========:::;;;;;;'liMUla.tion==============1
DEKFOJlD 'FANUC 1Ul'nin9 vi. Oa
Edj t
~dit
a.in Menu
Gni y
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.
DEHFORD FANUC
Tu~ning
v!,Oa
Metl'ic
NONAM'E
F============S i~ulation============
r==========='TlltOJ'lial
LOAD FROM DEVICE If there is a program currently in the editor you will be asked whether to merge the program from the Remote Device.
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. During transmission a "Transmitting to device" message with the number of bytes and lines sent will be displayed in a window. A "Transmission completed" message confirms the whole program has been sent. Press the Esc key to clear the transmit window. COMMUNICATIONS ERRORS Check that the Settings options for Remote Unk are set correctly.
Check the following: a) The Cable must be located in the Port at the back of the computer and at the back of the Remote Device. A 25pin RS232 cable may be required to link the computer.Some computers have a 9pin connector and a 9 - 25 way Converter must be purchased. To make your own converter see the cables Section. b) The cable connections may be faulty, check with the cables section for the correct Pin connections. c) The Remote device must be set Ready To Receive or Send before sending or receiving Part Programs. Check the Device Manual for setting ready to receive if you are not sure how to do it. d) Ensure the cable is plugged into the correct Port of the Computer.
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. SELECT EDITOR FROM SETTINGS MENU.
Change Editor Settings
DENFORD FANllC Turning v!,Oa
Metric NONAME F"'==============S'ilflulation==============l
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
ti ne ill
:Nt
Met~ic
O>luMrt 1
MON~HE
AiMula.tion
Editol'
,IOS'Ht
-
~aA~e Edito~
,
a,£:U:Jt
mlill
Edit onlY ~de Edito~ on left Line split on CRIlOB
•
Setti"Rs
I Text A~choI' Yes 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. EDIT ONLY MODE
Toggles between Text or Graphics mode when the Edit only option is selected from the Main Menu. The only advantage of selecting Text Mode over the graphics mode is a slight speed difference when scrolling. If you select Edit and Simulate then graphics mode is set automatically.
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. ~ --: LINE SPLIT ON CR/EOa Splits the line at the cursor position after the Return key, if set
to on.
bFFLINE PROGRAMMING
33
CHANGE SIMULATION SETTliNGS Ke tri c NOHAHE F===========:::::;SiMUlation==============
DEHFORD FANllC Turning v!.Oa
hang!! Settings EditoXl
e,H mt Print page
~eQice
la~o~t
Machine link
ReMote link Mise!! 114Jtious SI! tt i ngs
wad
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
DENFORD FANUC
Tu~ning
vl,Oa
Met~ic
NOHAME
i============;;;;;;SiMulation=============!
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
Metr'ic
DENFORD FANiJC Turning v1.Oa
tfONl1ME
F============;'iil!\ulation===========~
i~~~~~lhan..9:e
Pt'int Device -' . Dos deIJICe 'ffaMe PRN
Imelt=-IUC
RSZ32: Baudrate Pa~ity
.
Data hits
Stop hi ts
Protocol
[============='TutoX\ial============
DEVICE:TYPE
This can be set to : DOS DEVICE
A Dos device is normally the Parallel Port which can be set to LPT1, LPT2. PR N. Select this option if your Printer has a Parallel Port. SERIAL
There are several settings required with the serial Port. Baudrate Parity Data bits Stop bits Protocol
To change any of the above parameters make sure that the Device is set to serial. Highlight the option with the cursor keys and press the Return key to scroll between the different options.
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". CHANGE PRINT PAGE LAYOUT
DOO'ORD FANUC TllIIn i ng vi. Oa MetX'ic NONAME F=============SiMUlation===============I
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 out \DltJl;lL-. IT'int Paua _ 80 Page dept. 60 Left Margin D_
I
hp
'MaJ"g11l
Botto~ M~in
ColUMn width Carriage retu~n nulls Line feea nulls FoPM feed nulls ~int line feeds
0 ~
80 0 0 0
~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
By changing the above parameters a customised printout can be set. If you have several printouts save each individual setting as a different filename. Linefeeds and formfeeds depend on the Printers settings. If you are not sure try different options till it looks right CHANGE MACHINE LINK
NONA ME
DENFORD FAHUC Turning vl.0a
,F============Sil/l\ulatian============l
hange Settings I
Edi tor
SililUhtion Pr'i nt dev·i ce
~~=I I I!I!IO I!
1n
Kiscl!llanious Load settings Saul! 51! tti Og5
I
================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~
Editor'
Settings
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
II .
.,
au - a e- Pat'i t9
LinCOM.1l
4BOO' Oaci
Data bits stop hits
7 1 ~es ctl"I-2
Send line-CeedS End~o'f"fi
Ie
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.
CHANGE MlI'SC SETTINGS
DENFORD FANllC TUl"ning v!,Oa
NONAME
F============ShlUlation===========~
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
F====:::::;;;;:::=====:::==~illl.llla
1lmU'1~ ~se:Ys naMe
'Ii)
Sc~~n
1sc
text size
I~t:ril}
NO~HE
ti on===========:::::::::::,
e 1n~~ tlti c A N Other'
La:rge
GLOBAL UNITS USER'S NAME SCREEN TEXT SIZE
The Global Units toggles between Imperial or Metric programming as the Default setting. If the User's name is used it will be printed off on all enc program printouts. The screen text size can be toggled betvveen 25 Jines or 45 lines on screen.
OFFLINE PROGRAMMIING
41
LOAD SETTINGS M@tZ'ic DENFORD FAHUe IUl'ning IJUla F======::::::::::=====SiMulation===========l
ange
Editor
Settings
Si M\l!l aU on Ploint device
p'int
p~
layout
.Machine _link I ReI'lO,tl! Iink I ,Miscl! 11 a:ni ous I
m"i#N~~
============Iutol"ial=============l 1.lJ help mmAil;jflljlll Sl!lec-t option
tl!J l4 MESSAGES FANUCL (FANUCLD for the DESK TOP TUTOR version)
You will have to wait a few seconds before a compilation completed message appears. 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.
COMPILING FROM FLOPPY DRIVE Make sure the new file is saved on the Drivers Disk where the MESSAGES.EXE file exists.
TYPE:- MESSAGES FANUCL
--
-
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 The Help file contains different types of information, to locate a particular entry you need to understand the structure of the Help file.
HELP FILE STRUCTUlRE
Comments Example (This is a comment Comments start with an open brack.et and can be inserted anywhere in the Help file. They are ignored by the compiler and are only to help the end user document the Help file. Page Start Example IHELP PAGE1 AI Example IG and M Code 'Errors I
Each Page Start begins with a tramline character followed by the Page name. Actual Help Pages have a page designated by a letter from A to Z. A page start can be 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. For example we might like a lesson on Cnc programming to be available by pressing the F1 key during edit mode. At the moment pressing the F1 key during edit may display the paragraph below. EDIT AND SIMULATE You are now editing a CNC program. A variety of instructions can be keyed in on each line. At any time you can start a simulation of the machining of your program via the F9 m':3nu.
Whilst typing, characters will appear at the cursor position. The cursor is the flashing underscore or the steady blob. EDIT KEYS eNC INSTRUCTIONS
How to add a Cnc lesson as a sub menu: 1 - We decide what the menu option should be called, in this case we shall call it "Cnc Lessons".
2 - A name for the Help Page we want to display when we select Cnc Lessons. In this case LESSON1.
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, The page start is IEDIT AND SIMULATE I which is called up by pressing F1 when in the Edit and Simulate Mode. 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. 7 - Type I LESSON1 AI this is the start of Lesson1 and the page number is 'A'. Always use capital letters for Page Starts. 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 enc Lesson one Page 2 Followed by the Text. 11 - If you want sub~menu's to be displayed on your new Help page simply place the referencing commands at the bottom of the Help Page. Example #G and M code#HELP PAGE1 A 12 - Upon completion save the new Help File and compile to Disk. Run the software to test the changes. Good luck!.
OFFLINE PROGRAMMING
73
~
--J
+>
l\) ~
9 WAY ·TO
25 WAY
C1 l>
CONVERTER
00
25 WAY MALE 9 WAY FEMALE
r
BLUE
o =H c z
m -u
:0
o (j)
L-
r--
~ ~-
!
• Ii 9
.~
--.
r
I
_.
z (j)
1h
'WH[TE
15
BllowN BLACK
16.
MAUVE SCREEH
1&
RFn
1~
1ge
~O~
%1
~ i2"'"
l.,//
Pt 24 Z3.
~ ~ ~
~
"
GREEN YELlOW
30 CM
~
r m en
m IBM
TO
ROLAND
IBH
PLOTTER 25 VI A'( HAL E
2S WAY fEMALE
~ 14e 15
I, 16.
o"l1 "l1
r
Z
m
~
-:we
tI .-. ~.20?I
...... ~
BLACK
I
~
BAOWH
~
n.
~2'.W
_ 23.
~~
~. MAUVE
z
2 METERS
-....J
~ g ,..I.
u.F
G>
(Jl
1ge
III --
h~ 24·
G>
11_
:D
o
C IIC
16 P.
~1~
WHITE
~ 23
o
s: s:
r1.:1~
"~ 22
-0 :D
~
f2. ,,..
YELLOW
a > z
~
RED BLUE GRfEN
• 17 1e.
s:
DXY-1000 SERIES
.
o en,
m
-m :0
II en
IDi
~I
IBM
~
TO WATtNABE/GRAPHTEC MP1000 SERIES -
l-i
---".
0
PLOTTER 25 WAY MALE
COMPUTER 25 WAY FEMALE
-f
I
l·l~e
RED
14e 1S.
15.
RIllE
:.
l6. 0
-n -n
r
r
Z
m
-0
:D
0
(j)
~ ~
~
z
(j)
e
17e 11\e 1ge XI...
...,.
~6· 17. 19
r~ 21 •
• :11
-n.
.23.. ~. ~
t
l~lS.
YELLOW
,
1 22e
r"
~
.
Z
MET~RS
~
J>
~
m Z J>
m
m
--
G)
~
"'0
::t -i
rn n
:5:
"a ~
0
0
CJ)
m :xJ
m
en
\ .,
tD
IBM
TO
HEIDENHAIN/FANUC/FAGOR
25 WAY FEMALE
25 WAY MALE
s: -l o ::I:
-mcm
z
::I:
-Z
~
o
." ."
"T1
C
z
m ""'Q
:D
oG)
~
~
zG)
6 METERS
» C) o :D s:
-~
n
\ ,,
,
""-J --..J
\
\
This page is intentionally left blank
78
OFFLINE PROGRAMMING
SECTION 2
DESK TOP TUTOR
• MANUAL DATA INPUT PANEL
2.0
• DESK TOP TUTOR
2.. 1
OFFLI~c
PROGRAJ\1MING
79
CONNECTION PROCEDURE
Before running the Desk top version Offline programming software, the Desk Top Tutor must first be connected to the computer. CONNECTION PROCEDURE
The connection from the serial port of the computer to the Desk Top Tutor is via the cable provided. This cable is a 1 metre ribon type cable with a 25 way D type female connector at either end. Note: if the user's computer has a 9 pin serisl port then a 25 to 9 pin converter will need to be constructed or purchased from Denford machine tools (See cables section - section 1 for cable information ). Once the Tutor is connected to the computer, the qwerty keyboard becomes non-functional. To return to the qwerty keyboard then: Press ext/keybd.
80
OFFLINE PROGRAMMING
........
o·•
:= ·
..J
-
... U~
«
Q.
....
~
c.
z -
«
c~
...J
«
~
w
. c..
z
....
...J
Q
~
en
°0 Z J c.. en en
~-
Z -Cl.
2.1 DESK TOP TUTOR
(Drawin~reviousE!S_e_)
_
• RESET - Resets any alarm messages. Besets program to start in
edit mode.
• ALPHA/NUMERIC PAD ~ Inputs character expected by controller
when inputting program. Multi character keys toggle between char~
acters shown
• CURSOR - Moves cursor through program element by element
in defined direction
• PAGE - Moves cursor through program page by page in
defined dir.ection.
SELECTIONI KEYS EACH HAVING SEVERAL PAGES
• UTILS - Toggles detween directives. • 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
• ALTER - Alters addresses • INSRT • Inserts addresses. (Also used to initialise new
programs)
• oELET - Deletes addresses. • J ; # E.O.B. - charactures shown are toggle EOB operated when
editing.
• CANCEL- Cancels an address. (Before insert is executed)
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. AXIS/DIRECTiON - Press either JOG or MPG to operate.
• -X - Movement in -X direction
• + X - Movement in + X direction
• -Z - Movement in -Z direction
• + Z - Movement in + Z direction
• TRVRS - Rapid Traverse (toggle switch) 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
• WORD DETAILS (G AND M CODES)
3-1
• BASIC MOVEMENTS
3-2
• PROGRAMMING INSTRUCTIONS
3-3
• SUBROUTINES AND CYCLES
3-4
OFFLINE PROGRAMMING
85
This page is intentionally blank
86
OFFLINE PROGRAMlvfiNG
3.1 WORD DETAILS
Although the Control will, in general, accept part programming words in any sequence, it is recommended that the word order for each block is used:. N.G. X or U.Z or W.I.K.F.S.T.M.
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. ~
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. G
EXAMPLE:
Valid N100 GOO G40 G90 G95 Nonvalid N100 GOO G4Q G41 G90 G95
.840 & 841 are from the same group. A retained G word (Modal) from one group remains active until another 8 word from the same group is programmed. One-shot G words (Non-Modal) must be programmed in every block when required.
OFFLINE PROGRAMMING
87
this page is intentionally left blank
88
O~NEPROGRAMMING
G CODES LISTING FOR DEN FORD FANUC LATHES
(NOTE NOT ALL G CODES APPLY TO EACH MACHINE)
Group
j"
/",
1
GOO
Positioning (Rapid Traverse)
1
G01
Unear Interpolation (Feed)
1
G02
Circular Interpolation CW
1
G03
Circular Interpolation CCW
a
G04
Dwell
0
Gi0
Offset Value Setting By Program
6
G20
Jnch Data Input
6
G21
Metric Data Input
9
G22
Stored Stroke Check On
9
G23
Stored Stroke Check Off
0
G27
Reference Point Return Check
0
G28
Reference Point Return
0
G29
Return From Reference Point
0
G30
Return To 2nd Reference Point
0
G31
Skip Function
1
G32
Thread Cutting
1
G34
Variable Lead Thread Cutting
0
G36
Automatic Tool Compensation X
0
G37
Automatic Tool Compensation Z
7
G40
Tool Nose Radius Compensation Cancel
7
G41
Tool Nose Radius Compensation Left
7
G42
Tool Nose Radius Compensation Right
_.- - - --~-----------~----_..:.:....-....:...-_-~~~-
OFFLmEPROGRAMMrnNG
89
90
0
G50
Work Co-ord. Change/Max. Spindle Speed setting
0
G65
Macro Call
12
G66
Macro Modal Gall
12
G67
Macro Modal Call Cancel
4
G70
Finishing Cycle
4
G71
Stock Removal in Turning
0
G72
Stock Removal in Facing
0
873
Pattern Repeating.
0
G74
Peck Drilling in Z Axis
0
G75
Grooving in X Axis
0
876
Thread Cutting Cycle
1
G90
Cutting Cycle A
1
892
Thread Cutting Cycle
1
G94
Cutting Cycle B
2
G96
Constant Surface Speed Control
2
G97
Constant Surface Speed Control Cancel
11
G98
Feed Per Minute
11
G99
Feed Per Revolution
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.
Do not program X & U or Z & W in the same block. If an X axis command calls for no movement it may be omitted.
x JU
or P : Dwell The X word is used with G04 to command a dwell in seconds.
I WORD
a) G40 active
For arc programming (G02 or G03) the I value (With sign) is programmed to define the incremental distance parallel with the X axis between the cutter centre and the component arc centre at the start of arc.
92
OFPUNEPROGRAMMING
(
b) G41/G42 Active For arc progranming (G02 or G03) the I value (With sign) is programmed to define the incremental distance parallel to the X axis between the start of the arc and the arc centre. c) Used in automatic cycles KWORD
a) G40 Active For arc programming (802 or G03) the K value (with sign) is programmed to define the incremental distance parallel with The Z axis between the cutter centre and the component arc centre at the start of arc.
b) G41/G42 AcUve For arc programming (G02 or G03 ) the K value (with sign) is programmed to define the incremental distance parallel to the Z axis between the start of the arc and the arc centre. c) Used in automatic cycJes. The maximum arc for I & K programming is limited to the quadrant. If I or K is zero it must be omitted. FWORD
a) In G99 mode the F word is used to command feed/rev. b) In G98 mode the F word is lJsed to command feed/min. c) In G32 mode the F word specifies the lead' of the thread.
P WORD
a) Used in automatic cycles to define the first block of the contour. See Section 5.5 b) Used with G10 to define the offset number in the tool geometry file. c) Used to define a subroutine number.
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). b) The R word is programmed with G10 to indicate the tool radius in the tool geometry/wear file for use with work surface programming (G41/G42). 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). c) Prior to entering the constant surface speed mode (G96) the S word is used to specify a speed constraint, the maximum speed allowable in the current gear range, or less, to prevent the spindle overspeeding. To command this restraint the S word is programmed in conjunction with the G50 word only. TWORD
Tool words are used to cause a tool change, and to activate tool geometry offsets to obtain the desired machining accuracy. The first two digits in the T word (01-16 depending on the
number of tool stations) are used to describe a turret station number.
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
/
TURRET WORD
TOOL No
16
\
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
All m codes marked with an asterisk will be executed at the end of a block ( i. e. after the axis movement - NOTE:- Not all M codes are avail able on each machine)
* MOO
PROGRAM STOP
* M01
OPTIONAL STOP
"" M02
PROGRAM RESET
7