30

Key in the name of the program (without the extension) you want to see and ..... Once this data has been entered you will be asked for confirmation, if the answer ...... As you remain in the search operation you can directly vary the element to be.
198KB taille 228 téléchargements 800 vues
SOFTWARE DNC REF. 9701 (in)

INDEX

1.

Introduction................................................................................ 1

2.

General description ................................................................... 7

3. 3.1. 3.2. 3.3. 3.4. 3.5. 3.6. 3.7. 3.8.

Options ........................................................................................ 9 Main menu ................................................................................... 9 Parmeters .................................................................................... 11 Program Management ............................................................... 15 Tool Management ...................................................................... 21 Machine Parameter Management .............................................. 26 Remote Control ......................................................................... 32 Infinite Program ......................................................................... 36 DOS Utilities .............................................................................. 38

4.

Errors ........................................................................................ 41

Appendix A CNC Program Editor ................................................... 45 1. Introduction ............................................................................... 45 2. Selecting a program ................................................................... 46 3. Inside the editor ......................................................................... 47 4. How the commands operate ...................................................... 50 4.1. Editing ........................................................................................ 50 4.1.1. Internal name (F3) ..................................................................... 51 4.1.2. Programing guide (F4) .............................................................. 51 4.1.3. Control of 3 or 4 axis machines (F5) ........................................ 52 4.2. Modify ....................................................................................... 52 4.3. Search ......................................................................................... 52 4.4. Replace ....................................................................................... 54 4.5. Delete.......................................................................................... 54 4.6. Move .......................................................................................... 55 4.7. Copy ........................................................................................... 56 4.8. Saving ........................................................................................ 57 4.9. Edit file ....................................................................................... 57 4.9.1. New ............................................................................................ 57 4.9.2. Load more .................................................................................. 57 4.10. Validate file................................................................................. 58

4.11. 4.12. 4.13. 4.14. 4.15. 5.

Print ............................................................................................ 58 Save routine ............................................................................... 58 Load routine............................................................................... 59 Renumber ................................................................................... 59 Exit ............................................................................................. 60 Advanced operation: editing commands .................................. 61

Appendix B

DNC modifications for 8030 ........................................ 63

pg-1

1. INTRODUCTION . Before describing the different options of the application, some information should be given with regard to its proper use. Configuration: The configuration necessary to run the program is as follows: - An IBM PC/XT/AT or totally compatible microcomputer, or an IBM PS/ 2. - Minimum RAM memory: 512 kb. - Monochrome or graphics monitor, in accordance with MDA, CGA, EGA or VGA standards. - Two diskette drives or one diskette drive and one hard disk (the latter is recommended) - RS232 C serial output (one or two). As an option it could have (for listing options): - Parallel/Centronics output and IBM compatible printer. The Fagordnc program occupies three 5 1/4" diskettes and 360Kb of capacity or three 3 1/2" diskettes and 720Kb of capacity. These diskettes are labelled diskette no. 1, no. 2 and diskette no. 3. As a safety measure copies can be made by means of the Copy command of the Operating System of both diskettes. If the diskettes are accidentally wiped the copies can be used to return them to their original state, again using the Copy command, in this case the destination diskettes being the originals.

pg-2

Installation: Once the computer has been switched on, when the Operating System prompt appears, insert diskette no. 1 in drive A, and from this drive key in: INSTALL and press the key. The installation program will now run and will ask, amongst other things, if there is a hard disk drive, which work language you require, ... Once these options have been selected, the program is ready for use. If you install the program to work with a two diskettes micro and you like to install again to work with a hard disk computer you must first to run Uninstal program contained in diskette no.1. Operation: The Fagordnc program is designed with a series of menus with a tree structure. That is to say that the menus - the screens where you select an option - can, in turn, have other menus, known as submenus. From these submenus you can choose a certain option or return to the previous menu by pressing the key. In addition, within each option, there is certain information to be completed: a number, a program number, ... This information is called fields. When you have to complete one of them you should finish with the key. Within the program you will normally use the alphanumerical keys of your computer both for selecting options and for introducing the necessary data for fields. In addition there are a series of function keys and/or combination of keys which shall now be described. Function keys: These are located on the left hand side or at the top of the keyboard. They are normally numbered from F1 to F10 or from F1 to F12. In the program F1, F2 and F3 are used for the following: Help. When you need help, press this key from a menu and a window with the help text will be superimposed on the current screen. By pressing any key the help window will disappear.

Directory. When you have to call a program to display it, send it, ... or a tool or parameter table (in the controls which permit this option) or change directory or language (for hard disk users), press this key to obtain a window in the top right hand part of the screen. This window will list programs, tables, directories or languages so that they can be rapidly identified.

pg-3

Change line. If you are using a microcomputer with two RS232 C serial outputs, use this key to directly change the output through which you are communicating. It will switch directory or type of machine too, in accordance with those associated to the active line.

. Normally, is pressed when you are in the fields known as program, tool or parameter identification. If you press when there is no other RS232C output the program will give the message: Peripheral not available.

“Special” keys: and the sequence + . is the return key in submenus, as explained previously. In addition in screens with different fields, cuts off the introduction of data, going to confirmation of the data introduced or if the cursor is in the first field of the screen that option is abandoned.

+ Communication cut off sequence in the processes of digitalized program Reception or infinite program Transmission. These two keys should be pressed simultaneously. After a few seconds you will see the message: Communication interrupted by user.

Note: In these lines indications are given as to how the program is structured after installation. Just as in the following pages of the manual a distinction is made between users of two diskette drives and hard disk users. - diskettes Drive B is where the CNC programs and tool and/or parameter tables are going to be. These tables will be in two subdirectories, T and P respectively. The extensions to the names, both in CNC programs and tables are added automatically by the program in accordance with the type of machine linked to the active line and defined in the parameter option. When you wish to find a program or a specific table using the function, the Fagordnc program assumes that it must look for those whose extensions conform to the machine linked to the active line. So if it cannot find them and

pg-4

a message appears in the lower part of the screen saying that there are no files in the subdirectory, this means that there are no programs or tables with those extensions; although there could be programs or tables with extensions for other types of machines. - hard disk Once the application is installed, it will reside in a directory on the disk called DNC30. The first thing that should be done is go to the parameter option and enter the work directories associated with the lines (RS232 C outputs) available. Once this has been done and the data confirmed, the structure will be as follows: Let’s suppose that there is only one line and that a directory called DI1 has been created and that the installation disk is C. Disk C —> Subdirectory DNC30 —> Subdir DI1 —> Subdir T —> Subdir P If we enter Milling Machine as the type of machine, Milling machine programs Milling machine tools Milling machine parameters

.PIM will be in DI1 .TIM will be in T .MCM will be in P

The Fagordnc program will save them or look directly in those directories with those extensions. Let’s suppose that now you want to change the type of machine and you enter Lathe in parameters. The structure is the same and you will find that: Programs Tool tables Parameter tables

.PIM and .PIT (lathe) will be in DI1 .TIM and .TIT (lathe) will be in T .MCT and .MCT (lathe) will be in P

When you press , depending on the type of machine linked to the line at that moment, it will look for one or the other. You should also bear in mind that when you receive programs or tables, they come from the CNC without an extension; so the program will give them the extension for the machine defined on the line at that moment.

pg-5

With two different machines it would seem logically to have saved the programs and tables in different directories. If you were to go to parameters and at the same time as entering Lathe, you were to say that the directory is DI2 (any name accepted by the Operating System up to 8 characters can be used) and you were then to confirm this, the structure in the disk would be:

. Disk C —> Subdirectory DNC30 —> Subdir DI1 —> Subdir T —> Subdir P —> Subdir DI2 —> Subdir T —> Subdir P Milling machine programs .PIM will be in DI1 Milling machine tools .TIM will be in T (of DI1) Milling machine parameters .MCM will be in P (of DI1) Lathe programs Lathe tool tables Lathe parameter tables

.TIM will be in DI2 .TIT will be in T (of DI2) .MCT will be in P (of DI2)

If on the other hand you have two machines of the same type, you can also assign a directory for each machine. In short, you only have to bear in mind the relation line — directory — machine. Obviously this can be extended if there are two lines. If you assign line 1 a directory DI1 and a milling machine as machine type and in line 2 a directory DI2 and a lathe as machine type, the structure will be exactly the same as that above. When you work with line 1 you would be sending milling machine programs and/or tables and lathe programs and/or tables in line 2. When the computer receives it assumes that everything that arrives along line 1 is for a milling machine and adds the extensions and that everything along line 2 is for a lathe and adds those extensions. The structure can be as complicated as you want. although it is recommended that you use simple models like those given at the beginning until you are familiar with them. In any case the parameters associated with the line you are working with at any given moment appear in the top part of the screen throughout the program. A rapid visual inspection of them will tell you if the operation is correct. If you wish to change them, go to the parameter screen to modify them. If you do not confirm the changes the parameters are not changed.

pg-6

- hard disk and diskettes Lastly, it should be pointed out that in the CNC which admit loading and unloading of tool and parameter tables an additional feature has been included which allows you to test, automatically from the computer, the type of control with which the communication was established. If when you send or receive tables the type of control at the other end of the line (Milling machine, Lathe, Punch and GP) does not coincide with that established in the parameters for that line, the program will indicate an error stopping the operation.

Connections: Depending on the the type of serial output of your computer they will be as follows:

CNC 9 pin male connector

TxD RxD CTS DSR DTR GND

1 2 3 5 6 9 7

9 pin male connector 1 TxD 2 RxD 3 CTS 5 DSR 6 DTR 9 GND 7

PC/AT Computer 9 pin male connector Screen 2 RxD 3 TxD 8 CTS 6 DSR 4 DTR 5 GND

PC/XT/PS2 25 pin male connector 1 3 2 5 6 20 7

Screen RxD TxD CTS DSR DTR GND

pg-7

2. GENERAL DESCRIPTION . The Fagordnc program allows you, amongst other features, to communicate with the Fagor-CNC, send and receive programs, remote control operations from the computer, monitor the execution of programs, receive programs by means of the digitalization option, execute programs whose size exceeds the control memory, as well as to send and receive tools and parameters (in those 8020 control models which include these options). The 8020 software versions which include these options are those indicated below: Model MS MG M TS TG T GP

Version (or higher) 05 04 04 07 05 05 04

pg-8

pg-9

3. OPTIONS 3.1 MAIN MENU Select an option Main menu 1.- Parameters 2.- Program management 3.- Tool management 4.- Machine parameter management 5.- Remote control 6.- Infinite program execution 7.- Utilities 8.- End of Program

*Language *Drive/Directory

*Com. ports

*Load + Deletion

Let’s assume that you have installed the program in accordance with the procedure detailed in the introduction. You are now therefore ready to start working with it. The program can be called from the operating system, once in the right drive and/or directory, by keying in: - diskettes Fagordnc - hard disk The program is loaded and the main menu for the application appears (figure). From here you can go to any point of the program. Similarly it is the last screen you see before leaving the program. The first thing you must learn is how to get to the options and which keys you should use.

pg-10

As in all menus, the up and down cursor arrows, as well as the space bar serve to move you through the menu. Movement through the menus is circular, that is to say, if you get to the beginning and/or end and keep going, the cursor will appear at the other end of the menu. Notice that in the upper left part of the menu there is a message which indicates the action the program is waiting to carry put; in this case, the selection of an option. Likewise, in the bottom part there is a line whose content changes as you vary your position in one or other option. This line, which is repeated throughout all the different menus, indicates which options depend on the option currently indicated. There is also a general help key available. Press to display it. You will see a text, which appears automatically on the right. To remove it press any key. There are two alternatives to select an option: - move the cursor to the option selected and press - key in the number of the corresponding option. Obviously if you press 8 you return to the operating system, having finished with the program. Before going on it should be should pointed out that the key does not have any function in this menu. Throughout the program this key has the specific function of abandoning suboptions, or more specifically, returning to the previous menu. It is different in the main menu because the only way to leave the program is by selecting the End option. Let’s now turn to the first option: Parameters.

pg-11

3.2 PARAMETERS Active Line: 1

MillingParameters

Language ....................... : ENGLISH Load + deletion (Y/N) ... : N Line 1

Directory : DIREC1 Baud./rate : 9600 Machine...: 2-Milling

Line 2

Directory: PROGRAM Baud./rate:9600 Machine..: 2-Milling

Lines / Sheet.............. : 66 Printer Active printer (0-LPT1 1-LPT2): 0 Select the work directory. displays the subdirectories This is the first option on the main menu. If selected, a screen appears, within which you can move indicating the normal work set up of the application: language, control model, program and table storage directory, ... First of all you obtain a screen. You can see a central zone where you can introduce the data necessary for the application and two lines of messages, above and below the central zone. The cursor appears in the first field on the screen. To go from field to field press or use the cursor arrows. Take note of the messages at the bottom of the screen, which indicate what you can do in each field. You can also go backwards using the cursor arrows. You can press at any moment. If you do this a message asking for confirmation of the data currently introduced will appear. If you confirm the data, it will be saved and you will return to the main menu. If you do not confirm it you will return to the first field and you can introduce new data. If you press when the cursor is in the first field, you will return directly to the main menu and the parameters will remain as they were before you accessed the option.

pg-12

The fields which appear on the screen shall now be described. Active Line: 1

Milli

Dir CASTELL.MSG ENGLISH.MSG

Parameters Language ....................... : ENGLISH Load + deletion (Y/N) ... : N Line 1

Directory : DIREC1 Baud./rate : 9600 Machine.. : 2-Milling

Line 2

Directory: PROGRAM Baud./rate:9600 Machine..: 2-Milling

Lines / Sheet.............. : 66 Printer... Active printer (0-LPT1 1-LPT2): 0 Select a file

Language: this asks you for the work language for the application. Normally this remains fixed once selected. If you want to choose a different language just press and a window (figure) will appear showing the available languages. To select one of them, use the cursor to move to the language required and press . Load and delete (Y/N): this indicates how you wish to operate when you send a program to the numerical control. When you transmit a program from the computer to the CNC it is possible that that program name already exists in the control. If you select Y the computer will delete the existing program with this name in the control and will then send the one you have chosen. If you chose N the computer will give an error message advising you that there is already a program with that name and that it will not carry out the transmission until it is erased from the control memory, either directly or via the program delete option. Note: bear in mind that to all intents and purposes two programs are the same if they have identical names although their content may be different.

pg-13

Next we shall look at the three parameters associated with the line: directory, speed and machine. If you are working with a serial port (COM 1) just enter the data in the fields for line 1. If you have two serial ports (COM 1 and COM2) the corresponding data should be specified for lines 1 and 2. Here you should bear in mind whether you are using a hard disc and/or diskettes. Directory: key in the name of the drive / directory in which the programs you are going to send or receive are to be kept. This will be looked at more closely depending on whether you are using diskettes or a hard disk. Speed: you can set the line transmission speed (110 to 9600 bps). It should coincide with the corresponding parameter in the CNC. Use the +, - keys to select the required speed. To make the selection press . Machine: type of control (milling machine, lathe, ...) with which you are going to work. Us the +, - keys to select the machine required and then press . - diskettes In directory set the drive where your programs are going to be. Normally if you work with drive A as the application drive, key in b: to select the second drive as the program drive. Active Line: 1

Milli Parameters

Dir DIREC1 PROGRAM PROGRAMA

Language ....................... : ENGLISH Load + deletion (Y/N) ... : N Line 1

Directory : DIREC1 Baud./rate : 9600 Machine.. : 2-Milling

Line 2

Lines / Sheet.............. : 66 Printer Active printer (0-LPT1 1-LPT2): 0 Select directory

Directory: PROGRAM Baud./rate:9600 Machine..: 2-Milling

pg-14

Remember that the subdirectories corresponding to tools and parameters will be created in B, as indicated in the introduction, in the section on organization of the application. The function , subdirectory search, is not active in this case. - hard disk In directory key in the name of the subdirectory where the programs are going to be stored. You can use as many subdirectories as you want. If you use various, when you want to change from one to another use the function (figure) which will give you information about the different subdirectories you have created. To select one of these use the cursor arrows to move to the subdirectory required in the window and press . You should bear in mind that the current subdirectory defined in this field is linked to the tool and parameter subdirectories as indicated in the introduction in the section on organization of the application.

The last parameters on this screen refer to the printer, if you have one in your equipment configuration. Line/page: as its name indicates this determines the number of lines to a list on each page. Normally it is 66 or 72 depending on the type of paper. Printer(LPT1/LPT2): if it is connected to the first or only parallel output put 0. If it is connected to the second put 1. Once this data has been introduced the computer asks for confirmation, as mentioned at the start of this option. If confirmation is given, the parameters are saved and are fixed until they are changed again. From this point on in the different program suboptions, the directory and the type of machine introduced for the line you are working on will appear at the top of the screen. If there are two communication ports and in an option a line change is made, the message will directly switch the directory and type of machine linked to this second line.

pg-15

3.3 PROGRAM MANAGEMENT Select an option Program Management 1.- Display 2.- Transmission 3.- Reception 4.- CNC Program Deletion 5.- COMP Program Deletion 6.- Digitalized Reception

Computer Program Display

This is the second option on the main menu. It is a new menu which offers different suboptions for handling programs in the CNC or the computer. To enter a specific suboption, use the cursor to move to the suboption required and press or directly key in the number of the suboption. If you want to return to the main menu press . Display: Shows a program stored in the computer on screen. Key in the name of the program (without the extension) you want to see and press . If you press , instead of a name, you will return to the menu. You can use function to obtain a window with the program directory. Use the cursor arrows to find the program you want, then press .

pg-16

Active Line:1 Line change Program Management 1.- Display 2.- Transmission 3.- Reception 4.- CNC Program Deletion 5.- COMP Program Deletion

Milli

Dir

00001.PIM 00002.PIM 00003.PIM 00004.PIM 00005.PIM 00006.PIM 00007.PIM TEST1.PIM Program identification....... FLEX34.PIM 123AD3.PIM 12346.PIM 00032.PIM

6.- Digitalized Reception

Computer Program Display Select a file Remember that you will always be moving inside the directory which you have defined for the active line and the name of which appears on the top right hand part of the screen. Likewise the programs which appear are those with the extension .PIM, .PIT, ... corresponding to the type of machine defined for the active line, consequently the extension is added by the computer in accordance with this rule (figure). The program will ask for confirmation before sending. If you agree press Y and display will begin. If you do not press N and you will be asked for a new program name. If the program with the specified name cannot be found, the corresponding message will appear at the bottom of the screen. You will see the program screen by screen. In each screen a message will appear at the bottom asking if you wish to see the next screen - continue - or stop. Press to go on to the next screen.

pg-17

Press to stop display, returning the cursor to the program identification field. When you get to the last screen press any key to return to the option. Transmission: Sends a program from the computer to the control. Key in the name of the program (without the extension) that you wish to send to the CNC and press . If you press instead of a name, you will return to the menu. You can use the function to find the program required, in the same way as explained in the previous section. The program will ask for confirmation before sending. If you agree press Y and transmission will begin. If you do not press N and you will be asked for a new program name. End of transmission is indicated by the message: Program transmitted. Press a key, you will be asked for a new program name. If you press you will return to the program management menu. Active Line: 1 Line change

Milling-PROGRAM

Program Management 1.- Display 2.- Transmission 3.- Reception Program identification..... 4.- CNC Program Deletion 5.- COMP Program Deletion 6.- Digitalized Reception

Reception (CNC - COMP) - Key ***** for Backup Enter the name of the program. will display the directory

pg-18

Reception: Takes a program from the CNC to the computer. Key in the name of the program (without the extension) that you want to receive in the computer and press . If you press instead of a name, you will return to the menu. You can use the key to find the program required. Press to obtain the CNC directory window (this window scrolls up and down to show all the programs, if there are more than fit in the displayed window). The program to be received is selected in the normal way (previous figure). If as the program name you key in five asterisks: ***** you are telling the CNC to send all the programs it has in its memory at that moment. This feature can be used to have a copy in your computer, and consequently on diskette or tape of all the CNC programs at a given moment as a backup. If you want to receive a program and you have one with the same name in the computer, that is to say, in the directory at that moment linked to the active line, a message will appear informing you of that fact. You can then choose whether to receive and save it, which means the program already in the computer will be erased, or to reject it and choose another program to be received. Deleting a program in the CNC: This erases a program in the control memory. Key in the name of the program (without the extension) you want to delete in the CNC and press . If you press , instead of a name, you will return to the menu. You can use the key to find the program required. When you press you obtain the CNC directory in the window (with scrolling). The program to be erased is selected in the normal way. Confirmation of the erasing is requested. If you confirm it, it is carried out, if not another name is requested.

pg-19

Deleting a program in the computer: It erases a program from the directory currently linked to the active line. Key in the name of the program (without the extension) you want to erase in the computer and press .

. If you press , instead of a name, you will return to the menu. You can use the key to find the program required. When you press you obtain the computer directory in the window. The program to be erased is selected in the normal way. Confirmation of the erasing is requested. If you confirm it, it is carried out, if not another name is requested. Important note: throughout this section when referring to the program name you should bear in mind the following: a.- The programs you want to send to the numerical control should, in their first line, have the name in accordance with the normal control convention: %XXXXX. Where X is a digit. b.- In the computer, these programs are saved as files. They can be named following the conventions of the operating system. c.- When a program is sent to the CNC, it checks if the name is included in the first line as indicated in point a. If it is not, an error message is displayed and the transmission is not carried out. d.- The programs received, are saved with the name they have in the control. The extension is directly added by the program in accordance with the type of machine specified for the active line. e.- There is no distinction made between upper and lower case. Here is an example: There is a numerical control program in the computer, which begins with: %12345 This program, if it were for a milling machine, could be called: 12345.pim or part1.pim or program.pim etc...

pg-20

This will be its name for the computer. It will therefore appear as such when is used to look for it. If it is to be sent to the control, select its name (without the extension); the application will search for the internal name, in this case %12345. If it is not there it cannot be sent. As it will find it it will send a message saying: transmitting %12345 Program 12345 is now in the CNC memory. Now suppose you have received a program which in the control is called: 78960 In principle the computer saves it in the directory associated to the active line as: 78960.pim (The type of machine associated to the active line is a milling machine in this case). You can get this program and copy it or rename it -you must keep the same extension -. You rename this program part2.pim When you send it to the control again, you select it with the name part2, the Fagordnc program will indicate (display) that part2.pim has the internal name: %78960 and therefore this name will appear in the transmission message. It will be stored in the CNC memory with this name 78960. The display option allows you to find out quickly the “real” name of a program which has a symbolic name in the computer. Reception of a digitalized program: This option allows you to create a file in your computer, where the digitalized values are collected together. Just select the option and key in Y for the computer to await reception of the data. If you key in N you return to the menu. Once you have replied Y the computer waits for the flow of data that the CNC will send when it begins to execute the digitalized program. When reception begins the name of the program being received will be displayed and then, the received block counter will increase. To interrupt the reception press +, after a few seconds the interrupted by user message will appear. If it goes into waiting mode and does not execute the program in the CNC, to leave the option, set DNC to OFF in the CNC, then return it to ON.

pg-21

3.4 TOOL MANAGEMENT Select an option Tool Management 1.- Editing 2.- Tool Table Transmission 3.- Tool Table Reception 4.- Table Printout 5.- Table Deletion (COMP)

*Creation

*Revision

*Directory

The third option on the main menu. This is a new menu which offers different suboptions for the creation, transmission, reception and maintenance of tool tables. To access a specific suboption, move the cursor to the suboption and press or directly key in the number of the suboption. If you want to return to the main menu press . Editing: This lets you create and/or modify tool tables to be sent later to the CNC. In this suboption, it should be pointed out that the contents of the screen depends on the type of machine linked to the active line at the moment in question. On the other hand these variations correspond to the data to be introduced for each table. Otherwise operation is identical. Key in the name of the table (without the extension), if you press instead of the name you will return to the menu.

If it is a new table it will be created at this moment and an empty table will appear with the cursor positioned in the tool number. This should be introduced so that later you can enter the correct radius, length and offset data. Introduce the tool number, then press , then the radius and , etc ...

pg-22

Active Line: 1 Line change

Milli

Tool editing

Dir TAB1.TIM TAB2.TIM TOOLTAB3.TIM

T00 R 0000.000 L 0000.000 I 00.000 K 00.000

Description

_______________

T01 R 0000.000 L 0000.000 I 00.000 K 00.000

Description

_______________

T02 R 0000.000 L 0000.000 I 00.000 K 00.000

Description

_______________

T03 R 0000.000 L 0000.000 Description _______________ I 00.000 K 00.000 ---------------------------------------------------------------------------------------------Name of table......... tooltab3 T__ R____ I_____

L________ K________

Description....

Select a file Notice (figure) that there is an additional field of 25 characters, for description. This field is delimited by the letter - d -. You can use this field to add more information about the tool. This information will be stored in the computer but will not be sent to the control. Enter the description and press . You can use arrow keys to move trought tool pages. Once you have confirmed the data for this tool, the cursor will again return to the tool number field ready for the next tool. If you key in a new number, you proceed to edit this tool, keying in the new data. If you press instead of a number, introduction is completed and the cursor will return to position itself in the table identification field. If the table has already been created, you can find it by means of the key. This function lets you see the tables for this type of machine saved in the directory that the active line indicates. You can modify the corresponding data for the tools in the table and save it when you finish editing, in the same way as described in the previous paragraph. Note: The tool introduction format (inches or millimeters) is not checked in the computer. You should therefore check that it is correct.

pg-23

Active Line:1 Line change

Milling-PROGRAM

Tool Management 1.- Editing 2.- Tool Table Transmission 3.- Tool Table Reception

Table identification TOOLTAB3

4.- Table Printout

Lower Limit

0

5.- Table Deletion (COMP)

Upper Limit

99

Tool Table Transmission (COMP - CNC) Enter the Lower Limit of the table

Table transmission: Sends a specific tool table to the CNC.

. Key in the name of the table (without the extension) that you want to send to the CNC and press . If you press instead of a name you will return to the menu. You can use the key to find the table required. When you press , in the window, you will obtain the directory of tables corresponding to the type of machine currently linked to the active line. Selection is carried out in the normal way. Once you have chosen the table to be sent, you have to enter the limits of this table (figure). That is to say, you can send one tool, several or the whole table. If you want to send one tool, key in the number of this tool as both the upper and lower limits: lower limit: upper limit:

12 12

result:

tool no. 12 is sent

pg-24

If you want to send a group of tools, they must be consecutive tools. Key in the tool with the lowest number as the lower limit and the tool with the highest number as the upper limit. lower limit: upper limit:

0 30

result:

tools 0 to 30 are sent.

If you want to send the whole table, just accept the limits which appear by default on the screen by pressing : 0 to 99. Once the transmission has been carried out, the cursor will position itself in the table identification field. You can send another range of tools or another table to the CNC. Obviously the last table or range sent stays in the CNC. If you press instead of a name, you will return to the tool management menu. Table reception: Takes a tool table from the CNC to the computer. Key in the name of the table (without the extension) that you wish to receive from the CNC and press . If you press instead of a name, you will return to the menu. As there is only one table in the memory of your CNC this is the one which is received, and therefore there is no function. Obviously, you can receive the table from the CNC as many times as you want and save it in the computer under different names. The extension - TIM, TIT - is added automatically by the program, bearing in mind the type of machine, which is associated to the active line in parameters. Table listing: This prints the tool table. Key in the name of the table (without the extension) you want to print and press . If you press instead of a name, you will return to the menu. You can use the function to find the table required. When you press , in the window, you will obtain the directory of tables corresponding to the type of machine currently linked to the active line. Selection is carried out in the normal way.

pg-25

Once the table selection is confirmed, the table will be printed with the comment field included. If the printer is not connected a message will appear asking whether you wish to continue with this option or not. If you press it will try to print again, if you press it will ask for a new table name.

Table erasing: This erases a tool table from the computer. Key in the name of the table (without the extension) you want to delete and press . If you press instead of a name, you will return to the menu. You can use the function to find the table required. When you press , in the window, you will obtain the directory of tables corresponding to the type of machine currently linked to the active line. Selection is carried out in the normal way.

. Confirmation is requested.

pg-26

3.5 MACHINE PARAMETER MANAGEMENT Select an option Parameter Management 1.- Editing 2.- Par. Table Transmission 3.- Param. Table Reception 4.- Table Printout 5.- Table deletion (ORD) 6.- Code Modification

*Creation

*Revision

*Directory

This fourth option on the main menu contains the submenu with different options for editing, receiving and/or transmitting parameter tables between the computer and the CNC. To access a specific suboption, move the cursor to the suboption required and press or directly key in the number of the suboption. If you want to return to the main menu press . The table editing, transmission, reception and erasing processes are protected by an access code which can be modified by using the code modification option. The first time that you access this menu, the first thing you should do is set the access code. This can be done in the following way:

Modifying the code: Changes the access code for the parameter management options. Key in the access code, using up to five characters or numbers, and press . If you press instead of a code, you will return to the menu. Initially the access code is a sequence of five blank spaces which are introduced using the space bar on your keyboard.

pg-27

As you press the space bar asterisks will appear on the screen. Once the code has been introduced the program will ask you for the new code, which can be any sequence of up to five characters or numbers or a combination of both. For example: 12345 or alfed or 1a3wx. As you key in the new code another five asterisks will appear on the screen. Press when you complete the sequence. If you confirm this it becomes the new access code for parameters. You can press instead of the initial code. Active Line:1 Line change

Milling-PROGRAM

Code modification

Current access code ...........:

______

New access code................:

Key in the parameter table access code Editing: This allows you to create and/or modify parameter tables to be sent subsequently to the CNC.

. In this suboption, it should be pointed out that the contents of the screen depends on the type of machine linked to the active line. The table introduction or modification process is otherwise identical. Key in the access code and the name of the table (without extension). If you press , instead of the name, you will return to the menu. If it is a new table it will be created at that moment, and an initial table will appear, similar to that of the control. The cursor will be in position asking for the parameter number to be introduced. Once this has been entered and pressed you will be asked for the contents of the field. You should follow the same norms for the introduction of parameters as with the control, keying in the correct sequence and finishing with .

pg-28

Bear in mind that possible errors in the introduction of parameters are not detected. It is completely your responsibility to check that the parameter introduced is the correct one for the work conditions of the machine in question. You can use arrow keys to move throuhgt parameter pages. Active Line:1

Milling-PROGRAM Parameter editing

P000

PERIPHER - BAUD-RATE

9600

P001

NUMBER OF BITS (7-8)

7

P002

PARITY (0-NO / 1-OD / 2-EV)

0

P003

STOP BITS (1 / 2)

1

P004

FEEDR. AT G00 (N / Y)



P005

50 / 60 HZ

50 HZ

P006 THEO-1 / REAL-0 DISPLAY: THEO. -------------------------------------------------------------------------Name of table 00000___ P005

50/60 HZ:

60

Enter the new value

If the table has already been created, it can be found using the function, which allows you to see the tables which, for this type of machine, have been saved in the directory indicated by the active line. You can modify the data corresponding to the table and save it at the end of editing. In both cases to terminate the introduction of data, when the cursor is positioned in the parameter number, press which will return you to table identification. You can create and/or modify another table or by pressing again you can return to the machine parameter management menu.

pg-29

Table transmission: Sends a specific parameter table to the CNC. Key in the access code and then the name of table (without the extension) of the table you want to send and press . If you press , instead of a name, you will return to the menu. You can use the key to find the table required. When you press , in the window, you will obtain the directory of tables which correspond to the type of machine currently linked to the active line. Selection is made in the normal way. Active Line: 1 Line Change

Milling-PROGRAM

Parameter Management 1.- Editing 2.- Par. Table Transmission 3.- Param. Table Reception

Table identification

_____

4.- Table Printout 5.- Table Deletion (COMP) 6.- Code Modification

Parameter Table Transmission (COMP - CNC) Key in the Parameter Table access code Once the table to be sent has been selected confirmation is requested. The complete table is then sent to the control. In order to communicate with the control, the parameters which affect the transmission and the DNC should already have been entered. If not communication will not be possible. Table reception: Takes the parameter table from the CNC to the computer. Key in the access code and then the name (without the extension) of the table you want to receive and press . If you press instead of a name you will return to the menu.

pg-30

As the CNC only has one table, this is the one which will be received and therefore there is no function. You can receive the table as many times as you want and save it under different names. The .MCM or .MCT extension is added automatically by the program, bearing in mind the type of machine, linked to the active line at that moment. Active Line: 1 Line change

Milling-PROGRAM

Parameter Management 1.- Editing 2.- Par. Table Transmission 3.- Param. Table Reception

Identificación de tabla......

4.- Table Printout 5.- Table Deletion (COMP) 6.- Code Modification

Parameter Table Reception (CNC - COMP) Key in the Parameter Table access code

*****

Table listing: This prints the parameter table. Key in the name (without the extension) of the table you want to print and press . If you press instead of a name you will return to the menu. You can use to find the table required. When you press , in the window, you will obtain the directory of tables which correspond to the type of machine at that moment linked to the active line. Selection is made in the normal way. If the printer is not connected a message will appear asking if you wish to continue with this option or not. If you press a new attempt will be made to print, if you press a new table name is requested.

pg-31

Erasing the table: This erases a parameter table from the computer. Key in the access code and the name (without the extension) of the table you want to erase and press . If you press instead of a name you will return to the menu. You can use to find the table required. When you press , in the window, you will obtain the directory of tables which correspond to the type of machine at that moment linked to the active line. Selection is made in the normal way.

. Note: The fact that the erasing of tables within the program is protected does not mean, that outside the program, they cannot be erased by the normal DOS commands or in the utilities option using these commands. Bear this in mind and protect the tables against possible accidental erasing by making copies.

pg-32

3.6 REMOTE CONTROL

Select an option Remote Control 1.- Keyboard Simulation 2.- Tool Offset 3.- Monitoring 4.- Machining

Send commands to the CNC simulating its keyboard

Using these options you can simulate the CNC keyboard and send sequences of defined commands, carry out tool correction in a dynamic way, monitor the execution of the program discretely or continuously and begin or end program executions. Keyboard simulation: Sends sequences to the CNC. Key in the name (without the extension) of the sequence you want to send. If you press instead of the name you will return to the menu. You can use the key to find previously recorded sequences. If the sequence is new just give it a suitable name and then begin keying in the commands to send to the control. Bear in mind that on the left part of the screen you have the list of the computer keys and the corresponding CNC keys. So pressing on the computer is the same as pressing on the CNC, etc ... You can also use the numerical keys on the computer. Any key which does not have a specific function assigned has no effect.

pg-33

Active Line: 1 Line change

Milli

Dir SIM1.SIM

Keyboard simulation

Sequence identification _______



DELETE ENTER RECALL NEXT DISP. MOD OPER. MOD START STOP RESET

Select a file

As you key in the sequence it appears in the box on the screen. You can eliminate what you have already entered by moving the cursor arrow , it will eliminate key by key. To end the sequence press , as indicated in the message at the bottom of the screen. You will be asked to confirm the sequence. If the answer is Y the sequence is sent to the CNC and is stored in the computer for later use. If the reply is N, the cursor returns to ask for sequence identification and what was previously entered is lost.

pg-34

Tool correction: This allows tool offsets for a tool from the tool table to be sent dynamically to the CNC. Key in the number of the tool and indicate the offset values. If you press instead of a number you will return to the menu. You will be asked for confirmation. If the answer is Y the offsets are sent. If it is N, the cursor returns to ask for a tool number. Active Line:1 Line change

Milling-PROGRAM

Tool Offset

Offset I .............. : .22_____ Tool number .......... : 22 Offset K............. : .66_____

Confirm data (Y/N) Monitoring: Displays the axes and status of the CNC. You should choose whether you want static or discrete monitoring, with a 0 or a 1. Static monitoring is a single display, after having shown the various values press any key to return to the menu. Discrete monitoring carries out an infinite display loop and the different values appear on the screen. Use + to interrupt the loop and press any key to return to the menu.

pg-35

Active Line:1 Line change

Milling-PROGRAM

Monitoring

Axes

Status

x

Active Program .....

y

Block number .......

z

Active MFO ..........

w

Part number...........

v

Machine .................

Static or discrete monitoring (0/1):

Machining: Sends orders for start, stop, start up and reset to the CNC. In the start order you should specify the number of the CNC program to be executed and the number of the block from which you wish to start machining. You can use the key to choose the right program. If instead of a number you press you will return to the menu. The rest of the orders are sent when selected from the machining menu. Once executed you will return to this menu.

pg-36

3.7 INFINITE PROGRAM This is the sixth option on the main menu. With this feature you can execute programs in the CNC which are too big for the memory of the CNC. It will normally be used to transmit programs previously generated by the G76 function or programs generated from CAD/CAM software. Active Line:1 Line change

Milling-PROGRAM

Infinite Program

Program identification ........... :

00001

Number of repetitions ............ :

1

Mode of operation ................. :

0

From block number ............... :

0000

Key in the starting block number

There is no restriction as to the size of the program you wish to send. When you select this option, the screen for this option will appear with the cursor situated in the program identification position. Key in the name (without the extension) and press . If you press instead of a name you will return to the menu. As always, the top part of the screen indicates the active line at that moment and the directory and type of machine linked to it.

pg-37

Once you have selected the name, you should indicate the number of times that the program is to be executed and the operation mode, as indicated at the bottom of the screen.

. We can specify the starting block number into the program. If we press , the program will start the execution at the first block. Once this data has been entered you will be asked for confirmation, if the answer is Y execution will begin, if the answer is N the cursor will return to request a program name. If you want to interrupt the transmission of the program press +. After a few moments the program interrupted by user message will appear.

pg-38

3.8 DOS UTILITIES Select an option DOS Utilities 1.- File copy 2.- Backup 3.- Restore 4.- Directory 5.- Diskette Copy 6.- Diskette Format 7.- Execution of commands 8.- Exit to DOS

File(s) copy utility from an origin to a destination

This is the last option on the main menu. The utilities submenu contains different Operating System programs which allow you to carry out copying, formatting, backup operations, ... without having to go out of the program. Important note: These options do not work for diskette users (except for the directory, command execution and exit to DOS options). To ensure the correct functioning of these utilities, in hard disk the path command should have the directory where the Operating System commands are to be found. This command can be included in the start up file, autoexec.bat, by using an editor like edlin. If you do not have this an incorrect command or file name message will appear. For example, if the Operating System is in the main directory, the path command to be included is: path c:\

pg-39

DOS Utilities 1.- File Copy 2.- Backup 3.- Restore 4.- Directory

Define selection ..c:\istar\*.exe___

5.- Diskette Copy 6.- Diskette Format 7.- Execution of Commands 8.- Exit to DOS

List of existing files (which meet the directory specification) Enter the path and mask of the files to be displayed If it is in the DOS subdirectory, the command to be included is: path c:\dos For more information consult command in the DOS reference manual. The formats in the different commands are those accepted by DOS. The only ones which shall be described are therefore execution of commands and exit to DOS. Execution of commands: Allows you to run DOS programs directly just by invoking them (bearing in mind that the path should be correctly prepared or the correct path is given to find them). Always bear in mind that part of the RAM memory of the computer is occupied, at least by the Operating System and the Fagordnc program itself. So if you call a program which needs more memory than that available, it cannot be loaded. In most cases when this occurs the program called will give an insufficient memory message. By pressing any key you return to the application menu.

pg-40

To have an idea of the type of programs which can be called from this utility bear in mind the following: RAM memory occupied by the Fagordnc program ... 300Kb RAM memory occupied by the DOS (approx) ....... 40Kb If you have a 512Kb computer the RAM available is 172Kb. On the other hand if you have a 640Kb computer the memory available is 300Kb. DOS does not directly recognize memory above 640K. This then is the maximum size of memory for executing DOS programs.

pg-41

4. ERRORS This section describes the error messages for the Fagordnc application with a description of their causes. The errors given here are part of those which may be displayed on your screen. Remember that when the application detects an error sent by the CNC, within the execution of a program, it is also shown on screen or by means of a status report order. To consult this type of error you should always refer to the CNC programming manual.

. # Incomplete application A basic file for the operation of the application is missing due to defective installation or accidental erasing. Install again. # Extraneous characters in the sequence The .SIM file for sending keyboard sequences to the CNC, in the Remote Control option, is corrupt. Erase the file and enter the sequence again. # CNC sends extraneous characters Extraneous codes have been received in the flow of characters sent by the CNC. This could be due to the bad state of the line, due to noise. Check this and try the process again. # CNC breaks communication An end of transmission has been received from the CNC. One of the causes could be that in the CNC peripherals option the DNC is in OFF. Another could be that it has tried three times to communicate with the computer and the computer cannot respond. Check if modifying the DNC parameter which interrupts the communication has any effect. Once this has been done reintegrate it to its initial conditions. # Bad command In Dos utilities you have tried to execute a Copy command ... with incorrect drive specifications ... Consult the DOS reference manual.

pg-42

# Error in transmission package More than three consecutive incorrect packages have been received from the CNC. The line could be in bad condition. Check it and try to repeat the process. # Error in opening file # Error in reading file # Error in recording program These three errors are due to similar problems. Either the file has corrupted, the disk is defective or there is no space on the diskette or the work diskette is not formatted or in bad condition. To avoid such problems, with the hard disk, the only solution is backup copies. These can be used to restore the lost information. In diskettes, apart from the backup copies, make sure that the work diskettes are formatted. # Error in reading %XXXXX You have tried to send a program to the CNC which does not begin with % followed by digits. Edit the program and correct it. # No such file error You have tried to identify a file which is not in that directory or on that diskette. # Printer error In a printout the printer has sent an error to the computer due to lack of paper, disconnection or some other reason. The printout is interrupted. Solve the printer problem and start printout again. # Error in message file # Error in parameter file These program files have corrupted or have been accidentally again. The .msg and.par files are in the program diskettes, copy them again in your DNC30 directory.

pg-43

# Printer not ready When about to print first check if the printer is ready. Check the printer and repeat the operation.

. # Erroneous limits You have tried to send an incorrect range of tools. For milling machines the limits are 0 and 99, for lathes 0 and 32. Or you have set a lower limit above the lower limit in the range. # Insufficient memory There is no free RAM memory (300Kb) in your computer to run the Fagordnc computer. # DNC and CNC type of machine do not coincide. You have tried to send or receive a tool table when the control is different from that defined for the active line at that moment. Modify the type of machine in the parameters of the application. # Incorrect response Synchronizing has been lost in the communication and after three attempts it is broken. # Time limit without receiving reply There is no physical connection, cable, between the computer and the CNC. the CNC has the DNC in OFF. Or the CNC cannot restart the communication for 30 seconds. This last case should not occur in digitalization or infinite program processes. # User interrupt In a communication process, normally digitalization or infinite program the + keys have been pressed.

pg-45

Appendix "A" CNC PROGRAM EDITOR 1. INTRODUCTION The Fagordnc block editor is a line by line editor which works with commands which are activated by the function keys on your computer -F1 to F7-. The programs can be checked for syntax allowing a rapid identification and correction of errors. It is an ASCII editor, that is to say that the program files can be read and exported from and to other programming editors which accept this format, e.g.: Norton Editor, Microsoft Quick-C, Wordstar, Edit, ... The editor accepts source programs with the extension .PIM and/or .PIT milling machine/lathe -. Likewise when a .PIM source program is edited and saved, a .BAK image file is automatically generated as a backup copy, so that you can always return to a program previous to that in which the last modification was made. To do this the .BAK image file should be renamed or copied to one with a .PIM extension using the rename/copy commands of the operating system.

pg-46

2. SELECTING A PROGRAM Once the program editing option has been selected the directory window appears so that you can select the program to be edited. The header of this window is the work area (disc and directory) where the programs are stored by default. The window includes all the files stored there with their size, date and time of their last updating. To enter a file just move the cursor to the file required using the following keys: , , , , , and then pressing . To start editing a new program, directly key in the name and extension :PIM/ PIT, followed by the name (5 numbers) significant for the CNC. If the program already exists, just move the cursor to the name of the program, provided that it has a .PIM or .PIT extension, and press or directly key in the name as explained in the previous paragraph. Remember that the directory window will only work in the disk in which the installation was carried out. The cursor motion keys for the directory window are , , , , , .

pg-47

3. INSIDE THE EDITOR Note: Users with portable computers or color monitors can choose the combination of tones or colors with which the display is clearest by means of the combination of the following keys: + , pressing the space bar to select the various colors offered by your adaptor. To retain the configuration of tones/colors press: + If you wish to modify them again repeat the process until you have made the choices you require. You will see a line at the top of the screen where the name of the program being edited and a mode indicator appear. By default the overstrike mode is the operative mode. By pressing the key repeatedly you can switch between the overstrike and insert modes. The difference between these modes is explained later. You will also see an empty window of 15 lines immediately below this line, this is called the display window. This window is empty as the program you are going to edit does not contain any lines yet; as you enter lines they will appear in the window. In the lower half of the screen there is a new window in which the cursor appears. This is the editor’s work window where lines are edited/modified, commands to be run are written, etc ... this is called the editing window. The bottom line gives the menu of the editor’s command or function keys. Each of the commands or functions corresponds to a function key and these keys must be pressed to execute the corresponding command or function. Note that there are two “special” commands:

- Interactive help function which allows you to receive information about the command executed at any moment.



- Menu movement function, represented by a horizontal arrow: >. Using this function you can access the rest of the editor’s commands.

pg-48

The editor’s menu is circular and is represented by three lines on the screen, so that using you can move from one line to the next and when you get to the last line you will then be returned to the first line of the menu. The editor’s command menu is as follows: F2

F3

F4

F5

F6

1st line: EDIT MODIFY SEARCH REPLACE DELETE 2nd line: MOVE COPY SAVE EDIT FILE VALIDATE 3rd line: PRINT SAVE ROUTINE LOAD ROUTINE RENUMBER EXIT The commands function for a line, e.g. MODIFY, or for a block of lines or program block: MOVE, PRINT. The commands can be interrupted with the key. EDIT: Allows new lines to be entered in the program. MODIFY: Modifies the content of a line which has already been edited. SEARCH: Locates one/several characters in a program, moving the cursor directly to the selected line. REPLACE: Selectively replaces one or several characters in a program. DELETE: Deletes one or several lines in a program. MOVE: Moves one or several lines in the program. COPY: Duplicates one or several lines in the program. SAVE: Records the program with the edited lines without exiting the editor. EDIT FILE:Brings the contents of a new program from the memory, allowing the previous one to be saved. VALIDATE: Checks the syntax of the program being edited. PRINT: Printout of one or more lines of the program.

pg-49

SAVE ROUTINE: Allows part of the program being edited to be saved as a separate program. LOAD ROUTINE: Allows another previously saved program to be added to the program being edited. RENUMBER: Renumbers the program line numbers according to the values determined. EXIT: Ends the editing process saving or without saving the edited program.

. As you can see, in some options you must determine the block of lines which you wish to work with or indicate the characters with which you want to carry out an operation. In these cases the commands themselves contain the subsequent commands necessary to do this as suboptions. There follows a more detailed description.

pg-50

4. HOW THE COMMANDS OPERATE 4.1

EDITING This command is activated by pressing in the first line of the menu. It is concluded by pressing instead of entering a new line. If the program to be edited is new or was edited with another editor, in order to be able to carry out a correct analysis, the editor must first know for how many machine axes you are programming. Once you begin the program, the lines are automatically numbered in units of 10, starting with line 10. If you want to insert new lines at the end of an already edited program, move the display window cursor to the last line edited and press , the new line to be inserted will appear with the number of the last line in the program plus 10. If you wish to insert a new line between two lines of an already edited program, just press and enter a line number which is between the two where you want to make the insertion. Whilst the display window cursor is at a line other than the last line, the command does not number the line you want to insert. The cursor motion keys in the display window are: , , , , , . Within a line being edited you can move the cursor forward or back using the cursor positioning arrows. You can insert characters from the point where you position the cursor if you are in insert mode; in overstrike mode the characters will be written over the previous ones. By pressing at the end of the line, this line goes to the display window if there are no syntax errors, and the number of the next line to be edited is generated, except when you are inserting between lines. If you press without having pressed before finishing the line, the command is deactivated and the line you were inserting is lost. SUBOPTIONS:



- Internal name - Programming Guide - Configuration

pg-51

4.1.1.- Internal name (F3) This command allows you to modify the internal name of the program, that is to say that the program can be recorded in the computer with, for example, the name PART1.PIM. But this name is not significant for the CNC, which is why all the block programs have a program name in their first line, e.g. %11111. This option allows you to modify this name by entering a sequence of 5 numbers. If you press the key the name is not modified and you exit this option without modifying the name, if there already was one. If there was not already a name, you are obliged to enter one as it is essential for the CNC. If the name of the program recorded in the computer is not the same as the one for the CNC, both names will appear on the header of the screen.

. 4.1.2.- Programing guide (F4) If the program which is being edited has not been completely loaded (e.g. a digitalizing program) this option is not available as there is not sufficient memory to load the programming help. A programming help menu is shown in the top right hand corner of the screen. Using the keys and select the number required. Various pages will appear explaining the different functions of the CNC and how to program them. By pressing you can go back to the previous screen. If your computer has a graphics screen (EGA), when you select certain functions, e.g. any type of canned cycle, graphic help will appear on the screen. This allows block editing in an assisted way, as the meaning of the various function parameters can be seen on the screen. In the case of canned cycles, a parameter by parameter analysis of syntax is carried out (non numerical characters), and not at the end of the line as in other cases. This can be seen on the graphics screen as the letter for the next parameter changes color. If an error occurs, either in the program or a syntax error, any key should be pressed so that it disappears from the screen. Press the key to end help, and continue with block editing in the normal way. If you are in the programming guide, the suboptions F3 and F5, which correspond to changing the internal name and control of axes respectively, do not work.

pg-52

4.1.3.- Control of 3 or 4 axis machines (F5) This command selects the number of axes for the program being edited. This selection is made to be able carry out a correct analysis in accordance with the corresponding machine. The and keys are used to select the combination of axes required and this combination is retained by pressing the key. The header of the screen will give the axes which are active for the program being edited. 4.2

MODIFY This command is activated by pressing in the first line of the menu. It is terminated by pressing , if you press the modification made is lost. To modify a line move the display window cursor to the line to be modified and press . The line selected will appear in the editing window. Make the changes using the normal editing keys, deleting, replacing characters, ... To send the line to the display window press and the line is modified. SUBOPTIONS:



- Internal name - Programming Guide - Configuration

These options function in the same way as with the editing command. 4.3

SEARCH This command is activated by pressing in the first line of the menu. SUBOPTIONS: Line No. text

- search for line no. - search for text.

There are two possibilities, location of a specific line or location of a group of characters. The first possibility is used as a fast way of moving the cursor to a program line, the contents of which you may want to see and then modify.

pg-53

If the program being edited is a digitalizing program, and depending on its size, there will be line numbers which are repeated in the 8020 and 8030 models so if the command is repeated, a circular search is carried out. The second possibility is for when you are looking for a function, value, etc, and you want to know where it is in the program. To go to a line press again and then enter the number of the line you require; press to start the search. If it cannot be found a message appears on the screen. The command is still active, so with you can move the cursor to the end of the command and change the number of the line being searched for. By pressing the command is executed again. Press to end the command.

. The text search is carried out by entering the text and pressing . You can use the mask * to locate occurrences of a partial text. For example: X17 - to locate the occurrences of this specific value. X1* - to locate the occurrences of the values from I10 to I19. B*

- all the occurrences of the character B.

GO2 - all the occurrences of this instruction. The format of the mask is: text* To go from one occurrence to the next just press . The search through the program is cyclical; once the last occurrence in the program being edited has been located the search continues to find the next occurrence from the start of the program. Whilst the search is in progress the following message appears on screen: processing ... To end the search press . The command is still active, so the text to be located can be changed or can be pressed again to deactivate the command.

pg-54

4.4

REPLACE This command is activated by pressing in the first line of the menu, entering the text to be replaced the text which replaces it. SUBOPTIONS:



- to the end - replace - do not replace

If the text to be replaced is not found the command is terminated. If the text is found you are presented with the suboptions of replacement to the end, or selective replacement. If you choose “replacement to the end”, all the occurrences are replaced and the command is terminated. If you choose “replace”, the text is replaced by the new text and at the next occurrence you are presented with the same suboptions. If you select “do not replace” the text remains unchanged and at the next occurrence you are presented with the three suboptions. This command works starting from the line at which the cursor is located in the display window. It remains active until the last occurrence of the text to be replaced, when the command is terminated. If you press when this command is active it is deactivated and the occurrence at which the cursor is positioned is not replaced. 4.5

DELETE This command is activated by pressing in the first line of the menu. It is terminated by pressing . SUBOPTIONS:

- delete line. - delete block of lines

Deleting line by line: By pressing you delete the line at which the cursor is located in the display window, the cursor moves to the next line. As the command remains active if you press again you delete this line and so on. You can also move the cursor to a new line to be deleted and press . The command is terminated when you press . Deleting groups of lines (blocks): Press and move to the first line of the block to be deleted, press and move to the last line in the block and press . The block to be deleted appears in reverse video. By pressing the block is deleted and the command terminated. At any moment during this suboption you can press which will terminate the command without deleting anything.

pg-55

4.6 MOVE This command is activated by pressing in the second line of the menu. The command terminates when the text has been moved. Press to abort the command. SUBOPTION: first line last line destination This command is for moving blocks of lines from one place in the program to another. If the block has the same first line and last line number you are only moving one line. When the command is executed the editor automatically renumbers all the lines. By pressing the line moving command is activated, move the cursor to the first line of the block to be moved, press ; move the cursor to the last line of the block to be moved and press . The block to be moved appears in reverse video. Move the cursor to the line from which you wish to place the block, press and the block will be moved and the command terminated. The line where the block is moved to, is displaced by the block and appears after it. You should bear in mind that: - The block is moved in line number order regardless of how the first and last lines are set. - A block cannot be moved to a line within the block established. - If you want to move the block to the end of the program, you must previously edit a line as the last line in the program and move the block to this line, and afterwards delete the last line. - If the program being edited has not been completely loaded, it could be a digitalizing program and there will be sequences of blocks which go from N9999 to N0001 in the 8020 and 8030 models. In these cases blocks which include this change in numbering cannot be designated in one operation. First of all a block up to the highest number must be marked, and then another block marked which begins at the lowest number.

pg-56

4.7

COPY This command is activated by pressing in the second line of the menu. It is terminated when the copying is completed. Press to abort the command. SUBOPTION: first line last line destination This command is for copying blocks of lines from one place in the program to another. If the block has the same first line and last line number you are only copying one line. When the command is executed the editor automatically renumbers all the lines. By pressing the line copying command is activated, move the cursor to the first line of the block to be copied, press ; move the cursor to the last line of the block to be copied and press . The block to be copied appears in reverse video. Move the cursor to the line from which you wish to place the block, press and the block will be copied and the command terminated. The line where the block is copied to, is displaced by the block and appears after it. You should bear in mind that: - The block is copied in line number order regardless of how the first and last lines are set. - A block cannot be copied to a line within the block established. - If you want to copy the block to the end of the program, you must previously edit a line as the last line in the program and copy the block to this line, and afterwards delete the last line. - If the program being edited has not been completely loaded, it could be a digitalizing program and there will be sequences of blocks which go from N9999 to N0001 in the 8020 and 8030 models. In these cases blocks which include this change in numbering cannot be designated in one operation. First of all a block up to the highest number must be marked, and then another block marked which begins at the lowest number.

pg-57

4.8

SAVING This command is activated by pressing in the second line of the menu. It is terminated when the program has been saved. Press to abort the command. SUBOPTION: By pressing a current copy of the program being edited is saved to the disc. This process should be carried out periodically as a safety measure to guard against power failures and disconnection of equipment which mean the loss of the program being edited. No syntax check is carried out.

4.9 EDIT FILE This command is activated by pressing in the second line of the menu. It is terminated once the file is edited. Press to abort the command. SUBOPTIONS:



- New - Load more

4.9.1.- New Allows a new program to be edited without quitting the editor. Press to obtain the directory window from which you can choose the new file. If the program you are editing has not been completely loaded, the directory window will not appear, you must enter the name of the new file. Before editing the file selected you should indicate whether or not you wish to save the one you are editing by pressing Y or N. 4.9.2.- Load more If the file selected has not been completely loaded, this option allows you to load more blocks of the file. The blocks loaded first are saved in the computer under the name .CNC (in case you wish to retrieve them), until all the file is completed. It is then saved with its original name.

pg-58

4.10

VALIDATE FILE This command is activated by pressing in the second line of the menu. It is terminated when the file has been validated. Press to abort the command. SUBOPTION: This command makes a syntax check of the file being edited. In every line in which an error is found, a message appears indicating the type of error.

4.11

PRINT This command is activated by pressing in the third line of the menu. It is terminated when printing is completed. Press to abort the command. Either part or all of the file being edited can be printed. SUBOPTION: first line last line Press to activate the command, move the cursor to the first line of the block to be printed, press ; move the cursor to the last line of the block to be printed and press . You have now established the block. Press to execute the command. If the printer is not connected an error message will appear. If you want to cancel the print command press . On the other hand, if you connect the printer and press the command is executed. The number of lines per page and the active printer are determined in the general program configuration.

4.12

SAVE ROUTINE This command is activated by pressing in the third line of the menu. it is terminated when the routine has been saved. Press to abort the command. SUBOPTION: Routine name first line last line This command allows you to save part or all of the program being edited under a different name. This command linked to that of LOAD ROUTINE gives the possibility of reusing parts common to different programs improving how the structure.

pg-59

When you press you will be asked for the file name under which you want to save the program block. Move the cursor to the first line of the block to be saved and press ; then move the cursor to the last line of the block to be saved and press . The block is now established. Press to execute the command.

4.13

LOAD ROUTINE This command is activated by pressing in the third line of the menu. When the routine has been loaded the command is terminated. Press to abort the command. SUBOPTION: This allows you to insert one program into another. The command works in a similar way to COPY, bearing in mind that you are copying a file previously saved on the disc. Press to activate the command. Move the cursor to the line where you wish insert the file and press . The directory window will appear, indicate the file name either using the cursor or keying it in, then press . The line where the cursor is located is displaced by the file inserted and appears after it. The program being edited is automatically renumbered at the end of the insertion process. Bear in mind that: - If you want to insert a file at the end of a program, you should previously edit a line as the last line of the program and insert the file at this line. Afterwards delete the last line.

4.14

RENUMBER This command is activated by pressing in the third line of the menu. It is terminated when the renumbering is completed. Press to abort the command. SUBOPTIONS: - renumber with first number 10 and intervals of 10 first numberinterval - renumber with first number and interval set by user (1 to 10)

pg-60

By default, for the editor, numbering is done in intervals of 10. This numbering is also automatically used in the case of different commands: EDIT, COPY, MOVE, LOAD ROUTINE. This can be modified, if required, by specifying a first number and a different interval, always between 1 and 10. Bear in mind that after renumbering in one of the commands mentioned, the line numbers, by default, return to intervals of 10. It could occur that when you renumber you reach the maximum number allowed for a block, N9999, in this case numbering is continued from N0000, N0001, etc.

4.15

EXIT This command is activated by pressing in the third line of the menu. Press to abort the command. SUBOPTIONS:

- do not save the program being edited - save the program being edited

Note:If you end the editing session without saving - - all the work done in the session will be lost. When you end the session by pressing , saving the work done, an automatic syntax check is carried out, with the number of errors appearing on the screen. Obviously if you have not finished your program you may ignore this information.

pg-61

5.

ADVANCED OPERATION: EDITING COMMANDS You already know that by pressing you can cancel any command and return to the menu line. This is the normal procedure if you have chosen the wrong command and wish to abort before carrying it out. However, the commands, except EDIT and MODIFY, and their various suboptions appear in the editing window. This allows you to work on the commands line as if it were a line of text, to vary the suboptions or even directly delete them whilst editing them, using the keys: , , . For example: Suppose you want to find the function M4 first of all and then the value X2. You could carry out the following sequence: -

Press in the first line of the menu. Key in M4 which will start the search process. Press which will terminate the command. Key in to reactivate the SEARCH command. Key in X2 to start the search process. Press to terminate the command.

Or taking advantage of command editing: - Press in the first line of the menu. - Key in M4 - to move to M4, when you want to end the search for this function. - Key in X2 and delete the rest of the characters - Press and the search process begins. - Press to terminate the command. As you remain in the search operation you can directly vary the element to be found, and by means of execute the search. You thus save one step. Another useful example is changing a block if you have made a mistake in establishing it. Just use and move to the first and/or last line, using , , ... move to the new line required and press and/or to redefine the block without having to key in the whole command again.

pg-62

Moreover, if in a suboption you press the key you will move backwards through the options chosen, that is to say that you can go back to the command point from which you want to continue. If you eliminate all the command, you return to the menu, just as if you had pressed . Take this example: You want to renumber with a certain first number and a certain interval and you make a mistake and want to change the interval once you have entered it. -

Press , in the third line of the menu. Press , and a first number. Press and an interval, you realize it is the wrong one. Press Press and a new interval Press and the renumbering will take place.

Obviously you could have used to have moved to the interval and replaced it directly. Commands can then be modified and repeated more quickly than by following the whole input sequence.

pg-63

Appendix "B" DNC MODIFICATIONS FOR 8030 The new version of DNC (V:4.0) is compatible with Model 8030 and all previous ones. Below the modifications in its use are given, as well as the new features included in this version. Installation and requirements In the Installation process it is no longer necessary to ask whether you wish to install the application on a Hard Disk or Floppy Disk, as due to its size, you can only work with a hard disk. Computer memory: 640 Kb RAM System Parameters In the point for selecting the machine type associated with each of the lines, you should additionally select the model. This should be as follows: V-3.0X

V-4.0

Comparables

1 - Lathe 2 - Milling machine 3 - Punching machine 4 - GP

1 2 3 4 5 6 7 8

(Lathe 8020/8010) ( “ 8030/8025) (Milling machine 8020/8010) ( “ “ 8030/8025) (Punching machine 8020) ( “ “ 8030/8025) (GP 8020) ( “ 8025)

-

T 8020 T 8030 M 8020 M 8030 P 8020 P 8030 GP 8020 GP 8025

Program Management The -Display- option corresponding to point 1 in the menu, is replaced by -Editing-. With this option you enter the CNC (Lathe and Milling Machine) block programming Editor. The operation of this Editor is described in the CNC Program Editor manual.

pg-64

Machine-Parameter Management There are four editors in the -Parameter Editing- point, corresponding to the four possible types of tables (Lathe 8020, Lathe-8030, Milling Machine8020, Milling Machine-8030). When you enter this point on the menu, the editor corresponding to the machine and model on the active line appears. Two new editors have been added to this same menu: - Decoded M Function Editor - Spindle error compensation They work in the same way as for the CNC. Both the -Transmission- and the -Reception- option include the three tables, which means that every time there is a reception from the CNC, the following Tables are received: - General Parameters - Decodified Ms - Spindle error compensation The same will occur if the -Transmission- option is executed. So it must be borne in mind that the file name is associated with the three tables, as they make up one single file. In the -Table Listing- option the three Tables are printed together in the order given. Remote Control In the -Keyboard Simulation- option the two different possible types of keyboard (8020 - 8030) with their different sets of keys are taken into account. The keyboard will correspond therefore to the active line model. Note: For all transmissions General Parameter number two (Number of bits (7-8) :8) should be set to 8 bits, as extended ASCII Code characters are used to represent the special keys in the 8030 Model.