Programming of CNC Machines. Ken Evans

Чтение книги онлайн.

Читать онлайн книгу Programming of CNC Machines - Ken Evans страница 22

Автор:
Жанр:
Серия:
Издательство:
Programming of CNC Machines - Ken Evans

Скачать книгу

order to complete the execution of a given block of information while under automatic operation.

image image

      Example

      N20 G00 Z0.0

      N22 G01 Z–12.00 F.015

      When block N22 is first read by the control, the value Z–12.000 will appear under the DISTANCE TO GO readout in the upper right corner of the screen. After moving a distance of 1 inch, the value of coordinate Z changes to Z–11.000, and so on. The other displays, ABSOLUTE and RELATIVE, correspond to the first two display screens, but this time they are smaller so that all four displays may fit on one screen. All of the displays may be changed to read in millimeters, with respect to Machine Zero, by changing a machine parameter or by using a G-Code in the program.

      The codes listed in the lower left corner of the display pictured in Figures 2-24 and 2-25 are the default G-Codes that are active upon startup of the machine. They are also reinstated by pressing the RESET key.

       A Program is Loaded from CNC Memory

      The program may be in the program directory, but not activated for automatic operation as shown in Figure 2-26. Follow these steps to activate a program.

      1. Press the EDIT button to enter the EDIT mode.

      2. Press the PROG function button.

      3. Press the DIR soft key.

      4. Key in the desired program number from the list. Soft key availability changes to include O SRH.

      5. Press the O SRH soft key. The program is now activated.

      6. Press the AUTO cycle key to execute the program.

image

       A Program is Loaded from an Offline Location

      Examples of offline locations include memory cards (PCMIA) and USB drives. Be sure that the output device is ready.

      1. Press the EDIT button.

      2. Press the PROG function key.

      3. Press the DIR soft key.

      4. Press the OPRT soft key.

      5. Press the DEVICE CHANGE soft key.

      6. Select the MEMORY CARD soft key to see available the files or MEM CARD for those on USB.

      Select the desired file from the list by keying in the program number and then press the EXEC soft key to activate.

      For network drives connected via the Ethernet, if available:

      1. Press the EDIT button.

      2. Press the PROG function key.

      3. Press the DIR soft key.

      4. Press the OPRT soft key.

      5. Press the DEVICE CHANGE soft key.

      6. Select the EMBED ETHER soft key to see available the files from the EMBEDDED ETHERNET HOST FILE LIST.

      7. Press the F INPUT soft key.

      8. Key in the desired program file name or select desired file from the list by using the cursor move keys.

      9. Press the F NAME soft key.

      10. Press the EXEC soft key to activate.

       A Program Folder is Saved from CNC Memory

      1. Press the EDIT button on the operator panel to enter the EDIT mode.

      2. Press PROG function key.

      3. Press the OPRT soft key.

      4. Press the rightmost (continuous-menu key) soft key two times.

      5. Press the F OUTPUT soft key.

      6. Select F SET or P SET to identify the File name or Program name respectively.

      7. Use the keypad to enter the desired program number, preceded by the letter address O, and then press the EXEC soft key.

      The program will be saved to the selected offline location media.

      8. To save all programs stored in memory, use the same steps above Press O–9999.

       A Program is Deleted from Memory

      To delete a program from the controller memory, follow these steps:

      1. Enter the EDIT mode.

      2. Press the PRGRM soft key.

      3. Press the DIR soft key.

      The program directory will be displayed.

      4. Press the OPRT soft key.

      5. The screen with one of the soft keys labeled DELETE will be displayed.

      6. Enter the program file number (preceded by the letter address O) that you wish to delete.

      7. Press the DELETE soft key.

      8. Press the EXEC soft key.

      The file is deleted.

       MDI OPERATIONS

      You may input small programs via the keypad at the control. The size of the program, which is limited to 10 lines on the control described in this book, is determined by the parameter setting from the manufacturer. Small programs provide an excellent method of executing simple commands like tool changes, controlling the spindle r/min and its rotation direction, etc. To enter the MDI mode of operations, follow these steps:

      1. Press the MDI button on the Operator Panel.

      2. Press the PROGRAM function key.

      3. Enter the data to be executed by using the methods described later in the section Program Editing Functions.

      For the program number, the control assumes O0000 and the data may be entered. Each block ends with the end-of-block (EOB) character (;) so that individual blocks of information can be kept separately. For example:

      N1

Скачать книгу