Adapting files

Application

There are certain files that the TNC7 basic cannot open or display correctly (e.g., files from the iTNC 530 or files edited in a text editor). These files can be adapted (i.e., converted with the Update TAB / PGM function to suit the control’s requirements).

Description of function

NC programs

The control uses the Update TAB / PGM function to remove umlauts and checks whether the NC block END PGM exists. Without END PGM, the NC program is not complete.

Tables

If you convert tables from an earlier control using the Update TAB / PGM function, then the control makes the following changes as needed:

  • Changing the decimal separator from a comma to a point
  • Taking over all supported tool types and defining all unknown tool types as Undefined

The following characters are permitted in the NAME column of the tool table:

# $ % & , - . 0 1 2 3 4 5 6 7 8 9 @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

If required, you can use the Update TAB / PGM function to adapt tables from the TNC7 basic or tables from previous software versions.

The changes that will be made include the following:

  • Missing table columns are added (e.g., in tables from previous software versions)
  • The character encoding of text columns is changed to UTF-8 (for tables with German umlauts or special characters)

Tool table tool.t

Adapting a file

Prepare a backup of the original file before adapting

To adapt (convert) a file (format and contents):

    1. Select the Files operating mode

    1. Select the desired file

    1. Select Update TAB / PGM
    2. The control adapts the file format and content.
    3.  
      Tip

      The control saves the changes and overwrites the original file.

    4. Check the content after adapting

    Notes

     
    Notice
    Caution: Data may be lost!
    If you use the Update TAB / PGM function, then data may be irrevocably deleted or altered!
    1. Create a backup copy prior to converting the file
    • Using the Update TAB / PGM function, you can adapt all files in an entire folder at the same time.
    • The machine manufacturer uses import and update rules to define which adaptations the control is to execute, such as umlaut removal.
    • The machine manufacturer uses the optional machine parameter importFromExternal (no. 102909) to define for each file type if automatic adaptation is carried out upon copying to the control.